/desearch/youtube/channel/{handle}/videosRetrieve the public videos uploaded by a YouTube channel, latest or most popular first. Returns one page; send the `x-desearch-next-cursor` response header back as `cursor` for the next one. Billed per request, including an empty page. An empty first page also checks that the channel exists, so it is billed two requests (the page and the check): an unknown channel is a 404 billed two requests, and a real channel with no videos returns an empty list billed two. A 422 and a 5xx are not charged. Billing metadata: successful billable responses include the `X-Desearch-Cost-Usd`, `X-Desearch-Usage-Count`, `X-Desearch-Service`, and `X-Desearch-Currency` headers. JSON object responses also include optional `cost_usd`, `usage_count`, `service`, and `currency` fields. Current prices are at https://desearch.ai/pricing. JSON arrays, text, and streaming responses keep their body shape and expose billing metadata only through headers.
Base URL
https://api.desearch.aiUse Retrieve YouTube Channel Videos when your application needs search-grounded AI results without maintaining its own crawler, social-data pipeline, or retrieval infrastructure. The endpoint returns structured data that can be consumed by agents, research tools, dashboards, and retrieval-augmented generation workflows. Keep the request focused on the minimum fields your workflow needs so responses remain fast and easy to validate.
Send requests to GET /desearch/youtube/channel/{handle}/videos with your Desearch API key in the authorization header. Treat the key as a server-side secret, validate all required parameters before sending the request, and handle non-2xx responses explicitly. Production integrations should use sensible timeouts, retry only transient failures with backoff, and record the response status and request identifier for troubleshooting.
Test the example request below before integrating it into a larger workflow. Confirm that the returned fields, links, and timestamps meet your freshness requirements, then add schema validation at the application boundary. For agentic systems, preserve source URLs with the generated answer so users can inspect evidence and your application can avoid presenting unsupported claims.
handlestringrequiredChannel handle (with or without @) or channel ID
sortstringVideo order. Defaults to latest.
cursorstringOpaque pagination cursor. Omit it for the first page. For the next page, send the `x-desearch-next-cursor` response header from the previous page back unchanged, on the same route with the same target (username, tag, post, or search query). A cursor is valid for 24 hours. Any other value, including an expired cursor or one issued by a different route or target, returns 422 and is not charged.
Your API key is sent in the Authorization header.
curl -X GET "https://api.desearch.ai/desearch/youtube/channel/MrBeast/videos" \
-H "Authorization: YOUR_API_KEY" \
-H "Content-Type: application/json"[
{
"id": "dQw4w9WgXcQ",
"type": "video",
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"title": "Video title",
"description": "string",
"thumbnail": "string",
"handle": "string",
"channel": {
"id": "UCxcTeAKWJca6XyJ37_ZoKIQ",
"title": "The Pat McAfee Show",
"handle": "ThePatMcAfeeShow",
"url": "https://www.youtube.com/@ThePatMcAfeeShow",
"thumbnail": "string",
"subscriberCountText": "2.75M subscribers"
},
"views": 110447,
"likes": 0,
"comments": 0,
"publishedAt": "2025-01-23T22:48:53.914Z",
"publishedText": "9 days ago",
"durationSeconds": 2245,
"durationText": "37:25",
"badges": [
"string"
],
"subscriberCountText": "string",
"videoCountText": "string",
"videoCount": 0
}
]Possible status codes: