100 free credits. No credit card required.Start building
Logo
DuckDuckGo API

Get DuckDuckGo search results with one API

Fetch DuckDuckGo web, news, video and image results, instant answers, suggestions and rank checks as structured JSON with one SocialCrawl API key. Reads are priced in credits.

/v1/duckduckgo

7 active endpoints. Search, rank, news, videos, images, answers and suggestions.

  • GET /v1/duckduckgo/search
  • GET /v1/duckduckgo/rank
  • GET /v1/duckduckgo/news
  • GET /v1/duckduckgo/videos
  • GET /v1/duckduckgo/images
  • GET /v1/duckduckgo/instant-answer
  • GET /v1/duckduckgo/suggestions

What DuckDuckGo endpoints does SocialCrawl ship?

Seven read endpoints for DuckDuckGo results. Search the web, check where a domain ranks, search news, videos and images, read an instant answer, and get search suggestions.

Web search

1 credit
/v1/duckduckgo/search

DuckDuckGo's organic results in order. Each has its position (counted across pages), title, link, displayed address, domain, snippet and date, plus the zero-click summary box when DuckDuckGo shows one. Pass the cursor for the next page; DuckDuckGo lists about 200 results for a search at most. Standard tier (1 credit).

query, region, safe_search, time_range, limit, cursor

Rank check

5 credits
/v1/duckduckgo/rank

Whether a domain or a URL path ranks on DuckDuckGo for a search, its best position and every matching result, scanning up to 200 positions in one call. Advanced tier (5 credits).

query, url, region, safe_search, time_range, depth, all_matches, include_subdomains

News search

1 credit
/v1/duckduckgo/news

DuckDuckGo News articles with publisher, excerpt, publication time and image. Standard tier (1 credit).

query, region, safe_search, time_range, limit

Video search

1 credit
/v1/duckduckgo/videos

DuckDuckGo Videos results with description, duration, publisher, uploader, publication time, view count and thumbnail. Standard tier (1 credit).

query, region, safe_search, time_range, limit

Image search

1 credit
/v1/duckduckgo/images

DuckDuckGo Images results with the image, thumbnail, size, source page and domain. Filter by size, colour, type, layout and licence. Standard tier (1 credit).

query, size, color, type, layout, license, region, safe_search, time_range, limit

/v1/duckduckgo/instant-answer

DuckDuckGo's instant answer for a topic: heading, summary and its source, image, a direct answer or definition, the official website and related topics. Standard tier (1 credit).

query

/v1/duckduckgo/suggestions

The completions DuckDuckGo suggests for a partial query. Standard tier (1 credit).

query, region

DuckDuckGo API7 endpoints supported
View docs
Search
Rank tracking
News
Videos
Images

Returns DuckDuckGo's organic results in order with position, title, link, displayed address, domain, snippet, and date, plus the zero-click summary box when shown.

Use it for web results from a search engine outside Google. A search lists about 200 results at most.

1 credit

GET/v1/duckduckgo/search?query=best+running+shoes

query · The search, for example best running shoes.

$ curl https://www.socialcrawl.dev/v1/duckduckgo/search?query=best+running+shoes \
    -H "x-api-key: sc_YOUR_API_KEY"
idle
// Running this live needs your own API key. Hit "Try it" to see an example response

How the DuckDuckGo API works

DuckDuckGo is a normal SocialCrawl data surface. You call GET /v1/duckduckgo/… with an API key, spend credits on live misses, and get a single JSON envelope back.

Authenticate every call

Send your key in the x-api-key header. No DuckDuckGo account or developer app is needed for public reads. The same key works across SocialCrawl platforms.

GET with query params

Every route takes a query. Filters such as region, safe_search and time_range narrow the results. A rank check also takes a url. Formats are validated before any charge.

Pay in credits, not seats

Rank checks cost 5 credits. Every other DuckDuckGo route costs 1 credit. Cache hits cost 0.

Read one JSON envelope

Every response is the same shape: success, data, credits_used, credits_remaining, request_id, cached. Lists also carry pagination when the route pages.

The usual integration chain

Most products find an entity first, then deepen into detail and reviews only when needed.

01Explore the query
GET /v1/duckduckgo/suggestions?query=…

Completions DuckDuckGo suggests

Suggestions show how people phrase the search.

02Read the results
GET /v1/duckduckgo/search?query=…

Organic results in order, with the zero-click box

Pass the cursor for more; a search lists about 200 results at most.

03Check a ranking
GET /v1/duckduckgo/rank?query=…&url=…

Best position and every match for a domain, up to 200 deep

One call scans the whole depth.

04Add news
GET /v1/duckduckgo/news?query=…

News articles with publisher and publication time

Narrow with time_range to a day, week, month or year.

request
GET /v1/duckduckgo/search?query=best+running+shoes&region=us-en
Host: www.socialcrawl.dev
x-api-key: sc_your_api_key_here

GET /v1/duckduckgo/rank?query=best+running+shoes&url=runnersworld.com
response envelope
{
  "success": true,
  "data": {
    "items": [
      {
        "position": 1,
        "title": "Example result",
        "url": "https://www.example.com/page",
        "displayed_url": "example.com",
        "domain": "example.com",
        "snippet": "Example snippet"
      }
    ]
  },
  "credits_used": 1,
  "credits_remaining": 9999,
  "request_id": "req_…",
  "cached": false
}

What lands in data

Field names match the rest of SocialCrawl where archetypes align. Parse once, reuse across platforms.

Search resultssearch

items[] with position, title, url, displayed_url, domain, snippet, date

