Docs · Reference
DuckDuckGo Search
GET /v1/search/duckduckgo1 credit / requestcache 60 minLive DuckDuckGo web results for any query and region: organic results with title, real destination link, displayed URL and snippet, plus the instant answer box when DuckDuckGo shows one. Set page (1-10) for deeper results: positions continue across pages (page 2 starts at 11) and every page is billed as one request. Bot-check pages are detected and never charged.
Query parameters
qstring · required | Search query. |
klstring | Region, e.g. us-en, uk-en, de-de, or wt-wt for no region. Default: "us-en" |
safestring | SafeSearch level. Default: "moderate" Allowed: off, moderate, strict |
pageinteger | Results page, 1-10. Page 1 holds about 10 results and later pages about 15; positions continue across pages (page 2 starts at 11). Billed as one request whatever the page. Default: 1 |
max_ageinteger | Accept a cached answer up to this many seconds old, billed at 50%. |
Response data fields
Example
curl "https://api.gridlode.com/v1/search/duckduckgo?q=python%20programming%20language" \
-H "Authorization: Bearer $GRIDLODE_KEY"Try it without code on the DuckDuckGo Search API page.