# Scrapier — DuckDuckGo API > Scrapier endpoints for DuckDuckGo: DuckDuckGo Search Scraper. Base URL: https://api.scrapier.io/api/v2 · Auth: header `X-API-Key: ` · Synchronous: HTTP 200 returns {"success": true, "data": {...}} · Paginate by sending data.next_cursor back as `cursor` until it is null · Paths keep the trailing slash. Live parameter source (no auth): https://api.scrapier.io/api/v2/endpoints · Docs: https://docs.scrapier.io/api-reference/duckduckgo.md ## GET /duckduckgo-search/ DuckDuckGo Search Scraper: Structured DuckDuckGo data: send `query`. Cursor-paginated, 1 credit per successful call. Cost: 1 credit per successful call · Pagination: cursor · Results: data.results Parameters: - query (required, string, example python programming): Search term. Required on first call; ignored when `cursor` is supplied. - cursor (optional, string): Pagination cursor returned in the previous response's `next_cursor`. Pass it back unchanged to fetch the next page. When `next_cursor` is null, you have reached the last page. - search_mode (optional, string, one of: default|images|videos|news, default default): Result type: default (web) | images | videos | news. Locked into the cursor on first call. - region (optional, string, default wt-wt): DuckDuckGo region code (e.g. wt-wt, us-en, uk-en). Locked into the cursor. - safe_search (optional, string, one of: OFF|MODERATE|STRICT, default OFF): Safe-search level. Locked into the cursor. - raw_data (optional, boolean, default false): When true, the response carries the full raw upstream payload(s) the scraper received (GraphQL / JSON API bodies, HTML, embedded JSON-LD -- exactly as the platform returned them) under `raw_responses`, in place of the formatted items. When false (default) you get the formatted output. Pagination (`cursor` / `next_cursor`) works the same in both modes. Example: curl "https://api.scrapier.io/api/v2/duckduckgo-search/?query=python+programming" -H "X-API-Key: YOUR_API_KEY" Docs: https://docs.scrapier.io/api-reference/duckduckgo/duckduckgo-search.md