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

Instagram Location Details (V1)

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

Returns detailed metadata and profile information for a specified Instagram location using its unique identifier.

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

Playground

Entrada
Location ID
SaídaExemplo
Respostaoutputs · 568 B · 27 linhas
[
  {
    "data": {
      "attempts": "1000",
      "location_info": {
        "category": "Country/Region",
        "hours": {
          "status": ""
        },
        "ig_business": {
          "profile": null
        },
        "lat": -25.751409,
        "lng": 28.203527,
        "location_address": "",
        "location_city": "",
        "location_id": "703457703",
        "location_zip": "",
        "media_count": 77207,
        "name": "NewYork. America",
        "phone": "",
        "price_range": 0,
        "slug": "newyork-america"
      }
    }
  }
]

Exemplos

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

README da API

Instagram Location Details (V1) API

Returns metadata for one Instagram location, including its name, category, coordinates, and the number of posts tagged there. It needs a single location_id.

Use cases

  • Show the name and map position of a place that appears on an Instagram post.
  • Compare how many posts are tagged at different locations using media_count.
  • Check whether a location has address, phone, or business profile data before you use it.
  • Find the slug for a location to build a readable label in a report.

Request

curl -X POST "https://api.sandbase.ai/v1/api/instagram/v1/location-info" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"location_id": "703457703"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
location_idstringYesLocation ID

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "attempts": "30",
  "location_info": {
    "category": "Country/Region",
    "hours": {
      "status": ""
    },
    "ig_business": {
      "profile": null
    },
    "lat": -25.751409,
    "lng": 28.203527,
    "location_address": "",
    "location_city": "",
    "location_id": "703457703",
    "location_zip": "",
    "media_count": 78252,
    "name": "NewYork. America",
    "phone": ""
  }
}

Response fields

FieldMeaning
location_info.nameDisplay name of the location. It is the name users see when they tag the place.
location_info.location_idID of the location, returned as a string. It matches the location_id you sent.
location_info.slugURL-style name of the location, in lowercase with hyphens.
location_info.categoryType of place, for example Country/Region.
location_info.lat / location_info.lngLatitude and longitude of the location in decimal degrees.
location_info.media_countNumber of posts tagged at this location.
location_info.location_address / location_info.location_city / location_info.location_zipStreet address, city, and postal code. These can be empty strings when the location has no address data.
location_info.phoneContact phone number. It is an empty string when none is listed.
location_info.price_rangePrice range value for the location. It is 0 in this response.
location_info.ig_business.profileLinked Instagram business profile. It is null when the location has none.

Notes

  • Coordinates and name come from the location record. In the sample, the name is NewYork. America while the coordinates are at -25.751409, 28.203527, so check that they fit your use.
  • To get posts tagged at this place, call Instagram Location Posts (V1) with the same location ID.
  • To find location IDs by city, use Instagram City Locations. To find them by name, use Instagram Location Search.

Pricing

$0.001 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.001 por chamadaJSON
Instagram$0.001 por chamadaJSON
Instagram$0.001 por chamadaJSON
Instagram$0.001 por chamadaJSON
Instagram$0.001 por chamadaJSON
Instagram$0.001 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 (V1)?

Envie uma solicitação POST para https://api.sandbase.ai/v1/api/instagram/v1/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 (V1)?

$0.001 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 (V1) aceita?

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

O que a API Instagram Location Details (V1) 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 (V1) 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.