Sand AISand AI MAGI-2MAGI-2 теперь на SandBase: видео 1080p с нативным звукомПопробовать сейчас
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.00015USD / вызов
Метод
POST
Ответ
Асинхронный JSON
Параметры
0 обязательных · 6 необязательных
100 бесплатных вызовов в деньПервые 100 вызовов в день — бесплатно (общий лимит для организации) · Сброс в 00:00 UTC. Далее оплата за каждый вызов.

Песочница

Ввод
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.
ВыходГотово

Ваш результат появится здесь

Заполните входные данные, затем нажмите «Запустить».

README по API

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 MapsЭтот API
Bing Maps
$0.00015 за запросАсинхронный JSON

Вопросы

FAQ

Как использовать API Bing Maps Maps?

Отправьте POST-запрос на https://api.sandbase.ai/v1/api/bing-maps/maps, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.

Сколько стоит API Bing Maps Maps?

$0.00015 за вызов. Каждой организации предоставляется 100 бесплатных вызовов в сутки по UTC, общих для всех подходящих API SandBase, включая этот; после этого каждый вызов тарифицируется по этой цене и списывается с баланса SandBase. Подписка не требуется.

Какие параметры принимает API Bing Maps Maps?

Параметры не требуются. Необязательные: q (string), cp (string), count (integer), first (integer), setlang (string) и place_id (string). В таблице Parameters и в Playground на этой странице перечислены все поля.

Что возвращает API Bing Maps Maps?

JSON-результат. Этот endpoint работает асинхронно, поэтому ответ подсказывает, как получить готовый результат. В README на этой странице приведен пример ответа.

Нужен ли мне аккаунт разработчика Bing Maps или API key?

Нет. Bing Maps Maps работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Bing Maps.