Discover/YouTube API
live

YouTube APIyoutube.com

Retrieve video IDs, titles, URLs, view counts, and publish timestamps from any public YouTube channel. Supports sorting and automatic pagination.

This API takes change requests — .
Endpoint health
verified 5h ago
get_channel_videos
1/1 passing latest checkself-healing
Endpoints
1
Updated
1mo ago

What is the YouTube API?

This API exposes 1 endpoint — get_channel_videos — that returns up to the full video catalog of any public YouTube channel, with 5 data fields per video: video_id, title, url, views, and published. Pass a channel handle (with or without the @ prefix) and receive a structured array of videos sorted by latest, popular, or oldest, with automatic pagination to fulfill your requested limit.

Try it
Maximum number of videos to return. The scraper paginates automatically to fulfill the limit.
Sort order for videos.
YouTube channel handle, with or without the leading '@' (e.g. '@SuccessionBio' or 'SuccessionBio').
api.parse.bot/scraper/17f80f00-16b9-481b-8d14-fa845ca3f046/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/17f80f00-16b9-481b-8d14-fa845ca3f046/get_channel_videos?limit=5&sort_by=latest&channel_handle=%40SuccessionBio' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace youtube-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""YouTube Channel Videos API — fetch and browse video metadata from any channel."""
from parse_apis.youtube_channel_videos_api import YouTube, Sort, ChannelNotFound

client = YouTube()

# List latest videos from a channel (limit caps total items fetched)
channel = client.channel(handle="@SuccessionBio")
for video in channel.videos(sort_by=Sort.LATEST, limit=5):
    print(video.title, "|", video.views, "|", video.published)

# Fetch most popular video using a different sort
top_video = channel.videos(sort_by=Sort.POPULAR, limit=1).first()
if top_video:
    print(f"Most popular: {top_video.title} — {top_video.url}")

# Handle a channel that doesn't exist
try:
    missing = client.channel(handle="@thisChannelDoesNotExist99999")
    for v in missing.videos(limit=1):
        print(v.title)
except ChannelNotFound as exc:
    print(f"Channel not found: {exc.channel_handle}")

print("Exercised: channel.videos (latest + popular sort), ChannelNotFound error handling")
All endpoints · 1 totalmissing one? ·

Retrieve videos from a YouTube channel's public videos page. Returns video IDs, titles, watch URLs, view counts, and relative publish timestamps. Supports sorting by latest (default), popular, or oldest. Automatically paginates through the channel's video grid to fulfill the requested limit. View counts and publish dates are returned as human-readable strings exactly as YouTube renders them (e.g. '21 views', '2 weeks ago').

Input
ParamTypeDescription
limitintegerMaximum number of videos to return. The scraper paginates automatically to fulfill the limit.
sort_bystringSort order for videos.
channel_handlerequiredstringYouTube channel handle, with or without the leading '@' (e.g. '@SuccessionBio' or 'SuccessionBio').
Response
{
  "type": "object",
  "fields": {
    "videos": "array of Video objects with video_id, title, url, views, published",
    "video_count": "integer — number of videos returned in this response",
    "channel_handle": "string — the normalized channel handle with @ prefix"
  },
  "sample": {
    "data": {
      "videos": [
        {
          "url": "https://www.youtube.com/watch?v=WDx-dJ-oznI",
          "title": "The Alien Intern: Why Managing AI Agents Is the Career Skill of the Decade | SalesDNA Podcast",
          "views": "21 views",
          "video_id": "WDx-dJ-oznI",
          "published": "2 weeks ago"
        },
        {
          "url": "https://www.youtube.com/watch?v=QmWjcCLEUlw",
          "title": "Have an Omnipresent, Helpful Opinion | SalesDNA Podcast",
          "views": "38 views",
          "video_id": "QmWjcCLEUlw",
          "published": "1 month ago"
        }
      ],
      "video_count": 5,
      "channel_handle": "@SuccessionBio"
    },
    "status": "success"
  }
}

About the YouTube API

What get_channel_videos Returns

The get_channel_videos endpoint accepts a channel_handle (e.g. @SuccessionBio or SuccessionBio) and returns a videos array alongside a video_count integer and the normalized channel_handle string. Each object in videos includes a unique video_id, the video title, a direct watch url, a views count, and a published relative timestamp (e.g. "3 years ago").

