location_idstringobrigatório
Location ID (numeric)
https://api.sandbase.ai/v1/api/instagram/v3/location-infoReturns detailed place information including name, address, coordinates, and nearby places for an Instagram location. Queries are based on a specific location ID.
[
{
"data": {
"_rid": "32345defb5990",
"address": "",
"city": "Changwon",
"external_id": 144811708967490,
"external_id_source": null,
"id": "1016248898",
"lat": null,
"lng": null,
"location": {
"address": "",
"city": "Changwon",
"external_id": 144811708967490,
"external_id_source": null,
"id": "1016248898",
"lat": null,
"lng": null,
"name": "창원",
"pk": "1016248898"
},
"name": "창원",
"nearby_locations": [],
"pk": "1016248898"
}
}
]Selecione um exemplo para carregar as entradas e o resultado no playground.
Returns details for one Instagram location, such as its name, city, address, and coordinates. It needs a numeric location_id. It can also list nearby places when show_nearby is on.
external_id.curl -X POST "https://api.sandbase.ai/v1/api/instagram/v3/location-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"location_id": "1016248898"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
location_id | string | Yes | Location ID (numeric) |
show_nearby | boolean | No | Whether to show nearby places (default true) |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"_rid": "3cda064c29f93",
"address": "",
"city": "Changwon",
"external_id": 144811708967490,
"external_id_source": null,
"id": "1016248898",
"lat": null,
"lng": null,
"location": {
"address": "",
"city": "Changwon",
"external_id": 144811708967490,
"external_id_source": null,
"id": "1016248898",
"lat": null,
"lng": null,
"name": "창원",
"pk": "1016248898"
},
"name": "창원",
"nearby_locations": [],
"pk": "1016248898"
}
| Field | Meaning |
|---|---|
name | Display name of the location. In this response it is 창원, written in Korean. |
city | City the location belongs to, for example Changwon. |
id / pk | The Instagram location ID as a string. Both hold the same value as the location_id you sent. |
address | Street address text. It can be an empty string when none is on file. |
lat / lng | Latitude and longitude of the place. Both are null when the location has no coordinates. |
external_id | Numeric ID of the place in an outside source. external_id_source names that source and can be null. |
nearby_locations | List of nearby places. It is empty here, and may be empty for locations with no neighbors. |
location | Nested copy of the main place fields: name, city, address, lat, lng, id, pk and external_id. |
show_nearby to false if you do not need the nearby_locations list.location_id with Instagram Location Search by Coordinates (V3).$0.008 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Comece a construir
Endpoint da API da plataforma com autenticação unificada e rastreamento de uso.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/v3/location-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"location_id": "1016248898"
}'Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
location_idstringobrigatórioLocation ID (numeric)
show_nearbybooleanWhether to show nearby places (default true)
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
[
{
"data": {
"_rid": "32345defb5990",
"address": "",
"city": "Changwon",
"external_id": 144811708967490,
"external_id_source": null,
"id": "1016248898",
"lat": null,
"lng": null,
"location": {
"address": "",
"city": "Changwon",
"external_id": 144811708967490,
"external_id_source": null,
"id": "1016248898",
"lat": null,
"lng": null,
"name": "창원",
"pk": "1016248898"
},
"name": "창원",
"nearby_locations": [],
"pk": "1016248898"
}
}
]Explorar mais
| API | Preço | Resposta |
|---|---|---|
Instagram Location Details (V3)Esta API Instagram | $0.008 por chamada | JSON |
Instagram | $0.008 por chamada | JSON |
Instagram | $0.008 por chamada | JSON |
Instagram | $0.008 por chamada | JSON |
Instagram | $0.002 por chamada | JSON |
Instagram | $0.008 por chamada | JSON |
Guias:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/instagram/v3/location-info com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.
$0.008 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Obrigatórios: location_id (string). Opcionais: show_nearby (boolean). A tabela de Parâmetros e o Playground nesta página listam todos os campos.
Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.
Não. Instagram Location Details (V3) funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Instagram separadamente.