# DuckDuckGo

Best for: Private search engine results, news and images. Category: Search, news and maps.

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
- Answers: Search

## Endpoints

- `POST /v1/duckduckgo/search`: DuckDuckGo search, 2 credits. https://scrapercompany.com/docs/reference/duckduckgo-search
- `POST /v1/duckduckgo/news`: DuckDuckGo news, 2 credits. https://scrapercompany.com/docs/reference/duckduckgo-news
- `POST /v1/duckduckgo/images`: DuckDuckGo images, 2 credits. https://scrapercompany.com/docs/reference/duckduckgo-images

## Example

DuckDuckGo search (`POST /v1/duckduckgo/search`):

```bash
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"
  }'
```

## 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.

- [All data sources](https://scrapercompany.com/docs/data-sources)
