Skip to content
SpideyData

DuckDuckGo · which API?

DuckDuckGo API

Instant answers or ranked results?

DuckDuckGo: live · not GA

DuckDuckGo's own Instant Answer API is about instant answers such as topic summaries, not the full ranked list of web results. If you need that ranked list, this third-party API returns DuckDuckGo organic links as JSON. Not affiliated with DuckDuckGo.

JavaScript · DuckDuckGo organic URLs
const r = await fetch("https://kieapi.com/v1/serp/duckduckgo/organic", {
  method: "POST", headers: { Authorization: `Bearer ${KEY}`, "Content-Type": "application/json" },
  body: JSON.stringify({ q: "privacy browser" })
}).then(r => r.json());
console.log(r.organic.map(o => o.url));

Instant Answer API vs a results API

Publisher

Instant Answer API (DuckDuckGo): DuckDuckGo

DuckDuckGo organic (this API): Third party, not affiliated

What you get

Instant Answer API (DuckDuckGo): Instant answers such as topic summaries

DuckDuckGo organic (this API): Ranked organic[] rows: rank, title, url, display_url, snippet

Full web results list

Instant Answer API (DuckDuckGo): No

DuckDuckGo organic (this API): Yes, as parsed from the results page

Auth

Instant Answer API (DuckDuckGo): See DuckDuckGo's page

DuckDuckGo organic (this API): Authorization: Bearer <api_key>

Who should use which

Use Instant Answers

You want a short encyclopedic answer or topic summary for a query.

Use organic results

You track rankings, collect result links or compare engines for the same query.

Launch status for this page

Check engine availability before choosing an endpoint. Google also supports News, Images and asynchronous tasks.

  • DuckDuckGoLiveDuckDuckGo is callable today with a Bearer API key.

SERP searches are charged per successful search at a display rate of 2 Credits per search; failed searches are not charged. Polling task status is free. The current rate is on Pricing.

What this is not

  • Not DuckDuckGo's official API.
  • No DuckDuckGo images or news.
  • No language parameter.
  • Sync only.

Frequently asked questions

Is this the DuckDuckGo Instant Answer API?

No. This API returns the ranked organic list as organic[].

Do I need a DuckDuckGo account?

No. You only need a SpideyData Bearer key.

Can I get DuckDuckGo images?

No. DuckDuckGo is organic only.

Need the ranked list?

Get an API key and read DuckDuckGo organic rows as JSON.