YouTube channel videos by channel id
justoneapi.x.youtube-get-channel-videos-v1Retrieve public videos from a YouTube channel, with optional cursor-based pagination.
- Price
- $0.01476/successAt list price
- Success rate
- 100%Last 30 days · 337 calls
- Latency p50
- 1.8 sp95 2.9 s
- Last verified
- Jul 28, 2026Verified working
GEThttps://toolswitch.dev/v1/tools/justoneapi.x.youtube-get-channel-videos-v1?cursor=0&channelId=UC_x5XG1OV2P6uZZ5FSM9TtwBeta- Uses platform quota
- Synchronous response
- Reads public data
Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
cursor | string | Optional | The cursor for pagination. | 0 |
channelId | string | Required | The unique identifier for a YouTube channel. | UC_x5XG1OV2P6uZZ5FSM9Ttw |
- Query parameters
cursorstringOptionalThe cursor for pagination.
Example:
0channelIdstringRequiredThe unique identifier for a YouTube channel.
Example:
UC_x5XG1OV2P6uZZ5FSM9Ttw
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
Beta
curl -X GET 'https://toolswitch.dev/v1/tools/justoneapi.x.youtube-get-channel-videos-v1?cursor=0&channelId=UC_x5XG1OV2P6uZZ5FSM9Ttw' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/justoneapi.x.youtube-get-channel-videos-v1?cursor=0&channelId=UC_x5XG1OV2P6uZZ5FSM9Ttw",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/justoneapi.x.youtube-get-channel-videos-v1?cursor=0&channelId=UC_x5XG1OV2P6uZZ5FSM9Ttw", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in beta; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.01476/success, including the service fee.