Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

Instagram Location Details (V3)

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

Harga
$0.008USD / panggilan
Metode
POST
Respons
JSON
Parameter
1 wajib · 1 opsional

Playground

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

Contoh

Pilih contoh untuk memuat input dan hasilnya ke 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.

Jelajahi lebih lanjut

API Terkait

Semua APIs
APIHargaRespons
Instagram$0.008 per panggilanJSON
Instagram$0.008 per panggilanJSON
Instagram$0.008 per panggilanJSON
Instagram$0.008 per panggilanJSON
Instagram$0.002 per panggilanJSON
Instagram$0.008 per panggilanJSON

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

Pertanyaan

FAQ

Bagaimana cara menggunakan API Instagram Location Details (V3)?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/instagram/v3/location-info dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.

Berapa biaya API Instagram Location Details (V3)?

$0.008 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.

Parameter apa yang diterima API Instagram Location Details (V3)?

Wajib: location_id (string). Opsional: show_nearby (boolean). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.

Apa yang dikembalikan API Instagram Location Details (V3)?

Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.

Apakah saya memerlukan akun developer atau kunci API Instagram?

Tidak. Instagram Location Details (V3) berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Instagram secara terpisah.