Skip to content
Scrappa Get API key
DuckDuckGo API 1 credit/request

DuckDuckGo Maps

GET https://scrappa.co/api/duckduckgo/maps

Find local places with address, phone, website, rating, reviews, opening hours, amenities, categories, photos and distance. Send lat and lon, or a bbox: places outside the box are removed. One page per request. Failed requests are never charged.

DuckDuckGo Maps 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/duckduckgo/maps
Auth header
x-api-key
Cost
1 credit/request
q = coffee shops
Response preview
200 OK
Example JSON appears below when a response schema is available for this endpoint.

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

6 optional filters available.

q string Required

What to look for, for example cafe or pizza (max 499 characters).

Example value coffee shops
lat number Optional

Latitude of the search point. Send it with lon, or send bbox instead.

Example value 10
lon number Optional

Longitude of the search point. Send it with lat, or send bbox instead.

Example value 10
bbox string Optional

Box as min_lat,min_lon,max_lat,max_lon. Only places inside the box are returned. Without lat and lon the search point is the center of the box.

Example value example
country string Optional

Two-letter country code that sets the result region, for example DE. Default: US.

Example value US
l string Optional

Region and language as ll-cc, for example de-de. Overrides country. Default: us-en.

Example value example
limit integer Optional

Maximum number of places, 1 to 20. Default: 20.

Example value 10

Errors

Handle these documented responses before retrying or showing customer-facing failures.

VALIDATION_ERROR

HTTP VALIDATION_ERROR

q is missing, or neither lat and lon nor bbox is sent, or a value is malformed. The request is not charged.

UPSTREAM_UNAVAILABLE

HTTP UPSTREAM_UNAVAILABLE

DuckDuckGo is temporarily unavailable. The request is not charged. Retry shortly.

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.