Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Instagram Location Search by Coordinates (V3)

Tài liệu 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.

Giá
$0.008USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
2 bắt buộc · 0 tùy chọn

Phòng thử nghiệm

Đầu vào
Latitude
Longitude
Đầu raVí dụ
Phản hồioutputs · 1.0 KB · 36 dòng
[
  {
    "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"
      ]
    }
  }
]

Ví dụ

Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.

README API

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.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Instagram$0.008 mỗi lần gọiJSON
Instagram$0.008 mỗi lần gọiJSON
Instagram$0.008 mỗi lần gọiJSON
Instagram$0.008 mỗi lần gọiJSON
Instagram$0.002 mỗi lần gọiJSON
Instagram$0.008 mỗi lần gọiJSON

Hướng dẫn:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Instagram Location Search by Coordinates (V3)?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/instagram/v3/search-by-coordinates với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Instagram Location Search by Coordinates (V3) có giá bao nhiêu?

$0.008 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Instagram Location Search by Coordinates (V3) chấp nhận những tham số nào?

Bắt buộc: latitude (number) và longitude (number). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Instagram Location Search by Coordinates (V3) trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Instagram không?

Không. Instagram Location Search by Coordinates (V3) chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Instagram.