YouTube API

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"
The response

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
200 OK · application/json
{
  "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
  }
}
Reference

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

NameTypeDescription
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.

Open the reference

Use cases

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.

Pricing

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.

5,000requests a month
5005,00050,000250,000
5,000video transcripts
5,000searches or video lookups
100,000comments

One credit is one request that returns data. Requests that return nothing are free.

Best fit
Builder pack
12,000 credits, one-time payment
$29once
  • $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
Start with 100 free credits

See all packs and what a credit buys

FAQ

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.

Guides

Step-by-step guides

More

More YouTube APIs

Make your first request in a minute

Sign in, copy your key and call an endpoint. Your account starts with 100 free credits.