VidApi

VidApi

Biggest and Fastest Streaming API

or
100K+Movies
70K+Shows
5K+Anime
These numbers are an estimate from the 13+ sources we haveView Changelog
Poster
Poster
Poster
Poster
Poster
Poster
Poster
Poster
Poster
Poster
Poster
Poster
Poster
Poster
Poster
Poster
Poster
Poster
Poster
Poster
Poster
Poster
Poster
Poster
Poster
Poster
Poster
Poster
Poster
Poster
Poster
Poster

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

TmdbId is required from The Movie Database API.
/movie/{tmdbId}
Code Example:
<iframe src="/movie/786892" frameborder="0" allowfullscreen></iframe>

Embed Shows

TmdbId, season, and episode number are required.
/tv/{tmdbId}/{season}/{episode}
Code Example:
<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.

primaryColor

Sets the primary color of the player, including sliders and autoplay controls.

primaryColor=B20710
secondaryColor

Defines the color of the progress bar behind the sliders.

secondaryColor=170000
iconColor

Changes the color of the icons within the player.

iconColor=B20710
icons

Changes the design of the icons within the player. can be either "vid" or "default".

icons=vid
title

Controls whether the media title is displayed.

title=false
poster

Determines if the poster image is shown.

poster=true
autoplay

Controls whether the media starts playing automatically.

autoplay=false
nextbutton

Shows next episode button when 90% watched. OFF by default.

nextbutton=true
playerNew

Changes the player to Netflix Player or default player.

player=nf
startAtNew

Starts the video at the specified time in seconds.

startAt=60
sub_fileNew

Adds external subtitles (VTT direct link).

sub_file=https://example.com/sub.vtt
fallback_urlNew

Redirect URL when stream fails to load.

fallback_url=https://example.com/error

Customize Player

Generated URL
VidApi Player

Advanced player with native VidApi design and icons.

Netflix Player

Premium ad-free streaming interface.

Colors

#
#
#

Options

Show Title
Show Poster
Autoplay
Next Episode

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.

1

Add Event Listener

Add this script where your iframe is located. It listens for progress updates sent by the player.

Script
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); } });
2

Handle Data

The data payload contains the full watch history object, which you can persist in your own database or local storage.

Data Structure
{ id: "786892", type: "movie", progress: { watched: 1194, duration: 6360, percentage: 18.7 } }