DuckDuckGo Search Autocomplete Suggestions API
Fetch real-time DuckDuckGo search autocomplete query suggestions by seed keyword and regional locale.
curl -sG "https://api.agentapigate.ai/v1/search/duckduckgo/suggestions" \ --data-urlencode "q=model context protocol" \ --data-urlencode "kl=us-en" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
# DuckDuckGo Search Autocomplete Suggestions API (`search.duckduckgo.suggestions`) **query**: model context protocol · **region**: us-en · **count**: 8 ## suggestions - [1] model context protocol - [2] model context protocol mcp - [3] model context protocol server - [4] model context protocol github - [5] model context protocol meaning - [6] model context protocol sdk - [7] model context protocol security - [8] model context protocol logo
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:search.duckduckgo.suggestions · Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| q | string | required | model context protocol | Seed search prefix (e.g. "model context protocol") |
| kl | string | optional | us-en | DuckDuckGo region-language code (e.g. us-en, uk-en, de-de, wt-wt) |
| format | enum | optional | json | compact | md | Response format; compact or md cuts LLM tokens. |
| dry_run | 0 | 1 | optional | 1 | Returns exact pre-flight price quote & validation at $0.00 cost. |
| Access Rail / Metric | Value | Policy & SLA |
|---|---|---|
| API Key (PAYG) | $0.0005 / call | $0/mo · Balance never expires |
| Remote MCP Tool | search_duckduckgo_suggestions | OAuth 2.1 Hub & /mcp/search |
| x402 Base USDC | $0.0020 / call | Zero-signup USDC enabled |
| P50 Latency | 238 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 184t → 114t (-50%) | Partner credit: eligible |
More search.duckduckgo Sibling Endpoints
Query DuckDuckGo Instant Answer JSON for entity abstracts, definitions, structured infobox facts, official links, and related topics.
Search breaking news articles on DuckDuckGo News with publisher names, clean excerpts, ISO timestamps, thumbnails, and publisher URLs.
Frequently Asked Questions
How do I call DuckDuckGo Search Autocomplete Suggestions API (search.duckduckgo.suggestions) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/search/duckduckgo/suggestions with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool search_duckduckgo_suggestions on https://mcp.agentapigate.ai/mcp.
What does search.duckduckgo.suggestions cost per call and are failed calls billed?
Each successful HTTP 200 response costs $0.0005 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.
How does ?format=md or ?format=compact optimize AI agent token usage on search.duckduckgo.suggestions?
Passing ?format=md transforms the response into normalized Markdown (~114 tokens vs ~184 raw tokens, saving 50% of LLM context budget) while preserving structured JSON via ?format=json.
Can I restrict an AI agent key to only search endpoints with a daily USD cap?
Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["search"], optional allowed_endpoints: ["search.duckduckgo.suggestions"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.