Skip to content
NewIntroducing lobstr.io API v2: Web Data for AI Agents
YouTube: List a channel's videosTry it

YouTube: List a channel's videos

A YouTube channel's videos, shorts or live streams, page after page, newest first, most viewed or oldest, as its tab lists them.

1 credita callWorks today
Try itDocs
1Request
The channel: its id (UC followed by 22 letters, digits, - or _), its handle (@name) or the address of any of its pages (https://www.youtube.com/@name, /channel/UC..., /c/name, /user/name, or a tab's address).
1 credit a call
Code, from the fields above
curl https://api.lobstr.io/v2/run \
  -H "Authorization: Bearer $LOBSTR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "source": "youtube",
    "operation": "videos/list",
    "options": {
      "channel": "@acmekitchen"
    }
  }'
2Response

An example answer. Run it on your own input.

{
  "object": "run",
  "id": "run_qva525g6mlcabht2jtytj7x7ni",
  "livemode": true,
  "source": "youtube",
  "operation": "videos/list",
  "version": "1.0.0",
  "schema_url": "https://api.lobstr.io/v2/catalog/youtube/videos/list",
  "options": {
    "channel": "@acmekitchen"
  },
  "fields": null,
  "status": "succeeded",
  "count": 2,
  "has_more": false,
  "next": null,
  "cost": {
    "credits": 1
  },
  "results": [
    {
      "object": "video",
      "id": "Qx7aB2cD9eF",
      "position": 1,
      "url": "https://www.youtube.com/watch?v=Qx7aB2cD9eF",
      "title": "Sourdough for beginners: the whole bake, start to finish",
      "is_short": false,
      "live_status": null,
      "views": 18000,
      "views_text": "18K views",
      "watching": null,
      "waiting": null,
      "published_text": "3 days ago",
      "scheduled_text": null,
      "duration_seconds": 1288,
      "duration_text": "21:28",
      "labels": [],
      "thumbnails": [
        {
          "url": "https://i.ytimg.com/vi/Qx7aB2cD9eF/hq720.jpg?sqp=-oaymwEcCOgCEMoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==",
          "width": 360,
          "height": 202
        },
        {
          "url": "https://i.ytimg.com/vi/Qx7aB2cD9eF/hq720.jpg?sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==",
          "width": 720,
          "height": 404
        }
      ],
      "animated_thumbnail": {
        "url": "https://i.ytimg.com/an_webp/Qx7aB2cD9eF/mqdefault_6s.webp?du=3000",
        "width": 320,
        "height": 180
      },
      "channel": {
        "id": "UCa1B2c3D4e5F6g7H8i9J0kL",
        "title": "Acme Kitchen",
        "handle": "@acmekitchen",
        "url": "https://www.youtube.com/channel/UCa1B2c3D4e5F6g7H8i9J0kL"
      },
      "ids": {
        "video_id": "Qx7aB2cD9eF"
      },
      "source_url": "https://www.youtube.com/@acmekitchen/videos",
      "observed_at": "2026-12-03T12:00:00Z"
    },
    {
      "object": "video",
      "id": "Lm3nO4pQ5rS",
      "position": 2,
      "url": "https://www.youtube.com/watch?v=Lm3nO4pQ5rS",
      "title": "Five weeknight pastas in 20 minutes",
      "is_short": false,
      "live_status": null,
      "views": 942,
      "views_text": "942 views",
      "watching": null,
      "waiting": null,
      "published_text": "1 week ago",
      "scheduled_text": null,
      "duration_seconds": 734,
      "duration_text": "12:14",
      "labels": [],
      "thumbnails": [
        {
          "url": "https://i.ytimg.com/vi/Lm3nO4pQ5rS/hq720.jpg?sqp=-oaymwEcCOgCEMoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==",
          "width": 360,
          "height": 202
        },
        {
          "url": "https://i.ytimg.com/vi/Lm3nO4pQ5rS/hq720.jpg?sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==",
          "width": 720,
          "height": 404
        }
      ],
      "animated_thumbnail": null,
      "channel": {
        "id": "UCa1B2c3D4e5F6g7H8i9J0kL",
        "title": "Acme Kitchen",
        "handle": "@acmekitchen",
        "url": "https://www.youtube.com/channel/UCa1B2c3D4e5F6g7H8i9J0kL"
      },
      "ids": {
        "video_id": "Lm3nO4pQ5rS"
      },
      "source_url": "https://www.youtube.com/@acmekitchen/videos",
      "observed_at": "2026-12-03T12:00:00Z"
    }
  ]
}

