Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

Instagram Location Details (V1)

Documentación de la 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.

Precio
$0.001USD / llamada
Método
POST
Respuesta
JSON
Parámetros
1 obligatorios · 0 opcionales

Entorno de pruebas

Entrada
Location ID
SalidaEjemplo
Respuestaoutputs · 568 B · 27 líneas
[
  {
    "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"
      }
    }
  }
]

Ejemplos

Seleccione un ejemplo para cargar sus entradas y el resultado en el playground.

README de la 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 más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
Instagram$0.001 por llamadaJSON
Instagram$0.001 por llamadaJSON
Instagram$0.001 por llamadaJSON
Instagram$0.001 por llamadaJSON
Instagram$0.001 por llamadaJSON
Instagram$0.001 por llamadaJSON

Guías:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared

Preguntas

FAQ

¿Cómo uso la API de Instagram Location Details (V1)?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/instagram/v1/location-info con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de Instagram Location Details (V1)?

$0.001 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de Instagram Location Details (V1)?

Requeridos: location_id (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de Instagram Location Details (V1)?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.

¿Necesito una cuenta de desarrollador o una clave API de Instagram?

No. Instagram Location Details (V1) funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Instagram por separado.