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-запрос на https://api.sandbase.ai/v1/api/instagram/v3/search-by-coordinates, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
$0.008 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.
Обязательные: latitude (number) и longitude (number). В таблице Parameters и в Playground на этой странице перечислены все поля.
JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.
Нет. Instagram Location Search by Coordinates (V3) работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Instagram.