/v1/call/meta.advertiser_searchPreviewMeta advertiser search API
Only on Meta Ad Library.
The Meta advertiser search API finds advertisers (Facebook pages) in the Meta Ad Library by name: ID, name, picture, category, page likes, the linked Instagram account. The ID is what the advertiser's ads are asked for by. One call costs 2 credits ($0.004 to $0.0067 depending on the pack); failed calls are free. Call it over HTTP or from your AI client over MCP. Last tested 2026-10-17.
Last updated:
Request and response
curl https://api.socialtoai.com/v1/call/meta.advertiser_search \ -H "Authorization: Bearer $SOCIALTOAI_KEY" \ -H "Content-Type: application/json" \ -d '{ "query": "puma" }'import osimport requestsresponse = requests.post( "https://api.socialtoai.com/v1/call/meta.advertiser_search", headers={"Authorization": f"Bearer {os.environ['SOCIALTOAI_KEY']}"}, json={ "query": "puma", },)print(response.json())# Connected over MCP? Ask in plain words.Use the Meta advertiser search interface (meta.advertiser_search) with query: puma.# Your AI calls the call tool with:{ "query": "puma"}{ "op": "meta.advertiser_search", "platform": "meta", "status": "ok", "items": [ { "platform": "meta", "id": "…", "ref": "…", "approx": [], "type": "entry", "entry_type": "advertiser", "title": "…", "url": null, "rank": null, "heat": null, "fields": { "region": null } } ], "unavailable": ["fields.region"], "page": { "has_more": false }, "cost_credits": 2}- entry_type
- advertiser
- region
null
Names and text were removed from the sample; the numbers are as recorded.
1 parameter.
All required.
Send them as a JSON body with POST. Your key goes in the Authorization header, never in the URL.
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| query | string | Required | — | Name of the advertiser or brand |
The fields of each item.
What Meta Ad Library cannot give is marked.
| Field | Type | Meaning |
|---|---|---|
| items[].title | string | The entry's title or name. |
| items[].url | string | A link that opens it; null where the platform's list has none. |
| items[].rank | integer | Position on a board, from 1. |
| items[].heat | integer | The platform's heat score. |
| items[].fields.region | stringalways null | The code of the country or region the advertiser is registered in. |
nullFields Meta Ad Library cannot giveRead null as “Meta Ad Library did not give this”, not as zero. These are always null on this call:
fields.regionThe code of the country or region the advertiser is registered in.
Every item also has platform, id, ref, approx and type; the response around the items is the same on every call. Response format
What to expect.
1 call per second per key, 5 after a purchase; going over is not charged. Rate limits
A failed call costs 0 credits and is never retried on its own. Error codes
Once connected over MCP, these questions use it.
Find advertisers (Facebook pages) in the Meta Ad Library by name: puma.
2 creditscall {"op":"meta.advertiser_search","query":"puma"}
The interface of the same name on other platforms.
All platforms and prices/v1/call/meta.advertiser_search{ "query": "puma" }2 creditsper call