API para Facebook: Buscar empresas
Busque anunciantes na Biblioteca de Anúncios da Meta por palavra-chave e receba as páginas correspondentes: ID da página, categoria, verificação, número de seguidores e Instagram vinculado.
Rede de provedores
Provedores ordenados por tráfego
Teste
Faça sua primeira requisição
{
"data": {
"companies": [
{
"category": "general",
"country": "US",
"entityType": "general",
"igFollowers": 12500,
"igUsername": "alex_rivera",
"igVerified": true,
"imageUrl": "https://example.com/image.jpg",
"likes": 12500,
"name": "Example title",
"pageAlias": "example",
"pageDeleted": false,
"pageId": "a1b2c3d4",
"verification": "example"
}
]
},
"found": true,
"reason": "not_found"
}interface FacebookSearchCompaniesResponse {
data: {
companies: {
category: string;
country: string;
entityType: string;
igFollowers: number;
igUsername: string;
igVerified?: boolean;
imageUrl: string;
likes: number;
name: string;
pageAlias: string;
pageDeleted?: boolean;
pageId: string;
verification: string;
}[];
} | null;
found: boolean;
reason?: "not_found";
}Referência completa de parâmetros e resposta - todos os campos, tipos e exemplos deste endpoint.
Referência
Requisição, resposta e preço
Última verificação em 2026-09-29 · disponibilidade e latência medidas em 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"}'| Campo | Tipo | Valor de exemplo |
|---|---|---|
| Corpo da requisição | ||
| query | string | "nike"Palavra-chave para buscar páginas de anunciantes (ex.: "nike"). |
| Resposta | ||
| 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[].igVerified | boolean | Whether the page's linked Instagram account is verified. |
| 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[].pageDeleted | boolean | Whether the Facebook Page has been deleted. |
| 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 | |
| reason | "not_found" | Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost. |
| Preço | ||
| Preço por requisição | USD | US$ 0,0012 |
| Preço /mil req. | USD | US$ 1,20 |
Dúvidas frequentes
Sobre o endpoint Buscar empresas da API para Facebook
O endpoint Buscar empresas da AnyAPI para Facebook retorna dados de Facebook em JSON normalizado com uma chamada POST para /v1/run/facebook.search_companies. Busque anunciantes na Biblioteca de Anúncios da Meta por palavra-chave e receba as páginas correspondentes: ID da página, categoria, verificação, número de seguidores e Instagram vinculado. A AnyAPI distribui cada requisição entre 2 fontes, com failover automático quando uma falha. Custa a partir de US$ 1,20 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Nos últimos 30 dias, 100,0% das chamadas ao endpoint Buscar empresas da API para Facebook feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 0,9 segundos, em 2.340 chamadas medidas.