All sites
Data API
DuckDuckGo Data API
Privacy-first web search results from DuckDuckGo.
8endpointsRate Limit handled for you
DuckDuckGo Data API overview
Extract web, news, image and video search from DuckDuckGo as structured JSON. Choose an endpoint below, check its parameters, and run it in the dashboard playground.
/v1/duckduckgo/… Open playgroundKey Features
Structured JSON
Clean, normalized records for web, news, image and video search. No HTML parsing on your side.
8 endpoints
Across 2 categories, all under one base path.
Anti-bot handled
Rate Limit cleared for you behind the scenes.
Fresh or cached
Serve instantly from the warm store, or force a live scrape per request.
Regions & Languages
Target specific markets and languages with these parameters:
regiondefault usPagination
Page through results with page.
Quick Start
Use your dedicated Data API key. Follow this endpoint's method and parameters.
# Install: pip install requests
import json
import os
import requests
params = json.loads("{\"query\":\"coffee\",\"region\":\"us\",\"safe_search\":\"moderate\",\"page\":1,\"per_page\":30}")
response = requests.request(
"GET", "https://api.capzy.ai/v1/duckduckgo/search",
headers={"X-API-Key": os.environ["CAPZY_DATA_API_KEY"]},
params=params,
timeout=120,
)
response.raise_for_status()
print(response.json())Per-run pricing
failed requests are free| Endpoint | Category | Price / 1k results |
|---|---|---|
/v1/data/duckduckgo/autocompleteAutocomplete | Search | 1 credit / run |
/v1/data/duckduckgo/imagesImage Search | Search | 1 credit / run |
/v1/data/duckduckgo/instantInstant Answer | Search | 1 credit / run |
/v1/data/duckduckgo/mapsMaps / Local | Search | 1 credit / run |
/v1/data/duckduckgo/newsNews Search | Search | 1 credit / run |
/v1/data/duckduckgo/searchWeb Search | Search | 1 credit / run |
/v1/data/duckduckgo/videosVideo Search | Search | 1 credit / run |
/v1/data/duckduckgo/regionsList Regions | Reference | 1 credit / run |