YouTube Channel Videos API
Get the latest uploads of a channel, newest first, with views, duration and publish time, and the channel profile in the same answer.
- 100 free credits
- No card needed
- No Google Cloud project or OAuth
curl "https://pipefetch.com/v1/youtube/channel/videos?channel=%40mkbhd&limit=10" \
-H "x-api-key: YOUR_API_KEY"const res = await fetch('https://pipefetch.com/v1/youtube/channel/videos?channel=%40mkbhd&limit=10', {
headers: { 'x-api-key': process.env.PIPEFETCH_API_KEY },
});
const { data, credits } = await res.json();import os, requests
res = requests.get(
"https://pipefetch.com/v1/youtube/channel/videos",
params={"channel": "@mkbhd", "limit": 10},
headers={"x-api-key": os.environ["PIPEFETCH_API_KEY"]},
)
data = res.json()["data"]What you get
- Up to 30 of the latest uploads, newest first
- Title, link, thumbnail, duration and publish time for each
- View counts as YouTube displays them, converted to numbers
- The channel profile, so one call is enough
{
"data": {
"channel": {
"id": "UCBJycsmduvYEL83R_U4JriQ",
"handle": "@mkbhd",
"title": "Marques Brownlee",
"url": "https://www.youtube.com/@mkbhd",
"description": "MKBHD: Quality Tech Videos | YouTuber | Geek | Consumer Electronics | Tech Head | Internet Personality!\n\nbusiness@MKBHD.com\n\nNYC",
"keywords": [
"MKBHD",
"MarquesBrownlee"
],
"subscriberCount": 21400000,
"videoCount": 1800,
"avatarUrl": "https://yt3.googleusercontent.com/qu4TmIaYUlS41-dJ9gZ7DUR3nilvmB5_11i6OKSdvNnBNiyOusZP1bMN6ICnuxtjFBb6ioKgRQ=s900-c-k-c0x00ffffff-no-rj",
"rssUrl": "https://www.youtube.com/feeds/videos.xml?channel_id=UCBJycsmduvYEL83R_U4JriQ",
"isFamilySafe": true
},
"videos": [
{
"videoId": "KTDJiVpSDTI",
"url": "https://www.youtube.com/watch?v=KTDJiVpSDTI",
"title": "Can You Trust MKBHD?",
"publishedAt": "2026-11-17T19:30:11.900Z",
"publishedText": "10 hours ago",
"durationSeconds": 859,
"viewCount": 1700000,
"viewCountIsExact": false,
"isShort": false,
"isLive": false,
"thumbnailUrl": "https://i.ytimg.com/vi/KTDJiVpSDTI/hq720.jpg?sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLBOWjJjhywnruZoW1bRSHpWiDaawA"
},
{
"videoId": "hdMszZ2ah5Q",
"url": "https://www.youtube.com/watch?v=hdMszZ2ah5Q",
"title": "Macbook PROLED Review: It's Not About That",
"publishedAt": "2026-11-12T05:30:11.900Z",
"publishedText": "6 days ago",
"durationSeconds": 914,
"viewCount": 6300000,
"viewCountIsExact": false,
"isShort": false,
"isLive": false,
"thumbnailUrl": "https://i.ytimg.com/vi/hdMszZ2ah5Q/hq720.jpg?sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLD0HF46llGxRDz9L9cu4IGbzzIDPg"
}
]
},
"credits": {
"used": 1,
"remaining": 99
}
}One GET request
Everything the endpoint accepts. The full reference, with the complete example response, is in the docs.
GET/v1/youtube/channel/videos
Costs 1 credit per request. Only requests that return data are charged.
Parameters
| Name | Type | Description |
|---|---|---|
channelrequired |
string | Channel handle (@mkbhd), channel id (UC…) or any channel URL. |
limitoptional |
integer | How many of the latest uploads to return. Default: 30. From 1 to 30. |
Good to know
- View counts and dates in a channel list are YouTube's display values (1.7M views, 10 hours ago), converted to numbers and timestamps. Call the video endpoint when you need exact figures.
- The channel itself is included in every answer, so you do not need a second call for it.
What people build with it
New upload alerts
Poll a list of channels and act when a video id appears that you have not seen.
Competitor and creator tracking
See how often a channel publishes and how its recent videos perform.
Content feeds
Show a channel's latest videos in your own app or newsletter.
Buy credits once. Use them whenever.
This endpoint costs 1 credit per request, and a request that returns no data costs nothing. Move the slider to see what your volume costs.
One credit is one request that returns data. Requests that return nothing are free.
- $2.42 per 1,000 requests
- About $12.08 a month at this pace
- Lasts about 2.4 months at this pace
- Credits never expire
Questions and answers
How many videos does one request return?
Up to 30, the latest uploads. Reaching further back into a channel's history is not available yet.
Are view counts exact?
No. A channel list carries YouTube's display values (1.7M views, 10 hours ago), converted to numbers and timestamps. Use the video endpoint for exact figures on the videos you care about.
Are Shorts included?
No. YouTube keeps Shorts on a separate tab; use the Shorts endpoint for those.
What does a request cost?
One request costs 1 credit. Credit packs start at $9 for 3,000 credits, never expire, and a request that returns no data is not charged. New accounts get 100 free credits without a card.
Step-by-step guides
More YouTube APIs
-
1 credit
YouTube Transcript API
The transcript of any public video with captions, as plain text, timestamped segments, SRT or WebVTT.
GET /v1/youtube/transcript -
1 credit
YouTube Video API
Exact views, likes and comment count, description, tags, chapters and channel for one video.
GET /v1/youtube/video -
1 credit
YouTube Channel API
Subscribers, video count, description, keywords and avatar for a channel, from a handle, id or URL.
GET /v1/youtube/channel -
1 credit
YouTube Shorts API
The Shorts of a channel, newest first, with view counts and thumbnails.
GET /v1/youtube/channel/shorts -
1 credit
YouTube Search API
YouTube search results for a query, with the same sorting and filters the site offers.
GET /v1/youtube/search -
1 credit / 20
YouTube Comments API
Top or newest comments of a video with likes, reply counts, pinned and hearted flags.
GET /v1/youtube/comments
Make your first request in a minute
Sign in, copy your key and call an endpoint. Your account starts with 100 free credits.