Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Instagram Location Search by Coordinates (V3)

API 文件
https://api.sandbase.ai/v1/api/instagram/v3/search-by-coordinates

Returns nearby Instagram locations matching specific GPS coordinates. Provide latitude and longitude coordinates to discover venues and their external IDs.

價格
$0.008美元/次呼叫
方法
POST
回應
JSON
參數
2 個必填 · 0 個選填

Playground

輸入
Latitude
Longitude
輸出範例
回應outputs · 1.0 KB · 36 行
[
  {
    "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。

API README

Instagram Location Search by Coordinates (V3) API

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.

Use cases

  • Find the Instagram location entries closest to a point on a map.
  • Collect external location IDs for venues near a store, hotel, or event site.
  • Match a GPS coordinate from a photo or device to a named place.
  • Build a list of nearby venue names and addresses for a given area.

Request

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.

Parameters

NameTypeRequiredDescription
latitudenumberYesLatitude
longitudenumberYesLongitude

Example response

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": "萱子的秘密小屋"
    }
  ]
}

Response fields

FieldMeaning
venues[]List of nearby locations returned for the coordinates.
venues[].nameDisplay name of the venue.
venues[].addressAddress text for the venue. It starts with a distance label such as <0.1mi, followed by the street address.
venues[].external_idID of the venue in the external places source. Keep it as a string.
venues[].external_id_sourceName of the source that the external_id belongs to, for example facebook_places.
venues[].lat / venues[].lngLatitude and longitude of the venue.
statusRequest status. The value ok means the call succeeded.
request_idID of this request.
rank_tokenRanking token for the result set. It was an empty string in this response.

Notes

  • Both latitude and longitude are required and must be numbers.
  • The request has no pagination parameters.
  • The example request used 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.
  • To get details for a venue, pass its ID to Instagram Location Details (V3). To see posts tagged there, use Instagram Location Posts (V3).

Pricing

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

探索更多

相關 APIs

所有 APIs
API價格回應
Instagram每次呼叫 $0.008JSON
Instagram每次呼叫 $0.008JSON
Instagram每次呼叫 $0.008JSON
Instagram每次呼叫 $0.008JSON
Instagram每次呼叫 $0.002JSON
Instagram每次呼叫 $0.008JSON

指南:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Instagram Location Search by Coordinates (V3) API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/instagram/v3/search-by-coordinates。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Instagram Location Search by Coordinates (V3) API 的費用是多少?

每次 $0.008,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

Instagram Location Search by Coordinates (V3) API 接受哪些參數?

必要:latitude (number) 和 longitude (number)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Instagram Location Search by Coordinates (V3) API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Instagram 開發者帳號或 API 金鑰嗎?

不需要。Instagram Location Search by Coordinates (V3) 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Instagram API 存取權。