DuckDuckGo Instant Answer API
The DuckDuckGo Instant Answer API returns the boxed answer that appears above DuckDuckGo search results - topic summaries (largely sourced from Wikipedia / structured sites), definitions, categories, disambiguations, and !bang redirects. It is a free, key-less GET endpoint that returns JSON (default), JSON-P (via callback) or XML. It does not return the DuckDuckGo search-results listing itself; it returns only zero-click / instant-answer payloads (Abstract, Answer, Definition, RelatedTopics, Results, Redirect for bangs, plus Image/Heading/Type metadata). Attribution to DuckDuckGo is required when displayed.
Documentation
Specifications
Schemas & Data
Other Resources
Examples
https://raw.githubusercontent.com/api-evangelist/duckduckgo/refs/heads/main/examples/
Capabilities
https://raw.githubusercontent.com/api-evangelist/duckduckgo/refs/heads/main/capabilities/shared/instant-answer-capabilities.yaml
SpectralRules
https://raw.githubusercontent.com/api-evangelist/duckduckgo/refs/heads/main/rules/instant-answer-rules.yml
JSONLD
https://raw.githubusercontent.com/api-evangelist/duckduckgo/refs/heads/main/json-ld/duckduckgo-context.jsonld
Pricing
https://duckduckgo.com/api