VidApi
Biggest and Fastest Streaming API
































Easy to use
Intuitive and easy to use. Just copy the link and embed it into your website
Huge Library
With movies and shows scraped from multiple websites, we have it all!
Customizable
You can customize the player to your needs, using only query parameters
Auto Update
Content added every day, updated automatically
Highest Quality
Latest available quality and the fastest streaming speeds optimized for you.
Api Documentation
Embed Movies
<iframe src="/movie/786892" frameborder="0" allowfullscreen></iframe>Embed Shows
<iframe src="/tv/94997/1/1" frameborder="0" allowfullscreen></iframe>Customization Parameters
You can customize the embedded media player by appending parameters to the URL. Use Hex Color Codes and remove the '#' before applying.
Sets the primary color of the player, including sliders and autoplay controls.
primaryColor=B20710Defines the color of the progress bar behind the sliders.
secondaryColor=170000Changes the color of the icons within the player.
iconColor=B20710Changes the design of the icons within the player. can be either "vid" or "default".
icons=vidControls whether the media title is displayed.
title=falseDetermines if the poster image is shown.
poster=trueControls whether the media starts playing automatically.
autoplay=falseShows next episode button when 90% watched. OFF by default.
nextbutton=trueChanges the player to Netflix Player or default player.
player=nfStarts the video at the specified time in seconds.
startAt=60Adds external subtitles (VTT direct link).
sub_file=https://example.com/sub.vttRedirect URL when stream fails to load.
fallback_url=https://example.com/errorCustomize Player
Advanced player with native VidApi design and icons.
Premium ad-free streaming interface.
Colors
Options
Watch Progress
Continue Watching Feature
Track your users' watch progress across movies and TV shows. This feature enables "Continue Watching" functionality on your website using cross-window messaging.
Add Event Listener
Add this script where your iframe is located. It listens for progress updates sent by the player.
window.addEventListener('message', (event) => {
if (event.data.type === 'MEDIA_DATA') {
const history = event.data.data;
// Update your UI/Database here
console.log('Watch Progress:', history);
}
});Handle Data
The data payload contains the full watch history object, which you can persist in your own database or local storage.
{
id: "786892",
type: "movie",
progress: {
watched: 1194,
duration: 6360,
percentage: 18.7
}
}