DuckDuckGo Instant Answer API
DuckDuckGo's summary, facts and direct answer for a topic.
GET /v1/duckduckgo/instant-answer1 credit Failed requests are free
About this endpoint
GET /v1/duckduckgo/instant-answer returns data.heading, data.type, data.entity, data.abstract (text, source and URL), data.answer (text and type), data.definition, data.image, data.officialWebsite, data.infobox[] of labelled facts, data.results[] and data.relatedTopics[]. query is a topic, name or question.
Price
From $1.35 per 1,000 requests
1 credit per request. Failed requests are free.
- Scale pack
- $1.64 / 1,000
- Growth pack
- $2.36 / 1,000
The lowest rate is on annual plans; packs are pay as you go.
Example request
Send your API key in the x-api-key header. New accounts get 100 free credits, no card needed.
Example response
A 200 response. Live responses have the same shape with current data.
DuckDuckGo Instant Answer API FAQ
What if DuckDuckGo has nothing on the topic?
The answer is lookupStatus not_found, with every field empty.
Does it answer questions?
Some: calculations such as 2+2 come back in answer with type calc. Most topics return a summary instead.
What is in infobox?
Labelled facts from the topic's summary source, such as Born, Died or Founded, as label and value pairs.
How much does an instant answer cost?
Pricing is documented on the operation in the API registry (shown on this page). Confirm on every response with meta.creditsCharged: that field is the billing source of truth.