AgentAPIGate
Back to Catalog
GET /v1/search/duckduckgo/instant_answerPack: search·MCP Tool: search_duckduckgo_instant_answer

DuckDuckGo Instant Answer & Knowledge Infobox API

Query DuckDuckGo Instant Answer JSON for entity abstracts, definitions, structured infobox facts, official links, and related topics.

API Key Price:$0.0010 / call
x402 Base USDC:$0.0020 / call
Partner Credit:eligible
1. Parameters & Controls
Entity, software tool, concept, or factual query (e.g. PostgreSQL)
Get $0.25 Free Key →
curl -sG "https://api.agentapigate.ai/v1/search/duckduckgo/instant_answer" \
  --data-urlencode "q=PostgreSQL" \
  --data-urlencode "format=md" \
  -H "Authorization: Bearer aag_live_YOUR_KEY" \
  -H "X-AAG-Max-Cost: 0.0100"
1-Click Agent IDE Install
Add to Cursor (1-Click OAuth)
-68% tokens
# DuckDuckGo Instant Answer & Knowledge Infobox API (`search.duckduckgo.instant_answer`)
**query**: PostgreSQL · **heading**: PostgreSQL · **entity**: software · **abstract_text**: PostgreSQL, also known as Postgres, is a free and open-source relational database management system emphasizing extensibility and SQL compliance. PostgreSQL features transactions with atomicity, consistency, isolation, durability properties, automatically updatable views, materialized views, triggers, foreign keys, and stored procedures. It is supported on all major operating systems, including Windows, Linux, macOS, FreeBSD, OpenBSD and NetBSD, and handles a range of workloads from single machines to data warehouses, data lakes, or web services with many concurrent users. The PostgreSQL Globa… · **abstract_url**: https://en.wikipedia.org/wiki/PostgreSQL

## infobox
- [1] label: Developer(s), value: PostgreSQL Global Development Group
- [2] label: Initial release, value: July 08, 1996
- [3] label: Written in, value: C (and C++ for the LLVM dependency)
- [4] label: License, value: PostgreSQL License (free and open-source, permissive)
- [5] label: Instance of, value: {"entity-type":"item","id":"Q3932296","numeric-id":3932296}
- [6] label: Instance of, value: {"entity-type":"item","id":"Q114901705","numeric-id":114901705}
- [7] label: Instance of, value: {"entity-type":"item","id":"Q341","numeric-id":341}
- [8] label: Official Website, value: https://www.postgresql.org
- [9] label: Wikidata description, value: free and open-source relational database management system
- [10] label: Wikidata id, value: Q192490
- [11] label: Wikidata label, value: PostgreSQL
- [12] label: Wikidata aliases, value: ["PostgreSQL"]
## related_topics
- [1] text: PostgreSQL Category, url: https://duckduckgo.com/c/PostgreSQL
- [2] text: Database scalability - Database scalability is the ability of a database to handle changing demands by adding/removing resources. Databases use a host of techniques to cope. According to Marc Brooker: "a system is scalable in the range where marginal cost of additional workload is nearly const
- [3] text: LLVM (llvmjit is the JIT engine used by PostgreSQL)., url: https://duckduckgo.com/LLVM
- [4] text: Client-server database management systems, url: https://duckduckgo.com/c/Client-server_database_management_systems
- [5] text: ORDBMS software for Linux, url: https://duckduckgo.com/c/ORDBMS_software_for_Linux
- [6] text: Free database management systems, url: https://duckduckgo.com/c/Free_database_management_systems
- [7] text: Cross-platform software, url: https://duckduckgo.com/c/Cross-platform_software

Endpoint Parameters, Cost & Token Economy Reference

Endpoint ID: search.duckduckgo.instant_answer · Method: GET
ParameterTypeReqSample / DefaultDescription
qstringrequiredPostgreSQLEntity, software tool, concept, or factual query (e.g. PostgreSQL)
formatenumoptionaljson | compact | mdResponse format; compact or md cuts LLM tokens.
dry_run0 | 1optional1Returns exact pre-flight price quote & validation at $0.00 cost.
Access Rail / MetricValuePolicy & SLA
API Key (PAYG)$0.0010 / call$0/mo · Balance never expires
Remote MCP Toolsearch_duckduckgo_instant_answerOAuth 2.1 Hub & /mcp/search
x402 Base USDC$0.0020 / callZero-signup USDC enabled
P50 Latency1304 ms$0 billed on empty or 4xx/5xx
Token Economy2192t → 705t (-68%)Partner credit: eligible

More search.duckduckgo Sibling Endpoints

Frequently Asked Questions

How do I call DuckDuckGo Instant Answer & Knowledge Infobox API (search.duckduckgo.instant_answer) over REST and Remote MCP?

Send GET requests to https://api.agentapigate.ai/v1/search/duckduckgo/instant_answer with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool search_duckduckgo_instant_answer on https://mcp.agentapigate.ai/mcp.

What does search.duckduckgo.instant_answer cost per call and are failed calls billed?

Each successful HTTP 200 response costs $0.001 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.instant_answer?

Passing ?format=md transforms the response into normalized Markdown (~705 tokens vs ~2192 raw tokens, saving 68% 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.instant_answer"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.