# DuckDuckGo on Onekey > 1 endpoint for DuckDuckGo (1 stable, 0 beta), 1 credit each. Category: AI & search. One key, one JSON shape. Base URL: https://api.onekey.dev Auth: header `x-api-key: `. Call shape: `GET /v1/{platform}/{endpoint}?{params}`. Every response is `{success, data, metadata, error}`; check `success` first. Cost is in `metadata.credits_charged`. Free when served from cache (0.2 credit for a cached response over 100 KB). Failed and not-found calls are refunded. Status: stable = verified against the live source; beta = not yet verified, fields may be missing. Page: https://onekey.dev/platforms/duckduckgo Reference (Markdown): https://onekey.dev/docs/api/duckduckgo.md All docs: https://onekey.dev/llms.txt ## Canonical fields returned Unified-schema fields (same names on every platform), with how many of the 1 mapped DuckDuckGo endpoints return each: - `entity.description` (string): 1 - `entity.name` (string): 1 - `entity.type` (string): 1 - `entity.url` (URL): 1 - `media.url` (URL): 1 - plus 4 platform-specific fields under `ext.` ## Endpoints ### duckduckgo.instant DuckDuckGo Instant Answer: abstract, source, image and related topics for a query (keyless). - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/duckduckgo/instant?q=python%20programming` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search query - Fields returned: `entity.name`, `entity.description`, `entity.url`, `media.url`, `entity.type`, `ext.source`, `ext.answer`, `ext.definition`, `ext.related` - Reference: https://onekey.dev/docs/api/duckduckgo/instant.md ## Sample request ```bash curl "https://api.onekey.dev/v1/duckduckgo/instant?q=python%20programming" \ -H "x-api-key: YOUR_API_KEY" ```