YouTube API by APISH
Pricing
$4.00 / 1,000 credits
YouTube API by APISH
YouTube videos, channels, comments, transcripts, Shorts, live chat and charts as JSON, with no Google Cloud project or daily quota to manage, via APISH. Pay per credit; failed calls are free.
Pricing
$4.00 / 1,000 credits
Rating
0.0
(0)
Developer
APISH
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
2
Monthly active users
11 days ago
Last modified
Categories
Features
Share
Get public YouTube data as clean, consistent JSON: youTube Shorts sound, youTube channel, youTube channel about, youTube channel live streams, youTube channel playlists, youTube channel podcasts and more. 32 endpoints, one response shape, numbers parsed, absolute URLs.
How to use
- Pick an Endpoint. Each option shows what it returns and its price in credits.
- Enter its Parameters as JSON, for example
{"channel":"@MrBeast"}. All parameters are listed below. - Run. Each call becomes one row in the dataset. Use Batch to run the same endpoint for many inputs and Pages per input to follow pagination.
Pricing
Pay per event: you pay per APISH credit the call used. The price of each endpoint is in the table below. Calls that fail on our side (server errors, timeouts, blocks) are free.
Endpoints
| Endpoint | Returns | Required parameters | Credits |
|---|---|---|---|
/youtube/v1/audio | YouTube Shorts sound | audio_id | 1 |
/youtube/v1/channel | YouTube channel | channel | 1 |
/youtube/v1/channel/about | YouTube channel about | channel | 1 |
/youtube/v1/channel/lives | YouTube channel live streams | channel | 1 |
/youtube/v1/channel/playlists | YouTube channel playlists | channel | 1 |
/youtube/v1/channel/podcasts | YouTube channel podcasts | channel | 1 |
/youtube/v1/channel/posts | YouTube channel community posts | channel | 1 |
/youtube/v1/channel/resolve | YouTube channel handle <-> id | — | 1 |
/youtube/v1/channel/search | YouTube search within a channel | channel, q | 1 |
/youtube/v1/channel/shorts | YouTube channel Shorts | channel | 1 |
/youtube/v1/channel/videos | YouTube channel videos | channel | 1 |
/youtube/v1/charts | YouTube Charts | — | 1 |
/youtube/v1/comment/replies | Replies to a YouTube comment | cursor | 1 |
/youtube/v1/comments | YouTube video comments | video_id | 1 |
/youtube/v1/hashtag | YouTube videos for a hashtag | hashtag | 1 |
/youtube/v1/music/shorts | YouTube Shorts using a sound | music_id | 1 |
/youtube/v1/playlist | YouTube playlist | url | 1 |
/youtube/v1/post | YouTube community post | url | 1 |
/youtube/v1/post/comments | YouTube community post comments | url | 1 |
/youtube/v1/search | YouTube search | q | 1 |
/youtube/v1/search/typeahead | YouTube search suggestions | q | 1 |
/youtube/v1/shorts | One YouTube short | id | 1 |
/youtube/v1/shorts/trending | Trending YouTube Shorts | — | 1 |
/youtube/v1/transcript | YouTube video transcript | video_id | 1 |
/youtube/v1/trending | YouTube trending | — | 1 |
/youtube/v1/video | One YouTube video | id | 1 |
/youtube/v1/video/chat | YouTube live chat replay | id | 1 |
/youtube/v1/video/formats | YouTube video formats and download links | id | 1 |
/youtube/v1/video/related | YouTube related videos | id | 1 |
/youtube/v1/video/screenshot | YouTube video frame at a time | video_id | 1 |
/youtube/v1/video/sponsors | Sponsors in a YouTube video (segments, promo codes, links) | url | 1 |
/youtube/v1/video/subtitles | YouTube video subtitles | video_id | 1 |
Output
Each dataset row has endpoint, params, status, credits_used and the endpoint's data. Add "raw": 1 to the parameters to also get the site's original record, or "fields": "a,b.c" to return only the fields you need.
Endpoint details
YouTube Shorts sound
Endpoint /youtube/v1/audio · 1 credit per successful call.
A sound used in Shorts: title, artist (name, channel, avatar, official artist or not), cover image, duration, number of Shorts that use it, the source video, and the first Shorts that use it. Pass next_cursor as cursor to /youtube/v1/music/shorts for more Shorts.
Parameters:
audio_id(required): The sound's source video id, or its youtube.com/source/
Example parameters: {"audio_id":"ZbZSe6N_BXs"}
YouTube channel
Endpoint /youtube/v1/channel · 1 credit per successful call.
Parameters:
channel(required): Channel handle (with or without@), channel id (UC...) or channel URL (also accepted aschannel_idorurl).
Example parameters: {"channel":"@MrBeast"}
YouTube channel about
Endpoint /youtube/v1/channel/about · 1 credit per successful call.
The channel's About panel: description, country, join date, subscriber/view/video totals and every external link (with its real target).
Parameters:
channel(required): Handle (@mkbhd), channel id (UC…) or channel URL.
Example parameters: {"channel":"@mkbhd"}
YouTube channel live streams
Endpoint /youtube/v1/channel/lives · 1 credit per successful call.
Parameters:
channel(required)sort— one oflatest,popular,oldest: latest (default), popular or oldest: the tab's own sort chips; next_cursor keeps the order.cursor: Value ofnext_cursorfrom the previous page.
Example parameters: {"channel":"@NASA"}
YouTube channel playlists
Endpoint /youtube/v1/channel/playlists · 1 credit per successful call.
Parameters:
channel(required)cursor: Value ofnext_cursorfrom the previous page.
Example parameters: {"channel":"@NASA"}
YouTube channel podcasts
Endpoint /youtube/v1/channel/podcasts · 1 credit per successful call.
The channel's Podcasts tab: its podcast playlists (episode count, thumbnail). Empty when the channel has none. Pass next_cursor back as cursor.
Parameters:
channel(required): Handle, channel id or channel URL.cursor: Value ofnext_cursorfrom the previous page.
Example parameters: {"channel":"@TheDiaryOfACEO"}
YouTube channel community posts
Endpoint /youtube/v1/channel/posts · 1 credit per successful call.
Parameters:
channel(required)cursor: Value ofnext_cursorfrom the previous page.
Example parameters: {"channel":"@MrBeast"}
YouTube channel handle <-> id
Endpoint /youtube/v1/channel/resolve · 1 credit per successful call.
Converts a channel handle or channel URL to its channel id (UC...), or a channel id to its handle and title. Pass handle (or url) or id.
Parameters:
handle: Channel handle (with or without @) or any channel URL (/@handle, /channel/UC..., /c/name, /user/name). Also accepted asurl.id: Channel id (UC...).
Example parameters: {"handle":"@MrBeast"}
YouTube search within a channel
Endpoint /youtube/v1/channel/search · 1 credit per successful call.
The channel's own Search tab: its videos (and playlists) matching the query. Pass next_cursor back as cursor.
Parameters:
channel(required): Handle, channel id or channel URL.q(required): Search text.hl: Interface language of the results (ISO 639-1), default en. Also accepted aslang.gl: Country of the results (ISO 3166-1 alpha-2), default US. Also accepted ascountry.cursor: Value ofnext_cursorfrom the previous page.
Example parameters: {"channel":"@mkbhd","q":"iphone"}
YouTube channel Shorts
Endpoint /youtube/v1/channel/shorts · 1 credit per successful call.
Parameters:
channel(required)sort— one oflatest,popular,oldest: latest (default), popular or oldest: the tab's own sort chips; next_cursor keeps the order.cursor: Value ofnext_cursorfrom the previous page.
Example parameters: {"channel":"@MrBeast"}
YouTube channel videos
Endpoint /youtube/v1/channel/videos · 1 credit per successful call.
Pass next_cursor back as cursor for the next videos. next_cursor is null on the last page.
Parameters:
channel(required): Channel handle (with or without@), channel id (UC...) or channel URL (also accepted aschannel_idorurl).sort— one oflatest,popular,oldest: latest (default), popular or oldest: the tab's own sort chips; next_cursor keeps the order.cursor: Cursor fromnext_cursoron the previous response;next_cursoris null on the last page.
Example parameters: {"channel":"Google"}
YouTube Charts
Endpoint /youtube/v1/charts · 1 credit per successful call.
YouTube's music charts (charts.youtube.com) for a country or worldwide: weekly top songs, artists and music videos (100 each), weekly top songs on Shorts (50) and daily trending music videos (30), with rank, previous rank, periods on chart, views and their change, artists, release date, songwriters and producers. available_charts lists the charts and date ranges the country has. One page per chart.
Parameters:
chart— one ofsongs,artists,videos,shorts_songs,trending: songs (default), artists, videos, shorts_songs or trending.country: global (default) or a two-letter country code (us, in, gb, br, ...).
Example parameters: {"chart":"songs","country":"us"}
Replies to a YouTube comment
Endpoint /youtube/v1/comment/replies · 1 credit per successful call.
Parameters:
cursor(required):replies_cursorof a comment from /youtube/v1/comments.
Example parameters: {"cursor":"Eg0SC2RRdzR3OVdnWGNRGAYygwEaUBIaVWd6S1lrc3FlUTVnQTN0MGcwRjRBYUFCQWciAggAKhhVQ3VBWEZrZ3N3MUw3eGFDZm5kNUpKT3cyC2RRdzR3OVdnWGNRQAFICoIBAggBQi9jb21tZW50LXJlcGxpZXMtaXRlbS1VZ3pLWWtzcWVRNWdBM3QwZzBGNEFhQUJBZw%3D%3D"}
YouTube video comments
Endpoint /youtube/v1/comments · 1 credit per successful call.
Pass next_cursor back as cursor for the next comments. next_cursor is null on the last page.
Parameters:
video_id(required)sort— one oftop,newest: top (default) or newest, as in the comments header; next_cursor keeps the order.cursor: Cursor fromnext_cursoron the previous response;next_cursoris null on the last page.
Example parameters: {"video_id":"dQw4w9WgXcQ"}
YouTube videos for a hashtag
Endpoint /youtube/v1/hashtag · 1 credit per successful call.
Parameters:
hashtag(required)cursor: Value ofnext_cursorfrom the previous page.
Example parameters: {"hashtag":"cooking"}
YouTube Shorts using a sound
Endpoint /youtube/v1/music/shorts · 1 credit per successful call.
Shorts that use a sound: the sound (title, artist, cover, duration, number of Shorts; on the first page), then the Shorts (id, URL, title, views, thumbnail). music_id (or audio_id) is the sound's source video id (from a Short's sound link, youtube.com/source/
Parameters:
music_id(required): Sound source video id or its /source/cursor: Value ofnext_cursorfrom the previous page.
Example parameters: {"music_id":"ZbZSe6N_BXs"}
YouTube playlist
Endpoint /youtube/v1/playlist · 1 credit per successful call.
Parameters:
url(required)cursor: Value ofnext_cursorfrom the previous page.
Example parameters: {"url":"https://www.youtube.com/playlist?list=PLBsP89CPrMeMV1oP42Zn2DrWpnFoSaufA"}
YouTube community post
Endpoint /youtube/v1/post · 1 credit per successful call.
Parameters:
url(required)
Example parameters: {"url":"https://www.youtube.com/post/UgkxHIfkQ3K2my65-kPq4VkRv9KrBRyN7alx"}
YouTube community post comments
Endpoint /youtube/v1/post/comments · 1 credit per successful call.
Comments on a community post. Each comment carries replies_cursor for /youtube/v1/comment/replies. Pass next_cursor back as cursor.
Parameters:
url(required): Post URL (https://www.youtube.com/post/sort— one oftop,newest: top (default) or newest.cursor: Value ofnext_cursorfrom the previous page.
Example parameters: {"url":"https://www.youtube.com/post/UgkxHIfkQ3K2my65-kPq4VkRv9KrBRyN7alx"}
YouTube search
Endpoint /youtube/v1/search · 1 credit per successful call.
Pass next_cursor back as cursor for the next results. next_cursor is null on the last page. query, lang, country and order_by are accepted as other names of q, hl, gl and sort.
Parameters:
q(required)sort— one ofrelevance,rating,date,views: relevance (default), rating, date or views.type— one ofvideo,channel,playlist,movie: video, channel, playlist or movie. Channels come back underchannels, playlists underplaylists.duration— one ofshort,medium,long: short (under 4 min), medium (4-20 min) or long (over 20 min).upload_date— one ofhour,today,week,month,year: hour, today, week, month or year.features: Comma-separated: hd, subtitles, creative_commons, 3d, live, purchased, 4k, 360, location, hdr, vr180.hl: Interface language of the results (ISO 639-1), default en.gl: Country of the results (ISO 3166-1 alpha-2), default US.cursor: Cursor fromnext_cursoron the previous response;next_cursoris null on the last page.
Example parameters: {"q":"MrBeast"}
YouTube search suggestions
Endpoint /youtube/v1/search/typeahead · 1 credit per successful call.
Parameters:
q(required)
Example parameters: {"q":"how to"}
One YouTube short
Endpoint /youtube/v1/shorts · 1 credit per successful call.
Parameters:
id(required)
Example parameters: {"id":"dQw4w9WgXcQ"}
Trending YouTube Shorts
Endpoint /youtube/v1/shorts/trending · 1 credit per successful call.
Parameters:
period: today, week or month.
Example parameters: {"period":"today"}
YouTube video transcript
Endpoint /youtube/v1/transcript · 1 credit per successful call.
Parameters:
video_id(required)url: Video URL (instead of video_id).
Example parameters: {"video_id":"aircAruvnKk"}
YouTube trending
Endpoint /youtube/v1/trending · 1 credit per successful call.
Trending lists YouTube publishes. YouTube retired its all-categories Trending page in 2025; music is the daily trending music videos chart for a country (rank, previous rank, views), gaming the trending videos of YouTube Gaming, movies the Movies & TV store shelves, and now (default) music and gaming together. Each video carries section; sections groups them. One page (next_cursor is always null).
Parameters:
section— one ofnow,music,gaming,movies: now (default), music, gaming or movies.gl: Country (ISO 3166-1 alpha-2), default US. Also accepted ascountry.hl: Interface language (ISO 639-1), default en. Also accepted aslang.
Example parameters: {"section":"music","gl":"GB","hl":"en"}
One YouTube video
Endpoint /youtube/v1/video · 1 credit per successful call.
Everything the watch page has for a video: details, formats, captions, chapters, heatmap ("Most replayed"), related videos and more.
Parameters:
id(required): Video id or any YouTube video URL (also accepted asvideo_idorurl).
Example parameters: {"id":"dQw4w9WgXcQ"}
YouTube live chat replay
Endpoint /youtube/v1/video/chat · 1 credit per successful call.
The chat replay of a past live stream (when the stream kept its chat): messages, Super Chats and memberships with author, badges, amount and the video offset. Pass next_cursor back as cursor to read on.
Parameters:
id(required): Video id or URL of a past stream.mode— one oftop,all: top (default, Top chat replay) or all (Live chat replay).start_s: Start reading at this many seconds into the stream (first page only).cursor: Value ofnext_cursorfrom the previous page.
Example parameters: {"id":"5qap5aO4i9A"}
YouTube video formats and download links
Endpoint /youtube/v1/video/formats · 1 credit per successful call.
Stream links are signed by YouTube, expire after expires_in_seconds (about 6 hours) and only play from the address that requested them; a stream that needs signature deciphering is returned with url null and cipher_required true. Age-restricted, members-only and offline live videos come back with playability and reason and no formats.
Parameters:
id(required): Video id or any YouTube video URL (watch, youtu.be, shorts, embed, live).
Example parameters: {"id":"dQw4w9WgXcQ"}
YouTube related videos
Endpoint /youtube/v1/video/related · 1 credit per successful call.
The watch page's "Up next" list for a video, without the player data (cheaper than /youtube/v1/video).
Parameters:
id(required): Video id or URL.cursor: Value ofnext_cursorfrom the previous page (YouTube returns one page to logged-out visitors for most videos).
Example parameters: {"id":"dQw4w9WgXcQ"}
YouTube video frame at a time
Endpoint /youtube/v1/video/screenshot · 1 credit per successful call.
A frame of the video near a time, from YouTube's own timeline preview frames (the images shown when scrubbing the player; up to 160x90 px). image_url is a grid image of frames and crop the box (x, y, width, height) of the frame in it. YouTube keeps one frame every few seconds (frame.interval_s), so the frame returned is the last one at or before t; its time is frame_time_s. levels lists the same frame in every size YouTube keeps.
Parameters:
video_id(required): Video id or any YouTube video URL (also accepted asidorurl).t: Time in the video: seconds (90), 1:30 or 1m30s. Default 0. Also accepted astimestamp.
Example parameters: {"video_id":"aircAruvnKk"}
Sponsors in a YouTube video (segments, promo codes, links)
Endpoint /youtube/v1/video/sponsors · 1 credit per successful call.
Parameters:
url(required)
Example parameters: {"url":"https://www.youtube.com/watch?v=dQw4w9WgXcQ"}
YouTube video subtitles
Endpoint /youtube/v1/video/subtitles · 1 credit per successful call.
Every subtitle track of a video: language, name, whether it is auto-generated, and links to the track as json3, srv3, vtt and ttml (the links work for a few hours). With lang, also that track's text as timed segments (start, duration, end, text) and as one string. Manual tracks are preferred over auto-generated ones unless kind=asr. A video without subtitles answers an empty tracks.
Parameters:
video_id(required): Video id or any YouTube video URL (also accepted asidorurl).lang: Language code of the track to return as text (en, es, pt-BR...). Without it only the track list is returned.kind— one ofasr,manual: asr (auto-generated) or manual: which track to return when the language has both.
Example parameters: {"video_id":"aircAruvnKk"}
Support
Questions, bugs or a missing field? Open an issue in this Actor's Issues tab and we will reply there.
Public data only: nothing behind a login. You are responsible for how you use the data you collect.