Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

Instagram Location Search by Coordinates (V2)

API dokümanları
https://api.sandbase.ai/v1/api/instagram/v2/search-by-coordinates

Returns nearby Instagram locations matching specified geographic coordinates. Queries require both latitude and longitude values to discover place names and identifiers.

Fiyat
$0.002USD / çağrı
Yöntem
POST
Yanıt
JSON
Parametreler
2 gerekli · 0 isteğe bağlı

Oynatma Alanı

Girdi
Latitude
Longitude
ÇıktıÖrnek
Yanıtoutputs · 1.5 KB · 54 satır
[
  {
    "data": {
      "data": {
        "count": 23,
        "items": [
          {
            "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",
            "category": "",
            "city": null,
            "hours": [],
            "id": "469499352918885",
            "id_source": "facebook_places",
            "latitude": 0,
            "longitude": 0,
            "name": "Đặng Viring Specialty Coffee",
            "phone": "",
            "website": "",
            "zip": null
          },
          {
            "address": "<0.1mi · 350 Rufe Snow, Suite 500",
            "category": "",
            "city": null,
            "hours": [],
            "id": "185782396368380",
            "id_source": "facebook_places",
            "latitude": -0.0013893846577321,
            "longitude": -0.00040233124127553,
            "name": "Best Brains Learning Center - Keller",
            "phone": "",
            "website": "",
            "zip": null
          },
          {
            "address": "<0.1mi · 新北市中和橋和路15號",
            "category": "",
            "city": null,
            "hours": [],
            "id": "482775614919229",
            "id_source": "facebook_places",
            "latitude": 0,
            "longitude": 0,
            "name": "萱子的秘密小屋",
            "phone": "",
            "website": "",
            "zip": null
          },
          "… 20 more items in the full response"
        ]
      }
    }
  }
]

Örnekler

Bir örnek seçerek girdilerini ve sonucunu playground'a yükleyin.

API README

Instagram Location Search by Coordinates (V2) API

Returns a list of Instagram locations near a pair of coordinates. Each item has a place name, an ID, and the latitude and longitude. The request needs latitude and longitude as numbers.

Use cases

  • Find the Instagram location ID for a venue when you only have its GPS coordinates.
  • Build a list of nearby places for a map or check-in picker from a device position.
  • Match a store or hotel address to its Instagram place entry before collecting posts tagged there.
  • Check which place names Instagram lists around a given point.

Request

curl -X POST "https://api.sandbase.ai/v1/api/instagram/v2/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.

Parameters

NameTypeRequiredDescription
latitudenumberYesLatitude
longitudenumberYesLongitude

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "count": 25,
    "items": [
      {
        "address": "<0.1mi · 新北市中和橋和路15號",
        "category": "",
        "city": null,
        "hours": [],
        "id": "482775614919229",
        "id_source": "facebook_places",
        "latitude": 0,
        "longitude": 0,
        "name": "萱子的秘密小屋",
        "phone": "",
        "website": "",
        "zip": null
      }
    ]
  }
}

Response fields

FieldMeaning
data.countNumber of location items in the response.
data.items[].idIdentifier of the location. Use it to look up posts tagged at that place.
data.items[].id_sourceSource system of the ID. The sample values are facebook_places.
data.items[].nameDisplay name of the place.
data.items[].addressStreet address text. It can start with a distance prefix such as <0.1mi ·.
data.items[].latitude / data.items[].longitudeCoordinates of the place. In the sample response both are 0.
data.items[].category / data.items[].phone / data.items[].websiteOptional place details. They are empty strings when no value is set.
data.items[].city / data.items[].zipCity and postal code. Both are null in the sample response.
data.items[].hoursList of opening hours. It is empty in the sample response.

Notes

  • Both latitude and longitude are required numbers.
  • Many fields such as category, phone, website, city and zip can be empty or null, so check them before use.
  • Pass a location id to Instagram Location Posts (V2) to get posts for that place.
  • To find a place by name instead of coordinates, use Instagram Location Search.

Pricing

$0.002 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
Instagram$0.002 çağrı başınaJSON
Instagram$0.002 çağrı başınaJSON
Instagram$0.002 çağrı başınaJSON
Instagram$0.002 çağrı başınaJSON
Instagram$0.002 çağrı başınaJSON
Instagram$0.002 çağrı başınaJSON

Kılavuzlar:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared

Sorular

SSS

Instagram Location Search by Coordinates (V2) API'sini nasıl kullanırım?

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-by-coordinates adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

Instagram Location Search by Coordinates (V2) API'sinin fiyatı nedir?

çağrı başına $0.002, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.

Instagram Location Search by Coordinates (V2) API'si hangi parametreleri kabul eder?

Gerekli: latitude (number) ve longitude (number). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

Instagram Location Search by Coordinates (V2) API'si ne döndürür?

Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.

Bir Instagram geliştirici hesabına veya API anahtarına ihtiyacım var mı?

Hayır. Instagram Location Search by Coordinates (V2), 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.