DuckDuckGo

Use DuckDuckGo's Instant Answers API to retrieve answers, abstracts, and related topics for a query. No API key is required. Optional controls remove HTML or skip disambiguation results.

Usage Instructions

Search the web using DuckDuckGo Instant Answers API. Returns instant answers, abstracts, related topics, and more. Free to use without an API key.

Actions

Search the web using DuckDuckGo Instant Answers API. Returns instant answers, abstracts, and related topics for your query. Free to use without an API key.

Input

ParameterTypeRequiredDescription
querystringYesThe search query to execute
noHtmlbooleanNoRemove HTML from text in results (default: true)
skipDisambigbooleanNoSkip disambiguation results (default: false)

Output

ParameterTypeDescription
headingstringThe heading/title of the instant answer
abstractstringA short abstract summary of the topic
abstractTextstringPlain text version of the abstract
abstractSourcestringThe source of the abstract (e.g., Wikipedia)
abstractURLstringURL to the source of the abstract
definitionstringDictionary-style definition if available
definitionSourcestringThe source of the definition
definitionURLstringURL to the source of the definition
imagestringURL to an image related to the topic
answerstringDirect answer if available (e.g., for calculations)
answerTypestringType of the answer (e.g., calc, ip, etc.)
typestringResponse type: A (article), D (disambiguation), C (category), N (name), E (exclusive)
redirectstring!bang redirect URL, populated only for bang queries
relatedTopicsarrayArray of related topics with URLs and descriptions
FirstURLstringURL to the related topic
TextstringDescription of the related topic
ResultstringHTML result snippet
resultsarrayArray of external link results
FirstURLstringURL of the result
TextstringDescription of the result
ResultstringHTML result snippet