DuckDuckGo Search
Search DuckDuckGo HTML results by query, with supported market and date filters. Continuation uses the returned cursor, not numbered pages.
- Endpoint
- POST https://api.serpbase.dev/duckduckgo/search
- Price
- 1 credit
- Authentication
- X-API-Key
You pay for successful requests only. Each endpoint has a fixed price in credits — most cost 1 or 2 — and a request that fails gives its credits back automatically. Billing →
Need the whole Google results page instead? The Google SERP API returns organic results, AI Overviews and People Also Ask as JSON.
Example
curl -X POST 'https://api.serpbase.dev/duckduckgo/search' \
-H "Content-Type: application/json" \
-H 'X-API-Key: YOUR_API_KEY' \
--max-time 60 \
-d '{"query":"coffee shops"}'{
"status": 0,
"credits_charged": 1,
"request_id": "r-4b27fe8a36d9ac303a5da7dd",
"product_id": "duckduckgo_search",
"query": "coffee shops",
"action": "search",
"organic": [
{
"display_link": "www.tripadvisor.com/Restaurants-g303957-c8-Pekanbaru_Riau_Province_Sumatra.html",
"link": "https://www.tripadvisor.com/Restaurants-g303957-c8-Pekanbaru_Riau_Province_Sumatra.html",
"position": 1,
"rank": 1,
"snippet": "Best Cafés in Pekanbaru, Riau Province: Find Tripadvisor traveller reviews of Pekanbaru Cafés and se…",
"title": "THE 10 BEST Cafés in Pekanbaru (Updated 2026) - Tripadvisor",
"url": "https://www.tripadvisor.com/Restaurants-g303957-c8-Pekanbaru_Riau_Province_Sumatra.html"
},
{
"display_link": "tempatwisataseru.com/cafe-tempat-nongkrong-di-pekanbaru-paling-hits-cozy-abis/",
"link": "https://tempatwisataseru.com/cafe-tempat-nongkrong-di-pekanbaru-paling-hits-cozy-abis/",
"position": 2,
"rank": 2,
"snippet": "Tempat nongkrong di Pekanbaru yang terakhir adalah pesona coffee Pekanbaru yang berada di kawasan ja…",
"title": "28 Cafe & Tempat Nongkrong di Pekanbaru Paling Hits, Cozy Abis!",
"url": "https://tempatwisataseru.com/cafe-tempat-nongkrong-di-pekanbaru-paling-hits-cozy-abis/"
}
],
"pagination": {
"has_more": true,
"next_cursor": "eyJhcGkiOlsiZC5qcyJdLCJkYyI6WyIxMSJdLCJrbCI6WyJ3dC13dCJdLCJuZXh0UGFyYW1zIjpbIiJdLCJvIjpbImpzb24iXSwi…"
},
"search_type": "search",
"search_url": "https://html.duckduckgo.com/html/?q=coffee+shops",
"source": "duckduckgo",
"url": "https://html.duckduckgo.com/html/?q=coffee+shops"
}Frequently asked questions
How much does the DuckDuckGo Search API cost?
Each request costs 1 credit. Credits come from prepaid packs or the monthly plan, and new accounts start with free credits.
How do I call the DuckDuckGo Search API?
Send a POST request to https://api.serpbase.dev/duckduckgo/search with your API key in the X-API-Key header. The response is JSON; check status (0 means success).
Which devices does it support?
Supported devices: desktop. The default is desktop.
Is the DuckDuckGo Search API available now?
Yes. Any active API key can call it.