Status: [LIVE] Endpoints found: https://api.quanticdata.io/v1/serp Source: https://github.com/quantumproxies/duckduckgo-search-api # DuckDuckGo Search API [![ci](https://github.com/quantumproxies/duckduckgo-search-api/actions/workflows/ci.yml/badge.svg)](https://github.com/quantumproxies/duckduckgo-search-api/actions/workflows/ci.yml) ![python](https://img.shields.io/badge/python-3.9%2B-blue) ![license](https://img.shields.io/badge/license-MIT-green) ![dependencies](https://img.shields.io/badge/dependencies-none-brightgreen) DuckDuckGo web results as structured JSON, from Python or the command line: rank, title, link, snippet and source of every organic result, plus the knowledge panel and featured snippet when DuckDuckGo shows them. It works as the web search step of an LLM agent or a RAG pipeline. The code is free and open source (MIT). It runs on the QuanticData Data API: no proxies, no HTML to parse, sign in once and run a query. ```bash pip install git+https://github.com/quantumproxies/duckduckgo-search-api duckduckgo-search login duckduckgo-search search "retrieval augmented generation" --country us -o results.json ``` `login` opens the QuanticData sign-in page in your browser. New accounts get $2 of free usage every month, no card required: [create one](https://app.quanticdata.io/register?utm_source=github&utm_medium=readme&utm_campaign=duckduckgo-search-api). ## What it scrapes | Command | Input | Returns | Per run | |---|---|---|---| | `duckduckgo-search search` | query | Rank, title, link, snippet, source, 7 fields per row ([docs and price](https://quanticdata.io/serp-api/?utm_source=github&utm_medium=readme&utm_campaign=duckduckgo-search-api)) | one results page per call | Any region: `--country us --lang en`, `--country de --lang de`, `--country fr --lang fr`. The pair becomes DuckDuckGo's region code (`us-en`), shown in `search_metadata.search_url`. ## Sample output A real row from `duckduckgo-search search "retrieval augmented generation" --country us --lang en` (2026-10-23): ```json { "rank": 1, "title": "Retrieval-augmented generation - Wikipedia", "link": "https