DuckDuckGo Search API endpoint
Returns DuckDuckGo video results for a query string: title, destination URL, description, duration, thumbnail, publisher/uploader, published time, and view count, plus page-based pagination.
/duckduckgo/videoQuery parameters:
q (required) — the search query.page (optional) — 1-based page number. Defaults to 1.region (optional) — DuckDuckGo region/locale code, e.g. us-en,
uk-en, wt-wt (worldwide, DuckDuckGo's own default when omitted).Notable response behavior:
503.404.| Field | Filled in, of 60 checked | Values in the sample |
|---|---|---|
| position | 60 | 1 to 60, median 30 |
| title | 60 | “Introducing GPT-6 in ChatGPT with Intelligent UI” and 58 other values |
| url | 60 | youtube.com |
| description | 60 | median 343 characters |
| duration | 60 | “1:10” and 58 other values |
| thumbnail | 60 | tse1.mm.bing.net and 3 other hosts |
| publisher | 60 | YouTube in all 60 |
| uploader | 60 | |
| published_at | 60 | 2026-10-05 to 2026-10-13 |
| view_count | 60 | 548 to 2,951,586, median 15,355 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| q | string | Yes | Search query | openai | |
| page | integer | No | 1 | 1-based page number, defaults to 1 | 1 |
| region | string | No | DuckDuckGo region/locale code, e.g. us-en, uk-en, wt-wt (worldwide, the default) | us-en | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/duckduckgo/video?q=openai&page=1" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"query": "openai",
"results": [
{
"position": 1,
"title": "What is OpenAI?",
"url": "https://www.youtube.com/watch?v=abc123",
"description": "An introduction to OpenAI.",
"duration": "5:32",
"thumbnail": "https://example.com/thumb.jpg",
"publisher": "YouTube",
"uploader": "OpenAI",
"published_at": "2023-03-01T12:00:00.0000000",
"view_count": 123456
}
],
"pagination": {
"page": 1,
"next_page": 2
}
}
}Request schema
No body schema
Response schema
#/definitions/duckduckgo.videoResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | duckduckgo.VideoResponse | No | ||||
| data.pagination | duckduckgo.SearchPagination | No | ||||
| data.pagination.next_page | integer | No | 2 | |||
| data.pagination.page | integer | No | 1 | |||
| data.query | string | No | openai | |||
| data.results | array | No | ||||
| data.results[].description | string | No | An introduction to OpenAI. | |||
| data.results[].duration | string | No | 5:32 | |||
| data.results[].position | integer | No | 1 | |||
| data.results[].published_at | string | No | 2023-03-01T12:00:00.0000000 | |||
| data.results[].publisher | string | No | YouTube | |||
| data.results[].thumbnail | string | No | https://example.com/thumb.jpg | |||
| data.results[].title | string | No | What is OpenAI? | |||
| data.results[].uploader | string | No | OpenAI | |||
| data.results[].url | string | No | https://www.youtube.com/watch?v=abc123 | |||
| data.results[].view_count | integer | No | 123456 | |||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 500 | Internal Server Error | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/duckduckgo/video?q=openai&page=1" \
-H "x-api-key: $CRAWLORA_API_KEY"