Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

Instagram Location Details (V3)

Docs da API
https://api.sandbase.ai/v1/api/instagram/v3/location-info

Returns detailed place information including name, address, coordinates, and nearby places for an Instagram location. Queries are based on a specific location ID.

Preço
$0.008USD / chamada
Método
POST
Resposta
JSON
Parâmetros
1 obrigatórios · 1 opcionais

Playground

Entrada
Location ID (numeric)
Whether to show nearby places (default true)
SaídaExemplo
Respostaoutputs · 595 B · 28 linhas
[
  {
    "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"
    }
  }
]

Exemplos

Selecione um exemplo para carregar as entradas e o resultado no playground.

README da API

Instagram Location Details (V3) API

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.

Use cases

  • Resolve a numeric Instagram location ID into a readable place name and city.
  • Link an Instagram location to an outside place record using external_id.
  • Label location-tagged posts with a place name before you analyze them.
  • Check whether a location has coordinates and a street address on file.

Request

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.

Parameters

NameTypeRequiredDescription
location_idstringYesLocation ID (numeric)
show_nearbybooleanNoWhether to show nearby places (default true)

Example response

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"
}

Response fields

FieldMeaning
nameDisplay name of the location. In this response it is 창원, written in Korean.
cityCity the location belongs to, for example Changwon.
id / pkThe Instagram location ID as a string. Both hold the same value as the location_id you sent.
addressStreet address text. It can be an empty string when none is on file.
lat / lngLatitude and longitude of the place. Both are null when the location has no coordinates.
external_idNumeric ID of the place in an outside source. external_id_source names that source and can be null.
nearby_locationsList of nearby places. It is empty here, and may be empty for locations with no neighbors.
locationNested copy of the main place fields: name, city, address, lat, lng, id, pk and external_id.

Notes

Pricing

$0.008 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Explorar mais

APIs relacionadas

Todas as APIs
APIPreçoResposta
Instagram$0.008 por chamadaJSON
Instagram$0.008 por chamadaJSON
Instagram$0.008 por chamadaJSON
Instagram$0.008 por chamadaJSON
Instagram$0.002 por chamadaJSON
Instagram$0.008 por chamadaJSON

Guias:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared

Perguntas

FAQ

Como eu uso a API Instagram Location Details (V3)?

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.

Quanto custa a API Instagram Location Details (V3)?

$0.008 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.

Quais parâmetros a API Instagram Location Details (V3) aceita?

Obrigatórios: location_id (string). Opcionais: show_nearby (boolean). A tabela de Parâmetros e o Playground nesta página listam todos os campos.

O que a API Instagram Location Details (V3) retorna?

Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.

Preciso de uma conta de desenvolvedor Instagram ou de uma chave de API?

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.