PeumeAPI

Ads · Instagram

Facebook ad library company ads by page id or name

Fetches all ads currently running for a specific company from the.

$0.0028 per callUsually answers in a few seconds

Call it

curl https://api.peume.com/v1/call/instagram-facebook-ad-library-company-ads-by-page-id \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "pageId": "367152833370567",
    "companyName": "Lululemon",
    "country": "ALL",
    "status": "ACTIVE",
    "media_type": "ALL",
    "language": "EN"
  }
}'

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-facebook-ad-library-company-ads-by-page-id.

Parameters

pageIdstring

The companies ad library page id. You can get this with my Search For Companies Endpoint. Can either use this or companyName

Example: 367152833370567

companyNamestring

The name of the company. Can either use this or pageId

Example: Lululemon

countrystring

This can only be one country. It has to be the 2 letter code for the country. It defaults to ALL.

Example: ALL

statusstring

Status of the ad. Defaults to ACTIVE.

Example: ACTIVE

media_typestring

Media type of the ad. Defaults to ALL. Meme refers to ads with image and text. Not sure why they call it meme.

Example: ALL

languagestring

Language to filter ads on. Needs to be 2 letter language code, ie EN, ES, FR, etc

Example: EN

sort_bystring

Sort by impressions (high to low), or Most Recent (relevancy_monthly_grouped). Defaults to impressions.

Example: total_impressions

start_datestring

Start date to search for. Format: YYYY-MM-DD

Example: 2025-01-01

end_datestring

End date to search for. Format: YYYY-MM-DD

Example: 2025-12-31

cursorstring

Cursor to paginate through results

Example: AQHRBUAxNmFlxBVMFL6uTb1ICFsV65O4SqmPbcVZJhiveBpPS1hFHAmL6yCJcF760cXP

trimboolean

Set to true for a trimmed down version of the response

Example: false

Other ways to do it

Same job, other sources, cheapest first.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.