
What is Vyla API?
Vyla API is a Cloudflare Pages API that scrapes streaming sources from 8 providers concurrently and serves them through a unified JSON interface. Pass any TMDB ID and get back:Stream URLs
Direct HLS and MP4 sources, sorted by quality — filtered to English audio only
Download Links
Pre-built
download_url and ready-to-run ffmpeg_command for every sourceSubtitles
Deduplicated English subtitle tracks in VTT and SRT, proxied and ready to inject
Embeddable Player
One iframe, zero config — fallback logic, subtitles, and HLS.js built in
Base URL
Access-Control-Allow-Origin: * — no credentials needed.
Quick Start
Endpoint Overview
Scraping Endpoints — raw sources
Scraping Endpoints — raw sources
| Endpoint | Description |
|---|---|
GET /api/movie | Raw streaming sources for a movie |
GET /api/tv | Raw streaming sources for a TV episode |
GET /api/scrape | Single-provider scrape — internal building block |
Enriched / Download Endpoints — processed sources
Enriched / Download Endpoints — processed sources
| Endpoint | Description |
|---|---|
GET /api/stream/movie | All providers in parallel · download_url · ffmpeg_command · deep dedup |
GET /api/stream/tv | Same, for TV episodes |
GET /api/download/movie | Alias of /api/stream/movie |
GET /api/download/tv | Alias of /api/stream/tv |
Utility Endpoints
Utility Endpoints
| Endpoint | Description |
|---|---|
GET /api/download | Proxy-download a single raw video URL |
GET /api/proxy | Proxy any URL through Cloudflare with CORS + header injection |
GET /api/player | Embeddable fullscreen HTML player |
Providers
Sources are scraped concurrently from all 8 providers, filtered to English audio, and sorted by quality before being returned.Quality Priority
All sources are sorted in this order before being returned:Source Object Reference
- Raw (/api/movie, /api/tv)
- Enriched (/api/stream/*, /api/download/*)
- Subtitle Object

