GET /v1/channels/{idOrHandle}
GET
/v1/channels/{idOrHandle}Resolve a channel identifier (Channel ID like UC..., Handle like @MrBeast, or custom name) into normalized channel metadata. Cost: 0 credits (Free).
Parameters
| Parameter | In | Type | Description |
|---|---|---|---|
| idOrHandle | path | string (required) | Channel ID (UC...), @handle, or custom channel URL identifier. |
GET/v1/channels/@RickAstleyVEVO
1curl "https://api.ytapi.dev/v1/channels/@RickAstleyVEVO" \
2 -H "Authorization: Bearer yta_YOUR_KEY"200 OK
1{
2 "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
3 "title": "Rick Astley",
4 "description": "The official YouTube channel for Rick Astley.",
5 "handle": "@RickAstleyVEVO"
6}GET /v1/channels/{channelId}/latest
GET
/v1/channels/{channelId}/latestFetch the most recent videos uploaded to a channel (up to 15 items via RSS feed). Cost: 0 credits (Free).
Parameters
| Parameter | In | Type | Description |
|---|---|---|---|
| channelId | path | string (UC...) | YouTube Channel ID. |
GET/v1/channels/UC38IQsAvIsxxjztdMZQtwHA/latest
1curl "https://api.ytapi.dev/v1/channels/UC38IQsAvIsxxjztdMZQtwHA/latest" \
2 -H "Authorization: Bearer yta_YOUR_KEY"200 OK
1{
2 "channel_id": "UC38IQsAvIsxxjztdMZQtwHA",
3 "items": [
4 {
5 "video_id": "dQw4w9WgXcQ",
6 "title": "Never Gonna Give You Up",
7 "published_at": "2009-10-25T06:57:33Z"
8 }
9 ]
10}