Skip to Content

Profile Podcasts

A channel's podcasts.

GET
/v1/youtube/profile/podcasts

Authorization

apiKey
headerAuthorizationBearer <token>

An API key from the dashboard: Authorization: Bearer sapi_….

Query Parameters

handle?string

The channel's handle, with or without @.

channelId?string

The channel's id, instead of handle.

url?string

The channel's link, instead of either.

cursor?string

nextCursor of the previous page.

maxAge?integer

How old a cached answer may be, in seconds; 0 always fetches. Default and most: the endpoint's cache lifetime.

Formatint64
Range0 <= value

Response Body

The answer.

application/json
  1. response

A page of a list, as every list endpoint answers: { "data": [...], "pagination": … }.

data*array<>
pagination*
Example Request
import { SocialAPI } from "@socialapihq/sdk";const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });const { data, pagination } = await client.youtube.profilePodcasts({ handle: "LinusTechTips" });
Example Response
{  "data": [    {      "id": "PL8mG-RkN2uTw7PhlnAr4pZZz2QubIbujH",      "name": "The WAN Show (Legacy)",      "url": "https://www.youtube.com/playlist?list=PL8mG-RkN2uTw7PhlnAr4pZZz2QubIbujH",      "coverUrl": "https://i.ytimg.com/pl_c/PL8mG-RkN2uTw7PhlnAr4pZZz2QubIbujH/studio_square_thumbnail.jpg?sqp=CMGEm9gG-oaymwEICNAFENAFSFqi85f_AwYIwe77sQY=&rs=AOn4CLA5mLWNCGH6YlA1xrF12WXEVHzPtw",      "posts": 578,      "ext": {        "description": null,        "views": null,        "owner": null,        "updatedText": null,        "podcast": true      }    }  ],  "pagination": {    "nextCursor": null,    "hasMore": false  }}