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

Maps · DuckDuckGo

DuckDuckGo Places Search

Search DuckDuckGo Maps for a place or category around one of eleven city centers and get names, addresses, ratings, phone numbers and websites.

  • Hạn ngạch miễn phí hằng ngày, sau đó $0.00015 mỗi lần chạy
  • Dữ liệu trực tiếp
  • Không cần tài khoản DuckDuckGo
  • Bao gồm JSON thô

Maps · DuckDuckGo

Kết quả xếp hạng kèm số liệu

Mỗi kết quả kèm tiêu đề, liên kết, tác giả, ngày và mức độ tương tác, cùng tổng và trung vị trên toàn danh sách. Mỗi lần chạy cũng trả về phản hồi thô của API và bản xuất JSON.

Cách hoạt động

  1. 01

    Enter a place and a nearby city

    Type a place or category in Place or category, up to 100 characters, such as ramen. Pick a city in Near: New York, San Francisco, Los Angeles, London, Paris, Berlin, Tokyo, Singapore, Sydney, Shanghai or Hong Kong. The city sets the map center the search uses.

  2. 02

    Search duckduckgo/maps by coordinates

    SandBase sends your query as q to duckduckgo/maps, with lat and lon set to the chosen city's center. The tool adds no other parameters. Each search is one request, billed to your SandBase account after the organization's daily free quota.

  3. 03

    Compare places, ratings and websites

    The page lists places with name, address, rating, phone number and website, plus a results count and median rating. Website links let you check each place. The unmodified duckduckgo/maps response is under Raw API response.

Ai sử dụng

  • Travelers

    Shortlist places before a trip.

  • Sales teams

    List local businesses.

  • Developers

    Test a places API.

Dữ liệu DuckDuckGo với một API

Công cụ này gọi một SandBase API. Gọi cùng API đó từ code hoặc Agent của bạn bằng khóa SandBase của bạn, tính phí theo mỗi lần gọi ($0.00015 giá niêm yết).

cURL

curl -X POST https://api.sandbase.ai/v1/api/duckduckgo/maps \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "q": "coffee",
  "lat": 40.7128,
  "lon": -74.006
}'

Câu hỏi thường gặp

Why does DuckDuckGo Places Search use a list of cities?

The API searches around a map center, and each city sets that center. DuckDuckGo Places Search offers eleven of them.

Where does DuckDuckGo Places Search data come from?

From DuckDuckGo Maps, which is built on Apple Maps data.

What does DuckDuckGo Places Search show for each place?

DuckDuckGo Places Search shows name, address, rating, phone number and website when the listing has them.

Why did DuckDuckGo Places Search find nothing?

DuckDuckGo Maps had no places for that query near the chosen center. Try a broader category or another city.

Is DuckDuckGo Places Search free on duckduckgo/maps?

Partly. DuckDuckGo Places Search counts against the daily free quota first, 100 calls per organization per day, shared, with a 00:00 UTC reset. Beyond it, duckduckgo/maps runs are billed to your SandBase account at the price on the page and in sandbase inspect. Pricing: https://www.sandbase.ai/pricing

Can I get DuckDuckGo Maps places from the duckduckgo/maps API?

Yes. Send POST /v1/api/duckduckgo/maps with a SandBase API key, with q, lat and lon. DuckDuckGo Places Search shows the request example.