Rank checkrank

whether the domain ranks, its best position and every matching result

Newsnews

articles with publisher, excerpt, publication time and image

Imagesimages

image, thumbnail, size, source page and domain

Inside the gateway

Same request lifecycle as every other /v1 platform endpoint. DuckDuckGo is not a sidecar.

  1. 01

    Edge receives the call

    Next.js catch-all routes into the Hono social API. We mint a request_id, authenticate the key, then enforce rate limit (600/min) and concurrency (50 in flight per key).

  2. 02

    Validate, then debit

    Registry lookup finds the duckduckgo route. Required params and format checks run first. Invalid input returns 400 with no charge. Valid calls debit the tier cost atomically before the read starts.

  3. 03

    Cache or fetch

    A deterministic cache key is built from platform + resource + params. Hit: return immediately, credits_used = 0. Miss: the public page is read live, with retries on 5xx or network errors and a circuit breaker if the source is unhealthy.

  4. 04

    Normalize and return

    DuckDuckGo results are returned as structured search rows with stable field names, validated, then wrapped in the success envelope and logged for billing audit.

Billing rules that matter in production

  • rank: 5 credits
  • Every other DuckDuckGo route: 1 credit
  • Cache hit: 0 credits
  • Empty / hard fail: auto-refund
  • Bad params: 400, never charged
  • No credits: 402, never charged
  • Rank scan: up to 200 positions per call
  • A search lists about 200 results at most
  • No account or personalization tools

How SocialCrawl gets DuckDuckGo data

DuckDuckGo results are public read data. We normalize them so your code does not learn a second vendor SDK.

What DuckDuckGo is for this API

Public web, news, video and image results, instant answers and search suggestions.

How SocialCrawl reaches it

Result pages are read on request and normalized server-side. You never manage a browser or a proxy.

What leaves our edge

Structured search rows, rank checks and instant answers.

What we do not ship live

No signed-in or personalized results, and no ad data.

field map sketch
organic result→ items[]position counts across pages
rank scan→ best position + matchesdomain or path, up to 200 deep
region / time_range→ query controlsregion, safe_search and time_range

What this API is used for

The jobs this API is most often used for.

7active DuckDuckGo endpoints in the registry
1 / 5credit ladder for search vs rank

SEO rank tracking and independent search research

Callers search a keyword first, then check ranks for their own and competing domains over time. A rank check that scans up to 200 positions in one call for 5 credits, next to web, news, video and image search under the same key.

Live misses read the result page on request. Repeat calls hit cache and cost 0 credits.

Use case examples

Common ways teams put this data to work, and the stack each one tends to run.

SEO teams

Python, schedulers

rank to track where a domain sits for a keyword set.

Researchers

Node, notebooks

search and news with time_range to see how a topic is covered.

Product builders

TypeScript, APIs

suggestions and instant-answer to power search boxes and fact lookups.

How to call the DuckDuckGo API

Search is 1 credit. A rank check is 5. Cache hits are free.

curl "https://www.socialcrawl.dev/v1/duckduckgo/search?query=best+running+shoes&region=us-en" \
  -H "x-api-key: sc_your_api_key_here"
curl "https://www.socialcrawl.dev/v1/duckduckgo/rank?query=best+running+shoes&url=runnersworld.com" \
  -H "x-api-key: sc_your_api_key_here"
DuckDuckGo on SocialCrawl

Same key as the rest of the catalog

Endpoints

What data does the DuckDuckGo API return?

Every endpoint returns structured JSON in a unified envelope. Computed fields such as engagement rate and content category are included only where the endpoint supports them and the required source inputs are present.

FAQ

Have a question? We got answers

Find answers to frequently asked questions about SocialCrawl's API, pricing, and capabilities.

Contact us
What does the SocialCrawl DuckDuckGo API cover?
It covers 7 endpoints: Search, Rank, News, Videos, Images, Instant Answer, and Suggestions. They return organic search, news, videos, images, rank checks, instant answers and suggestions in the same unified JSON as the other 74 platforms.
Can I check where my site ranks on DuckDuckGo?
Yes. GET /v1/duckduckgo/rank takes a search and a domain or URL path, scans up to 200 positions in one call, and returns your best position and every matching result.
Can I choose a region or safe search setting?
Yes. region takes a code such as us-en or de-de, or wt-wt for no region, and safe_search takes strict, moderate or off.
Do I need a DuckDuckGo key?
No. You call SocialCrawl with one SocialCrawl API key, so there is no DuckDuckGo application or key to manage.
How much does the DuckDuckGo API cost?
Search, news, videos, images, instant answers and suggestions cost 1 credit, and rank checks cost 5 credits. A new account gets 100 free credits with no card.
Is scraping DuckDuckGo data legal?
SocialCrawl returns publicly available DuckDuckGo data and does not access private or login-gated content. Whether scraping fits your project depends on your use case and jurisdiction. You are responsible for complying with DuckDuckGo's terms of service and applicable data-protection laws such as GDPR and CCPA. This is general information, not legal advice.
DuckDuckGo scraping API vs the official DuckDuckGo API: what's the difference?
With SocialCrawl there is no app review or approval queue. Sign up and call DuckDuckGo endpoints immediately with a single x-api-key. Responses share one unified schema with every other SocialCrawl platform, and credit-based pricing replaces per-platform quotas. Official APIs are still the right choice for posting and other write actions: SocialCrawl is read-only data.

Ask AI about SocialCrawl

Read the DuckDuckGo API reference in the docs

🤖 AI agent or LLM? Read this page as markdown