YouTube API docs

YouTube API: Playlist — By user identifier

Load a paginated collection of Playlist from YouTube for synchronization, archiving, and monitoring.

Use “By user identifier” for recurring collection workflows where item order and next-page continuation matter.

Method GET
Entity Playlist
Versions 2
What this endpoint does

What you can build with this API method

Review the result and common workflows first, then move to parameters and a working request example.

What this endpoint helps with

The response includes a Playlist collection, per-item context, and a cursor for the next page.

When to use it

Use “By user identifier” for recurring collection workflows where item order and next-page continuation matter.

Common use cases

Data synchronization

Move new YouTube items into internal storage sequentially.

Archiving

Store available public collections for search and later processing.

Recurring monitoring

Continue from the latest page and detect newly available objects.

Available versions

Response version

Both versions solve the same job and accept the same parameters. Use the switch to compare the response structure and choose the version your client expects.

Response version V2

Switch versions on this page to compare response structures while keeping the same documentation URL.

What stays the same

Authentication, required parameters, and the request shape stay the same across V1 and V2. In practice, you choose the version when you build the endpoint path and when you parse the response.

What changes between versions

The main difference is the response envelope. Use V2 for new integrations and keep V1 only when you need compatibility with an existing client contract.

How to use it

How to call the method

Use the same API key header and the same query parameters for both versions. This documentation shows the shared parameter set first, then version-specific endpoint paths and code snippets.

Input parameters

Shared parameters
Parameter Required Type Example Description
cursor No str | None QVFB... Next-page cursor returned by the previous response. Omit it for the first page.
user_identifier No str mkbhd YouTube channel handle, username, or channel identifier. Example: mkbhd.

Version-specific request path

V2

Choose a version when you copy the exact endpoint path, example URL, and code snippet. The parameter list above stays the same.

GET /api/v2/youtube.com/playlist/by-user-identifier

Normalized format

Code examples

curl --request GET \
  --url "https://www.scrapestorm.net/api/v2/youtube.com/playlist/by-user-identifier" \
  --header "X-API-Key: 00000000-0000-4000-8000-000000000000" \
  # Optional parameters:
  # --data-urlencode 'cursor=QVFB...'
  # --data-urlencode 'user_identifier=mkbhd'
Response example

Live response by version

The preview keeps key fields and the first collection items so you can scan the response shape quickly. Switching versions changes the JSON format.

Response example

V2 response JSON

Verified example

This compact JSON example comes from the latest successful verification run for V2.

{
  "success": true,
  "status": "ok",
  "pagination": {
    "cursor": null,
    "has_more": false
  },
  "search_context": {
    "user_identifier": "mkbhd"
  },
  "data": {
    "playlists": {
      "count": 23,
      "items": [
        {
          "url": "https://www.youtube.com/playlist?list=PLBsP89CPrMeNIuvr9j3_EQaMwaNJ6rhuQ",
          "playlist_id": "PLBsP89CPrMeNIuvr9j3_EQaMwaNJ6rhuQ",
          "title": "Retro Tech S2",
          "playlist_type": "series",
          "video_count": 5,
          "content_count_text": "5 episodes",
          "first_video_id": "ifI_fwg55k8",
          "first_video_url": "https://www.youtube.com/watch?v=ifI_fwg55k8&list=PLBsP89CPrMeNIuvr9j3_EQaMwaNJ6rhuQ",
          "thumbnail_url": "https://example.com/image.jpg",
          "thumbnails": [
            {
              "url": "https://i.ytimg.com/vi/ifI_fwg55k8/hqdefault.jpg?sqp=-oaymwEXCOADEI4CSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLB60CMX6sapZh-Ie9FtxWJza9a9QA",
              "width": 480,
              "height": 270
            }
          ]
        },
        {
          "url": "https://www.youtube.com/playlist?list=PLBsP89CPrMeO7uztAu6YxSB10cRMpjgiY",
          "playlist_id": "PLBsP89CPrMeO7uztAu6YxSB10cRMpjgiY",
          "title": "Retro Tech",
          "playlist_type": "series",
          "video_count": 11,
          "content_count_text": "11 episodes",
          "first_video_id": "kMtN9KJHn5Y",
          "first_video_url": "https://www.youtube.com/watch?v=kMtN9KJHn5Y&list=PLBsP89CPrMeO7uztAu6YxSB10cRMpjgiY",
          "thumbnail_url": "https://example.com/image.jpg",
          "thumbnails": [
            {
              "url": "https://i.ytimg.com/vi/kMtN9KJHn5Y/hqdefault.jpg?sqp=-oaymwEXCOADEI4CSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLC0TNdLeMkXHV1ZDh1TcFSCFIhhgw",
              "width": 480,
              "height": 270
            }
          ]
        },
        {
          "_more_items": 21
        }
      ]
    }
  }
}
What to do next

Continue the evaluation

Use this documentation as the first decision point, then move into pricing, platform coverage, and integration rules before you connect the endpoint for recurring use.

Open the YouTube platform page

Compare adjacent entities, API method groups, and related docs before implementation.

Open platform page

Compare API method pricing

Check where this API method sits inside the public price table before you scale usage.

View pricing

Review integration rules

Use the starter docs to confirm authentication, versioning, retries, and mock vs live behavior.

Open docs
FAQ

Questions teams ask before implementation

Use these answers to decide whether this API method fits your workflow, versioning choice, and rollout plan.

What data does this YouTube API method return?

The method performs “By user identifier” for Playlist. The compact response example below shows the exact field structure.

Should I choose V1 or V2?

Choose V2 for new integrations because it provides a normalized structure. Use V1 only for compatibility with clients that already consume the platform-native format.

What do I need for the first request?

Create an API key, send it in the request header, and provide the required parameters from the table. The code samples already contain the correct path and request structure.