InsightSocial

DuckDuckGo scraper API

The InsightSocial DuckDuckGo API has 7 endpoints, from 20 credits a call. A search call costs 20 credits, about $0.02 on Pro, and your first 10 calls up to 100 credits each are free.

The DuckDuckGo search API for web results, rank checks, news, images, videos, instant answers and suggestions in any region, as JSON on the same key as every other platform.

7 endpoints · from 20 credits a call · 10 free calls up to 100 credits each · no credit card

curl "https://api.insightsocial.app/v1/duckduckgo/search?query=marathon+training+plan&country=GB" \
-H "x-api-key: $INSIGHTSOCIAL_API_KEY"
200 OKJSON
{
"success": true,
"platform": "duckduckgo",
"endpoint": "/v1/duckduckgo/search",
"schema_version": "2",
"data": {
"query": "marathon training plan",
"country": "GB",
"results": [
{
"position": 1,
"title": "Example 16-Week Marathon Training Plan",
"url": "https://www.example-running.com/marathon-plan",
"domain": "example-running.com",
"snippet": "A week-by-week plan for first-time marathoners."
}
],
"sponsored": [],
"pagination": {
"next_cursor": "eyJvZmZzZXQiOjMwfQ"
}
},
"unavailable": [],
"credits_used": 0,
"charge_reason": "miss",
"free_call": true
}

What DuckDuckGo data can you get?

Public DuckDuckGo data only, in the same JSON envelope as every other platform. Every DuckDuckGo endpoint is beta: inside data it returns DuckDuckGo's own structure under our naming rules (snake_case keys, string ids, ISO times where DuckDuckGo gives a timestamp), not the shared profile and post schema, and fields may change.

Web search and rank checks

DuckDuckGo's web results by keyword, region and time with sponsored results apart, search operators such as site:, and where a site ranks up to 200 results deep.

News, images and videos

News articles with source, date and image; images filtered by size, colour, type, layout, licence and date; and videos with duration, publisher, views and thumbnails.

Instant answers and suggestions

DuckDuckGo's instant answer for a topic, with a summary, facts and related links, and its suggestions for the start of a query.

What people build with the DuckDuckGo API

  • Privacy-engine rank tracking

    Check where your pages rank on DuckDuckGo for each keyword and region, up to 200 results deep, next to Bing and Google.

  • News and media monitoring

    Search the news for a brand or topic over the last day or week, with each article's source and date.

  • Licensed image search

    Find images by licence, such as public domain or free to share commercially, with each image's size and source page.

DuckDuckGo API endpoints

All 7 DuckDuckGo endpoints and their price in credits. Every one has a fixed price.

EndpointCreditsWhat it returns
/images20Search DuckDuckGo Images by keyword and region, filtered by size, colour, type, layout, licence and date, with each image's size and source page.
/instant-answer20Get DuckDuckGo's instant answer for a topic: a summary, facts, a direct answer and related links.
/news20Search DuckDuckGo News by keyword, region and time, with each article's source, date and image.
/rank20Check where a site ranks in DuckDuckGo's web results for a keyword, up to 200 results deep.
/search20Search DuckDuckGo's web results by keyword, region and time, with sponsored results apart and cursor paging.
/search/suggest20List DuckDuckGo's search suggestions for the start of a query, in any region.
/videos20Search DuckDuckGo Videos by keyword and region, with duration, publisher, views and thumbnails.

Parameters, response fields and examples for each endpoint are in the DuckDuckGo API reference.

InsightSocial vs the official DuckDuckGo API

DuckDuckGo's public Instant Answer API returns topic summaries and related links, not its full web, news, image or video results.

InsightSocial APIOfficial DuckDuckGo API
Web resultsFull results with paging and rank checksNot offered
News, images, videosIncluded, with filtersNot offered
Other enginesThe same key covers Bing and the other platforms tooDuckDuckGo only
Cost per call20 creditsFree; instant answers only

The official API is the right tool for posting, messaging or managing accounts you own. This one is read-only public data.

How much does the DuckDuckGo API cost?

DuckDuckGo calls start at 20 credits. Every endpoint's price is in the table above and in the free GET /v1/endpoints catalogue, so you know the cost before you call. Pro's 10,000 monthly credits cover about 500 searches at 20 credits each.

  • Failed calls are free

    A call that errors or finds nothing costs 0 credits.

  • Repeats and retries

    A repeat call is charged again: the full price when it fetches new data, 2 credits when the answer comes from the shared cache. Add fresh=1 to force a new read. Only a retry with the same Idempotency-Key is free.

  • One balance

    API calls and Chrome extension exports share the same credits. The free plan includes 500 a month.

Not writing code?

Connect InsightSocial to Claude or ChatGPT and ask for DuckDuckGo data in plain English. Same account, same credits.

Use it from Claude or ChatGPT

DuckDuckGo API: frequently asked questions

DuckDuckGo's public Instant Answer API returns topic summaries, not full search results. /v1/duckduckgo/search returns its web results with paging, and /v1/duckduckgo/news, /v1/duckduckgo/images and /v1/duckduckgo/videos cover the other tabs.

The same key works for 86 more platforms

All platforms on one social media API