A clean, modular API service (Node.js/Express) that extracts direct streaming links and tracks from Vidsync player embed URLs.
- Modular provider system (
?server=Xrouting architecture). - Clean JSON responses.
- Language discovery endpoints.
- Auto-normalization of messy provider languages.
- Direct extraction from Vidsync's internal extraction API stream.
- Node.js (v18+ recommended)
- Install dependencies:
npm install
Run the server in development mode (with auto-restart via --watch if supported by your Node version):
npm run devOr run normally:
npm startBy default, the server listens on http://localhost:3000.
GET /tv/{tmdbId}/{season}/{episode}/languages?server=1
Example: http://localhost:3000/tv/1399/1/1/languages?server=1
GET /tv/{tmdbId}/{season}/{episode}/{language}?server=1
Example: http://localhost:3000/tv/1399/1/1/english?server=1
GET /movie/{tmdbId}/languages?server=1
Example: http://localhost:3000/movie/299534/languages?server=1
GET /movie/{tmdbId}/{language}?server=1
Example: http://localhost:3000/movie/299534/english?server=1
{
"success": true,
"provider": "vidsync",
"server": 1,
"tmdbId": "1399",
"season": 1,
"episode": 1,
"language": "english",
"sources": [
{
"url": "https://sacdn.hakunaymatata.com/...",
"quality": "1080p",
"format": "dash",
"isM3U8": false,
"isDash": true,
"provider": "VidLink",
"headers": {
"referer": "https://vidlink.pro/",
"origin": "https://vidlink.pro",
"user-agent": "..."
},
"availableQualities": [
"1080p",
"720p",
"480p"
],
"audioTracks": [
{
"language": "en",
"label": "English"
},
{
"language": "original",
"label": "ORIGINAL"
}
]
}
],
"subtitles": []
}You can deploy this service to any Node.js hosting platform (Render, Heroku, Vercel, Railway, etc.).
- If your host provides a
PORTenvironment variable, the service will bind to it automatically. - Ensure the start script is set to
npm start.