keywordstringzorunlu
Search keyword (location name, city, etc.)
https://api.sandbase.ai/v1/api/instagram/v2/search-locationsSearches Instagram locations matching a specified query term. Returns a list of place candidates with their IDs, names, and Facebook place identifiers.
[
{
"data": {
"data": {
"count": 30,
"items": [
{
"address": "",
"city": "",
"external_source": "facebook_places",
"facebook_places_id": 1619558008055426,
"id": "1619558008055426",
"latitude": 48.85907505,
"longitude": 2.30746037,
"name": "Paris, France",
"short_name": "Paris"
},
{
"address": "3655 Las Vegas Blvd S",
"city": "",
"external_source": "facebook_places",
"facebook_places_id": 203320451997,
"id": "203320451997",
"latitude": 36.112495391046,
"longitude": -115.17049104022,
"name": "Paris Las Vegas Hotel & Casino",
"short_name": "Paris Las Vegas Hotel & Casino"
},
{
"address": "",
"city": "",
"external_source": "facebook_places",
"facebook_places_id": 124963102002,
"id": "5870982",
"latitude": 48.8559907,
"longitude": 2.3529373,
"name": "Paris, France",
"short_name": "Paris"
},
"… 27 more items in the full response"
]
}
}
}
]Bir örnek seçerek girdilerini ve sonucunu playground'a yükleyin.
Returns a list of Instagram locations that match a search term. You send a keyword such as a place name or city, and each result includes an ID, name, coordinates, and a Facebook place ID.
address and city values.curl -X POST "https://api.sandbase.ai/v1/api/instagram/v2/search-locations" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "paris"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | Yes | Search keyword (location name, city, etc.) |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"count": 30,
"items": [
{
"address": "3655 Las Vegas Blvd S",
"city": "",
"external_source": "facebook_places",
"facebook_places_id": 203320451997,
"id": "203320451997",
"latitude": 36.112384416244,
"longitude": -115.17106896803,
"name": "Paris Las Vegas Hotel & Casino",
"short_name": "Paris Las Vegas Hotel & Casino"
}
]
}
}
| Field | Meaning |
|---|---|
data.count | Number of location results returned for the keyword. |
data.items[].id | Instagram location ID as a string. Use it as the location identifier in other location calls. |
data.items[].name / data.items[].short_name | Display name of the place. In the sample, both fields hold the same value. |
data.items[].facebook_places_id | Numeric Facebook place identifier for the location. It matches id for some results and differs for others. |
data.items[].latitude / data.items[].longitude | Coordinates of the place in decimal degrees. |
data.items[].address | Street address of the place. It is an empty string when none is available. |
data.items[].city | City label for the place, such as Paris, France. It is an empty string when none is available. |
data.items[].external_source | Source label for the place record. The sample shows facebook_places. |
keyword parameter is the only input. It takes a location name or city, for example paris.latitude, longitude, and city before you pick one.id as a string. Do not use facebook_places_id in its place, because the two values can differ.$0.002 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Geliştirmeye başlayın
Birleşik kimlik doğrulama ve kullanım takibi sunan Platform API uç noktası.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/v2/search-locations" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"keyword": "paris"
}'SandBase API anahtarınızı sunucu ortamınıza ayarlayın. İstekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarınızı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın.
keywordstringzorunluSearch keyword (location name, city, etc.)
Bu API için kaydedilmiş örnek yanıt; görüntülerken canlı istek yapılmaz.
[
{
"data": {
"data": {
"count": 30,
"items": [
{
"address": "",
"city": "",
"external_source": "facebook_places",
"facebook_places_id": 1619558008055426,
"id": "1619558008055426",
"latitude": 48.85907505,
"longitude": 2.30746037,
"name": "Paris, France",
"short_name": "Paris"
},
{
"address": "3655 Las Vegas Blvd S",
"city": "",
"external_source": "facebook_places",
"facebook_places_id": 203320451997,
"id": "203320451997",
"latitude": 36.112495391046,
"longitude": -115.17049104022,
"name": "Paris Las Vegas Hotel & Casino",
"short_name": "Paris Las Vegas Hotel & Casino"
},
{
"address": "",
"city": "",
"external_source": "facebook_places",
"facebook_places_id": 124963102002,
"id": "5870982",
"latitude": 48.8559907,
"longitude": 2.3529373,
"name": "Paris, France",
"short_name": "Paris"
},
"… 27 more items in the full response"
]
}
}
}
]Daha fazlasını keşfedin
| API | Fiyat | Yanıt |
|---|---|---|
Instagram | $0.002 çağrı başına | JSON |
Instagram | $0.002 çağrı başına | JSON |
Instagram | $0.002 çağrı başına | JSON |
Instagram | $0.002 çağrı başına | JSON |
Instagram | $0.002 çağrı başına | JSON |
Instagram | $0.002 çağrı başına | JSON |
Kılavuzlar:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
Sorular
SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/instagram/v2/search-locations adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.
çağrı başına $0.002. Her kuruluş, UTC günü başına 100 ücretsiz çağrı alır; bu hak, bu API dahil uygun SandBase API'leri arasında ortaktır. Sonrasında her çağrı, SandBase bakiyenizden bu fiyat üzerinden ücretlendirilir. Abonelik yoktur.
Gerekli: keyword (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.
Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.
Hayır. Instagram Location Search, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Instagram API erişimi için ayrıca başvuru yapmanız gerekmez.