Profile Podcasts
A channel's podcasts.
GET
apiKeyheader
AuthorizationBearer <token>An API key from the dashboard: Authorization: Bearer sapi_….
handle?stringThe channel's handle, with or without @.
channelId?stringThe channel's id, instead of handle.
url?stringThe channel's link, instead of either.
cursor?stringnextCursor of the previous page.
maxAge?integerHow old a cached answer may be, in seconds; 0 always fetches. Default and most: the endpoint's cache lifetime.
Format
int64Range
0 <= valueThe answer.
application/json- response
A page of a list, as every list endpoint answers: { "data": [...], "pagination": … }.
data*array<>pagination*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 }}