Skip to main content
Piloterr
Back to library

DuckDuckGo Search API

Query DuckDuckGo via API and retrieve structured organic results with region and language.

Active1 credit = 1 requestGET/v2/duckduckgo/search

Endpoint Overview

Detailed documentation, pricing, and usage examples.

OverviewLink to Overview

Query DuckDuckGo and retrieve organic results: title, link, domain, snippet, and position.

QuickstartLink to Quickstart

POST https://api.piloterr.com/v2/duckduckgo/search
Content-Type: application/json

{"query": "anthropic", "page": 1, "gl": "us", "hl": "en"}

ParametersLink to Parameters

Parameter Type Required Description
query string yes Search query
page integer no Page number, starting at 1, capped at 10
gl string no Country code. gb is sent as uk
hl string no Language code

ResponseLink to Response

organic_results contains position, title, link, domain, displayed_link, and snippet. search_parameters.engine is duckduckgo.

NotesLink to Notes

  • An empty query returns 400.
  • A page with no results returns 404.

Ready to get started?

Your web scraping API is one click away. Start with +500 credits, no infrastructure to set up, no proxies to manage, and no credit card required.

  • +500 credits
  • No credit card required
  • All endpoints included