YouTube channel videos
Fetch videos from a YouTube channel videos tab using public web continuations.
/v1/youtube/channel/videosSend Authorization: Bearer YOUR_API_KEY. Get an API key →
Parameters
Send these fields in a flat JSON body. Add _run to choose execution options.
Provide at least one of: channel_url; handle; channel_id.
urlstringOptionalYouTube channel URL or tab URL. Handles like https://www.youtube.com/@MrBeast and channel IDs are normalized to the requested tab. Preferred name; channel_url remains supported.
channel_idstringOptionalYouTube channel ID (for example UCX6OQ3DkcsbYNE6H8uQQuVA).
handlestringOptionalYouTube channel handle, with or without the leading @.
pagesintegerOptionalNumber of pages to fetch. Stops earlier when the channel ends. Default: 1. Minimum: 1.
Advanced & compatibility inputs 1
channel_urlstringOptionalYouTube channel URL or tab URL. Handles like https://www.youtube.com/@MrBeast and channel IDs are normalized to the requested tab. You can also use url.
Response
Every response describes a run. Read result once run_status is succeeded.
run_id- The run to track. Keep it when contacting support.
run_status- Queued, running, waiting for sign-in, succeeded, or failed. Check this even after an HTTP 200.
status_url- Poll this URL while the run is pending. Keep the same run instead of starting another request.
result- The endpoint’s returned data. The example is illustrative; actual fields may be empty or unavailable.
error- On failure, inspect its code, message, retryable and action fields.
View the complete output schema
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"success",
"channel",
"pages_requested",
"pages_fetched",
"count",
"videos",
"pagination"
],
"properties": {
"count": {
"type": "number"
},
"videos": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"page",
"link",
"thumbnail_urls"
],
"properties": {
"id": {
"type": "string"
},
"link": {
"type": "string"
},
"page": {
"type": "number"
},
"title": {
"type": "string"
},
"is_live": {
"type": "boolean"
},
"duration": {
"type": "string"
},
"view_count": {
"type": "number"
},
"description": {
"type": "string"
},
"thumbnail_url": {
"type": "string"
},
"published_time": {
"type": "string"
},
"thumbnail_urls": {
"type": "array",
"items": {
"type": "string"
}
},
"view_count_text": {
"type": "string"
}
},
"additionalProperties": true
}
},
"channel": {
"type": "object",
"required": [
"url",
"videos_url"
],
"properties": {
"url": {
"type": "string"
},
"title": {
"type": "string"
},
"handle": {
"type": "string"
},
"rss_url": {
"type": "string"
},
"avatar_url": {
"type": "string"
},
"channel_id": {
"type": "string"
},
"shorts_url": {
"type": "string"
},
"videos_url": {
"type": "string"
},
"description": {
"type": "string"
}
},
"additionalProperties": true
},
"success": {
"type": "boolean"
},
"pagination": {
"type": "object",
"required": [
"has_next_page",
"next_continuation"
],
"properties": {
"has_next_page": {
"type": "boolean"
},
"next_continuation": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"pages_fetched": {
"type": "number"
},
"pages_requested": {
"type": "number"
}
},
"additionalProperties": true
}View a polled run response
{
"run_id": "00000000-0000-4000-8000-000000000001",
"task_key": "youtube-channel-videos",
"task_name": "YouTube channel videos",
"run_status": "succeeded",
"status_url": "/v1/runs/00000000-0000-4000-8000-000000000001",
"result": {
"count": 1,
"videos": [
{
"id": "id-1",
"link": "https://example.com/item-1",
"page": 1,
"title": "Stylish Shoreditch Loft with Balcony",
"is_live": true,
"duration": "sample",
"view_count": 1,
"description": "Sample description 1",
"thumbnail_url": "https://images.example.com/thumbnail_url-1.jpg",
"published_time": "sample",
"thumbnail_urls": [
"https://images.example.com/thumbnail_urls-1.jpg"
],
"view_count_text": "Sample view_count_text 1"
}
],
"channel": {
"url": "https://example.com/item-1",
"title": "Stylish Shoreditch Loft with Balcony",
"handle": "sample",
"rss_url": "https://example.com/item-1",
"avatar_url": "https://images.example.com/avatar_url-1.jpg",
"channel_id": "id-1",
"shorts_url": "https://example.com/item-1",
"videos_url": "https://example.com/item-1",
"description": "Sample description 1"
},
"success": true,
"pagination": {
"has_next_page": true,
"next_continuation": "sample"
},
"pages_fetched": 1,
"pages_requested": 1
},
"error": null
}Errors & retries
400Fix the fields listed inerrorsbefore retrying.428Connect the requested website account using the returned sign-in link.429Wait for the duration inRetry-After.5xxRetry transient failures with backoff. Keep the request ID.
A failed run has its own error inside the response. Retry it only when error.retryable is true.
More examples
Async request with polling
RUN=$(curl -s -X POST "https://api-ingress-worker-staging.browsable-staging.workers.dev/v1/youtube/channel/videos" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"channel_url":"https://example.com/item-1"}')
RUN_ID=$(echo "$RUN" | jq -er '.run_id // empty') || { echo "$RUN" >&2; exit 1; }
POLL_DELAY=3
while true; do
RESULT=$(curl -s -H "Authorization: Bearer YOUR_API_KEY" "https://api-ingress-worker-staging.browsable-staging.workers.dev/v1/runs/$RUN_ID")
STATUS=$(echo "$RESULT" | jq -r '.run_status')
if [[ "$STATUS" =~ ^(succeeded|failed|errored|cancelled|canceled|expired)$ ]]; then
echo "$RESULT"
break
fi
sleep "$(awk "BEGIN { print $POLL_DELAY * (0.9 + ($RANDOM % 21) / 100) }")"
POLL_DELAY=$((POLL_DELAY < 30 ? POLL_DELAY * 2 : 30))
[ "$POLL_DELAY" -gt 30 ] && POLL_DELAY=30
doneWait-for-results request
curl -X POST "https://api-ingress-worker-staging.browsable-staging.workers.dev/v1/youtube/channel/videos" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"channel_url":"https://example.com/item-1","_run":{"async":false}}'Canonical & compatibility routes
You can also send the same JSON body to /v1/tasks/youtube-channel-videos/runs.