YouTube API
Returns video details and statistics, channel profiles and about pages, search results, a channel's videos, Shorts and community posts with their comments, and YouTube Charts by country: top songs, videos, artists, Shorts songs and trending videos.
View as Markdown| GET | /youtube/video | Details and statistics of one video. |
| GET | /youtube/channel | Profile and statistics of one channel. |
| GET | /youtube/search | Videos that match a search, about 20 per page. Sort and filter by upload date or length. |
| GET | /youtube/searchChannels | Channels that match a search by name or handle, about 20 per page, most relevant first. |
| GET | /youtube/searchPlaylists | Playlists that match a search, about 20 per page, most relevant first. |
| GET | /youtube/channelVideos | Videos of a channel's Videos tab, about 30 per page, newest first. |
| GET | /youtube/channelShorts | Shorts of a channel's Shorts tab, about 30 per page, newest first. |
| GET | /youtube/channelSearch | Videos of one channel that match a search, about 20 per page. |
| GET | /youtube/playlist | Title, owner and the first videos of one playlist, about 100. Page through every video with youtube/playlistVideos. |
| GET | /youtube/playlistVideos | Videos of one playlist in playlist order, about 100 per page. |
| GET | /youtube/comments | Comments of one video, about 20 per page; replies come from commentReplies. |
| GET | /youtube/commentReplies | Replies to one comment, about 10 per page. Give the cursor of a comment from comments, or the video and the comment id. |
| GET | /youtube/transcript | Transcript of one video as timed segments, from its caption tracks. |
| GET | /youtube/chapters | Chapters of one video, each with its title and start time, as the chapter bar of the watch page shows them. Empty when the video has none. |
| GET | /youtube/suggestions | YouTube search suggestions for partial text, the autocomplete of the search box. |
| GET | /youtube/hashtag | Videos and Shorts on a hashtag page, the videos the page lists first. |
| GET | /youtube/related | Videos YouTube suggests beside one video, about 20 per page. |
| GET | /youtube/channelStreams | Live and past streams of a channel's Streams tab, about 30 per page, newest first. |
| GET | /youtube/musicCharts | YouTube Music charts for a country: the chart playlists of each shelf, such as top songs or top music videos. Read a playlist with playlist. |
| GET | /youtube/charts | YouTube Charts of a country: top songs, music videos, artists, songs most used in Shorts, or trending videos, with views and rank changes. |
| GET | /youtube/channelPlaylists | Playlists of a channel's Playlists tab, about 20 per page, in the order YouTube shows them. |
| GET | /youtube/channelReleases | Music releases (albums, EPs and singles) of a channel's Releases tab, as playlists. |
| GET | /youtube/channelPosts | Community posts of a channel's Posts tab: text, likes, comments and an image or video when the post has one. |
| GET | /youtube/channelAbout | About panel of one YouTube channel: description, country, join date, total views and links. |
| GET | /youtube/post | One YouTube community post: text, image or video, likes and comment count. |
| GET | /youtube/postComments | Comments of one YouTube community post, paged. |
| GET | /youtube/postCommentReplies | Replies to one comment of a YouTube community post, paged. Give the repliesCursor of a comment from postComments. |
video
/v1/youtube/videoDetails and statistics of one video.
Parameters
idstring required | Video id or URL (watch, youtu.be, shorts, embed or live). e.g. dQw4w9WgXcQ |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
25 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
category | string |
commentCount | integer (int64) |
description | string |
durationSeconds | integer (int64) |
id | string |
isFamilySafe | boolean |
isLive | boolean |
isUnlisted | boolean |
keywords | Keyword[] |
name | string |
likeCount | integer (int64) |
publishedAt | string |
thumbnails | Image[] |
height | any |
url | string |
width | any |
title | string |
url | string |
viewCount | integer (int64) |
curl "https://api.hoshime.com/v1/youtube/video?id=dQw4w9WgXcQ" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/youtube/video?id=dQw4w9WgXcQ", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/youtube/video?id=dQw4w9WgXcQ", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "author": { "avatarUrl": "", "id": "UCuAXFkgsw1L7xaCfnd5JJOw", "name": "Rick Astley", "url": "https://www.youtube.com/@RickAstleyYT", "username": "" }, "category": "Music", "commentCount": 0, "description": "The official video for “Never Gonna Give You Up” by Rick Astley. \n\nNever: The Autobiography 📚 OUT NOW! \nFollow this link to get your copy an…", "durationSeconds": 213, "id": "dQw4w9WgXcQ", "isFamilySafe": true, "isLive": false, "isUnlisted": false, "keywords": [ { "name": "rick astley" }, { "name": "Never Gonna Give You Up" } ], "likeCount": 19512654, "publishedAt": "2009-10-24T23:57:33-07:00", "thumbnails": [ { "height": 94, "url": "https://i.ytimg.com/vi/dQw4w9WgXcQ/hqdefault.jpg?sqp=-oaymwEfCKgBEF5IVfKriqkDEggBFQAAiEIYAXABwAEGuAL3GA==&rs=AOn4CLC9WBYZy9CXoxgDzOPLDvSovJt…", "width": 168 }, { "height": 110, "url": "https://i.ytimg.com/vi/dQw4w9WgXcQ/hqdefault.jpg?sqp=-oaymwEfCMQBEG5IVfKriqkDEggBFQAAiEIYAXABwAEGuAL3GA==&rs=AOn4CLAiXv3ebbiL1d6gH5bsOg7Yh9D…", "width": 196 } ], "title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)", "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ", "viewCount": 1839179904 }, "meta": { "cached": false, "endpoint": "video", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "youtube", "requestId": "req_2Xb9kQ…", "units": 1 } }
channel
/v1/youtube/channelProfile and statistics of one channel.
Parameters
idstring required | Channel id (UC…), @handle, or channel URL. e.g. @YouTube |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
23 fields
avatar | Image[] |
height | any |
url | string |
width | any |
avatarUrl | string |
banner | Image[] |
height | any |
url | string |
width | any |
bio | string |
createdAt | string |
followerCount | integer (int64) |
followingCount | integer (int64) |
handle | string |
id | string |
isFamilySafe | boolean |
keywords | string |
name | string |
postCount | integer (int64) |
url | string |
username | string |
verified | boolean |
videoCount | integer (int64) |
curl "https://api.hoshime.com/v1/youtube/channel?id=%40YouTube" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/youtube/channel?id=%40YouTube", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/youtube/channel?id=%40YouTube", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "avatar": [ { "height": 900, "url": "https://yt3.googleusercontent.com/LaXtRHwowjJqq8TZcqGx-QDFcFax_vz-5e8tgKaK0Un7Z2UX9lQfTdJixYP0go_A6XXmBC9l=s900-c-k-c0x00ffffff-no-rj", "width": 900 } ], "avatarUrl": "", "banner": [ { "height": 175, "url": "https://yt3.googleusercontent.com/pu4lHq_GOUBQrX4q4PmtylOZ4iIu4hvI4xnu0H2x6nyXN7CVDIyMup8SmXbySDja72p2gUmL=w1060-fcrop64=1,00005a57ffffa5a8-…", "width": 1060 }, { "height": 188, "url": "https://yt3.googleusercontent.com/pu4lHq_GOUBQrX4q4PmtylOZ4iIu4hvI4xnu0H2x6nyXN7CVDIyMup8SmXbySDja72p2gUmL=w1138-fcrop64=1,00005a57ffffa5a8-…", "width": 1138 } ], "bio": "YouTube's official YouTube channel", "createdAt": "", "followerCount": 46800000, "followingCount": 0, "handle": "@YouTube", "id": "UCBR8-60-B28hp2BmDPdntcQ", "isFamilySafe": true, "keywords": "youtube official channel", "name": "YouTube", "postCount": 0, "url": "https://www.youtube.com/channel/UCBR8-60-B28hp2BmDPdntcQ", "username": "YouTube", "verified": false, "videoCount": 1700 }, "meta": { "cached": false, "endpoint": "channel", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "youtube", "requestId": "req_2Xb9kQ…", "units": 1 } }
search
/v1/youtube/searchVideos that match a search, about 20 per page. Sort and filter by upload date or length.
Parameters
querystring | Search terms. Required for the first page. e.g. music |
sortstring | Order of the results: relevance (the default), date, views or rating.relevancedateviewsratingdefault relevance |
uploadedstring | Only videos uploaded in this period. Default: any time.hourtodayweekmonthyear |
durationstring | Only videos of this length: under4 (under 4 minutes), 4to20 (4 to 20 minutes) or over20 (over 20 minutes). Default: any length.under44to20over20 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
21 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
commentCount | integer (int64) |
description | string |
duration | string |
durationSeconds | integer (int64) |
id | string |
likeCount | integer (int64) |
publishedAt | string |
publishedText | string |
thumbnails | Image[] |
height | any |
url | string |
width | any |
title | string |
url | string |
viewCount | integer (int64) |
curl "https://api.hoshime.com/v1/youtube/search?query=music" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/youtube/search?query=music", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/youtube/search?query=music", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "", "id": "UCL6LeUgTnxt1XsJVS71RTAQ", "name": "JsVibes Music", "url": "", "username": "" }, "commentCount": 0, "description": "tiktok #tiktoksong #countrymusic #lovesong #viralsong #trendingsong #coversong #song #englishsongs #spotify #spotifyplaylist ...", "duration": "1:43:24", "durationSeconds": 6204, "id": "ggJnvwQj4hE", "likeCount": 0, "publishedAt": "", "publishedText": "6 days ago", "thumbnails": [ { "height": 202, "url": "https://i.ytimg.com/vi/ggJnvwQj4hE/hq720.jpg?sqp=-oaymwEcCOgCEMoBSFXyq4qpAw4IARUAAIhCGAFwAcABBqLzl_8DDgj1-eDXBhjg6gQg4KgB&rs=AOn4CLCydCUUkhi…", "width": 360 }, { "height": 404, "url": "https://i.ytimg.com/vi/ggJnvwQj4hE/hq720.jpg?sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBqLzl_8DDgj1-eDXBhjg6gQg4KgB&rs=AOn4CLBP-5Bwkhz…", "width": 720 } ], "title": "Top 100 Hits Music Spotify 2026🟢 || Soft Acoustic Healing English Songs -- Viral Tiktok Songs 2026🎧", "url": "https://www.youtube.com/watch?v=ggJnvwQj4hE", "viewCount": 461973 }, { "author": { "avatarUrl": "", "id": "UCL6LeUgTnxt1XsJVS71RTAQ", "name": "JsVibes Music", "url": "", "username": "" }, "commentCount": 0, "description": "tiktok #tiktoksong #countrymusic #lovesong #viralsong #trendingsong #coversong #song #englishsongs #spotify #spotifyplaylist ...", "duration": "1:50:17", "durationSeconds": 6617, "id": "HxwdAykdbVY", "likeCount": 0, "publishedAt": "", "publishedText": "2 days ago", "thumbnails": [ { "height": 202, "url": "https://i.ytimg.com/vi/HxwdAykdbVY/hq720.jpg?sqp=-oaymwEcCOgCEMoBSFXyq4qpAw4IARUAAIhCGAFwAcABBqLzl_8DDgjipfbXBhjg6gQg4KgB&rs=AOn4CLARous8q1K…", "width": 360 }, { "height": 404, "url": "https://i.ytimg.com/vi/HxwdAykdbVY/hq720.jpg?sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBqLzl_8DDgjipfbXBhjg6gQg4KgB&rs=AOn4CLCzEGtEgbz…", "width": 720 } ], "title": "🦋Top 30 Hits Music Spotify 2026 || The Best Trending on Tiktok Songs -- Hot hits Pop Songs Playlist🎧", "url": "https://www.youtube.com/watch?v=HxwdAykdbVY", "viewCount": 103661 } ], "meta": { "cached": false, "endpoint": "search", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "youtube", "requestId": "req_2Xb9kQ…", "units": 1 } }
searchChannels
/v1/youtube/searchChannelsChannels that match a search by name or handle, about 20 per page, most relevant first.
Parameters
querystring | Search terms. Required for the first page. e.g. rick astley |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
11 fields
avatarUrl | string |
bio | string |
createdAt | string |
followerCount | integer (int64) |
followingCount | integer (int64) |
id | string |
name | string |
postCount | integer (int64) |
url | string |
username | string |
verified | boolean |
curl "https://api.hoshime.com/v1/youtube/searchChannels?query=rick+astley" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/youtube/searchChannels?query=rick+astley", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/youtube/searchChannels?query=rick+astley", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "avatarUrl": "https://yt3.ggpht.com/_ShEGOdg-t5YGJse14Ooq6FYBZqX_QSlhaTNjG06miYusm5lWm1UroLyVxnYtahADfRTVLtuVQ=s88-c-k-c0x00ffffff-no-rj-mo", "bio": "Rick Astley's Swinging Christmas 2026 Dec 9th, Royal Albert Hall. SOLD OUT.", "createdAt": "", "followerCount": 4560000, "followingCount": 0, "id": "UCuAXFkgsw1L7xaCfnd5JJOw", "name": "Rick Astley", "postCount": 0, "url": "https://www.youtube.com/@RickAstleyYT", "username": "RickAstleyYT", "verified": false }, { "avatarUrl": "https://yt3.googleusercontent.com/ytc/AIdro_mijkWmzdH6rKzW7NAfxGFFfWR7RyLzUYDndcTz8HwDYQ=s88-c-k-c0x00ffffff-no-rj-mo", "bio": "This is a Channel dedicated to upload videos of Rick Astley, videos with the best quality and interviews and live performings.", "createdAt": "", "followerCount": 1090, "followingCount": 0, "id": "UCMUJz6s0H1rLFnebEx_a63A", "name": "Rick Astley World", "postCount": 0, "url": "https://www.youtube.com/@rickastleyworld6474", "username": "rickastleyworld6474", "verified": false } ], "meta": { "cached": false, "endpoint": "searchChannels", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "youtube", "requestId": "req_2Xb9kQ…", "units": 1 } }
searchPlaylists
/v1/youtube/searchPlaylistsPlaylists that match a search, about 20 per page, most relevant first.
Parameters
querystring | Search terms. Required for the first page. e.g. lo-fi beats |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
8 fields
id | string |
thumbnails | Image[] |
height | any |
url | string |
width | any |
title | string |
url | string |
videoCount | integer (int64) |
curl "https://api.hoshime.com/v1/youtube/searchPlaylists?query=lo-fi+beats" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/youtube/searchPlaylists?query=lo-fi+beats", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/youtube/searchPlaylists?query=lo-fi+beats", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "id": "PLe0XBeaAl1KElgUjwGuNtut0AdjryI4DD", "thumbnails": [ { "height": 202, "url": "https://i.ytimg.com/vi/CFGLoQIhmow/hq720.jpg?sqp=-oaymwEXCOgCEMoBSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLBfZuToSA2wdLJXhwXADGoRWtOrSQ", "width": 360 }, { "height": 404, "url": "https://i.ytimg.com/vi/CFGLoQIhmow/hq720.jpg?sqp=-oaymwEXCNAFEJQDSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLBEFYODHUorBGSS7EfKNbOsxx0sBw", "width": 720 } ], "title": "Lofi girl best cleaning/studying/relaxing mix🧺📖🧖♀️", "url": "https://www.youtube.com/playlist?list=PLe0XBeaAl1KElgUjwGuNtut0AdjryI4DD", "videoCount": 17 }, { "id": "RDCLAK5uy_kb7EBi6y3GrtJri4_ZH56Ms786DFEimbM", "thumbnails": [ { "height": 180, "url": "https://i9.ytimg.com/s_p/RDCLAK5uy_kb7EBi6y3GrtJri4_ZH56Ms786DFEimbM/mqdefault.jpg?sqp=CKyqgtgGir7X7AMICPyC_dcGEAE=&rs=AOn4CLAZ4HYdfeiZYH2Js…", "width": 180 }, { "height": 640, "url": "https://i9.ytimg.com/s_p/RDCLAK5uy_kb7EBi6y3GrtJri4_ZH56Ms786DFEimbM/sddefault.jpg?sqp=CKyqgtgGir7X7AMICPyC_dcGEAE=&rs=AOn4CLDeSGGINYa78s-pW…", "width": 640 } ], "title": "Lofi Loft", "url": "https://www.youtube.com/playlist?list=RDCLAK5uy_kb7EBi6y3GrtJri4_ZH56Ms786DFEimbM", "videoCount": 86 } ], "meta": { "cached": false, "endpoint": "searchPlaylists", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "youtube", "requestId": "req_2Xb9kQ…", "units": 1 } }
channelVideos
/v1/youtube/channelVideosVideos of a channel's Videos tab, about 30 per page, newest first.
Parameters
idstring required | Channel id (UC…), @handle, or channel URL. e.g. @YouTube |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
21 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
commentCount | integer (int64) |
description | string |
duration | string |
durationSeconds | integer (int64) |
id | string |
likeCount | integer (int64) |
publishedAt | string |
publishedText | string |
thumbnails | Image[] |
height | any |
url | string |
width | any |
title | string |
url | string |
viewCount | integer (int64) |
curl "https://api.hoshime.com/v1/youtube/channelVideos?id=%40YouTube" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/youtube/channelVideos?id=%40YouTube", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/youtube/channelVideos?id=%40YouTube", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "", "id": "", "name": "YouTube and 2 more", "url": "", "username": "" }, "commentCount": 0, "description": "", "duration": "7:21", "durationSeconds": 441, "id": "dD33lDxL9K0", "likeCount": 0, "publishedAt": "", "publishedText": "7 days ago", "thumbnails": [ { "height": 202, "url": "https://i.ytimg.com/vi/dD33lDxL9K0/hq720_custom_1.jpg?sqp=CKyqgtgG-oaymwEgCOgCEMoBSFXyq4qpAxIIARUAAIhCGAFwAcABBrgC8xg=&rs=AOn4CLCxtCyPGE1cm4…", "width": 360 }, { "height": 404, "url": "https://i.ytimg.com/vi/dD33lDxL9K0/hq720_custom_1.jpg?sqp=CKyqgtgG-oaymwEgCNAFEJQDSFXyq4qpAxIIARUAAIhCGAFwAcABBrgC8xg=&rs=AOn4CLAHUaQckMUC3_…", "width": 720 } ], "title": "Sourav Joshi drew sketches for $5. Now he has 42 million subscribers", "url": "https://www.youtube.com/watch?v=dD33lDxL9K0", "viewCount": 1300000 }, { "author": { "avatarUrl": "", "id": "", "name": "", "url": "", "username": "" }, "commentCount": 0, "description": "", "duration": "1:01", "durationSeconds": 61, "id": "8vAPJgyoO9g", "likeCount": 0, "publishedAt": "", "publishedText": "8 days ago", "thumbnails": [ { "height": 202, "url": "https://i.ytimg.com/vi/8vAPJgyoO9g/hq720.jpg?sqp=-oaymwEgCOgCEMoBSFXyq4qpAxIIARUAAIhCGAFwAcABBrgC8xg=&rs=AOn4CLCiVdntc5FYUEhdDhhLMr4XVbf60Q", "width": 360 }, { "height": 404, "url": "https://i.ytimg.com/vi/8vAPJgyoO9g/hq720.jpg?sqp=-oaymwEgCNAFEJQDSFXyq4qpAxIIARUAAIhCGAFwAcABBrgC8xg=&rs=AOn4CLB_I-9qHPaGdwBmh5I4GxL2S3-F-A", "width": 720 } ], "title": "TRAILER | Launch Day: YouTube's 24 Hour GTAVI Live Stream", "url": "https://www.youtube.com/watch?v=8vAPJgyoO9g", "viewCount": 14000000 } ], "meta": { "cached": false, "endpoint": "channelVideos", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "youtube", "requestId": "req_2Xb9kQ…", "units": 1 } }
channelShorts
/v1/youtube/channelShortsShorts of a channel's Shorts tab, about 30 per page, newest first.
Parameters
idstring required | Channel id (UC…), @handle, or channel URL. e.g. @YouTube |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
21 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
commentCount | integer (int64) |
description | string |
duration | string |
durationSeconds | integer (int64) |
id | string |
likeCount | integer (int64) |
publishedAt | string |
publishedText | string |
thumbnails | Image[] |
height | any |
url | string |
width | any |
title | string |
url | string |
viewCount | integer (int64) |
curl "https://api.hoshime.com/v1/youtube/channelShorts?id=%40YouTube" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/youtube/channelShorts?id=%40YouTube", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/youtube/channelShorts?id=%40YouTube", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "", "id": "", "name": "", "url": "", "username": "" }, "commentCount": 0, "description": "", "duration": "", "durationSeconds": 0, "id": "3mwmwKBb44c", "likeCount": 0, "publishedAt": "", "publishedText": "", "thumbnails": [ { "height": 1920, "url": "https://i.ytimg.com/vi/3mwmwKBb44c/frame0.jpg", "width": 1080 } ], "title": "and the crowd goes wild! @VanossGaming had a 🚌and a dream.", "url": "https://www.youtube.com/watch?v=3mwmwKBb44c", "viewCount": 16000 }, { "author": { "avatarUrl": "", "id": "", "name": "", "url": "", "username": "" }, "commentCount": 0, "description": "", "duration": "", "durationSeconds": 0, "id": "tA2HL05pT24", "likeCount": 0, "publishedAt": "", "publishedText": "", "thumbnails": [ { "height": 1920, "url": "https://i.ytimg.com/vi/tA2HL05pT24/frame0.jpg", "width": 1080 } ], "title": "guess who walked through HQ? @BoyThrob!! check out their new song Christmas in America tomorrow", "url": "https://www.youtube.com/watch?v=tA2HL05pT24", "viewCount": 37000 } ], "meta": { "cached": false, "endpoint": "channelShorts", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "youtube", "requestId": "req_2Xb9kQ…", "units": 1 } }
channelSearch
/v1/youtube/channelSearchVideos of one channel that match a search, about 20 per page.
Parameters
idstring required | Channel id (UC…), @handle, or channel URL. e.g. @YouTube |
querystring | Search terms. Required for the first page. e.g. music |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
21 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
commentCount | integer (int64) |
description | string |
duration | string |
durationSeconds | integer (int64) |
id | string |
likeCount | integer (int64) |
publishedAt | string |
publishedText | string |
thumbnails | Image[] |
height | any |
url | string |
width | any |
title | string |
url | string |
viewCount | integer (int64) |
curl "https://api.hoshime.com/v1/youtube/channelSearch?id=%40YouTube&query=music" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/youtube/channelSearch?id=%40YouTube&query=music", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/youtube/channelSearch?id=%40YouTube&query=music", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "", "id": "UCBR8-60-B28hp2BmDPdntcQ", "name": "YouTube", "url": "", "username": "" }, "commentCount": 0, "description": "", "duration": "0:07", "durationSeconds": 7, "id": "yahGkJP8FkQ", "likeCount": 0, "publishedAt": "", "publishedText": "1 year ago", "thumbnails": [ { "height": 94, "url": "https://i.ytimg.com/vi/yahGkJP8FkQ/hqdefault.jpg?sqp=-oaymwE1CKgBEF5IVfKriqkDKAgBFQAAiEIYAHABwAEG8AEB-AHOBYACgAqKAgwIABABGEYgUShlMA8=&rs=AOn…", "width": 168 }, { "height": 110, "url": "https://i.ytimg.com/vi/yahGkJP8FkQ/hqdefault.jpg?sqp=-oaymwE1CMQBEG5IVfKriqkDKAgBFQAAiEIYAHABwAEG8AEB-AHOBYACgAqKAgwIABABGEYgUShlMA8=&rs=AOn…", "width": 196 } ], "title": "iconic 🍍 @KarolG", "url": "https://www.youtube.com/watch?v=yahGkJP8FkQ", "viewCount": 53573250 }, { "author": { "avatarUrl": "", "id": "UCBR8-60-B28hp2BmDPdntcQ", "name": "YouTube", "url": "", "username": "" }, "commentCount": 0, "description": "", "duration": "0:04", "durationSeconds": 4, "id": "vEAAg7130mQ", "likeCount": 0, "publishedAt": "", "publishedText": "1 year ago", "thumbnails": [ { "height": 94, "url": "https://i.ytimg.com/vi/vEAAg7130mQ/hq2.jpg?sqp=-oaymwE1CKgBEF5IVfKriqkDKAgBFQAAiEIYAHABwAEG8AEB-AG2CIACgA-KAgwIABABGFMgXChlMA8=&rs=AOn4CLB45…", "width": 168 }, { "height": 110, "url": "https://i.ytimg.com/vi/vEAAg7130mQ/hq2.jpg?sqp=-oaymwE1CMQBEG5IVfKriqkDKAgBFQAAiEIYAHABwAEG8AEB-AG2CIACgA-KAgwIABABGFMgXChlMA8=&rs=AOn4CLDI3…", "width": 196 } ], "title": "happy almost valentine’s day to your ears ❤️ #asmr #urwelcome #valentines", "url": "https://www.youtube.com/watch?v=vEAAg7130mQ", "viewCount": 32682216 } ], "meta": { "cached": false, "endpoint": "channelSearch", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "youtube", "requestId": "req_2Xb9kQ…", "units": 1 } }
playlist
/v1/youtube/playlistTitle, owner and the first videos of one playlist, about 100. Page through every video with youtube/playlistVideos.
Parameters
idstring required | Playlist id (PL…, UU…, OLAK5…) or playlist URL. e.g. PLFgquLnL59alCl_2TQvOiD5Vgm1hCaGSI |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
29 fields
channelId | string |
channelName | string |
id | string |
items | SearchVideo[] |
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
commentCount | integer (int64) |
description | string |
duration | string |
durationSeconds | integer (int64) |
id | string |
likeCount | integer (int64) |
publishedAt | string |
publishedText | string |
thumbnails | Image[] |
height | any |
url | string |
width | any |
title | string |
url | string |
viewCount | integer (int64) |
title | string |
url | string |
videoCount | integer (int64) |
viewCount | integer (int64) |
curl "https://api.hoshime.com/v1/youtube/playlist?id=PLFgquLnL59alCl_2TQvOiD5Vgm1hCaGSI" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/youtube/playlist?id=PLFgquLnL59alCl_2TQvOiD5Vgm1hCaGSI", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/youtube/playlist?id=PLFgquLnL59alCl_2TQvOiD5Vgm1hCaGSI", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "channelId": "UC-9-kyTW8ZkZNDHQJ6FgpwQ", "channelName": "Music", "id": "PLFgquLnL59alCl_2TQvOiD5Vgm1hCaGSI", "items": [ { "author": { "avatarUrl": "", "id": "", "name": "Peso Pluma", "url": "", "username": "" }, "commentCount": 0, "description": "", "duration": "3:55", "durationSeconds": 235, "id": "fOT0BUpITw8", "likeCount": 0, "publishedAt": "", "publishedText": "2 years ago", "thumbnails": [ { "height": 94, "url": "https://i.ytimg.com/vi/fOT0BUpITw8/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLCHzPOFWFFW5Mokwjjn3GfsT0Crgw", "width": 168 }, { "height": 110, "url": "https://i.ytimg.com/vi/fOT0BUpITw8/hqdefault.jpg?sqp=-oaymwEbCMQBEG5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLD6EMiYNe7cXQPI-VEEXm4Dd44hzQ", "width": 196 } ], "title": "BELLAKEO (Video Oficial) - Peso Pluma, Anitta", "url": "https://www.youtube.com/watch?v=fOT0BUpITw8", "viewCount": 779000000 }, { "author": { "avatarUrl": "", "id": "", "name": "Arcangel", "url": "", "username": "" }, "commentCount": 0, "description": "", "duration": "10:50", "durationSeconds": 650, "id": "NFvDHYMzj9U", "likeCount": 0, "publishedAt": "", "publishedText": "2 years ago", "thumbnails": [ { "height": 94, "url": "https://i.ytimg.com/vi/NFvDHYMzj9U/hqdefault.jpg?sqp=-oaymwE1CKgBEF5IVfKriqkDKAgBFQAAiEIYAXABwAEG8AEB-AH-CYAC0AWKAgwIABABGGMgYyhjMA8=&rs=AOn…", "width": 168 }, { "height": 110, "url": "https://i.ytimg.com/vi/NFvDHYMzj9U/hqdefault.jpg?sqp=-oaymwE1CMQBEG5IVfKriqkDKAgBFQAAiEIYAXABwAEG8AEB-AH-CYAC0AWKAgwIABABGGMgYyhjMA8=&rs=AOn…", "width": 196 } ], "title": "Arcángel - FN8 ( Video Lyric )", "url": "https://www.youtube.com/watch?v=NFvDHYMzj9U", "viewCount": 32000000 } ], "title": "Popular Music Videos", "url": "https://www.youtube.com/playlist?list=PLFgquLnL59alCl_2TQvOiD5Vgm1hCaGSI", "videoCount": 182, "viewCount": 1045678456 }, "meta": { "cached": false, "endpoint": "playlist", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "youtube", "requestId": "req_2Xb9kQ…", "units": 1 } }
playlistVideos
/v1/youtube/playlistVideosVideos of one playlist in playlist order, about 100 per page.
Parameters
idstring required | Playlist id (PL…, UU…, OLAK5…) or playlist URL. e.g. PLFgquLnL59alCl_2TQvOiD5Vgm1hCaGSI |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
21 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
commentCount | integer (int64) |
description | string |
duration | string |
durationSeconds | integer (int64) |
id | string |
likeCount | integer (int64) |
publishedAt | string |
publishedText | string |
thumbnails | Image[] |
height | any |
url | string |
width | any |
title | string |
url | string |
viewCount | integer (int64) |
curl "https://api.hoshime.com/v1/youtube/playlistVideos?id=PLFgquLnL59alCl_2TQvOiD5Vgm1hCaGSI" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/youtube/playlistVideos?id=PLFgquLnL59alCl_2TQvOiD5Vgm1hCaGSI", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/youtube/playlistVideos?id=PLFgquLnL59alCl_2TQvOiD5Vgm1hCaGSI", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "", "id": "", "name": "Peso Pluma", "url": "", "username": "" }, "commentCount": 0, "description": "", "duration": "3:55", "durationSeconds": 235, "id": "fOT0BUpITw8", "likeCount": 0, "publishedAt": "", "publishedText": "2 years ago", "thumbnails": [ { "height": 94, "url": "https://i.ytimg.com/vi/fOT0BUpITw8/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLCHzPOFWFFW5Mokwjjn3GfsT0Crgw&usqp…", "width": 168 }, { "height": 110, "url": "https://i.ytimg.com/vi/fOT0BUpITw8/hqdefault.jpg?sqp=-oaymwEbCMQBEG5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLD6EMiYNe7cXQPI-VEEXm4Dd44hzQ&usqp…", "width": 196 } ], "title": "BELLAKEO (Video Oficial) - Peso Pluma, Anitta", "url": "https://www.youtube.com/watch?v=fOT0BUpITw8", "viewCount": 779000000 }, { "author": { "avatarUrl": "", "id": "", "name": "Arcangel", "url": "", "username": "" }, "commentCount": 0, "description": "", "duration": "10:50", "durationSeconds": 650, "id": "NFvDHYMzj9U", "likeCount": 0, "publishedAt": "", "publishedText": "2 years ago", "thumbnails": [ { "height": 94, "url": "https://i.ytimg.com/vi/NFvDHYMzj9U/hqdefault.jpg?sqp=-oaymwE1CKgBEF5IVfKriqkDKAgBFQAAiEIYAXABwAEG8AEB-AH-CYAC0AWKAgwIABABGGMgYyhjMA8=&rs=AOn…", "width": 168 }, { "height": 110, "url": "https://i.ytimg.com/vi/NFvDHYMzj9U/hqdefault.jpg?sqp=-oaymwE1CMQBEG5IVfKriqkDKAgBFQAAiEIYAXABwAEG8AEB-AH-CYAC0AWKAgwIABABGGMgYyhjMA8=&rs=AOn…", "width": 196 } ], "title": "Arcángel - FN8 ( Video Lyric )", "url": "https://www.youtube.com/watch?v=NFvDHYMzj9U", "viewCount": 32000000 } ], "meta": { "cached": false, "endpoint": "playlistVideos", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "youtube", "requestId": "req_2Xb9kQ…", "units": 1 } }
comments
/v1/youtube/commentsComments of one video, about 20 per page; replies come from commentReplies.
Parameters
idstring required | Video id or URL. e.g. dQw4w9WgXcQ |
sortstring | top (the default) or newest.topnewestdefault top |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
13 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
createdAt | string |
id | string |
likeCount | integer (int64) |
publishedText | string |
repliesCursor | string |
replyCount | integer (int64) |
text | string |
curl "https://api.hoshime.com/v1/youtube/comments?id=dQw4w9WgXcQ" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/youtube/comments?id=dQw4w9WgXcQ", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/youtube/comments?id=dQw4w9WgXcQ", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "", "id": "UCKrzgYonJnMd0Dk7zQXjYXw", "name": "@grustache4569", "url": "", "username": "" }, "createdAt": "", "id": "UgzKYksqeQ5gA3t0g0F4AaABAg", "likeCount": 109000, "publishedText": "6 years ago (edited)", "repliesCursor": "Eg0SC2RRdzR3OVdnWGNRGAYygwEaUBIaVWd6S1lrc3FlUTVnQTN0MGcwRjRBYUFCQWciAggAKhhVQ3VBWEZrZ3N3MUw3eGFDZm5kNUpKT3cyC2RRdzR3OVdnWGNRQAFICoIBAggBQi9j…", "replyCount": 733, "text": "I Rick rolled my entire French class because we had to study a city in France and make a quiz about it as well as a presentation, I decided …" }, { "author": { "avatarUrl": "", "id": "UCHpvHTRSILoOFKWX5oFCYDA", "name": "@LK-ht7qz", "url": "", "username": "" }, "createdAt": "", "id": "Ugw10bSluCDSZMIxUSB4AaABAg", "likeCount": 223000, "publishedText": "6 years ago", "repliesCursor": "Eg0SC2RRdzR3OVdnWGNRGAYygwEaUBIaVWd3MTBiU2x1Q0RTWk1JeFVTQjRBYUFCQWciAggAKhhVQ3VBWEZrZ3N3MUw3eGFDZm5kNUpKT3cyC2RRdzR3OVdnWGNRQAFICoIBAggBQi9j…", "replyCount": 661, "text": "Let’s put the meme aside, this is actually a banging song." } ], "meta": { "cached": false, "endpoint": "comments", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "youtube", "requestId": "req_2Xb9kQ…", "units": 1 } }
commentReplies
/v1/youtube/commentRepliesReplies to one comment, about 10 per page. Give the cursor of a comment from comments, or the video and the comment id.
Parameters
cursorstring | repliesCursor of a comment from comments, or nextCursor of the previous page of replies. |
idstring | Video id or URL of the comment, when no cursor is given. e.g. dQw4w9WgXcQ |
commentIdstring | Id of a top comment of that video (in its first pages of comments), when no cursor is given. e.g. UgzKYksqeQ5gA3t0g0F4AaABAg |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
13 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
createdAt | string |
id | string |
likeCount | integer (int64) |
publishedText | string |
repliesCursor | string |
replyCount | integer (int64) |
text | string |
curl "https://api.hoshime.com/v1/youtube/commentReplies?id=dQw4w9WgXcQ&commentId=UgzKYksqeQ5gA3t0g0F4AaABAg" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/youtube/commentReplies?id=dQw4w9WgXcQ&commentId=UgzKYksqeQ5gA3t0g0F4AaABAg", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/youtube/commentReplies?id=dQw4w9WgXcQ&commentId=UgzKYksqeQ5gA3t0g0F4AaABAg", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "", "id": "UCWU69Qbi3A6Bzx4xU-UeK7g", "name": "@egdog_tm", "url": "", "username": "" }, "createdAt": "", "id": "UgzKYksqeQ5gA3t0g0F4AaABAg.91a9XW7osVT952pvnnAzll", "likeCount": 6900, "publishedText": "6 years ago", "repliesCursor": "", "replyCount": 0, "text": "The biggest comrade ever" }, { "author": { "avatarUrl": "", "id": "UCFVN9hXPkEfbWBCdNZW6ezA", "name": "@andrejhofer2007", "url": "", "username": "" }, "createdAt": "", "id": "UgzKYksqeQ5gA3t0g0F4AaABAg.91a9XW7osVT953cxv6qamK", "likeCount": 6400, "publishedText": "6 years ago", "repliesCursor": "", "replyCount": 0, "text": "You sir, are a legend" } ], "meta": { "cached": false, "endpoint": "commentReplies", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "youtube", "requestId": "req_2Xb9kQ…", "units": 1 } }
transcript
/v1/youtube/transcriptTranscript of one video as timed segments, from its caption tracks.
Parameters
idstring required | Video id or URL. e.g. dQw4w9WgXcQ |
langstring | Language code, such as en, id or de. Default: the track YouTube selects first. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
7 fields
id | string |
language | string |
segments | Segment[] |
duration | number (double) |
start | number (double) |
text | string |
text | string |
curl "https://api.hoshime.com/v1/youtube/transcript?id=dQw4w9WgXcQ" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/youtube/transcript?id=dQw4w9WgXcQ", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/youtube/transcript?id=dQw4w9WgXcQ", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "id": "dQw4w9WgXcQ", "language": "English", "segments": [ { "duration": 1.68, "start": 1.36, "text": "[♪♪♪]" }, { "duration": 3.24, "start": 18.64, "text": "♪ We're no strangers to love ♪" } ], "text": "[♪♪♪] ♪ We're no strangers to love ♪ ♪ You know the rules and so do I ♪ ♪ A full commitment's what I'm thinking of ♪ ♪ You wouldn't get this…" }, "meta": { "cached": false, "endpoint": "transcript", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "youtube", "requestId": "req_2Xb9kQ…", "units": 1 } }
chapters
/v1/youtube/chaptersChapters of one video, each with its title and start time, as the chapter bar of the watch page shows them. Empty when the video has none.
Parameters
idstring required | Video id or URL. e.g. jNQXAC9IVRw |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
2 fields
startSeconds | integer (int64) |
title | string |
curl "https://api.hoshime.com/v1/youtube/chapters?id=jNQXAC9IVRw" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/youtube/chapters?id=jNQXAC9IVRw", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/youtube/chapters?id=jNQXAC9IVRw", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "startSeconds": 0, "title": "Intro" }, { "startSeconds": 5, "title": "The cool thing" } ], "meta": { "cached": false, "endpoint": "chapters", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "youtube", "requestId": "req_2Xb9kQ…", "units": 1 } }
suggestions
/v1/youtube/suggestionsYouTube search suggestions for partial text, the autocomplete of the search box.
Parameters
querystring required | Partial search text. e.g. music |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
3 fields
query | string |
suggestions | Suggestion[] |
text | string |
curl "https://api.hoshime.com/v1/youtube/suggestions?query=music" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/youtube/suggestions?query=music", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/youtube/suggestions?query=music", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "query": "music", "suggestions": [ { "text": "music" }, { "text": "music videos" } ] }, "meta": { "cached": false, "endpoint": "suggestions", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "youtube", "requestId": "req_2Xb9kQ…", "units": 1 } }
hashtag
/v1/youtube/hashtagVideos and Shorts on a hashtag page, the videos the page lists first.
Parameters
tagstring required | Hashtag, with or without the #, or its youtube.com/hashtag URL. e.g. music |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
21 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
commentCount | integer (int64) |
description | string |
duration | string |
durationSeconds | integer (int64) |
id | string |
likeCount | integer (int64) |
publishedAt | string |
publishedText | string |
thumbnails | Image[] |
height | any |
url | string |
width | any |
title | string |
url | string |
viewCount | integer (int64) |
curl "https://api.hoshime.com/v1/youtube/hashtag?tag=music" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/youtube/hashtag?tag=music", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/youtube/hashtag?tag=music", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "", "id": "UChvdpkJqIaVo7kbKPtmKXhA", "name": "NAGASWARA Official Video Indonesian Music Channel", "url": "", "username": "" }, "commentCount": 0, "description": "", "duration": "4:25", "durationSeconds": 265, "id": "UFeSWGl_34U", "likeCount": 0, "publishedAt": "", "publishedText": "14y ago", "thumbnails": [ { "height": 94, "url": "https://i.ytimg.com/vi/UFeSWGl_34U/hqdefault.jpg?sqp=-oaymwEmCKgBEF5IWvKriqkDGQgBFQAAiEIYAdgBAeIBCggYEAIYBjgBQAE=&rs=AOn4CLAGmfusBpGisLc-MbY…", "width": 168 }, { "height": 110, "url": "https://i.ytimg.com/vi/UFeSWGl_34U/hqdefault.jpg?sqp=-oaymwEmCMQBEG5IWvKriqkDGQgBFQAAiEIYAdgBAeIBCggYEAIYBjgBQAE=&rs=AOn4CLDISQ48StZjoWfQV-2…", "width": 196 } ], "title": "T2 - OK (Official Music Video NAGASWARA) #music", "url": "https://www.youtube.com/watch?v=UFeSWGl_34U", "viewCount": 68675884 }, { "author": { "avatarUrl": "", "id": "UCOm7KflPvUOitwUQptv-hgQ", "name": "AMBYAR EVERYWHERE", "url": "", "username": "" }, "commentCount": 0, "description": "", "duration": "4:14", "durationSeconds": 254, "id": "glgV1mFFt_I", "likeCount": 0, "publishedAt": "", "publishedText": "1d ago", "thumbnails": [ { "height": 94, "url": "https://i.ytimg.com/vi/glgV1mFFt_I/hqdefault.jpg?sqp=-oaymwEmCKgBEF5IWvKriqkDGQgBFQAAiEIYAdgBAeIBCggYEAIYBjgBQAE=&rs=AOn4CLBWM3cwditMMQcq04N…", "width": 168 }, { "height": 110, "url": "https://i.ytimg.com/vi/glgV1mFFt_I/hqdefault.jpg?sqp=-oaymwEmCMQBEG5IWvKriqkDGQgBFQAAiEIYAdgBAeIBCggYEAIYBjgBQAE=&rs=AOn4CLB0czEuz-ybz4w7vFd…", "width": 196 } ], "title": "AJENG FEBRIA - 100% CINTAKU - BAGINDAS (OFFICIAL MUSIC VIDEO) | AKU TAK TAHU YANG HARUS KULAKUKAN", "url": "https://www.youtube.com/watch?v=glgV1mFFt_I", "viewCount": 152655 } ], "meta": { "cached": false, "endpoint": "hashtag", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "youtube", "requestId": "req_2Xb9kQ…", "units": 1 } }
channelStreams
/v1/youtube/channelStreamsLive and past streams of a channel's Streams tab, about 30 per page, newest first.
Parameters
idstring required | Channel id (UC…), @handle, or channel URL. e.g. @NASA |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
21 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
commentCount | integer (int64) |
description | string |
duration | string |
durationSeconds | integer (int64) |
id | string |
likeCount | integer (int64) |
publishedAt | string |
publishedText | string |
thumbnails | Image[] |
height | any |
url | string |
width | any |
title | string |
url | string |
viewCount | integer (int64) |
curl "https://api.hoshime.com/v1/youtube/channelStreams?id=%40NASA" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/youtube/channelStreams?id=%40NASA", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/youtube/channelStreams?id=%40NASA", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "", "id": "", "name": "", "url": "", "username": "" }, "commentCount": 0, "description": "", "duration": "", "durationSeconds": 0, "id": "ROboUHfPUrU", "likeCount": 0, "publishedAt": "", "publishedText": "", "thumbnails": [ { "height": 202, "url": "https://i.ytimg.com/vi/ROboUHfPUrU/hq720.jpg?v=6ada1dd8&sqp=-oaymwEcCOgCEMoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLAmapwCC47bPmUvpQ-6q4yJ…", "width": 360 }, { "height": 404, "url": "https://i.ytimg.com/vi/ROboUHfPUrU/hq720.jpg?v=6ada1dd8&sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLBhSVY1KCfQNDXCOy9gDe5k…", "width": 720 } ], "title": "Live High-Definition Views from the International Space Station (Official NASA Stream)", "url": "https://www.youtube.com/watch?v=ROboUHfPUrU", "viewCount": 213 }, { "author": { "avatarUrl": "", "id": "", "name": "", "url": "", "username": "" }, "commentCount": 0, "description": "", "duration": "", "durationSeconds": 0, "id": "M3HKLzjvKPc", "likeCount": 0, "publishedAt": "", "publishedText": "", "thumbnails": [ { "height": 202, "url": "https://i.ytimg.com/vi/M3HKLzjvKPc/hq720.jpg?v=6a6b4e0d&sqp=-oaymwEcCOgCEMoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLA2p9_XPzi97k7-biF6THeV…", "width": 360 }, { "height": 404, "url": "https://i.ytimg.com/vi/M3HKLzjvKPc/hq720.jpg?v=6a6b4e0d&sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLDtYCYzA1I3FaijZk_T8bff…", "width": 720 } ], "title": "Live Video from the International Space Station (Official NASA Stream)", "url": "https://www.youtube.com/watch?v=M3HKLzjvKPc", "viewCount": 129 } ], "meta": { "cached": false, "endpoint": "channelStreams", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "youtube", "requestId": "req_2Xb9kQ…", "units": 1 } }
musicCharts
/v1/youtube/musicChartsYouTube Music charts for a country: the chart playlists of each shelf, such as top songs or top music videos. Read a playlist with playlist.
Parameters
glstring | Two-letter country code the charts are for. Default US. default US |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
11 fields
country | string |
items | ChartItem[] |
playlistId | string |
section | string |
subtitle | string |
thumbnails | Image[] |
height | any |
url | string |
width | any |
title | string |
url | string |
curl "https://api.hoshime.com/v1/youtube/musicCharts" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/youtube/musicCharts", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/youtube/musicCharts", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "country": "US", "items": [ { "playlistId": "PL4fGSI1pDJn4yCNzulPkUbxgr4pl0gmI-", "section": "Video charts", "subtitle": "Chart • YouTube Charts", "thumbnails": [ { "height": 192, "url": "https://yt3.googleusercontent.com/CpkgfvTaaFy396Z_D5sAmprQ1leh8TsBmdFlCKJx3GjRGox5MzOXILjHKv8zNl5tKaGL2NFdyBbX=s192", "width": 192 }, { "height": 576, "url": "https://yt3.googleusercontent.com/CpkgfvTaaFy396Z_D5sAmprQ1leh8TsBmdFlCKJx3GjRGox5MzOXILjHKv8zNl5tKaGL2NFdyBbX=s576", "width": 576 } ], "title": "Top 100 Live Performances - United States", "url": "https://www.youtube.com/playlist?list=PL4fGSI1pDJn4yCNzulPkUbxgr4pl0gmI-" }, { "playlistId": "OLAK5uy_kNWGJvgWVqlt5LsFDL9Sdluly4M8TvGkM", "section": "Video charts", "subtitle": "Chart • YouTube Charts", "thumbnails": [ { "height": 192, "url": "https://yt3.googleusercontent.com/YiU1O399-Kmg4TS_PSD5XEhq3umBKNyc5BZZU4q3ZV7FLvpPzdaOWxwK-O9j8LsZdaDLvs3grg=s192", "width": 192 }, { "height": 576, "url": "https://yt3.googleusercontent.com/YiU1O399-Kmg4TS_PSD5XEhq3umBKNyc5BZZU4q3ZV7FLvpPzdaOWxwK-O9j8LsZdaDLvs3grg=s576", "width": 576 } ], "title": "Trending 20 United States", "url": "https://www.youtube.com/playlist?list=OLAK5uy_kNWGJvgWVqlt5LsFDL9Sdluly4M8TvGkM" } ] }, "meta": { "cached": false, "endpoint": "musicCharts", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "youtube", "requestId": "req_2Xb9kQ…", "units": 1 } }
charts
/v1/youtube/chartsYouTube Charts of a country: top songs, music videos, artists, songs most used in Shorts, or trending videos, with views and rank changes.
Parameters
glstring | Two-letter country code the chart is for. Default US. default USe.g. ID |
chartstring | songs, videos and artists rank by views; shortsSongs by the Shorts that use the song; trendingVideos is right now. Default songs.songsvideosartistsshortsSongstrendingVideosdefault songs |
periodstring | daily exists for videos and shortsSongs. Default weekly; trendingVideos has no period.weeklydaily |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
18 fields
chart | string |
country | string |
endDate | string |
entries | ChartEntry[] |
artists | string[] |
channelId | string |
durationSeconds | any |
periodsOnChart | any |
previousRank | any |
rank | any |
releaseDate | string |
thumbnailUrl | string |
title | string |
url | string |
videoId | string |
viewChangePercent | number (double) |
viewCount | integer (int64) |
period | string |
curl "https://api.hoshime.com/v1/youtube/charts?gl=ID" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/youtube/charts?gl=ID", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/youtube/charts?gl=ID", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "chart": "songs", "country": "ID", "endDate": "2026-11-05", "entries": [ { "artists": [ "Gloria Jessica", "Ade Govinda" ], "channelId": "", "durationSeconds": 0, "periodsOnChart": 17, "previousRank": 3, "rank": 1, "releaseDate": "2026-04-16", "thumbnailUrl": "https://yt3.googleusercontent.com/W_aCDg-bIvvNHTRnFX5K_HdhNLO1Fj8nDWlYuFzo6ORxsyetTehgFk1tfgfTsm_UyKqqf2rzV8qB7QkKUg=w180-h180-l90-rj", "title": "Terbelah Jadi Dua", "url": "https://www.youtube.com/watch?v=ks27-0q-Hrc", "videoId": "ks27-0q-Hrc", "viewChangePercent": 8.84, "viewCount": 7999917 }, { "artists": [ "Tulus" ], "channelId": "", "durationSeconds": 0, "periodsOnChart": 18, "previousRank": 1, "rank": 2, "releaseDate": "2026-06-29", "thumbnailUrl": "https://yt3.googleusercontent.com/xrGDyYO3umAVFdsdyIM2G451xiAxCD6haJkCQel6TQlqE-XsEUCGsj_Q5Er4YjFpjWqv-_Ze-VaPPL0j=w180-h180-l90-rj", "title": "Teh Hijau", "url": "https://www.youtube.com/watch?v=zyLmavBAY7k", "videoId": "zyLmavBAY7k", "viewChangePercent": -7.93, "viewCount": 7718501 } ], "period": "weekly" }, "meta": { "cached": false, "endpoint": "charts", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "youtube", "requestId": "req_2Xb9kQ…", "units": 1 } }
channelPlaylists
/v1/youtube/channelPlaylistsPlaylists of a channel's Playlists tab, about 20 per page, in the order YouTube shows them.
Parameters
idstring required | Channel id (UC…), @handle, or channel URL. e.g. @YouTube |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
8 fields
id | string |
thumbnails | Image[] |
height | any |
url | string |
width | any |
title | string |
url | string |
videoCount | integer (int64) |
curl "https://api.hoshime.com/v1/youtube/channelPlaylists?id=%40YouTube" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/youtube/channelPlaylists?id=%40YouTube", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/youtube/channelPlaylists?id=%40YouTube", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "id": "PLPQHERn1vPbk", "thumbnails": [ { "height": 270, "url": "https://i.ytimg.com/vi/8vAPJgyoO9g/hqdefault.jpg?sqp=-oaymwEXCOADEI4CSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLBOLLkbFKGX5tCRN_qlSc4LtBASrw", "width": 480 } ], "title": "LIVE Nov 19 | Launch Day: YouTube's Global 24 Hour GTAVI Live Stream", "url": "https://www.youtube.com/playlist?list=PLPQHERn1vPbk", "videoCount": 8 }, { "id": "PLDJbqkswSTJI", "thumbnails": [ { "height": 270, "url": "https://i.ytimg.com/vi/yjHvkMeVzK0/hqdefault.jpg?sqp=-oaymwEXCOADEI4CSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLAo2o4FQ5gKeIMSP9JQylkcX-P29A", "width": 480 } ], "title": "Set off on a side quest | Gaming on YouTube", "url": "https://www.youtube.com/playlist?list=PLDJbqkswSTJI", "videoCount": 11 } ], "meta": { "cached": false, "endpoint": "channelPlaylists", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "youtube", "requestId": "req_2Xb9kQ…", "units": 1 } }
channelReleases
/v1/youtube/channelReleasesMusic releases (albums, EPs and singles) of a channel's Releases tab, as playlists.
Parameters
idstring required | Channel id (UC…), @handle, or channel URL. e.g. @RickAstleyYT |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
8 fields
id | string |
thumbnails | Image[] |
height | any |
url | string |
width | any |
title | string |
url | string |
videoCount | integer (int64) |
curl "https://api.hoshime.com/v1/youtube/channelReleases?id=%40RickAstleyYT" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/youtube/channelReleases?id=%40RickAstleyYT", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/youtube/channelReleases?id=%40RickAstleyYT", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [], "meta": { "cached": false, "endpoint": "channelReleases", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "youtube", "requestId": "req_2Xb9kQ…", "units": 1 } }
channelPosts
/v1/youtube/channelPostsCommunity posts of a channel's Posts tab: text, likes, comments and an image or video when the post has one.
Parameters
idstring required | Channel id (UC…), @handle, or channel URL. e.g. @RickAstleyYT |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
27 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
commentCount | integer (int64) |
createdAt | string |
id | string |
images | Image[] |
height | any |
url | string |
width | any |
likeCount | integer (int64) |
media | Media[] |
durationSeconds | integer (int64) |
height | any |
thumbnailUrl | string |
type | string |
url | string |
width | any |
publishedText | string |
shareCount | integer (int64) |
text | string |
url | string |
videoId | string |
viewCount | integer (int64) |
curl "https://api.hoshime.com/v1/youtube/channelPosts?id=%40RickAstleyYT" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/youtube/channelPosts?id=%40RickAstleyYT", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/youtube/channelPosts?id=%40RickAstleyYT", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "", "id": "UCuAXFkgsw1L7xaCfnd5JJOw", "name": "Rick Astley", "url": "", "username": "" }, "commentCount": 5, "createdAt": "", "id": "UgkxLvuNrYrKUGnkCWbLxd5VoPZIxuTY-8n_", "images": [], "likeCount": 102, "media": [], "publishedText": "4 days ago (edited)", "shareCount": 0, "text": "Today marks 39 years since the release of Rick’s debut album ‘Whenever You Need Somebody’! We can't wait to celebrate the big 40 with you ne…", "url": "https://www.youtube.com/post/UgkxLvuNrYrKUGnkCWbLxd5VoPZIxuTY-8n_", "videoId": "BeyEGebJ1l4", "viewCount": 0 }, { "author": { "avatarUrl": "", "id": "UCuAXFkgsw1L7xaCfnd5JJOw", "name": "Rick Astley", "url": "", "username": "" }, "commentCount": 138, "createdAt": "", "id": "Ugkx6HzKUems4roLJrhsxgkRwC0sz_cHiVHX", "images": [ { "height": 288, "url": "https://yt3.ggpht.com/fguRbd_ZoAiK9tpgAcgOXqMDRtt4mpbAB-ftzqh4kS01g4KnHANFrCVqsNpu8R4MBpgYDr3rzAn6=s288-c-fcrop64=1,00000000ffffffff-rw-nd-v…", "width": 288 }, { "height": 400, "url": "https://yt3.ggpht.com/fguRbd_ZoAiK9tpgAcgOXqMDRtt4mpbAB-ftzqh4kS01g4KnHANFrCVqsNpu8R4MBpgYDr3rzAn6=s400-c-fcrop64=1,00000000ffffffff-rw-nd-v…", "width": 400 } ], "likeCount": 4500, "media": [], "publishedText": "1 month ago", "shareCount": 0, "text": "We’re excited to announce that Rick is bringing his spectacular Swinging Christmas show back to London’s iconic Royal Albert Hall on 9th Dec…", "url": "https://www.youtube.com/post/Ugkx6HzKUems4roLJrhsxgkRwC0sz_cHiVHX", "videoId": "", "viewCount": 0 } ], "meta": { "cached": false, "endpoint": "channelPosts", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "youtube", "requestId": "req_2Xb9kQ…", "units": 1 } }
channelAbout
/v1/youtube/channelAboutAbout panel of one YouTube channel: description, country, join date, total views and links.
Parameters
idstring required | Channel id (UC…), @handle, or channel URL. e.g. @YouTube |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
11 fields
country | string |
description | string |
id | string |
joinedAt | string |
links | ChannelLink[] |
title | string |
url | string |
subscriberCount | integer (int64) |
url | string |
videoCount | integer (int64) |
viewCount | integer (int64) |
curl "https://api.hoshime.com/v1/youtube/channelAbout?id=%40YouTube" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/youtube/channelAbout?id=%40YouTube", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/youtube/channelAbout?id=%40YouTube", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "country": "United States", "description": "YouTube's official YouTube channel", "id": "UCBR8-60-B28hp2BmDPdntcQ", "joinedAt": "", "links": [ { "title": "Subscribe", "url": "https://youtube.com/user/youtube?sub_confirmation=1" }, { "title": "Instagram", "url": "https://instagram.com/youtube" } ], "subscriberCount": 46800000, "url": "https://www.youtube.com/channel/UCBR8-60-B28hp2BmDPdntcQ", "videoCount": 1721, "viewCount": 1452899387 }, "meta": { "cached": false, "endpoint": "channelAbout", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "youtube", "requestId": "req_2Xb9kQ…", "units": 3 } }
post
/v1/youtube/postOne YouTube community post: text, image or video, likes and comment count.
Parameters
idstring required | Post id, or its youtube.com/post/<id> URL, or a channel community URL with ?lb=<id>. e.g. Ugkx1pBuBGmDe8kRZ-eWXB2H7yyJhX-6NUcX |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
27 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
commentCount | integer (int64) |
createdAt | string |
id | string |
images | Image[] |
height | any |
url | string |
width | any |
likeCount | integer (int64) |
media | Media[] |
durationSeconds | integer (int64) |
height | any |
thumbnailUrl | string |
type | string |
url | string |
width | any |
publishedText | string |
shareCount | integer (int64) |
text | string |
url | string |
videoId | string |
viewCount | integer (int64) |
curl "https://api.hoshime.com/v1/youtube/post?id=Ugkx1pBuBGmDe8kRZ-eWXB2H7yyJhX-6NUcX" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/youtube/post?id=Ugkx1pBuBGmDe8kRZ-eWXB2H7yyJhX-6NUcX", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/youtube/post?id=Ugkx1pBuBGmDe8kRZ-eWXB2H7yyJhX-6NUcX", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "author": { "avatarUrl": "", "id": "UCBR8-60-B28hp2BmDPdntcQ", "name": "YouTube", "url": "", "username": "" }, "commentCount": 378, "createdAt": "", "id": "Ugkx1pBuBGmDe8kRZ-eWXB2H7yyJhX-6NUcX", "images": [ { "height": 288, "url": "https://yt3.ggpht.com/svVdB6UKoHiZuTR8Ir7Jn8_drmJOkP0vPMZPnfEI-hnM4Wa81tGqk9h76k52TRzXRttfPXqPse39=s288-nd-v1", "width": 288 }, { "height": 400, "url": "https://yt3.ggpht.com/svVdB6UKoHiZuTR8Ir7Jn8_drmJOkP0vPMZPnfEI-hnM4Wa81tGqk9h76k52TRzXRttfPXqPse39=s400-nd-v1", "width": 400 } ], "likeCount": 2600, "media": [], "publishedText": "2 months ago", "shareCount": 0, "text": "getting into punch needle now because of @konominTV → https://www.youtube.com/shorts/_rZw3i...", "url": "https://www.youtube.com/post/Ugkx1pBuBGmDe8kRZ-eWXB2H7yyJhX-6NUcX", "videoId": "", "viewCount": 0 }, "meta": { "cached": false, "endpoint": "post", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "youtube", "requestId": "req_2Xb9kQ…", "units": 2 } }
postComments
/v1/youtube/postCommentsComments of one YouTube community post, paged.
Parameters
idstring required | Post id, or its youtube.com/post/<id> URL, or a channel community URL with ?lb=<id>. e.g. Ugkx1pBuBGmDe8kRZ-eWXB2H7yyJhX-6NUcX |
sortstring | top (the default) or newest.topnewestdefault top |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
13 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
createdAt | string |
id | string |
likeCount | integer (int64) |
publishedText | string |
repliesCursor | string |
replyCount | integer (int64) |
text | string |
curl "https://api.hoshime.com/v1/youtube/postComments?id=Ugkx1pBuBGmDe8kRZ-eWXB2H7yyJhX-6NUcX" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/youtube/postComments?id=Ugkx1pBuBGmDe8kRZ-eWXB2H7yyJhX-6NUcX", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/youtube/postComments?id=Ugkx1pBuBGmDe8kRZ-eWXB2H7yyJhX-6NUcX", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "", "id": "UCadGvGHG6TbKoZGBfjLtQJg", "name": "@TheTahuSumedang", "url": "", "username": "" }, "createdAt": "", "id": "UgxeQC9EXH9RacxJI7d4AaABAg", "likeCount": 92, "publishedText": "2 months ago", "repliesCursor": "4qmFsgLQAhIrRkVjb21tZW50X3Bvc3RfZGV0YWlsX3BhZ2Vfd2ViX3JlcGxpZXNfcGFnZRqgAkVnVndiM04wYzhvQko3SUJKRlZuYTNneGNFSjFRa2R0UkdVNGExSmFMV1ZYV0VJeVNE…", "replyCount": 6, "text": "If my likes more than the post itself, it mean we deserve get better features and moderation" }, { "author": { "avatarUrl": "", "id": "UCzzdhfv7N6tb7lfR92YR9Ww", "name": "@JustRikaVL", "url": "", "username": "" }, "createdAt": "", "id": "UgwCRtIFbatAV2xL5rB4AaABAg", "likeCount": 10, "publishedText": "2 months ago", "repliesCursor": "", "replyCount": 0, "text": "Man, if the AI Moderation was as good as that craft..." } ], "meta": { "cached": false, "endpoint": "postComments", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "youtube", "requestId": "req_2Xb9kQ…", "units": 2 } }
postCommentReplies
/v1/youtube/postCommentRepliesReplies to one comment of a YouTube community post, paged. Give the repliesCursor of a comment from postComments.
Parameters
idstring required | Post id or URL the comment belongs to. e.g. Ugkx1pBuBGmDe8kRZ-eWXB2H7yyJhX-6NUcX |
cursorstring | repliesCursor of a comment from postComments, or nextCursor of the previous page of replies. Without it the answer is empty. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
13 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
createdAt | string |
id | string |
likeCount | integer (int64) |
publishedText | string |
repliesCursor | string |
replyCount | integer (int64) |
text | string |
curl "https://api.hoshime.com/v1/youtube/postCommentReplies?id=Ugkx1pBuBGmDe8kRZ-eWXB2H7yyJhX-6NUcX" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/youtube/postCommentReplies?id=Ugkx1pBuBGmDe8kRZ-eWXB2H7yyJhX-6NUcX", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/youtube/postCommentReplies?id=Ugkx1pBuBGmDe8kRZ-eWXB2H7yyJhX-6NUcX", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [], "meta": { "cached": false, "endpoint": "postCommentReplies", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "youtube", "requestId": "req_2Xb9kQ…", "units": 1 } }