25 fields per video

Every call returns them for each record, in the results of its JSON answer.

List a channel's videos

25 fields
object
text
video
id
id
The video's id on YouTube, the same in all its addresses: youtube/videos/get takes it.
Qx7aB2cD9eF
position
number
The video's rank in the list, from 1, going on from page to page.
1
url
link
The video's page: its watch page, or a short's own page (/shorts/...).
youtube.com/watch?v=Qx7aB2cD9eF
title
text
The title, as the channel wrote it.
Sourdough for beginners: the whole bake, start to finish

What it costs

Billed by the call: 1 credits, whatever the page holds (up to 30 videos). Pick how many calls a month.

Every plan

1 credit a call

Calls a month

100

Per 100 calls

Free

On the free plan, up to 100 calls a month.

Live

Built to run

Every call counts; a day is green at 95% successful.

Successful calls
100.00%
Median call
1.9 s
90 days agoToday
95% or more (SLA)90 to 95%75 to 90%Under 75%

A call fails when the site does not answer or we cannot read its answer; a wrong input is not counted.

Frequently asked questions

What people ask before calling youtube/videos/list.

List a channel's videos

When do I use it?

You need what a YouTube channel has published: its videos, its shorts or its live streams (past, live now and scheduled), from the newest, the most viewed or the oldest, page after page to the first. Name the channel as you have it: its id (UC...), its handle (@name) or the address of any of its pages. Each video comes as its card shows it: title, link, length, image, views and age as YouTube writes them ("73K views", "2 days ago"), whether it is live or scheduled. Follow next for the following page. For the channel itself (subscribers, description, links), use youtube/channels/get; for one video whole (its exact date, likes, description), youtube/videos/get.

What do I give it?
  • channel (required): The channel: its id (UC followed by 22 letters, digits, - or _), its handle (@name) or the address of any of its pages (https://www.youtube.com/@name, /channel/UC..., /c/name, /user/name, or a tab's address). A handle or an address is first resolved to the channel's id, as YouTube's app follows a link: no extra credit.
  • tab: The channel's tab to list: its videos, its shorts, or its live streams (those past, live now and scheduled). A channel without the tab (no shorts, never live) gives an empty page.
  • sort: The tab's order, as its chips above the list say it: the newest first, the most viewed first, or the oldest first. Another order than latest is the chip's click, a second call to YouTube for the same credit.
What does it return?

A YouTube channel's videos, shorts or live streams, page after page, newest first, most viewed or oldest, as its tab lists them. Every record has the same fields, empty ones included: they are all listed above.

How do I get the next page?

Each answer ends with next: the following call, whole. Send it as it is; it is null after the last page. A page holds 30 records at most.

Pricing

What does a call cost?

1 credit a call, one page of up to 30 videos or live streams, or 48 shorts. A handle or an address costs no more than an id, and another order than latest no more than the latest. An empty page and a failed call are free.

When is a call free?
  • an empty page (past the end, or nothing found)
  • a call that fails

Errors

What can go wrong?
  • ip_blocked (503, retry): YouTube slowed down the IPs the call tried (429). Retry in a minute; failed calls are free.
  • invalid_channel (422): channel is a YouTube channel: its id (UCr9pRlsueSAVJIFmMntRv0A), its handle (@ynteractiveAI) or the address of its page (https://www.youtube.com/@ynteractiveAI).
  • invalid_input (422): tab is videos, shorts or live; sort is latest, popular or oldest.
  • channel_not_found (404): YouTube has no such channel: no channel at this handle or address, or an id YouTube says does not exist (or a channel it closed). Not charged.
  • site_unavailable (503, retry): YouTube did not answer properly; retry later (not charged).
  • unexpected_answer (424): YouTube answered in a shape we do not read yet; we are told and fix it (not charged).
How long can a call take?

30 seconds at most by default, up to 60 with timeout_s. A call past it answers timeout (408), is not charged, and can be sent again.

API and agents

Can my AI agent run it?

Yes: connect the lobstr.io MCP server (https://api.lobstr.io/v2/mcp, your API key as a Bearer token); its run_operation tool runs youtube/videos/list. Its page for agents, in Markdown: youtube/videos/list.md.

Where is its full description?

The contract, as JSON: https://api.lobstr.io/v2/catalog/youtube/videos/list: every option, every field, the price and the errors. This page is drawn from it.

Ready to call it?

An API key in a minute, then the call above, from your code or your agent.