Ssocialgraph.dev
API reference / YouTube API / Channel sections list

YouTube channel sections API: the sections on a channel's page

Read-only YouTube Data API v3 channelSections list endpoint.

1 credit per successful call Errors are never charged No login or OAuth needed

About the Channel sections list endpoint

The YouTube channel sections API returns the shelves that make up a channel's home page: popular uploads, featured playlists, channel lists and more, each with its type, title, position and the playlists or channels it contains. It is the YouTube Data API v3 channelSections.list endpoint, available with your socialgraph.dev key.

What you can build with it

  • Reproduce a channel's curated layout in your own app
  • Discover a channel's featured playlists and partner channels
  • Audit how creators organise their channel pages

Request

GET https://socialgraph.dev/api/v1/youtube/channelSections

Send your API key as Authorization: Bearer YOUR_API_KEY. Parameters go in the query string.

Parameters

NameTypeDescription
part
required
string Required. Comma-separated: id, snippet or contentDetails. For example: snippet,contentDetails
channelId
optional
string Channel whose sections to retrieve (provide channelId or id). For example: UC_x5XG1OV2P6uZZ5FSM9Ttw
id
optional
string Comma-separated channel section IDs (provide channelId or id).

Code examples


Example response

{
    "etag": "oghhgcbb2C_C_6s8MWSKObejd4E",
    "kind": "youtube#channelSectionListResponse",
    "items": [
        {
            "id": "UC_x5XG1OV2P6uZZ5FSM9Ttw.jNQXAC9IVRw",
            "etag": "v6KvpTOEAW9JFehN8c9zR7zUUBo",
            "kind": "youtube#channelSection",
            "snippet": {
                "type": "singleplaylist",
                "position": 0,
                "channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw"
            },
            "contentDetails": {
                "playlists": [
                    "PLOU2XLYxmsILZpGc5gWRO1vL0n9CtcPJL"
                ]
            }
        },
        {
            "id": "UC_x5XG1OV2P6uZZ5FSM9Ttw.LeAltgu_pbM",
            "etag": "21oBsmUkTERfRGGjdbv1PvKT9f8",
            "kind": "youtube#channelSection",
            "snippet": {
                "type": "singleplaylist",
                "position": 1,
                "channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw"
            },
            "contentDetails": {
                "playlists": [
                    "PLOU2XLYxmsILW9WPRNDoIc00hM8wTO2KW"
                ]
            }
        },
        {
            "id": "UC_x5XG1OV2P6uZZ5FSM9Ttw.nGzAI5pLbMY",
            "etag": "RG7IrLFspen-O38HCN4JguAAVgY",
            "kind": "youtube#channelSection",
            "snippet": {
                "type": "singleplaylist",
                "position": 2,
                "channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw"
            },
            "contentDetails": {
                "playlists": [
                    "PLOU2XLYxmsIKfqoxytJ70EOjSVexbqbtc"
                ]
            }
        },
        {
            "id": "UC_x5XG1OV2P6uZZ5FSM9Ttw.__WLXNpu6u8",
            "etag": "NA9zmBXhXD7doWHW30CV9bICJ-o",
            "kind": "youtube#channelSection",
            "snippet": {
                "type": "singleplaylist",
                "position": 3,
                "channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw"
            },
            "contentDetails": {
                "playlists": [
                    "PLOU2XLYxmsILPSnN-a3unnIhC-aSITPtY"
                ]
            }
        },
        {
            "id": "UC_x5XG1OV2P6uZZ5FSM9Ttw.Zx4DA4xg9IM",
            "etag": "gAlHti9Pi0Qrlso4GyNRYvASBnE",
            "kind": "youtube#channelSection",
            "snippet": {
                "type": "singleplaylist",
                "position": 4,
                "channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw"
            },
            "contentDetails": {
                "playlists": [
                    "PLOU2XLYxmsILjV1uxlO218NglwaSiqhFA"
                ]
            }
        },
        {
            "id": "UC_x5XG1OV2P6uZZ5FSM9Ttw.MykmTeTiooA",
            "etag": "gghoFX55YW4i3bNGwPbfN72rb0Q",
            "kind": "youtube#channelSection",
            "snippet": {
                "type": "channelsectiontypeundefined",
                "position": 5,
                "channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw"
            }
        }
    ]
}

Errors

StatusMeaningCharged?
401Missing, invalid or revoked API keyNo
402Not enough credits (insufficient_credits)No
404The account or post doesn't existNo
422Missing or invalid parametersNo
502 / 503The data source is temporarily unavailableNo

All error codes →

Channel sections list API: frequently asked questions

What is a YouTube channel section?

A shelf on the channel's home page, for example Popular uploads, a featured playlist or a list of recommended channels. Each section has a type, a title and the content it shows.

Which parameters does it take?

part (id, snippet or contentDetails) is required, and either channelId or a comma-separated list of section ids.

Do I need my own Google API key?

No. The call is made with socialgraph.dev's key, so you avoid Google Cloud setup and quota management.

Is the response format YouTube's?

Yes, the standard channelSectionListResponse from the YouTube Data API v3.

How much does the Channel sections list endpoint cost?

1 credit per successful call (0.002 USD at 500 credits per dollar). Errors, "not found" responses and invalid input are never charged, and credits never expire.

Can I try the Channel sections list API without signing up?

Yes. The live demo on this page runs a real request with a fixed sample input, free and without an account. Creating a free account gives you 100 credits to test every endpoint with your own inputs.

Try it live: Channel sections list GET

🔒 Preset demo input. Live demos use the Google for Developers channel, youtube.com/@GoogleDevelopers. Sign up free to use your own.

Start with 100 free credits

Create an account in seconds. No card, no subscription. Credits never expire.

Create free account →