# DuckDuckGo search API for AI agents > morigraph has one DuckDuckGo search API, DuckDuckGo Search, that Claude, ChatGPT, Cursor, Codex or your own code can call. Run a DuckDuckGo web search and get the ranked organic results (title, URL, snippet, position, display URL, domain) as clean JSON, ads left out. Returns up to 10 results per call; page deeper with page and pick the country DuckDuckGo searches from. You need no account or API key with a data vendor, only one morigraph connection. A call costs 0.017 credits, about $1.70 for 1,000 calls, paid from one balance. ## How to call it Every data API is run by one tool, `data_api`, with the API's id and its arguments. The example is DuckDuckGo Search. In your assistant (MCP). Connect once, then ask in plain words: ```sh claude mcp add --transport http --scope user morigraph https://morigraph.com/mcp Use morigraph's DuckDuckGo Search data API with {"country":"US","limit":10,"query":"best running shoes"} and summarise what comes back. ``` From a terminal or script (CLI): ```sh npx @morigraph/cli@latest login morigraph call data_api --json-args '{"api":"duckduckgo.search","input":{"country":"US","limit":10,"query":"best running shoes"}}' ``` From your own code (HTTP API): ```sh curl https://api.morigraph.com/v1/tools/data_api \ -H "Authorization: Bearer $MORIGRAPH_API_KEY" \ -H "Content-Type: application/json" \ -d '{"api":"duckduckgo.search","input":{"country":"US","limit":10,"query":"best running shoes"}}' ``` ## DuckDuckGo Search `duckduckgo.search` · 0.017 credits a call (about $1.70 for 1,000) Run a DuckDuckGo web search and get the ranked organic results (title, URL, snippet, position, display URL, domain) as clean JSON, ads left out. Returns up to 10 results per call; page deeper with page and pick the country DuckDuckGo searches from. | Argument | Type | Required | What it is | |---|---|---|---| | `country` | AR \| AU \| AT \| BE \| BR \| BG \| CA \| CL \| CN \| CO \| HR \| CZ \| DK \| EE \| FI \| FR \| DE \| GR \| HK \| HU \| IS \| IN \| ID \| IE \| IL \| IT \| JP \| KR \| LV \| LT \| MY \| MX \| NL \| NZ \| NO \| PK \| PE \| PH \| PL \| PT \| RO \| RU \| SA \| SG \| SK \| SI \| ZA \| ES \| SE \| CH \| TW \| TH \| TR \| US \| UA \| GB \| VN | no | ISO-3166 alpha-2 country DuckDuckGo searches from, e.g. US, GB, DE: DuckDuckGo's region for that country in its main language (Belgium in Dutch, Canada and the US in English, Switzerland in German, Spain in Spanish). Only the countries D… | | `limit` | integer | no | Maximum number of organic results to return (1-10, default 10). DuckDuckGo serves about 10 organic results per page, and some queries carry fewer. | | `page` | integer | no | Which page of 10 results to return, starting at 1: page 2 returns results 11-20. Each page is billed as one request. Pages after the first are served only for country US, GB or DE, by the one source that continues each page exactly where… | | `query` | string | yes | The DuckDuckGo search query. | | `safeSearch` | off \| moderate \| strict | no | How strictly adult content is filtered out of the results: off applies no filter, moderate (the default) applies the search engine's standard filter, and strict filters the most. A stricter level can return fewer results. A source that c… | Returns: `displayUrl`, `domain`, `position`, `query`, `snippet`, `title`, `url` ``` data_api({"api":"duckduckgo.search","input":{"country":"US","limit":10,"query":"best running shoes"}}) ``` ## Do I need my own API key for DuckDuckGo search results? No. morigraph supplies the access. You connect morigraph once to your assistant, or use one morigraph API key from your own code, and call the API on this page. ## What does DuckDuckGo search results cost through morigraph? 0.017 credits a call, where a credit is about 10 cents. That is from about $1.70 for 1,000 calls. You pay per call from one balance, with no separate subscription. ## Can Claude, ChatGPT or Cursor get DuckDuckGo search results? Yes. Add morigraph as an MCP server, sign in once, then ask in plain words. Your assistant finds the right API with one search and runs it with one call. --- Canonical page: https://morigraph.com/tools/data/duckduckgo/ Prices read from the catalogue on 2026-11-27. These APIs return public data; how you may use it depends on the platform's terms and applicable law. All data APIs: https://morigraph.com/tools/data.md · Connect: https://morigraph.com/connect.md · Site overview: https://morigraph.com/llms.txt