Call it
curl https://api.peume.com/v1/call/duckduckgo-search-private-maps \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"q": "your q"
}
}'const res = await fetch("https://api.peume.com/v1/call/duckduckgo-search-private-maps", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"q": "your q"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/duckduckgo-search-private-maps",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"q": "your q"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: duckduckgo-search-private-maps.
Parameters
qRequiredstringThe query you want to search. You can use anything that you would use in a regular DuckDuckGo Maps search.
strict_bboxstringWhether you strictly want your search to follow the `bbox` coordinates. It can be set to `1` (strict - default), or `0` (off).
bboxstringAn area where you want your `q` (query) to be applied. The value consists of latitude/longitude pair. The first pair marks the top left corner and the second pair marks the bottom right corner of the map area box. It has to be constructed in the next sequence: `latitude_tl` + `,` + `longitude_tl` + `,` + `latitude_br` + `,` + `longitude_br` This will form a string that looks like this: e.g. `30.341552964181687,-97.87405344947078,30.16321730812698,-97.50702877159034` DuckDuckGo Maps uses bbox parameter as the default way to pass GPS coordinates. When unsure what the value should be, visit DuckD
lonstringDefines a GPS longitude for the search origin. Parameter is required when using `lat` parameter.
json_restrictorstringThe fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
latstringDefines a GPS latitude for the search origin. Parameter is required when using `lon` parameter.
