Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

Bing Maps Maps

https://api.sandbase.ai/v1/api/bing-maps/maps

Search Bing Maps listings around a map center, or look up one entity by id.

价格
$0.00015美元 / 次调用
方法
POST
响应
异步 JSON
参数
0 个必填 · 6 个可选
每天 100 次免费调用每天前 100 次调用免费(按组织共享)· UTC 00:00 重置。之后按次计费。

Playground

输入
Search query. Required unless place_id is supplied.
Map center as 'latitude~longitude', such as '47.6062~-122.3321'.
130
Number of listings, 1-30. Default 30. 范围:1 到 30。
Listing offset, 0-10,000. Default 0. 范围:0 到 10000。
Interface language such as 'en-US'.
Native Bing Maps entity ID for a detail lookup. Required unless q is supplied.
输出就绪

您的输出将显示在这里

完成输入,然后点击运行。

API README

Bing Maps Maps

Returns Bing Maps business listings for a search query near a map center. Each listing has an address, phone number, coordinates, and open state. You can also pass a place_id to look up one entity.

Use cases

  • Build a list of coffee shops, pharmacies, or other business types near a given latitude and longitude.
  • Collect phone numbers and addresses of local businesses for a lead list.
  • Plot search results on a map using the gps_coordinates of each listing.
  • Check which nearby businesses are open right now using open_state and open_hours.

Request

curl -X POST "https://api.sandbase.ai/v1/api/bing-maps/maps" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"q": "coffee", "cp": "47.6062~-122.3321"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
countintegerNoNumber of listings, 1-30. Default 30.
cpstringNoMap center as 'latitudelongitude', such as '47.6062-122.3321'.
firstintegerNoListing offset, 0-10,000. Default 0.
place_idstringNoNative Bing Maps entity ID for a detail lookup. Required unless q is supplied.
qstringNoSearch query. Required unless place_id is supplied.
setlangstringNoInterface language such as 'en-US'.

Example response

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

{
  "local_results": [
    {
      "items": [
        {
          "address": "1912 Pike Pl, Seattle, WA 98101",
          "entry_type": "Business",
          "gps_coordinates": {
            "latitude": 47.610069274902344,
            "longitude": -122.34262084960938
          },
          "link": "https://www.bing.com/maps?q=Starbucks+Coffee+Company&filters=local_ypid%3A%22YNF…",
          "open_hours": "Open until 8 PM",
          "open_state": "Open",
          "phone": "(206) 448-8762",
          "place_id": "YNF9439D454244F274"
        }
      ],
      "title": "coffee"
    }
  ],
  "search_metadata": {
    "created_at": "2026-11-03 07:28:13 UTC",
    "id": "234da23691b61502af88f81d",
    "processed_at": "2026-11-03 07:28:13 UTC",
    "status": "Success",
    "total_time_taken": 0.885
  },
  "search_parameters": {
    "count": 30,
    "cp": "47.6062~-122.3321",
    "first": 0,
    "q": "coffee"
  }
}

Response fields

FieldMeaning
local_results[].titleThe search term that the group of listings answers, such as coffee.
local_results[].items[].place_idThe Bing Maps entity ID of the listing. Pass it as place_id to look up that entity.
local_results[].items[].addressStreet address of the listing as one text line.
local_results[].items[].entry_typeType of entry, such as Business.
local_results[].items[].gps_coordinates.latitude / local_results[].items[].gps_coordinates.longitudeDecimal degree coordinates of the listing.
local_results[].items[].phonePhone number of the listing, formatted as text.
local_results[].items[].open_state / local_results[].items[].open_hoursWhether the listing is open (open_state) and a short text on closing time (open_hours), such as Open until 8 PM.
local_results[].items[].linkBing Maps URL that opens the listing.
search_metadata.statusShows Success when the search finished.
search_parameters.count / search_parameters.firstThe page size and offset the search used, with defaults filled in.

Notes

  • Send either q or place_id. A search uses q with cp as the map center in the form latitude~longitude, such as 47.6062~-122.3321.
  • Page through results with count (1-30, default 30) and first (offset, 0-10,000).
  • Take place_id from local_results[].items[].place_id to run a detail lookup on one listing.
  • Timestamps in search_metadata use the format 2026-11-03 07:28:13 UTC.

Pricing

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

探索更多

相关 APIs

全部 APIs
API价格响应
Bing Maps$0.00015 每次调用异步 JSON

问题

常见问题

如何使用 Bing Maps Maps API?

向 https://api.sandbase.ai/v1/api/bing-maps/maps 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

Bing Maps Maps API 的价格是多少?

每次调用 $0.00015。每个组织在每个 UTC 日可获得 100 次免费调用,适用于包括此接口在内的所有符合条件的 SandBase APIs;超过后,每次调用将按此价格从您的 SandBase 余额中扣费。无需订阅。

Bing Maps Maps API 接受哪些参数?

无需参数。 可选:q (string), cp (string), count (integer), first (integer), setlang (string) 和 place_id (string)。 Parameters 表和本页的 Playground 列出了每个字段。

Bing Maps Maps API 返回什么?

JSON 结果。此端点异步运行,因此响应会告诉您如何获取已完成的结果。 本页的 README 包含一个示例响应。

我需要 Bing Maps 开发者账户或 API key 吗?

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