DuckDuckGo scraper API: search results as JSON
Send any DuckDuckGo page URL with recipe=duckduckgo and get title, url as JSON. No selectors to write, no proxies to pick.
- 1 page type
- 2 fields
- 5 credits a page · $0.50 per 1,000
- Working · 89.3% in 7 days
5,000 free credits for 7 days, no card.
curl -G 'https://api.ujeebu.com/scrape' \
-H "ApiKey: $UJEEBU_API_KEY" \
--data-urlencode 'url=https://html.duckduckgo.com/html/?q=how+to+bake+bread' \
--data-urlencode 'recipe=duckduckgo'
{
"result": {
"results": [
{
"title": "How to Bake Bread | King Arthur Baking",
"url": "https://duckduckgo.com/l/?uddg=https%3A%2F%2F..."
}
]
},
"success": true
}
What you get from DuckDuckGo
The fields of each page type and a real sample from our last validation, shortened.
Search and listing pages recipe=duckduckgo 5 credits a page
| Field | Type | Example |
|---|---|---|
results | list of 3+ items | |
results[].title | text | How to Bake Bread | King Arthur Baking |
results[].url | URL | https://duckduckgo.com/l/?uddg=https%3A%2F%2Fwww.kingarthurbaking.c... |
Sample answer, validated 2026-11-12
{
"results": [
{
"title": "How to Bake Bread | King Arthur Baking",
"url": "https://duckduckgo.com/l/?uddg=https%3A%2F%2Fwww.kingarthurbaking.com%2Flearn%2Fbread&rut=01570d67db9363713e38e76e6ce7b44bb8e7310671f4e59c4e5079754bfc32d8"
},
{
"title": "Bread Recipe: How to Make It - Taste of Home",
"url": "https://duckduckgo.com/l/?uddg=https%3A%2F%2Fwww.tasteofhome.com%2Frecipes%2Fbasic%2Dhomemade%2Dbread%2F&rut=24a79135f5e76c807ddee29483746e24e18ce8387356ec34..."
}
]
}
One call
Send the page URL and the recipe name to the Scrape API. The recipe brings the extract rules and the settings that work on DuckDuckGo (JavaScript rendering, a wait for the content and scrolling).
curl -G 'https://api.ujeebu.com/scrape' \
-H "ApiKey: $UJEEBU_API_KEY" \
--data-urlencode 'url=https://html.duckduckgo.com/html/?q=how+to+bake+bread' \
--data-urlencode 'recipe=duckduckgo'
import os, requests
r = requests.get(
"https://api.ujeebu.com/scrape",
params={"url": "https://html.duckduckgo.com/html/?q=how+to+bake+bread", "recipe": "duckduckgo"},
headers={"ApiKey": os.environ["UJEEBU_API_KEY"]},
timeout=120,
)
for item in r.json()["result"]["results"][:3]:
print(item["title"], item["url"])
# Example output:
# How to Bake Bread | King Arthur Baking https://duckduckgo.com/l/?uddg=https%...
# Bread Recipe: How to Make It - Taste... https://duckduckgo.com/l/?uddg=https%...
const params = new URLSearchParams({
url: "https://html.duckduckgo.com/html/?q=how+to+bake+bread",
recipe: "duckduckgo",
});
const res = await fetch(`https://api.ujeebu.com/scrape?${params}`, {
headers: { ApiKey: process.env.UJEEBU_API_KEY },
});
const { result } = await res.json();
for (const item of result.results.slice(0, 3)) {
console.log(item.title, item.url);
}
// Example output:
// How to Bake Bread | King Arthur Baking https://duckduckgo.com/l/?uddg=https%...
// Bread Recipe: How to Make It - Taste... https://duckduckgo.com/l/?uddg=https%...
The answer is {"result": {...}} with the headers Ujb-Recipe and Ujb-Credits. Your own parameters always win over the recipe.
What people build with DuckDuckGo data
Research datasets
Build datasets of public pages for analysis, search or LLM pipelines.
Learn more
Price
Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.
| Page type | Credits a page | Per 1,000, Starter | Per 1,000, Pro |
|---|---|---|---|
| Search results | 5 | $0.82 | $0.50 |
FAQ
What does the DuckDuckGo recipe return?
JSON with 2 fields from search results (recipe=duckduckgo), for example title, url. The answer is {"result": {...}} with the fields shown on this page.
How much does it cost to scrape DuckDuckGo?
5 credits a page ($0.50 per 1,000 on Pro, $0.82 on Starter). Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.
Do I need proxies or a headless browser?
No. The recipe brings the settings that work on DuckDuckGo: JavaScript rendering, a wait for the content and scrolling. Send only the URL and recipe=duckduckgo.
What happens when DuckDuckGo changes its pages?
We check DuckDuckGo every day and re-validate the recipe on real pages every week, then fix it when the site changes. Until a fix is live, the API answers 404 "the recipe has no working version" instead of empty data, and that call is free.
Can I change the fields?
Yes. Send your own extract_rules or any setting (js, proxy_type, wait_for) and it wins over the recipe. The developer guide shows the recipe rules to start from.
Related recipes
BingSearch results · 5 credits- ChatGPT (public pages)Page · 5 credits
Naver SearchSearch results · 5 credits
LinkedInSearch results, Detail page, Profile · 5 credits
AmazonSearch results · 5 credits
X (Twitter)Profile · 5 credits
Logos and names belong to their owners. Ujeebu is not affiliated with DuckDuckGo.
Get DuckDuckGo data as JSON today.
5,000 free credits for 7 days. No card.