YouTube Playlist API
Scrape YouTube Playlist data with one API call. Returns the videos in a YouTube playlist in playlist order: video id, title, thumbnail, the video's own channel (`post.author.display_name`, `post.ext.channel_id`) and its publish date, plus a `cursor` for the next page. YouTube's playlist listing carries no view, like or comment counts and no duration, so on a plain call those are null. Send `include=engagement` and every row is joined, in the same call, to the per-video lookup that carries them, and `include=channel` adds each video's channel subscriber count; each costs 1 credit per distinct video or channel filled, at most 5 per page. This endpoint and `/v1/youtube/playlist/items` return the same rows from the same source; this one additionally has a second source behind it, so prefer it when availability matters.
Last updated October 2026Maintained by the SocialCrawl team
Returns the videos in a playlist in playlist order: video id, title, thumbnail, channel and publish date. include=engagement adds views, likes, comments and duration.
Use it when you have a playlist id. Same rows as playlist/items from the same source; this lane has a second source behind it, so prefer it when availability matters.
Searching 68 platforms in parallel
What can you do with the Playlist API?
The Playlist endpoint gives you structured YouTube data with computed fields in a single request. No scraping infrastructure to build or maintain.
Example Request
curl -H "x-api-key: YOUR_API_KEY" \
"https://www.socialcrawl.dev/v1/youtube/playlist?playlist_id=PLrAXtmErZgOeiKm4sgNOknGvNjby9efdf"import requests
response = requests.get(
"https://www.socialcrawl.dev/v1/youtube/playlist",
params={
'playlist_id': 'PLrAXtmErZgOeiKm4sgNOknGvNjby9efdf',
},
headers={"x-api-key": "YOUR_API_KEY"},
)
data = response.json()const response = await fetch(
"https://www.socialcrawl.dev/v1/youtube/playlist?playlist_id=PLrAXtmErZgOeiKm4sgNOknGvNjby9efdf",
{
headers: { "x-api-key": "YOUR_API_KEY" },
},
);
const data = await response.json();Parameters
| Parameter | Required | Description |
|---|---|---|
| playlist_id | Yes | YouTube playlist ID |
| cursor | No | Pagination cursor from a previous response: fetches the next page. |
| channel_id | No | YouTube channel id: pages that channel's uploads instead of a playlist. |
| include | No | Set to `engagement`, `channel`, or both (`engagement,channel`) to fill more of every row in this one call. `engagement` fills `post.engagement.views`, `.likes` and `.comments`, `post.content.duration_seconds`, `post.ext.channel_id` and `post.author.display_name` where the row lacks them, and replaces a date derived from a label such as "4 months ago" with the exact publish time (removing `post.ext.published_precision`). `channel` puts the channel's subscriber count on `post.ext.author_followers` (YouTube's own figure, which it rounds to three significant figures above 1,000) and fills the channel's `post.author.display_name`, `.avatar_url` and `.username` where missing. Send both to cover rows that arrive without a channel id: the video join supplies it and the channel join then uses it. Each join costs 1 credit per distinct video or channel it filled, and never more than 5 per 50; ids that could not be filled are refunded. Each join adds 0.2 to 0.7 seconds on a fresh page (one lookup per 50 ids, never more than 8 seconds). Read `data.hydration` for the rows, lookups, credits held and kept, and the time. |
| since | No | 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. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. 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 | No | Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`. |
What does the YouTube Playlist API return?
Every response follows one unified schema. Here is a real, unmodified response body, so you can see the exact fields you get back before spending a credit.
Example response
{
"success": true,
"platform": "youtube",
"endpoint": "/v1/youtube/playlist",
"data": {
"items": [
{
"post": {
"id": "0VH1Lim8gL8",
"url": "https://www.youtube.com/watch?v=0VH1Lim8gL8",
"content": {
"text": "Sample comment text (redacted).",
"media_urls": null,
"thumbnail_url": "https://i.ytimg.com/vi/0VH1Lim8gL8/hqdefault.jpg",
"duration_seconds": null
},
"author": {
"username": null,
"display_name": "user_1cfeef",
"avatar_url": null,
"verified": null
},
"engagement": {
"views": null,
"likes": null,
"comments": null,
"shares": null,
"saves": null
},
"flags": {
"nsfw": null,
"spoiler": null,
"pinned": null,
"deleted": false
},
"published_at": "2020-01-10T16:04:31.000Z",
"ext": {
"position": 0,
"playlistId": "PLrAXtmErZgOeiKm4sgNOknGvNjby9efdf",
"videoOwnerChannelId": "UCSHZKyawb77ixDdsGog4iWA",
"videoPublishedAt": "2020-01-10T16:04:31Z",
"description": "Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted).",
"playlist_item_id": "UExyQVh0bUVyWmdPZWlLbTRzZ05Pa25Hdk5qYnk5ZWZkZi4yMUQyQTQzMjRDNzMyQTMy",
"playlist_owner_channel_id": "UCSHZKyawb77ixDdsGog4iWA",
"playlist_owner_title": "Lex Fridman",
"channel_id": "UCSHZKyawb77ixDdsGog4iWA"
}
},
"computed": {
"engagement_rate": null,
"language": "en",
"content_category": "other",
"estimated_reach": null
}
},
{
"post": {
"id": "O5xeyoRL95U",
"url": "https://www.youtube.com/watch?v=O5xeyoRL95U",
"content": {
"text": "Sample comment text (redacted).",
"media_urls": null,
"thumbnail_url": "https://i.ytimg.com/vi/O5xeyoRL95U/hqdefault.jpg",
"duration_seconds": null
},
"author": {
"username": null,
"display_name": "user_1cfeef",
"avatar_url": null,
"verified": null
},
"engagement": {
"views": null,
"likes": null,
"comments": null,
"shares": null,
"saves": null
},
"flags": {
"nsfw": null,
"spoiler": null,
"pinned": null,
"deleted": false
},
"published_at": "2019-01-11T16:47:40.000Z",
"ext": {
"position": 1,
"playlistId": "PLrAXtmErZgOeiKm4sgNOknGvNjby9efdf",
"videoOwnerChannelId": "UCSHZKyawb77ixDdsGog4iWA",
"videoPublishedAt": "2019-01-11T16:47:40Z",
"description": "Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted).",
"playlist_item_id": "UExyQVh0bUVyWmdPZWlLbTRzZ05Pa25Hdk5qYnk5ZWZkZi4zMDg5MkQ5MEVDMEM1NTg2",
"playlist_owner_channel_id": "UCSHZKyawb77ixDdsGog4iWA",
"playlist_owner_title": "Lex Fridman",
"channel_id": "UCSHZKyawb77ixDdsGog4iWA"
}
},
"computed": {
"engagement_rate": null,
"language": null,
"content_category": "other",
"estimated_reach": null
}
}
],
"total": 2,
"dropped": 0
},
"credits_used": 1,
"request_id": "req_example000000",
"cached": false,
"pagination": {
"next_cursor": null,
"has_more": false,
"page_size": 2
},
"credits_remaining": 9999,
"source": "captured",
"captured_at": "2026-10-02T07:29:59.833Z",
"redacted": true
}Live sample illustrating the unified response shape. Field values reflect the record you query.
How does the YouTube Playlist API work?
Send a GET request with your API key and get back clean, structured JSON in our unified schema. Supported computed fields are populated when the source provides the required inputs.
Method
GET
Response
JSON
How do you scrape social media data in seconds?
The fastest social media scraping API for developers. Scrape profiles, posts, comments, and analytics from 68 platforms covering 10B+ monthly active users.
One schema, every platform
Query 68 platforms with identical response structures. Write your integration once.
Computed fields, not just scraped
When an endpoint supports these metrics and the source provides the required inputs, the normalized record includes engagement_rate, estimated_reach, content_category, and language. Ready to use.
See your data before you code
Visual Data Explorer. Paste any URL, get rich result cards, sortable tables, CSV export.
import requests
response = requests.get(
'https://www.socialcrawl.dev/v1/tiktok/profile',
params={'handle': 'charlidamelio'},
headers={'x-api-key': 'sc_YOUR_API_KEY'}
)
data = response.json(){
"success": true,
"platform": "tiktok",
"data": {
"author": {
"username": "charlidamelio",
"followers": 152400000
},
"engagement": {
"likes": 12400000000,
"engagement_rate": 0.087
},
"metadata": {
"language": "en",
"content_category": "lifestyle"
}
}
}Have a question? We got answers
Find answers to frequently asked questions about SocialCrawl's API, pricing, and capabilities.
Contact usHow do I get every video in a YouTube playlist?
Where do I find a YouTube playlist ID?
What fields come back for each video in the playlist?
Does this work for 'Watch later' or private playlists?
How much does one playlist request cost?
Ask AI about SocialCrawl
Ready to scrape YouTube Playlist data?
Get your API key and start pulling YouTube data in under 60 seconds.
