streamlink-proxy

streamlink-proxy is a very simple API that translates video links from Streamlink-compatible websites to their direct streaming URL.

So, for example, calling the API with the URL https://twitch.tv/ohnePixel will lead to a redirect to https://usher.ttvnw.net/api/channel/hls/ohnepixel.m3u8?player=twitchweb&type=any..., the Twitch stream's direct livestream URL, which can be played by any media player.

It's written in Python and built on Starlette, Uvicorn, httptools and uvloop, so it's very fast and lightweight. It's also made faster by its client and server-side caching, which is set to 15 minutes by default. If this isn't enough for some services with shorter expiries, let us know via GitHub Issues.

You can find out how to self-host it on the GitHub repo's README, or use our hosted instance at https://streamlink.zappr.stream. Keep in mind that our instance will only work on links that aren't geoblocked and are available worldwide (unless you specify a HTTP proxy - see more below).


To use it, make a request in the following format: https://streamlink.zappr.stream/OPTIONS/URL
where URL is the URL to "translate" and OPTIONS is a list of search parameters corresponding to Streamlink session options. You can also use a value of default to not specify any custom options. It can also be a Base64-encoded list of search parameters, something you'll need to use if any of your option values contain slashes.

To get redirected to the stream URL of ohnePixel's Twitch stream, for example, you would make a request to https://streamlink.zappr.stream/default/https://twitch.tv/ohnePixel.

Or, hypothetically, here's how you would get redirected to the stream link of a video from a really slow, geoblocked service: https://streamlink.zappr.stream/aHR0cC1wcm94eT1odHRwOi8vMTIzLjQ1LjY3Ljg5OjgwODAmaHR0cC10aW1lb3V0PTYw/https://goodservice.com/video/2025/10/really-good-video (the options parameter is a Base64-encoding of http-proxy=http://123.45.67.89:8080&http-timeout=60)

Enjoy!


Donate to help keep our hosted instance online :)
View source code on GitHub

A free service brought to you by Zappr, developed by Francesco Rosi