Sand AISand AI MAGI-2ตอนนี้ MAGI-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 / คำขอ
Method
POST
การตอบกลับ
Async JSON
พารามิเตอร์
0 จำเป็น · 6 ไม่บังคับ
100 คำขอฟรี / วันคำขอ 100 ครั้งแรกต่อวันฟรี (ใช้ร่วมกันภายในองค์กร) · รีเซ็ตเวลา 00:00 UTC จากนั้นคิดค่าบริการตามจำนวนคำขอ

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.
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

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 MapsAPI นี้
Bing Maps
$0.00015 ต่อการเรียกAsync JSON

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Bing Maps Maps API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/bing-maps/maps โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Bing Maps Maps API ราคาเท่าไร?

$0.00015 ต่อครั้ง ทุกองค์กรจะได้รับคำขอฟรี 100 ครั้งต่อวัน UTC โดยใช้ร่วมกันใน 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 บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Bing Maps ไหม?

ไม่จำเป็น Bing Maps Maps ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Bing Maps API แยกต่างหาก