Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

Instagram Location Details (V3)

Documentazione 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.

Prezzo
$0.008USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
1 obbligatori · 1 opzionali

Playground

Input
Location ID (numeric)
Whether to show nearby places (default true)
OutputEsempio
Rispostaoutputs · 595 B · 28 righe
[
  {
    "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"
    }
  }
]

Esempi

Seleziona un esempio per caricare i suoi input e il risultato nel playground.

README 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.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
Instagram$0.008 per chiamataJSON
Instagram$0.008 per chiamataJSON
Instagram$0.008 per chiamataJSON
Instagram$0.008 per chiamataJSON
Instagram$0.002 per chiamataJSON
Instagram$0.008 per chiamataJSON

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

Domande

FAQ

Come uso l'API Instagram Location Details (V3)?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/instagram/v3/location-info con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API Instagram Location Details (V3)?

$0.008 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API Instagram Location Details (V3)?

Richiesti: location_id (string). Facoltativi: show_nearby (boolean). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API Instagram Location Details (V3)?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.

Mi serve un account sviluppatore o una chiave API Instagram?

No. Instagram Location Details (V3) funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Instagram.