Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

Instagram Location Details (V1)

API-Dokumentation
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.

Preis
$0.001USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
1 erforderlich · 0 optional

Playground

Eingabe
Location ID
AusgabeBeispiel
Antwortoutputs · 568 B · 27 Zeilen
[
  {
    "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"
      }
    }
  }
]

Beispiele

Wählen Sie ein Beispiel aus, um seine Eingaben und das Ergebnis in den Playground zu laden.

API-README

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.

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
Instagram$0.001 pro AufrufJSON
Instagram$0.001 pro AufrufJSON
Instagram$0.001 pro AufrufJSON
Instagram$0.001 pro AufrufJSON
Instagram$0.001 pro AufrufJSON
Instagram$0.001 pro AufrufJSON

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

Fragen

FAQ

Wie verwende ich die Instagram Location Details (V1) API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/instagram/v1/location-info mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die Instagram Location Details (V1) API?

$0.001 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.

Welche Parameter akzeptiert die Instagram Location Details (V1) API?

Erforderlich: location_id (string). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die Instagram Location Details (V1) API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.

Benötige ich ein Instagram-Entwicklerkonto oder einen API-Schlüssel?

Nein. Instagram Location Details (V1) läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für Instagram API beantragen.