DuckDuckGo
Private search engine results, news and images.One page of DuckDuckGo web results (10 on the first page, about 15 after) with position, title, destination link, displayed address and snippet; about 30 news stories a page with publisher, date and image; and about 100 images a page with the full-size image URL and size, thumbnail and source page. Ads are left out.
- Look up by
- Query, with a DuckDuckGo region (us-en, de-de, wt-wt for none)
- Coverage
- Every DuckDuckGo region
- Cost
- 2 credits a call; failed and empty calls are free
- Endpoints
- 3 endpoints
- Search
Endpoints
- POST
/v1/duckduckgo/searchDuckDuckGo search 2 credits - POST
/v1/duckduckgo/newsDuckDuckGo news 2 credits - POST
/v1/duckduckgo/imagesDuckDuckGo images 2 credits
Example
DuckDuckGo search, with POST /v1/duckduckgo/search. Set SCRAPERCOMPANY_API_KEY to your key and run it; the full parameter list is in the API reference.
curl -X POST "https://api.scrapercompany.com/v1/duckduckgo/search" \
-H "x-api-key: $SCRAPERCOMPANY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"q": "python web scraping"
}'200 response
{
"search_parameters": {
"engine": "duckduckgo_search",
"q": "python web scraping",
"page": 1
},
"search_information": {
"region": "wt-wt",
"page": 1,
"results_on_page": 10,
"has_more": true,
"time_taken_s": 0.76
},
"organic_results": [
{
"position": 1,
"title": "Python Web Scraping Tutorial - GeeksforGeeks",
"link": "https://www.geeksforgeeks.org/python/python-web-scraping-tutorial/",
"displayed_link": "www.geeksforgeeks.org/python/python-web-scraping-tutorial/",
"snippet": "Web scraping is the process of extracting data from websites automatically. Python is widely used for web scraping because of its easy syntax and powerful libraries like BeautifulSoup, Scrapy and Selenium."
}
],
"meta": {
"source": "duckduckgo"
}
}Good to know
- Filter by region, safe search and time (past day, week, month or year); images also by size, colour, type, layout and licence.
- An empty page is not charged.
More search, news and maps
Search results pages, news wires, demand signals and local businesses.
Google Search Bing Yahoo Search Google News Google Maps Google Trends Zalo Official Accounts Google Images Google Videos Google Autocomplete
Or browse every data source.