Sorting and Pagination

The sort_by parameter accepts three values: latest (default), popular, and oldest. This lets you pull a channel's most-watched videos or reconstruct a chronological upload history. The limit integer parameter controls how many videos are returned; the API automatically pages through the channel's video grid until the limit is satisfied, so you don't need to manage continuation tokens yourself.

Scope and Coverage

The API works against any public YouTube channel's videos tab. Private, members-only, or age-restricted videos that require a signed-in viewer are not surfaced. The published field is a relative string as displayed on the page (e.g. "2 months ago") rather than an absolute ISO timestamp, which is worth accounting for if you need precise date filtering downstream.

Reliability & maintenanceVerified

The YouTube API is a managed, monitored endpoint for youtube.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when youtube.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official youtube.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
5h ago
Latest check
1/1 endpoint passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Track upload frequency for a competitor's channel by pulling the latest videos and checking published timestamps.
  • Build a popularity leaderboard by sorting with sort_by=popular and ranking results by views.
  • Seed a video database with video_id and url values for bulk metadata enrichment pipelines.
  • Monitor a creator's catalog size over time by comparing video_count across periodic snapshots.
  • Find a channel's oldest content by setting sort_by=oldest to reconstruct upload chronology.
  • Aggregate title patterns across a channel's full catalog for keyword and topic analysis.
  • Build a channel comparison tool by running get_channel_videos across multiple handles and comparing views distributions.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does YouTube have an official developer API?+
Yes. The YouTube Data API v3 is available at https://developers.google.com/youtube/v3. It requires a Google Cloud project, API key, and is subject to a daily quota system measured in units rather than simple request counts.
What does the `published` field actually contain?+
It contains the relative timestamp string as displayed on the videos page — values like "3 years ago" or "2 months ago". It is not an absolute date. If your use case requires a sortable ISO timestamp, you will need to parse or convert this string downstream.
Does the API return video descriptions, tags, or duration?+
Not currently. The get_channel_videos endpoint returns video_id, title, url, views, and published per video. Descriptions, tags, duration, thumbnail URLs, and like counts are not included. You can fork this API on Parse and revise it to add those fields as a separate or extended endpoint.
Are Shorts, live streams, or playlists included in the results?+
The endpoint targets the public videos tab of a channel, which may include Shorts and past live streams depending on how the channel organizes its content. Dedicated playlist pages are not covered. You can fork this API on Parse and revise it to target playlist-specific pages.
How does automatic pagination work with the `limit` parameter?+
When you set a limit higher than what a single page of the video grid contains, the API continues loading additional pages until the requested number of videos is fulfilled or the channel's catalog is exhausted. You do not need to pass page tokens or offsets yourself.
Page content last updated . Spec covers 1 endpoint from youtube.com.
Related APIs in Streaming VideoSee all →
zdf.de API
Search and browse German TV content, live streams, and episode details from ZDF Mediathek, or discover what's currently airing and trending on their homepage. Explore shows by category, find specific programs by name, and check the full TV schedule all in one place.
kick.com API
Discover all active livestreams from any Kick.com category and access detailed information about each channel, including viewer counts, tags, language, and creator profiles. Monitor live content across specific categories to find streamers and trending broadcasts in real-time.
t.bilibili.com API
Discover what's trending on Bilibili by accessing real-time popular searches, viral videos, and video rankings all in one place. Stay ahead of trends on China's biggest video platform with up-to-date insights into what millions of users are watching and searching for.
twitch.tv API
Search for Twitch streamers and channels, view their profiles and streaming details, and discover live streams organized by category. Find the content and creators you want to watch all in one place.
bilibili.com API
Discover and monitor trending videos on Bilibili with access to video metadata, uploader information, and engagement statistics. Stay updated on what's popular across the platform to find the latest viral content and emerging creators.
viewstats.com API
viewstats.com API
tubitv.com API
Browse Tubi TV's entire free streaming catalog across 100+ categories to discover movies and TV series with detailed information including titles, descriptions, cast, ratings, and direct watch links. Quickly find content by category or explore what's available in documentaries and beyond.
fishtank.live API
Access clips, episodes, contestant information, and live stream updates from Fishtank.live to browse content, check leaderboard rankings, and track live broadcast status. Get detailed information about specific clips and episodes, or discover random clips and current stox data.