YouTube data API

22 endpoints for YouTube: channel, video, search, transcript, hashtag, channel videos, channel shorts, channel playlists, channel lives, channel about, channel community posts, community post, playlist, playlist items, video related, search suggestions, search advanced, search playlists, video thumbnails, channels, video comments, video comment replies. One API key, one JSON schema, as MCP tools or REST.

Endpoints

Call any of them over MCP with call_endpoint and its path, or over REST.

EndpointReturnsCreditsCache
channelGET /v1/youtube/channelOne YouTube channel by handle.115 min
videoGET /v1/youtube/videoOne YouTube video with views and engagement.110 min
searchGET /v1/youtube/searchYouTube videos matching a keyword.12 min
transcriptGET /v1/youtube/transcriptFull transcript of a YouTube video.510 min
hashtagGET /v1/youtube/hashtagPosts under a YouTube hashtag.12 min
channel/videosGET /v1/youtube/channel/videosUploads a YouTube channel lists on its videos tab, newest first, with views and duration.530 min
channel/shortsGET /v1/youtube/channel/shortsShorts a YouTube channel lists on its Shorts tab, with views per clip.530 min
channel/playlistsGET /v1/youtube/channel/playlistsPlaylists a YouTube channel publishes, newest first.530 min
channel/livesGET /v1/youtube/channel/livesLive and scheduled broadcasts on a YouTube channel, with the audience text upstream shows.530 min
channel/aboutGET /v1/youtube/channel/aboutThe about panel of a YouTube channel: full description, joined date, totals and outbound links.115 min
channel/community-postsGET /v1/youtube/channel/community-postsCommunity posts a YouTube channel published on its posts tab, with likes and comments.510 min
community-postGET /v1/youtube/community-postOne YouTube community post by URL, with its text, images or poll, and counts.110 min
playlistGET /v1/youtube/playlistOne YouTube playlist with its owner, item count, views and description.110 min
playlist/itemsGET /v1/youtube/playlist/itemsThe videos in one YouTube playlist, in playlist order, with position, duration and views.510 min
video/relatedGET /v1/youtube/video/relatedVideos YouTube ranks beside one video, in the order the page lists them.530 min
search/suggestionsGET /v1/youtube/search/suggestionsWhat the YouTube search box suggests for a partial query, in rank order.12 min
search/advancedGET /v1/youtube/search/advancedVideos on YouTube for one query with the result filters set: view sort, upload window and duration band.12 min
search/playlistsGET /v1/youtube/search/playlistsPlaylists on YouTube matching a query, with the owner channel, item count and a few sample videos.12 min
video/thumbnailsGET /v1/youtube/video/thumbnailsEvery thumbnail size YouTube publishes for one video, largest last.110 min
channelsGET /v1/youtube/channelsChannels matching a query, with handle, subscribers, video count and description.12 min
video/commentsGET /v1/youtube/video/commentsTop-level YouTube comments on one video, in the order the watch page ranks them.55 min
video/comment/repliesGET /v1/youtube/video/comment/repliesReplies YouTube publishes under one comment, oldest first.55 min

Connect your agent over MCP

Remote MCP server: https://data.openkrill.app/mcp with your key in the x-api-key header.

Claude Code · Run in a terminal
claude mcp add --transport http krilldata \
  https://data.openkrill.app/mcp \
  --header "x-api-key: YOUR_API_KEY"
Cursor · Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "krilldata": {
      "url": "https://data.openkrill.app/mcp",
      "headers": {
        "x-api-key": "YOUR_API_KEY"
      }
    }
  }
}
Claude Desktop · Add to claude_desktop_config.json
{
  "mcpServers": {
    "krilldata": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://data.openkrill.app/mcp",
        "--header",
        "x-api-key:${API_KEY}"
      ],
      "env": {
        "API_KEY": "YOUR_API_KEY"
      }
    }
  }
}
YouTube data API for AI agents | KrillData