querystringzorunlu
Place name, address or city to search for.
https://api.sandbase.ai/v1/api/instagram/search-locationsSearch Instagram locations by keyword and return each place's id, name, address and coordinates.
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
This API searches Instagram locations by keyword. It needs one query (a place name, address or city) and returns matching places with an id, name, address, city and coordinates.
id for a landmark so you can pull posts tagged there.curl -X POST "https://api.sandbase.ai/v1/api/instagram/search-locations" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "Eiffel Tower"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Place name, address or city to search for. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"locations": [
{
"address": "Champ-de-Mars",
"city": "",
"id": "103912118089363",
"latitude": 48.85824768693,
"longitude": 2.2944650859978,
"name": "Eiffel Tower, Paris, France",
"shortName": "Eiffel Tower"
}
]
},
"found": true
}
| Field | Meaning |
|---|---|
data.locations[].id | Instagram location ID as a string. Use it to look up posts or details for that place. |
data.locations[].name | Full display name of the place, sometimes with city and country, such as Eiffel Tower, Paris, France. |
data.locations[].shortName | Shorter name of the place without the city or country. |
data.locations[].address | Street or area address of the place. It can be an empty string. |
data.locations[].city | City of the place. It can be an empty string. |
data.locations[].latitude / data.locations[].longitude | Coordinates of the place in decimal degrees. |
found | true when the search returned at least one location. |
city, latitude and longitude before you pick an id.address and city are often empty strings. Use name and the coordinates when they are.id to Instagram Location Posts to get posts tagged at that place.Billed at the actual cost of each call, about $0.0011 for the request above. Failed calls are not charged.
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/search-locations" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "Eiffel Tower"
}'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.
querystringzorunluPlace name, address or city to search for.
Bu API için kaydedilmiş örnek yanıt; görüntülerken canlı istek yapılmaz.
Yayınlanmış bir kaydedilmiş yanıt yok. Yanıtını incelemek için API'yi Playground'da çalıştırın.
Daha fazlasını keşfedin
| API | Fiyat | Yanıt |
|---|---|---|
Instagram | Kullanım başına $0.0011'den itibaren | JSON |
Instagram | Kullanım başına $0.0011'den itibaren | JSON |
Instagram | Kullanım başına $0.001'den itibaren | JSON |
Instagram | Kullanım başına $0.0011'den itibaren | JSON |
Instagram | Kullanım başına $0.0012'den itibaren | JSON |
Instagram | Kullanım başına $0.0011'den itibaren | 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/search-locations adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.
çağrı başına $0.0011'dan başlayan, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.
Gerekli: query (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.