Platforms · YouTube

YouTube Channel Playlists Scraper API

Fetches playlists from a YouTube channel's Playlists tab (playlist ID, title, thumbnail, video count, channel info, and playlist URL) plus a continuationToken when more results are available. Pass handle or channelId for the first page; forward continuationToken for subsequent pages.

GET /api/v1/data/youtube/channel-playlists · 1 credit per page · The same call repeated within 10 minutes may get the same answer, so data can be up to 10 minutes old.

Inputs

  • channelId: YouTube channel ID.
  • handle: YouTube channel handle (with or without @).
  • continuationToken: Continuation token from a previous response: fetches the next page.
  • since: Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`.
  • until: Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`.
  • cursor: Leave it out for the first page. For the next page, send next_cursor from the previous answer.

What comes back

  • result_status (string): success, or not_available when the item does not exist, was removed or is not public.
  • count (integer): How many posts this answer holds.
  • posts[].id (string): The item's ID on the platform.
  • posts[].url (string): Link to it on the platform.
  • posts[].text (string): Its text.
  • posts[].language (string): Its language code.
  • posts[].deleted (boolean): Whether it was deleted.
  • posts[].author_username (string): The author's username.
  • posts[].hashtags (array): Hashtags in it.
  • posts[].mentions (array): Accounts it mentions.
  • posts[].media[].thumbnail_url (string): Its media's thumbnail.
  • posts[].content_type (string): What it is: post.
  • posts[].platform (string): The platform's name.
  • posts[].source_data (object): Everything the platform sent for this row, as it came.
  • posts[].source_data.computed.content_category (string): Keyword-classified content category (e.g. tech, food, gaming). Null when undetectable.
  • posts[].source_data.computed.engagement_rate (number): Computed engagement rate (0..1).
  • posts[].source_data.computed.estimated_reach (number): Estimated reach based on views or follower count. Null when uncomputable.
  • posts[].source_data.computed.language (string): ISO 639-1 language code detected from the post text. Null when undetectable.
  • posts[].source_data.computed.save_rate (number): Saves divided by views, rounded to six places. Present only when the post has both a save count and a view count above zero.
  • posts[].source_data.post.author.username (string): Author username
  • posts[].source_data.post.content.text (string): Post caption, description, or text content
  • posts[].source_data.post.content.thumbnail_url (string): URL to thumbnail image
  • posts[].source_data.post.ext.channel_id (string): The 24 character YouTube channel id (starts with UC). Used because these rows carry no handle.
  • posts[].source_data.post.ext.content_type (string): YouTube format: video, short, live, channel or playlist.
  • posts[].source_data.post.ext.hashtags (array): Hashtags parsed from the caption, lower cased without the #, each listed once in order.
  • posts[].source_data.post.ext.mentions (array): Handles mentioned in the caption, lower cased with the @, each listed once in order.
  • posts[].source_data.post.ext.video_count (number): Number of videos in the playlist. It is not a view count.
  • posts[].source_data.post.flags.deleted (boolean): Whether the post is tombstoned (always present)
  • posts[].source_data.post.id (string)
  • posts[].source_data.post.url (string)
  • next_cursor (string): Send it as cursor to get the next page; null when there is none.
  • has_more (boolean): Whether there is another page.

Good to know

  • Each page costs 1 credit. A call that finds nothing, or fails, is free.
  • Each call returns one page. To get the next page, send next_cursor from the answer as cursor.
  • The same call repeated within 10 minutes may get the same answer, so data can be up to 10 minutes old.
  • Send one of: channelId, handle.

Example call

GET /api/v1/data/youtube/channel-playlists?handle=MrBeast

Questions

How much does the YouTube Channel Playlists API cost?

Each page costs 1 credit. A call that finds nothing, or fails, costs nothing.

What do I send?

Give one of channelId and handle. 5 more inputs are optional: channelId, handle, continuationToken, since and until. Inputs go in the query string of a GET, or as JSON in a POST, along with your API key.

How do I get the next page?

Each call returns one page. The answer carries next_cursor: send it back as cursor to get the page after. Each page is charged on its own, and an empty page is free.

How fresh is the data?

The same call repeated within 10 minutes may get the same answer, so data can be up to 10 minutes old.

Do I need a YouTube account or developer app?

No. You call SocialHz with your SocialHz API key, and the same key works for every platform.

Can I try it before paying?

Yes. Signing up gives you 10 free credits, with no card needed.

Related YouTube endpoints

More YouTube scraper APIs