Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

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.

  • Cota diária grátis, depois $0.00015 por execução
  • Dados em tempo real
  • Sem conta no DuckDuckGo
  • JSON bruto incluído

Maps · DuckDuckGo

Resultados ranqueados com os números

Cada resultado com título, link, autor, data e engajamento, além de totais e medianas na lista. Cada execução também retorna a resposta bruta da API e uma exportação em JSON.

Como funciona

  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.

Quem usa

  • Travelers

    Shortlist places before a trip.

  • Sales teams

    List local businesses.

  • Developers

    Test a places API.

DuckDuckGo com uma API

Esta ferramenta chama uma API da SandBase. Chame a mesma API no seu código ou Agent com sua chave SandBase, cobrada por chamada ($0.00015 preço de tabela).

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
}'

Perguntas frequentes

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.