Facebook Search companies API
Search the Meta Ad Library for advertisers by keyword and get matching pages: page ID, category, verification, follower counts, and linked Instagram.
Try it
Make your first request
{
"data": {
"companies": [
{
"category": "general",
"country": "US",
"entityType": "general",
"igFollowers": 12500,
"igUsername": "alex_rivera",
"imageUrl": "https://example.com/image.jpg",
"likes": 12500,
"name": "Example title",
"pageAlias": "example",
"pageId": "a1b2c3d4",
"verification": "example"
}
]
},
"found": true
}interface FacebookSearchCompaniesResponse {
data: {
companies: {
category: string;
country: string;
entityType: string;
igFollowers: number;
igUsername: string;
imageUrl: string;
likes: number;
name: string;
pageAlias: string;
pageId: string;
verification: string;
}[];
} | null;
found: boolean;
}Full parameter and response reference - every field, type, and example for this endpoint.
Reference
Request, response, and price
Last verified 2026-09-16 · uptime and latency measured over 30dcurl -X POST https://api.getanyapi.com/v1/run/facebook.search_companies \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"nike"}'| Field | Type | Example value |
|---|---|---|
| Request body | ||
| query | string | "nike"Keyword to search advertiser pages for (e.g. "nike"). |
| Response | ||
| data | object | |
| data.companies | object[] | |
| data.companies[].category | string | Populated whenever the provider has data for the entity. |
| data.companies[].country | string | |
| data.companies[].entityType | string | Populated whenever the provider has data for the entity. |
| data.companies[].igFollowers | integer | Populated whenever the provider has data for the entity. |
| data.companies[].igUsername | string | Populated whenever the provider has data for the entity. |
| data.companies[].imageUrl | string | Populated whenever the provider has data for the entity. |
| data.companies[].likes | integer | |
| data.companies[].name | string | Populated whenever the provider has data for the entity. |
| data.companies[].pageAlias | string | Populated whenever the provider has data for the entity. |
| data.companies[].pageId | string | Populated whenever the provider has data for the entity. |
| data.companies[].verification | string | Populated whenever the provider has data for the entity. |
| found | boolean | |
| Price | ||
| Price per request | USD | $0.0012 |
| Price /1k req | USD | $1.20 |
FAQ
About the Facebook Search companies API
The AnyAPI Facebook Search companies API returns Facebook search companies data as normalized JSON from one POST call to /v1/run/facebook.search_companies. Search the Meta Ad Library for advertisers by keyword and get matching pages: page ID, category, verification, follower counts, and linked Instagram. AnyAPI returns one normalized schema whichever source serves it. It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 93.4% of Facebook search companies calls through AnyAPI succeeded, with a median response time of 0.9 seconds across 136 measured calls.