PeumeAPI

Ads · Instagram

Facebook Company Ads

List the ads a company is running by page ID or company name (creative text, format, platforms, and run dates) with cursor pagination.

$0.0018 per callUsually answers in a few seconds

Call it

curl https://api.peume.com/v1/call/instagram-facebook-company-ads \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "companyName": "nike",
    "sortBy": "recent"
  }
}'

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-company-ads.

Parameters

fieldsstring

Comma-separated keys (dotted paths descend) to keep on each result item. Trims the response, not the charge.

max_itemsinteger

Caps the result rows returned; `_truncated` says how many were withheld. Not the charge.

summaryboolean

`true` returns only an outline: keys, item counts, per-field sizes.

jqstring

jq expression over the result envelope; its output replaces `output`. A failed expression returns the full result with `jqError`.

companyNamestring

Company name to search (e.g. "nike"). Exact-match and case-sensitive against the index; an advertiser with no indexed page returns found:false.

Example: nike

countrystring

Two-letter country code to scope results. Defaults to all countries.

cursorstring

Opaque pagination cursor from a previous response's nextCursor.

endDatestring

Filter to ads with impressions on or before this date, in YYYY-MM-DD format.

languagestring

Two-letter language code to filter ads (e.g. "EN", "ES", "FR").

mediaTypestring

Creative media type filter.

ALL · IMAGE · VIDEO · MEME · IMAGE_AND_MEME · NONE

pageIdstring

Company's Ad Library page ID. Provide either pageId or companyName.

sortBystring

Sort order: impressions (highest first, the default) or recent (most recent).

impressions · recent

Example: recent

startDatestring

Filter to ads with impressions on or after this date, in YYYY-MM-DD format.

statusstring

Ad status filter. Defaults to ACTIVE.

ALL · ACTIVE · INACTIVE

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.