Call it
curl https://api.peume.com/v1/call/instagram-ads-a-specific-page-is-running-now \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"page_id": "your page id",
"company_name": "your company name"
}
}'const res = await fetch("https://api.peume.com/v1/call/instagram-ads-a-specific-page-is-running-now", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"page_id": "your page id",
"company_name": "your company name"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/instagram-ads-a-specific-page-is-running-now",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"page_id": "your page id",
"company_name": "your company name"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: instagram-ads-a-specific-page-is-running-now.
Parameters
page_idstringidentity
company_namestringidentity
company_domainstringidentity
facebook_urlstringidentity
cursorstringfilter; the next page: the previous answer's output.next_cursor, sent with the same body otherwise. The page comes from the provider that served the first one; null there means no next page
Other ways to do it
Same job, other sources, cheapest first.
Ads a Facebook Page runs, by Page id —List every ad a specific Facebook Page is currently runningFacebook Company AdsList the ads a company is running by page ID or company name (creative text, format, platforms, and run dates) with cursor pagination.ads of one advertiserList the ads one Facebook page runs, from the, with dates, platforms, text, media, and spend for political ads.Facebook ad library company ads by page id or nameFetches all ads currently running for a specific company from the.Find a company's Facebook and Instagram adsReturn one page of for a company or Facebook page.
