latitudenumber必填
Latitude
https://api.sandbase.ai/v1/api/instagram/v3/search-by-coordinatesReturns nearby Instagram locations matching specific GPS coordinates. Provide latitude and longitude coordinates to discover venues and their external IDs.
[
{
"data": {
"rank_token": "",
"request_id": "16337bf59d9b448f956cb3ad792309d8",
"status": "ok",
"venues": [
{
"address": "<0.1mi · 18 Đường D2, Châu Thới, xã Bình Thắng, Bình Dương, Hồ Chí Minh, Việt Nam",
"external_id": "469499352918885",
"external_id_source": "facebook_places",
"lat": 0,
"lng": 0,
"name": "Đặng Viring Specialty Coffee"
},
{
"address": "<0.1mi · 350 Rufe Snow, Suite 500",
"external_id": "185782396368380",
"external_id_source": "facebook_places",
"lat": -0.0013893846577321,
"lng": -0.00040233124127553,
"name": "Best Brains Learning Center - Keller"
},
{
"address": "<0.1mi · 新北市中和橋和路15號",
"external_id": "482775614919229",
"external_id_source": "facebook_places",
"lat": 0,
"lng": 0,
"name": "萱子的秘密小屋"
},
"… 20 more items in the full response"
]
}
}
]選擇一個範例,將其輸入與結果載入 playground。
Returns Instagram locations near a GPS point. Send latitude and longitude as numbers. Each result has a place name, a short address, its coordinates, and an external ID.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/v3/search-by-coordinates" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"latitude": 0, "longitude": 0}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
latitude | number | Yes | Latitude |
longitude | number | Yes | Longitude |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"rank_token": "",
"request_id": "8e894d90a3294616bf6c3cbfc3cb8d09",
"status": "ok",
"venues": [
{
"address": "<0.1mi · 新北市中和橋和路15號",
"external_id": "482775614919229",
"external_id_source": "facebook_places",
"lat": 0.0,
"lng": 0.0,
"name": "萱子的秘密小屋"
}
]
}
| Field | Meaning |
|---|---|
venues[] | List of nearby locations returned for the coordinates. |
venues[].name | Display name of the venue. |
venues[].address | Address text for the venue. It starts with a distance label such as <0.1mi, followed by the street address. |
venues[].external_id | ID of the venue in the external places source. Keep it as a string. |
venues[].external_id_source | Name of the source that the external_id belongs to, for example facebook_places. |
venues[].lat / venues[].lng | Latitude and longitude of the venue. |
status | Request status. The value ok means the call succeeded. |
request_id | ID of this request. |
rank_token | Ranking token for the result set. It was an empty string in this response. |
latitude and longitude are required and must be numbers.0 and 0, and the returned lat and lng values were also 0.0. Use your own coordinates to see venues around a real place.$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/search-by-coordinates" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"latitude": 0,
"longitude": 0
}'請將您的 SandBase API 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_KEY"請將金鑰保留在伺服器端,不要在瀏覽器程式碼中公開。
latitudenumber必填Latitude
longitudenumber必填Longitude
這是此 API 的已儲存範例回應;檢視時不會發出即時請求。
[
{
"data": {
"rank_token": "",
"request_id": "16337bf59d9b448f956cb3ad792309d8",
"status": "ok",
"venues": [
{
"address": "<0.1mi · 18 Đường D2, Châu Thới, xã Bình Thắng, Bình Dương, Hồ Chí Minh, Việt Nam",
"external_id": "469499352918885",
"external_id_source": "facebook_places",
"lat": 0,
"lng": 0,
"name": "Đặng Viring Specialty Coffee"
},
{
"address": "<0.1mi · 350 Rufe Snow, Suite 500",
"external_id": "185782396368380",
"external_id_source": "facebook_places",
"lat": -0.0013893846577321,
"lng": -0.00040233124127553,
"name": "Best Brains Learning Center - Keller"
},
{
"address": "<0.1mi · 新北市中和橋和路15號",
"external_id": "482775614919229",
"external_id_source": "facebook_places",
"lat": 0,
"lng": 0,
"name": "萱子的秘密小屋"
},
"… 20 more items in the full response"
]
}
}
]探索更多
| 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
問題
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/instagram/v3/search-by-coordinates。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次 $0.008,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。
必要:latitude (number) 和 longitude (number)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。
不需要。Instagram Location Search by Coordinates (V3) 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Instagram API 存取權。