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.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

问题

常见问题

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

向 https://api.sandbase.ai/v1/api/instagram/v3/search-by-coordinates 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 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 key 吗?

不需要。Instagram Location Search by Coordinates (V3) 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Instagram API 访问权限。