this directory includes the source code for cobalt api. itβs made with express.js and love!
if you want to run your own instance for whatever purpose, follow this guide. we recommend to use docker compose unless you intend to run cobalt for developing/debugging purposes.
there is currently no publicly available pre-hosted api. we recommend deploying your own instance if you wish to use the cobalt api.
you can read the api documentation here.
[!WARNING] the v7 public api (/api/json) will be shut down on november 11th, 2024. you can access documentation for it here.
this list is not final and keeps expanding over time. if support for a service you want is missing, create an issue (or a pull request π).
service | video + audio | only audio | only video | metadata | rich file names |
---|---|---|---|---|---|
bilibili | β | β | β | β | β |
bluesky | β | β | β | β | β |
dailymotion | β | β | β | β | β |
β | β | β | β | β | |
β | β | β | β | β | |
loom | β | β | β | β | β |
ok.ru | β | β | β | β | β |
β | β | β | β | β | |
β | β | β | β | β | |
rutube | β | β | β | β | β |
snapchat | β | β | β | β | β |
soundcloud | β | β | β | β | β |
streamable | β | β | β | β | β |
tiktok | β | β | β | β | β |
tumblr | β | β | β | β | β |
twitch clips | β | β | β | β | β |
twitter/x | β | β | β | β | β |
vimeo | β | β | β | β | β |
vk videos & clips | β | β | β | β | β |
youtube | β | β | β | β | β |
emoji | meaning |
---|---|
β | supported |
β | impossible/unreasonable |
β | not supported |
| service | notes or features | | :βββ | :ββ | | instagram | supports reels, photos, and videos. lets you pick what to save from multi-media posts. | | facebook | supports public accessible videos content only. | | pinterest | supports photos, gifs, videos and stories. | | reddit | supports gifs and videos. | | snapchat | supports spotlights and stories. lets you pick what to save from stories. | | rutube | supports yappy & private links. | | soundcloud | supports private links. | | tiktok | supports videos with or without watermark, images from slideshow without watermark, and full (original) audios. | | twitter/x | lets you pick what to save from multi-media posts. may not be 100% reliable due to current management. | | vimeo | audio downloads are only available for dash. | | youtube | supports videos, music, and shorts. 8K, 4K, HDR, VR, and high FPS videos. rich metadata & dubs. h264/av1/vp9 codecs. |
cobalt api code is licensed under AGPL-3.0.
this license allows you to modify, distribute and use the code for any purpose as long as you:
cobalt heavily relies on ffmpeg for converting and merging media files. itβs an absolutely amazing piece of software offered for anyone for free, yet doesnβt receive as much credit as it should.
you can support ffmpeg here!
we use ffmpeg-static to get binaries for ffmpeg depending on the platform.
you can support the developer via various methods listed on their github page! (linked above)
cobalt relies on youtube.js for interacting with the innertube api, it wouldnβt have been possible without it.
you can support the developer via various methods listed on their github page! (linked above)
cobalt also depends on:
content-disposition
headers..env
file.m3u8
playlists for certain services.β¦and many other packages that these packages rely on.