Skip to content
OperationsYouTube

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.

youtube/videos/list1 credit a callv1.0.0

When to 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.

Try it

The options on the left write the call; the answer on the right is the contract's example. With your API key, the same call returns live data.

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"
    }
  ]
}

Options

channelstringrequired
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"videos" | "shorts" | "live"Default videos
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"latest" | "popular" | "oldest"Default latest
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.
cursorstring
Where to go on, from next in an answer, as it is: opaque, and only for the list it was given with (otherwise invalid_cursor).

Record

Each record of results, in the envelope every call returns (Run an operation).

objectstring
idstring
The video's id on YouTube, the same in all its addresses: youtube/videos/get takes it.
positioninteger
The video's rank in the list, from 1, going on from page to page.
urlstring
The video's page: its watch page, or a short's own page (/shorts/...).
titlestring
The title, as the channel wrote it.
is_shortboolean
Whether it is a short (the Shorts tab).
live_statusstring
For a live stream: live now, upcoming (scheduled, or a premiere to come), or ended (streamed). Null for a video that was never live.
viewsinteger
The views, as the list writes them: exact up to 999, rounded above ("73K views" is 73000, "1.2M views" is 1200000). youtube/videos/get gives them exact.
views_textstring
The views as YouTube writes them ("73K views", "1 view").
watchinginteger
For a live stream on now: how many are watching it ("245 watching").
waitinginteger
For a scheduled live stream or premiere: how many are waiting for it ("6 waiting").
published_textstring
When it was published, as the list writes it for an American visitor, relative to the day it is read: "7 days ago", "Streamed 2 days ago". Null for shorts, whose cards say none; youtube/videos/get gives the date.
scheduled_textstring
For a scheduled live stream or premiere: when it starts, as the list writes it ("Scheduled for 12/7/26, 12:30 PM").
duration_secondsinteger
The length in seconds. Null for shorts and for streams live or to come.
duration_textstring
The length as the card writes it ("9:17", "1:51:18").
labelslist
Any other words the card writes on the video or under it (Members only, New...), as written.
thumbnailslist
The video's image in every size the list gives, smallest first; for a short, its first frame at full size last (1080x1920).
animated_thumbnailstring
The few seconds the card plays under the pointer, as an animated image (webp).
channel.idstring
The channel's id (UC...): youtube/channels/get takes it.
channel.titlestring
The channel's name.
channel.handlestring
Its handle (@name).
channel.urlstring
The channel's page, by its id.
ids.video_idstring
source_urlstring
The tab's page on youtube.com, as the channel was named.
observed_atdate

Errors

Its own, besides those of every call (Errors). A failed call is free.

CodeStatusWhat it means
ip_blocked503YouTube slowed down the IPs the call tried (429). Retry in a minute; failed calls are free. Retryable.
invalid_channel422channel is a YouTube channel: its id (UCr9pRlsueSAVJIFmMntRv0A), its handle (@ynteractiveAI) or the address of its page (https://www.youtube.com/@ynteractiveAI).
invalid_input422tab is videos, shorts or live; sort is latest, popular or oldest.
channel_not_found404YouTube 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_unavailable503YouTube did not answer properly; retry later (not charged). Retryable.
unexpected_answer424YouTube answered in a shape we do not read yet; we are told and fix it (not charged).

Price

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. What a credit costs on each plan: Credits and pricing.

Changelog

1.0.02026-12-03
First version: a channel's videos, shorts or live streams, by its id, handle or address, newest first, most viewed or oldest, page after page; each video as its card shows it, its views and age as YouTube writes them, live, scheduled or streamed.