PeumeAPI

Ads · Instagram

ads for a keyword

Search the by keyword and get each ad's page, dates, platforms, text and media, with spend for political ads.

$0.0025 per lookup, only when foundUsually answers in a few seconds

Call it

curl https://api.peume.com/v1/call/instagram-ads-for-a-keyword \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "active_status": "active",
    "country": "US",
    "limit": 20,
    "query": "running shoes"
  }
}'

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-for-a-keyword.

Parameters

active_statusstring

active or all; default active

Example: active

countrystring

ALL or two letters (US, GB, DE); default ALL

Example: US

limitinteger

at most 100; past the 30 ads one view shows, the search is split by media type, out of the Library's order; default 20

Example: 20

queryRequiredstring

Example: running shoes

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.