The ultimate dirty API Client for the internal YouTube API (Innertube API) with a big and growing coverage of actions and endpoints
- Video information and statistics fetching
- Playlist information and videos
- Search functions (with type filters)
- Like & subscriptions API coverage (videos, channels, playlists)
- Comment API coverage (partial, only for videos)
- Simple User Authentication using OAuth2 (allows Private Videos) *1
- Built on one of the latest versions
- Typescript types (for most things)
- Support for a wide variety of plattforms, due to optional adapter support for HTTP fetching and storage access
*1 This does not require an API Key. It uses extracted keys from the YouTube TV App.
Please look at the Basic Example
I will do my best to keep up the work on this project, any pull requests or contributions in any way (e.g feature suggestions) are welcome.
This API was originally designed for IonicTube (an alternative YT App)
- @pytube for the authentication method: https://github.com/pytube/pytube
- @ytdl-org for the consent confirmation: https://github.com/ytdl-org/youtube-dl/
- @Microsoft with Visual Studio Code for development: https://code.visualstudio.com/
- @Google for their API and Chrome Dev Tools to analyse it :)
- @TeamNewPipe for the signature code (from: https://github.com/TeamNewPipe/NewPipeExtractor)
- @Anarios for the Return-YT-Dislike API (https://github.com/Anarios/return-youtube-dislike)
- @Ajayyy for the Sponsorblock API (https://sponsor.ajay.app/)
- This project is not affiliated or linked to Google/YouTube in any way
- This project does not contain any unofficial source code
- This project is created for educational use only!
- All mentioned brands and trademarks (e.g "Google" & "YouTube") are the property of their lawful owners