API Documentation

Detailed representation of the API endpoints for Vidsrc includes comprehensive information regarding the available methods, request formats, required parameters and optional parameters.

Use one of these domains for embed urls:
vidsrc.in , vidsrc.pm , vidsrc.xyz , vidsrc.net

Get movie embed URL:

Endpoint: https://vidsrc.xyz/embed/movie

Valid parameters:

imdb or tmdb required - from imdb.com or themoviedb.com
sub_url optional - Url encoded .srt or .vtt url. Must have CORS enabled to the URL.
ds_langs optional - Default subtitle language, ISO639 Language code separated by "," 5 MAX.

Examples

https://vidsrc.xyz/embed/movie/tt5433140

https://vidsrc.xyz/embed/movie?imdb=tt5433140

https://vidsrc.xyz/embed/movie?imdb=tt5433140&sub_url=https%3A%2F%2Fvidsrc.me%2Fsample.srt&ds_langs=en,de

https://vidsrc.xyz/embed/movie/385687

https://vidsrc.xyz/embed/movie?tmdb=385687/

https://vidsrc.xyz/embed/movie?tmdb=385687&sub_url=https%3A%2F%2Fvidsrc.me%2Fsample.srt&ds_langs=en,de

Get tv show embed URL:

Endpoint: https://vidsrc.xyz/embed/tv

Valid parameters:

imdb or tmdb required - from imdb.com or themoviedb.com

Examples

https://vidsrc.xyz/embed/tv/tt0944947

https://vidsrc.xyz/embed/tv?imdb=tt0944947

https://vidsrc.xyz/embed/tv?imdb=tt0944947&color=2986cc

https://vidsrc.xyz/embed/tv/1399

https://vidsrc.xyz/embed/tv?tmdb=1399

Get episode embed URL:

Endpoint: https://vidsrc.xyz/embed/tv

Valid parameters:

imdb or tmdb required - from imdb.com or themoviedb.com
season required - the season number.
episode required - the season episode.
c sub_url optional - Url encoded .srt or .vtt url. Must have CORS enabled to the URL.
ds_langs optional - Default subtitle language, ISO639 Language code separated by "," 5 MAX.

Examples

https://vidsrc.xyz/embed/tv/tt0944947/1-1

https://vidsrc.xyz/embed/tv?imdb=tt0944947&season=1&episode=1

https://vidsrc.xyz/embed/tv?imdb=tt0944947&season=1&episode=1&sub_url=https%3A%2F%2Fvidsrc.me%2Fsample.srt&ds_langs=en,de

https://vidsrc.xyz/embed/tv/1399/1-1

https://vidsrc.xyz/embed/tv?tmdb=1399&season=1&episode=1

https://vidsrc.xyz/embed/tv?tmdb=1399&season=1&episode=1&sub_url=https%3A%2F%2Fvidsrc.me%2Fsample.srt&ds_langs=en,de

List latest movies added:

PAGE_NUMBER required
https://vidsrc.xyz/movies/latest/page-PAGE_NUMBER.json

Examples

https://vidsrc.xyz/movies/latest/page-1.json

https://vidsrc.xyz/movies/latest/page-15.json

List latest tv shows added:

PAGE_NUMBER required
https://vidsrc.xyz/tvshows/latest/page-PAGE_NUMBER.json

Examples

https://vidsrc.xyz/tvshows/latest/page-1.json

https://vidsrc.xyz/tvshows/latest/page-15.json

List latest episodes added:

PAGE_NUMBER required
https://vidsrc.xyz/episodes/latest/page-PAGE_NUMBER.json

Examples

https://vidsrc.xyz/episodes/latest/page-1.json

https://vidsrc.xyz/episodes/latest/page-25.json