Docs / Platforms / DuckDuckGo7 operations / 2 live / 5 mapped

DuckDuckGo

DuckDuckGo is exposed through 2 live operations covering search and discovery. The full reference is below; mapped routes are explicitly disabled and never charge credits.
Overview & use cases

What DuckDuckGo data is for.

Live DuckDuckGo capabilities, credit floor, and typical lookup workflows.

Use DuckDuckGo when you need search and discovery without maintaining a separate adapter for each route. Start with the lowest-cost live operation, then add search or list endpoints only when the response shape fits your product.

Live

2

Paid only

0

Price floor

1 cr

Use cases

  • Get a DuckDuckGo instant answer

    Call /v1/duckduckgo/instant-answer when you need a normalized get a duckduckgo instant answer response with the same credit and cache rules as the rest of the catalog.

  • List DuckDuckGo search suggestions

    Call /v1/duckduckgo/search/suggest when you need a normalized list duckduckgo search suggestions response with the same credit and cache rules as the rest of the catalog.

Contract / auth

Auth & error contract.

The platform follows the same gateway and billing rules as the rest of CleanFetch.

Auth

Send x-api-key: cf_live_... or Authorization: Bearer cf_live_.... A missing or invalid key returns 401.

Billing

Successful lookups charge the listed credits. Cache hits, 5xx responses and mapped 503 routes cost 0 credits.

Limits

429 includes Retry-After and costs nothing. Paid-only routes return 403 plan_required before any provider call.

Mapped routes

5 routes are cataloged but not connected. They return 503 upstream_not_configured and never charge.

Reference / 7

Operations

Live routes are expanded first with parameters, request example and response fields. Mapped routes are compact placeholders.

Live / 2

ready
GET

Get a DuckDuckGo instant answer

/v1/duckduckgo/instant-answer
1 credits3/day free6h cache
NameTypeRequiredDescription
querystringyesSearch query or keyword.
Request
curl -s "https://api.cleanfetch.dev/v1/duckduckgo/instant-answer?query=nike" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "data": {
    "platform": "duckduckgo",
    "count": 1,
    "items": [
      {
        "id": "123456",
        "url": "https://example.com/item/123456",
        "text": "Example public post returned by this endpoint.",
        "createdAt": "2026-11-30T00:00:00.000Z",
        "author": {
          "username": "nasa",
          "name": "NASA"
        }
      }
    ]
  },
  "meta": {
    "lookupStatus": "found",
    "creditsCharged": 1,
    "cached": false
  }
}

Returns

platformcountitems[].iditems[].urlitems[].textitems[].createdAt

Input notes

  • • Free accounts can call this endpoint up to 3 times per day.
  • • Responses are cached for 6h.
  • • A public record that does not exist returns not_found and is charged once.
GET

List DuckDuckGo search suggestions

/v1/duckduckgo/search/suggest
1 credits3/day free6h cache
NameTypeRequiredDescription
querystringyesSearch query or keyword.
countrystringnoLookup parameter.
languagestringnoLookup parameter.
Request
curl -s "https://api.cleanfetch.dev/v1/duckduckgo/search/suggest?query=nike" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "data": {
    "platform": "duckduckgo",
    "count": 1,
    "items": [
      {
        "id": "123456",
        "url": "https://example.com/item/123456",
        "text": "Example public post returned by this endpoint.",
        "createdAt": "2026-11-30T00:00:00.000Z",
        "author": {
          "username": "nasa",
          "name": "NASA"
        }
      }
    ]
  },
  "meta": {
    "lookupStatus": "found",
    "creditsCharged": 1,
    "cached": false
  }
}

Returns

platformcountitems[].iditems[].urlitems[].textitems[].createdAt

Input notes

  • • Free accounts can call this endpoint up to 3 times per day.
  • • Responses are cached for 6h.
  • • A public record that does not exist returns not_found and is charged once.

Mapped / 5

503 · 0 credits
GET

Search DuckDuckGo Images

/v1/duckduckgo/images

503 upstream_not_configured · 0 credits
GET

Search DuckDuckGo News

/v1/duckduckgo/news

503 upstream_not_configured · 0 credits
GET

Check a site's DuckDuckGo rank

/v1/duckduckgo/rank

503 upstream_not_configured · 0 credits
GET

Search DuckDuckGo Videos

/v1/duckduckgo/videos

503 upstream_not_configured · 0 credits
FAQ / DuckDuckGo

Common DuckDuckGo API questions

Pricing, caching, authentication, and placeholder behavior.
How many DuckDuckGo operations are live?

2 of 7 cataloged operations are live. 5 mapped operations return 503 upstream_not_configured and cost 0 credits.

What does a DuckDuckGo call cost?

Live operations range from 1 to 1 credits. 2 are available on the free daily cap and 0 are paid-only. Cache hits cost 0 credits.

Are DuckDuckGo responses cached?

Successful responses are cached between 6h and 6h. A cache hit costs 0 credits and does not consume the free daily cap.

How do I authenticate DuckDuckGo requests?

Send x-api-key or Authorization: Bearer with a CleanFetch key. Missing or invalid keys return 401; paid-only routes return 403 plan_required; rate limits return 429 with Retry-After. A 5xx or timeout costs 0 credits.

ready