Video Streaming API
With
MINIMAL
Ads
We offer free streaming links for movies and episodes that can be
effortlessly integrated into your website through our embed links, API
API 1 (MULTI SERVER)
API 2 (MULTI LANGUAGE)
API 3 (MULTI EMBEDS)
API 4 (PREMIUM EMBEDS)
Deliver an optimized User Experience
There are plenty of essential features optimized to provide the best user experience.
Auto Update
Links are automatically updated with new or better quality as soon as they are available online.
Responsive
The player is responsive and can work on every Desktop, Mobile, Tablet without problem.
High Quality
The quality of the links is the latest available, mostly are 1080p.
Fast Streaming Servers
The player includes a list of fastest streaming servers, users can easily optional.
API Documentation
Detailed representation of the API endpoints for Vidsrc includes comprehensive information regarding the available methods, request formats, required parameters and optional parameters.
NOTE: ONLY TMDB ID WILL WORK
Watch Progress Documentation
Track your users' watch progress across movies and TV shows. This feature enables "Continue Watching" functionality on your website.
1. Add Event Listener
Add this script where your iframe is located. For React/Next.js applications, place it in a useEffect hook.
window.addEventListener("message", (event) => {
ㅤif (event.origin !== "https://www.vidsrc.wtf") return;
ㅤ
ㅤif (event.data?.type === "MEDIA_DATA") {
ㅤㅤconst mediaData = event.data.data;
ㅤㅤlocalStorage.setItem("vidsrcwtf-Progress", JSON.stringify(mediaData));
ㅤ}
});
2. Stored Data Structure
The data is stored in localStorage and contains:
- Movie show details (title, poster, etc.)
- Watch progress (time watched, duration)
- Last watched episode for TV shows
- Episode-specific progress for shows
{
ㅤ"597": {
ㅤㅤ"id": "597",
ㅤㅤ"type": "movie",
ㅤㅤ"title": "Titanic",
ㅤㅤ"poster_path": "/sCzcYW9h55WcesOqA12cgEr9Exw.jpg",
ㅤㅤ"backdrop_path": "/sCzcYW9h55WcesOqA12cgEr9Exw.jpg",
ㅤㅤ"progress": {
ㅤㅤㅤ"watched": 3706.89533,
ㅤㅤㅤ"duration": 11689.66699999998
ㅤㅤ},
ㅤㅤ"last_updated": 1744442389334
ㅤ},
ㅤ"1399": {
ㅤㅤ"id": "1399",
ㅤㅤ"type": "tv",
ㅤㅤ"title": "Game of Thrones",
ㅤㅤ"poster_path": "/1XS1oqL89opfnbLl8WnZY1O1uJx.jpg",
ㅤㅤ"backdrop_path": "/zZqpAXxVSBtxV9qPBcscfXBcL2w.jpg",
ㅤㅤ"progress": {
ㅤㅤㅤ"watched": 948.146701,
ㅤㅤㅤ"duration": 3376.211996999974
ㅤㅤ},
ㅤㅤ"last_updated": 1744443112702,
ㅤㅤ"number_of_episodes": 73,
ㅤㅤ"number_of_seasons": 8,
ㅤㅤ"last_season_watched": "1",
ㅤㅤ"last_episode_watched": "9",
ㅤㅤ"show_progress": {
ㅤㅤㅤ"s1e1": {
ㅤㅤㅤㅤ"season": "1",
ㅤㅤㅤㅤ"episode": "1",
ㅤㅤㅤㅤ"progress": {
ㅤㅤㅤㅤㅤ"watched": 0.584535,
ㅤㅤㅤㅤㅤ"duration": 3696.145999999995
ㅤㅤㅤㅤ},
ㅤㅤㅤㅤ"last_updated": 1744442564248
ㅤㅤㅤ}
ㅤㅤ}
ㅤ}
}