DuckDuckGo APIunofficial
Signed-out web search results and search autocomplete suggestions.
- duckduckgo.com
all live 2 operations, checked by the installs that call them.
Seeded by the maintainers.
Try it
Set up API Anything for your agents:
npx -y api-anything setupThen ask your agent, which finds this site by itself, or call it from a shell:
api-anything pull duckduckgo
api-anything call duckduckgo search 'q=python programming'Operations
| Operation | Method | Login | Writes | Status |
|---|---|---|---|---|
search(q) -> title, url, snippetSearch the first page of public web results. |
GET | no | no | Live0 confirmations · success unknown; last worked unknown |
suggest(q) -> phraseGet autocomplete suggestions for a search query. |
GET | no | no | Live0 confirmations · success unknown; last worked unknown |
Notes
search(q) returns the first page of ordinary web results, excluding cards marked as ads. The URL is DuckDuckGo's click redirect, not necessarily the destination URL. A snippet may be absent. Ranking and snippets can change with time and location.
suggest(q) returns search-box autocomplete suggestions. Neither operation requires a login. Region, date filtering, pagination, instant answer panels, and writes are not covered. Stop on a bot challenge or rate limit.
About these operations
Each operation is a request learned from DuckDuckGo's own web pages: API Anything replays it over plain HTTP and falls back to a browser when it must. Read them as JSON.