Sand AISand AI MAGI-2MAGI-2 теперь на SandBase: видео 1080p с нативным звукомПопробовать сейчас

Instagram Location Details (V3)

Документация 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.

Цена
$0.008USD / вызов
Метод
POST
Ответ
JSON
Параметры
1 обязательных · 1 необязательных

Песочница

Ввод
Location ID (numeric)
Whether to show nearby places (default true)
ВыходПример
Ответoutputs · 595 B · 28 строк
[
  {
    "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"
    }
  }
]

Примеры

Выберите пример, чтобы загрузить его входные данные и результат в 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.

Посмотреть больше

Связанные APIs

Все APIs
APIЦенаОтвет
Instagram$0.008 за запросJSON
Instagram$0.008 за запросJSON
Instagram$0.008 за запросJSON
Instagram$0.008 за запросJSON
Instagram$0.002 за запросJSON
Instagram$0.008 за запросJSON

Руководства:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared

Вопросы

FAQ

Как использовать API Instagram Location Details (V3)?

Отправьте POST-запрос на https://api.sandbase.ai/v1/api/instagram/v3/location-info, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.

Сколько стоит API Instagram Location Details (V3)?

$0.008 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.

Какие параметры принимает API Instagram Location Details (V3)?

Обязательные: location_id (string). Необязательные: show_nearby (boolean). В таблице Parameters и в Playground на этой странице перечислены все поля.

Что возвращает API Instagram Location Details (V3)?

JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.

Нужен ли мне аккаунт разработчика Instagram или API key?

Нет. Instagram Location Details (V3) работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Instagram.