API para Instagram: Buscar
Busque no Instagram usuários, hashtags ou locais por palavra-chave e receba os resultados correspondentes com nomes, contagens e links.
Rede de provedores
Provedores ordenados por tráfego
com teto de US$ 0,0418 por requisição1 resultadoUS$ 0,0020910 resultadosUS$ 0,020920 resultadosUS$ 0,0418 (teto)Você paga pelo que volta. Reduza o limite para pagar menos - e nenhuma requisição custa mais que o teto, não importa quanto volte.
Teste
Faça sua primeira requisição
{
"data": {
"items": [
{
"bio": "A short example description of this item.",
"followers": 12500,
"following": 12500,
"handle": "alex_rivera",
"id": "a1b2c3d4",
"image": "https://example.com/image.jpg",
"name": "Example title",
"postsCount": 12500,
"url": "https://example.com/page",
"verified": true
}
]
},
"found": true,
"reason": "not_found"
}interface InstagramSearchResponse {
data: {
items: {
bio?: string;
followers?: number;
following?: number;
handle: string;
id: string;
image?: string;
name?: string;
postsCount?: number;
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 \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"nasa"}'| Campo | Tipo | Valor de exemplo |
|---|---|---|
| Corpo da requisição | ||
| query | string | "nasa"Palavra-chave a buscar no Instagram; uma ou mais palavras sem pontuação especial (ex.: coffee roastery). |
| limit | integer | Número máximo de resultados a retornar (1-20, padrão 20). |
| type | enum | O que buscar: perfis de usuário, hashtags ou locais (ex.: hashtag). |
| Resposta | ||
| data | object | |
| data.items | object[] | Matching Instagram profile records for the query. Populated whenever the provider has data for the entity. |
| data.items[].bio | string | The account's bio text. Empty when the account has none. |
| data.items[].followers | integer | The account's follower count. May be 0 when the lane does not return it in search results. |
| data.items[].following | integer | The number of accounts the account follows. May be 0 when the lane does not return it in search results. |
| data.items[].handle | string | The account's username, without the @ prefix. Populated whenever the provider has data for the entity. |
| data.items[].id | string | The account's numeric Instagram user ID, as a string. Populated whenever the provider has data for the entity. |
| data.items[].image | string | URL of the account's profile picture, with tracking query params stripped. Empty when the upstream omits it. |
| data.items[].name | string | The account's display name. Empty when the account has none. |
| data.items[].postsCount | integer | The account's post count. May be 0 when the lane does not return it in search results. |
| data.items[].url | string | Canonical URL of the account's profile, with tracking query params stripped. Populated whenever the provider has data for the entity. |
| data.items[].verified | boolean | Whether the account is verified. |
| found | boolean | Whether any matching profiles were returned for the query. |
| 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,0036 |
| Preço /mil req. | USD | US$ 3,60 |
Dúvidas frequentes
Sobre o endpoint Buscar da API para Instagram
O endpoint Buscar da AnyAPI para Instagram retorna dados de Instagram em JSON normalizado com uma chamada POST para /v1/run/instagram.search. Busque no Instagram usuários, hashtags ou locais por palavra-chave e receba os resultados correspondentes com nomes, contagens e links. A AnyAPI distribui cada requisição entre 2 fontes, com failover automático quando uma falha. Custa a partir de US$ 3,60 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 da API para Instagram feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 7,3 segundos, em 42 chamadas medidas.