location_idstring必須
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"
}
}
]例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。
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.
開発を始める
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
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"
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
location_idstring必須Location ID (numeric)
show_nearbybooleanWhether to show nearby places (default true)
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
[
{
"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"
}
}
]さらに探索
| 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
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/instagram/v3/location-info に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.008、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須: location_id (string)。 任意: show_nearby (boolean)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。Instagram Location Details (V3) は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Instagram の API アクセスを別途申請する必要はありません。