API para Instagram: Buscar perfis
Busque perfis públicos do Instagram por uma palavra-chave da bio ou da legenda.
Rede de provedores
Provedores ordenados por tráfego
Teste
Faça sua primeira requisição
{
"data": {
"nextCursor": "example",
"profiles": [
{
"avatarUrl": "https://example.com/image.jpg",
"bio": "A short example description of this item.",
"displayName": "Alex Rivera",
"externalUrl": "https://example.com/page",
"followers": 12500,
"following": 12500,
"handle": "alex_rivera",
"id": "a1b2c3d4",
"posts": 248,
"private": false,
"url": "https://example.com/page",
"verified": true
}
]
},
"found": true,
"reason": "not_found"
}interface InstagramSearchProfilesResponse {
data: {
nextCursor: string | null;
profiles: {
avatarUrl: string;
bio: string;
displayName: string;
externalUrl?: string;
followers: number;
following: number;
handle: string;
id: string;
posts: number;
private: boolean | null;
url?: string;
verified: boolean;
}[];
} | 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/instagram.search_profiles \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"coffee roaster"}'| Campo | Tipo | Valor de exemplo |
|---|---|---|
| Corpo da requisição | ||
| query | string | "coffee roaster"Palavra-chave ou frase da bio ou da legenda a buscar. |
| cursor | string | Cursor de paginação retornado por uma resposta anterior. |
| requireFields | array | Opcional; se omitido, o roteamento não muda e a fonte mais barata atende. Informe os campos de saída que esta requisição precisa poder retornar, por exemplo `private`, e ela só será atendida por uma fonte que retorne todos eles. Os campos que você não informar continuam sendo retornados sempre que a fonte que atende os tiver. Isso pode aumentar o seu preço: quando a fonte mais barata não consegue retornar um campo informado, uma fonte mais cara atende, e você recebe a cotação e é cobrado pelo preço dela. Um campo informado ainda pode vir ausente em um perfil que realmente não o tenha. Se você informar uma combinação de campos que nenhuma fonte retorna sozinha, a requisição é recusada como entrada inválida, sem cobrança. |
| Resposta | ||
| data | object | |
| data.nextCursor | string | Opaque cursor for the next page of profiles, or null when this lane has no more. Pass it back as cursor to continue. |
| data.profiles | object[] | Populated whenever the provider has data for the entity. |
| data.profiles[].avatarUrl | string | Populated whenever the provider has data for the entity. |
| data.profiles[].bio | string | Populated whenever the provider has data for the entity. |
| data.profiles[].displayName | string | Populated whenever the provider has data for the entity. |
| data.profiles[].externalUrl | string | External link the account lists in its bio. |
| data.profiles[].followers | integer | |
| data.profiles[].following | integer | |
| data.profiles[].handle | string | Populated whenever the provider has data for the entity. |
| data.profiles[].id | string | Populated whenever the provider has data for the entity. |
| data.profiles[].posts | integer | |
| data.profiles[].privatepode ser exigido | boolean | Whether the account is private. Null when the serving source does not report it. |
| data.profiles[].url | string | Canonical URL of the profile. |
| data.profiles[].verified | boolean | |
| 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 perfis da API para Instagram
O endpoint Buscar perfis da AnyAPI para Instagram retorna dados de Instagram em JSON normalizado com uma chamada POST para /v1/run/instagram.search_profiles. Busque perfis públicos do Instagram por uma palavra-chave da bio ou da legenda. 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 perfis da API para Instagram feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 6,5 segundos, em 1.139 chamadas medidas.