location_idstringerforderlich
Location ID (numeric)
https://api.sandbase.ai/v1/api/instagram/v3/location-infoReturns detailed place information including name, address, coordinates, and nearby places for an Instagram location. Queries are based on a specific location ID.
[
{
"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"
}
}
]Wählen Sie ein Beispiel aus, um seine Eingaben und das Ergebnis in den Playground zu laden.
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.
external_id.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.
| Name | Type | Required | Description |
|---|---|---|---|
location_id | string | Yes | Location ID (numeric) |
show_nearby | boolean | No | Whether to show nearby places (default true) |
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"
}
| Field | Meaning |
|---|---|
name | Display name of the location. In this response it is 창원, written in Korean. |
city | City the location belongs to, for example Changwon. |
id / pk | The Instagram location ID as a string. Both hold the same value as the location_id you sent. |
address | Street address text. It can be an empty string when none is on file. |
lat / lng | Latitude and longitude of the place. Both are null when the location has no coordinates. |
external_id | Numeric ID of the place in an outside source. external_id_source names that source and can be null. |
nearby_locations | List of nearby places. It is empty here, and may be empty for locations with no neighbors. |
location | Nested copy of the main place fields: name, city, address, lat, lng, id, pk and external_id. |
show_nearby to false if you do not need the nearby_locations list.location_id with Instagram Location Search by Coordinates (V3).$0.008 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Jetzt loslegen
Plattform-API-Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
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"
}'Legen Sie Ihren SandBase API-Schlüssel in Ihrer Serverumgebung fest. Anfragen verwenden Bearer-Authentifizierung.
export SANDBASE_API_KEY="YOUR_API_KEY"Bewahren Sie Ihren Schlüssel auf dem Server auf. Geben Sie ihn nicht in Browser-Code preis.
location_idstringerforderlichLocation ID (numeric)
show_nearbybooleanWhether to show nearby places (default true)
Gespeicherte Beispielantwort für diese API; beim Anzeigen wird keine Live-Anfrage gesendet.
[
{
"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"
}
}
]Mehr entdecken
| API | Preis | Antwort |
|---|---|---|
Instagram Location Details (V3)Diese API Instagram | $0.008 pro Aufruf | JSON |
Instagram | $0.008 pro Aufruf | JSON |
Instagram | $0.008 pro Aufruf | JSON |
Instagram | $0.008 pro Aufruf | JSON |
Instagram | $0.002 pro Aufruf | JSON |
Instagram | $0.008 pro Aufruf | JSON |
Anleitungen:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
Fragen
Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/instagram/v3/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.
$0.008 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.
Erforderlich: location_id (string). Optional: show_nearby (boolean). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.
Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.
Nein. Instagram Location Details (V3) 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.