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.
| Endpoint | Returns | Credits | Cache |
|---|---|---|---|
| channelGET /v1/youtube/channel | One YouTube channel by handle. | 1 | 15 min |
| videoGET /v1/youtube/video | One YouTube video with views and engagement. | 1 | 10 min |
| searchGET /v1/youtube/search | YouTube videos matching a keyword. | 1 | 2 min |
| transcriptGET /v1/youtube/transcript | Full transcript of a YouTube video. | 5 | 10 min |
| hashtagGET /v1/youtube/hashtag | Posts under a YouTube hashtag. | 1 | 2 min |
| channel/videosGET /v1/youtube/channel/videos | Uploads a YouTube channel lists on its videos tab, newest first, with views and duration. | 5 | 30 min |
| channel/shortsGET /v1/youtube/channel/shorts | Shorts a YouTube channel lists on its Shorts tab, with views per clip. | 5 | 30 min |
| channel/playlistsGET /v1/youtube/channel/playlists | Playlists a YouTube channel publishes, newest first. | 5 | 30 min |
| channel/livesGET /v1/youtube/channel/lives | Live and scheduled broadcasts on a YouTube channel, with the audience text upstream shows. | 5 | 30 min |
| channel/aboutGET /v1/youtube/channel/about | The about panel of a YouTube channel: full description, joined date, totals and outbound links. | 1 | 15 min |
| channel/community-postsGET /v1/youtube/channel/community-posts | Community posts a YouTube channel published on its posts tab, with likes and comments. | 5 | 10 min |
| community-postGET /v1/youtube/community-post | One YouTube community post by URL, with its text, images or poll, and counts. | 1 | 10 min |
| playlistGET /v1/youtube/playlist | One YouTube playlist with its owner, item count, views and description. | 1 | 10 min |
| playlist/itemsGET /v1/youtube/playlist/items | The videos in one YouTube playlist, in playlist order, with position, duration and views. | 5 | 10 min |
| video/relatedGET /v1/youtube/video/related | Videos YouTube ranks beside one video, in the order the page lists them. | 5 | 30 min |
| search/suggestionsGET /v1/youtube/search/suggestions | What the YouTube search box suggests for a partial query, in rank order. | 1 | 2 min |
| search/advancedGET /v1/youtube/search/advanced | Videos on YouTube for one query with the result filters set: view sort, upload window and duration band. | 1 | 2 min |
| search/playlistsGET /v1/youtube/search/playlists | Playlists on YouTube matching a query, with the owner channel, item count and a few sample videos. | 1 | 2 min |
| video/thumbnailsGET /v1/youtube/video/thumbnails | Every thumbnail size YouTube publishes for one video, largest last. | 1 | 10 min |
| channelsGET /v1/youtube/channels | Channels matching a query, with handle, subscribers, video count and description. | 1 | 2 min |
| video/commentsGET /v1/youtube/video/comments | Top-level YouTube comments on one video, in the order the watch page ranks them. | 5 | 5 min |
| video/comment/repliesGET /v1/youtube/video/comment/replies | Replies YouTube publishes under one comment, oldest first. | 5 | 5 min |
Connect your agent over MCP
Remote MCP server: https://data.openkrill.app/mcp with your key in the x-api-key header.
claude mcp add --transport http krilldata \
https://data.openkrill.app/mcp \
--header "x-api-key: YOUR_API_KEY"{
"mcpServers": {
"krilldata": {
"url": "https://data.openkrill.app/mcp",
"headers": {
"x-api-key": "YOUR_API_KEY"
}
}
}
}{
"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"
}
}
}
}