YouTube API

YouTube Channel videos API

List a channel’s uploads by handle or channelId with cursor pagination: title, views, length and publish time.

POST/v1/run/youtube.channel_videos
Uptime
99.63%
30d · 805 calls
Requests
805
30d · weekly, last 12 wks
Response
4.1s
median · 30d

Try it

Make your first request

Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.
{
  "found": true,
  "data": {
    "nextCursor": "4qmFsgLlFhIYV",
    "videos": [
      {
        "id": "5EWaxmWgQMI",
        "url": "https://www.youtube.com/watch?v=5EWaxmWgQMI",
        "title": "The cheapest flagship phone, reviewed",
        "views": 4120000,
        "lengthText": "12:48",
        "publishedTime": "2 weeks ago"
      }
    ]
  }
}
Response interface
interface YoutubeChannelVideosResponse {
  data: {
    nextCursor: string | null;
    videos: {
      createdUtc?: number;
      id: string;
      image?: string;
      lengthText: string;
      publishedTime: string;
      title: string;
      url: string;
      views: number;
    }[];
  } | null;
  found: boolean;
  reason?: "not_found";
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

Request, response, and price

Last verified 2026-09-20 · uptime and latency measured over 30d
POST /v1/run/youtube.channel_videos
curl -X POST https://api.getanyapi.com/v1/run/youtube.channel_videos \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"handle":"@mkbhd"}'
FieldTypeExample value
Request body
channelIdstringYouTube channel ID.
cursorstringContinuation token from a previous response for pagination.
handlestring"@mkbhd"YouTube channel handle.
sortenumSort order.
Response
foundbooleantrue
dataobject
data.nextCursorstring"4qmFsgLlFhIYV"
data.videosarray
data.videos[].idstring"5EWaxmWgQMI"
data.videos[].urlstring"https://www.youtube.com/watch?v=5EWaxmWgQMI"
data.videos[].titlestring"The cheapest flagship phone, reviewed"
data.videos[].viewsnumber4120000
data.videos[].lengthTextstring"12:48"
data.videos[].publishedTimestring"2 weeks ago"
Price
Price per requestUSD$0.0005
Price /1k reqUSD$0.50

FAQ

About the YouTube Channel videos API

The AnyAPI YouTube Channel videos API returns YouTube channel videos data as normalized JSON from one POST call to /v1/run/youtube.channel_videos. List a channel’s uploads by handle or channelId with cursor pagination: title, views, length and publish time. AnyAPI routes each request across 3 sources and falls back automatically when one fails. It costs from $0.50 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 99.6% of YouTube channel videos calls through AnyAPI succeeded, with a median response time of 4.1 seconds across 805 measured calls.

It costs from $0.50 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet, each call draws it down, and a failed request costs $0.

List a channel’s uploads by handle or channelId with cursor pagination: title, views, length and publish time. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

Over the last 30 days, 99.6% of YouTube channel videos calls through AnyAPI succeeded, with a median response time of 4.1 seconds across 805 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.