TTechAPI
RapidAPI

YouTube Data API without a Google key or daily quota

Channel statistics, video details, Shorts, comments, transcripts, search results, playlists and community posts as clean JSON, from one REST API. 21 endpoints, callable from any language, n8n, Make, Zapier or an AI agent.

Open on RapidAPI

What you get

No Google quota

No Google Cloud project, no API key from Google and no 10,000-unit daily limit.

Exact numbers

Exact view and like counts and real dates where YouTube has them; rounded fields say so.

Cached for speed

Answers are cached for a time that suits the data. Send X-CACHEBYPASS: 1 for a fresh one.

Pagination built in

Every list returns a continuation token; pass it back as token for the next page.

Familiar shape

Paths, parameters and field names follow the popular yt-api, so switching needs no code changes.

Clear errors

error, code and msg in every error body. Errors on our side cost nothing.

Who it is for

Analytics dashboards

Track channels, uploads, views and likes over time.

Influencer and competitor research

Compare channels, find creators, follow their new videos.

SEO and content research

Search with filters, read search suggestions, study what ranks.

AI apps and agents

Give an LLM live YouTube data: transcripts, comments and metadata.

How to use it

  1. Open the API on RapidAPI and subscribe to a plan. The free plan is enough to try it.
  2. Copy your X-RapidAPI-Key from the Endpoints tab.
  3. Call any endpoint with the key and the host header, as in the examples below.

Channels

EndpointRequiredReturns
GET /channel/aboutid or forUsernameDetails: subscribers, total views and videos, country, join date, links
GET /channel/homeid or forUsernameThe shelves of the channel's Home tab
GET /channel/videosid or forUsernameThe channel's videos, 30 a page (also POST)
GET /channel/shortsid or forUsernameThe channel's Shorts, 48 a page (also POST)
GET /channel/liveStreamsid or forUsernamePast, live and upcoming streams (also POST)
GET /channel/playlistsid or forUsernameThe playlists the channel made
GET /channel/communityid or forUsernameThe channel's community posts

Videos and Shorts

EndpointRequiredReturns
GET /video/infoidViews, likes, description, captions list, storyboards; extend=1 adds chapters and more
GET /shorts/infoidOne Short's details; extend=1 adds length, keywords and more
GET /relatedidRelated videos

Transcripts and comments

EndpointRequiredReturns
GET /get_transcriptidTimed caption segments in any language the video has (lang)
GET /commentsidA video's comments, 20 a page, top or newest first
GET /post/commentsidA community post's comments

Search

EndpointRequiredReturns
GET /searchqueryVideos, Shorts, channels, playlists and movies, with filters
GET /suggest_queriesqueryYouTube's search-box suggestions

Playlists, posts and links

EndpointRequiredReturns
GET /playlistidA playlist and its videos, 100 a page
GET /post/infoidOne community post
GET /resolveurlWhat a YouTube link points at: channel, video, Short or playlist

Call it from code

cURL
curl -G "https://yt-channel-video-data-api.p.rapidapi.com/channel/about" \
  --data-urlencode "id=@MrBeast" \
  -H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
  -H "X-RapidAPI-Host: yt-channel-video-data-api.p.rapidapi.com"

Input

ParameterTypeWhat it does
idstringAn id, a link or, for channels, an @handle: UCX6OQ3DkcsbYNE6H8uQQuVA, @MrBeast, https://youtu.be/0e3GPea1Tyg
forUsernamestringA handle or legacy user name, when you have no id
tokenstringThe continuation of the previous page, for the next page
sort_bystringChannel lists: newest (default), popular, oldest. Comments: top (default), newest. Search: relevance (default), popularity
type, duration, upload_date, featuresstringSearch filters, e.g. type=video, duration=under3min, upload_date=week, features=HD,subtitles
lang, geostringLanguage of YouTube's texts (default en) and country (default US). On /get_transcript, lang picks the caption language
extend1On /video/info and /shorts/info: more fields

Output

Each endpoint returns JSON. GET /channel/about?id=@MrBeast (shortened):

FieldWhat it is
channelId, title, channelHandleThe channel
subscriberCount, subscriberCountTextSubscribers as a number and as YouTube writes it
viewCount, videosCountTotal views and videos
country, joinedDateCountry and join date (YYYY-MM-DD)
description, keywords, linksAbout text, keywords and the channel's links
avatar, bannerImages in several sizes
isVerified, isFamilySafeFlags

Errors look like {"error": "BAD_REQUEST", "code": "400", "msg": "Invalid id"}.

Example output
{
  "channelId": "UCX6OQ3DkcsbYNE6H8uQQuVA",
  "title": "MrBeast",
  "channelHandle": "@MrBeast",
  "isVerified": true,
  "subscriberCountText": "528M",
  "subscriberCount": 528000000,
  "videosCount": "1017",
  "viewCount": "148391757036",
  "country": "United States",
  "joinedDate": "2012-02-19",
  "description": "SUBSCRIBE FOR A COOKIE! ...",
  "links": [
    {
      "title": "Twitter",
      "url": "https://twitter.com/MrBeast"
    }
  ],
  "avatar": [
    {
      "url": "https://yt3.googleusercontent.com/...",
      "width": 72,
      "height": 72
    }
  ]
}

Use it with AI agents

Through RapidAPI you get 21 tools, one per endpoint, such as Video_Details, Channel_Videos, Search and Comments. Pick your assistant:

Terminal
claude mcp add --transport http ttech-data https://mcp.rapidapi.com \
  --header "x-api-host: yt-channel-video-data-api.p.rapidapi.com" \
  --header "x-api-key: YOUR_RAPIDAPI_KEY"

Brief for any LLM

Endpoints, inputs, outputs, examples and MCP setup in one Markdown text. Paste it into ChatGPT, Claude or Gemini and ask for the code you need. Also at /youtube-data-api.md.

Good to know

  • Only public YouTube data. Private and deleted videos answer an error.
  • Numbers are parsed only from English answers (lang unset or en); other languages return the text fields.
  • A transcript counts as 2 requests; extend=1 and X-CACHEBYPASS: 1 add one each.
  • Errors from our side (5xx) are not billed.

FAQ

Do I need a YouTube or Google API key?

No. You only need a RapidAPI key.

Is this the official YouTube API?

No. It returns the same public data people see on YouTube, as JSON. It is not affiliated with YouTube or Google.

I use yt-api. Do I need to change my code?

Usually only the host and key: paths, parameters and field names follow yt-api on purpose.

Which languages can call it?

Any language that can make an HTTPS request: Python, JavaScript, PHP, Go, and no-code tools such as n8n, Make and Zapier.