API para Instagram: Buscar localizações
Busque localizações do Instagram por palavra-chave e receba o ID, nome, endereço e coordenadas de cada local.
Rede de provedores
Provedores ordenados por tráfego
Teste
Faça sua primeira requisição
{
"data": {
"locations": [
{
"address": "123 Main St",
"city": "San Francisco",
"id": "a1b2c3d4",
"latitude": 37.7749,
"longitude": -122.4194,
"name": "Example title",
"shortName": "Example title"
}
]
},
"found": true,
"reason": "not_found"
}interface InstagramSearchLocationsResponse {
data: {
locations: {
address?: string;
city?: string;
id: string;
latitude: number;
longitude: number;
name: string;
shortName?: 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/instagram.search_locations \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"Eiffel Tower"}'| Campo | Tipo | Valor de exemplo |
|---|---|---|
| Corpo da requisição | ||
| query | string | "Eiffel Tower"Nome do local, endereço ou cidade a buscar. |
| Resposta | ||
| data | object | |
| data.locations | object[] | Instagram locations matching the keyword, best match first. Populated whenever the provider has data for the entity. |
| data.locations[].address | string | Street address of the place. |
| data.locations[].city | string | City the place sits in. |
| data.locations[].id | string | Instagram location id. Pass it to instagram.location_posts as locationId. Populated whenever the provider has data for the entity. |
| data.locations[].latitude | number | Latitude in decimal degrees. |
| data.locations[].longitude | number | Longitude in decimal degrees. |
| data.locations[].name | string | Full place name, usually including city and country. Populated whenever the provider has data for the entity. |
| data.locations[].shortName | string | Place name without the city and country suffix. |
| 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,0011 |
| Preço /mil req. | USD | US$ 1,10 |
Dúvidas frequentes
Sobre o endpoint Buscar localizações da API para Instagram
O endpoint Buscar localizações da AnyAPI para Instagram retorna dados de Instagram em JSON normalizado com uma chamada POST para /v1/run/instagram.search_locations. Busque localizações do Instagram por palavra-chave e receba o ID, nome, endereço e coordenadas de cada local. A AnyAPI distribui cada requisição entre 2 fontes, com failover automático quando uma falha. Custa a partir de US$ 1,10 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 localizações da API para Instagram feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 2,3 segundos, em 34 chamadas medidas.