GroundsocialDocs

API · DuckDuckGo

GET /duckduckgo/search

DuckDuckGo web results: titles, URLs, snippets, with paging.

RequestGET /v1/duckduckgo/search
Operation idduckduckgo.search.all
Cost1 credit, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

DuckDuckGo web results: titles, URLs, snippets, with paging.

Query parameters

NameTypeRequiredDescription
querystringyesExample: best coffee maker.
regionstringnoDuckDuckGo region (default us-en; wt-wt for none). Example: de-de.
safe_search"strict" | "moderate" | "off"noOne of strict, moderate, off.
time_range"any" | "day" | "week" | "month" | "year"noOne of any, day, week, month, year.
limitintegerno
cursorstringno

Responses

StatusMeaningSchema
200Web results.
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404DuckDuckGo has nothing for that search.Error
429Too many requests. Wait for Retry-After seconds.Error
503DuckDuckGo is temporarily unavailable. Retryable; nothing was charged.Error

Errors use one shape everywhere; see Errors for every code and what to do.