VidLink

VidLink

Biggest and Fastest Streaming API

or
K+Movies
K+Shows
K+Anime
These numbers are an estimate from the 13+ sources we have
https://vidlink.pro/movie/786892

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

- Api Documentation -

Embed Movies

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

Embed Shows

TmdbId is required from The Movie DatabaseAPI. season and episode number should not be empty.
https://vidlink.pro/tv/{tmdbId}/{season}/{episode}
Code Example:
<iframe
  src="https://vidlink.pro/tv/94997/1/1"
  frameborder="0"
  allowfullscreen
></iframe>

Embed Anime New

MyAnimeList id is required from MyAnimeListAPI. number and type should not be empty.
https://vidlink.pro/anime/{MALid}/{number}/{subOrDub}
Add ?fallback=true to force fallback to sub and vice versa if the type you set was not found.
https://vidlink.pro/anime/{MALid}/{number}/{subOrDub}?fallback=true
Code Example:
<iframe
  src="https://vidlink.pro/anime/5/1/sub"
  frameborder="0"
  allowfullscreen
></iframe>

Customization Parameters

You can customize the embedded media player using URL parameters. Here’s how:
Available Parameters:You can customize the embedded media player by appending parameters to the URL. Each parameter should start with a ? and multiple parameters should be separated by &.Use Hex Color Codesand 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
  • icons New : Changes the design of the icons within the player. can be either "vid" or "default".
    icons=vid
    Example of "vid" icons:
  • iconColor: Changes the color of the icons within the player.
    iconColor=B20710
  • 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
  • Next Episode button New : Shows next episode button when 90% of the Tv-show is watched. Off by default.
    nextbutton=true
Example URL with Custom Parameters:
https://vidlink.pro/tv/94997/1/1?primaryColor=ff0044&secondaryColor=f788a6&iconColor=ff0044&title=false&poster=true&autoplay=false&nextbutton=true

Watch Progress (continue watching) New

You can add watch progress to you website by listening to the post message coming from our player, containing a json file of watch progress of each of the content your users have watched
Add this script to your where iframe is located, use useffect in reactjs or nextjs
<script>
    window.addEventListener('message', (event) => {
      if (event.origin !== 'https://vidlink.pro') {
        return;
      }

      if (event.data && event.data.type === 'MEDIA_DATA') {
        // Get the media data from the message
        const mediaData = event.data.data;

        // Save the media data to localStorage
        localStorage.setItem('vidLinkProgress', JSON.stringify(mediaData));
      }
    });
  </script>
This will save the media data to localStorage which contains a json like below- For movies you can use the "progress" with watched time and the duration of the movie- For shows you can get the details of the last episode watched from "progress", or details of each episode from "show_progress" if you wish
{
  "76479": {
    "id": 76479,
    "type": "tv",
    "title": "The Boys",
    "poster_path": "/2zmTngn1tYC1AvfnrFLhxeD82hz.jpg",
    "backdrop_path": "/7cqKGQMnNabzOpi7qaIgZvQ7NGV.jpg",
    "progress": {
      "watched": 0.841364,
      "duration": 3609.867
    },
    "last_updated": 1725656705458,
    "number_of_episodes": 32,
    "number_of_seasons": 5,
    "last_season_watched": "1",
    "last_episode_watched": "1",
    "show_progress": {
      "s1e1": {
        "season": "1",
        "episode": "1",
        "progress": {
          "watched": 31.435372,
          "duration": 3609.867
        },
        "last_updated": 1725656705458
      }
    }
  },
  "786892": {
    "id": 786892,
    "type": "movie",
    "title": "Furiosa: A Mad Max Saga",
    "poster_path": "/iADOJ8Zymht2JPMoy3R7xceZprc.jpg",
    "backdrop_path": "/wNAhuOZ3Zf84jCIlrcI6JhgmY5q.jpg",
    "progress": {
      "watched": 8726.904767,
      "duration": 8891.763
    },
    "last_updated": 1725723972695
  }
}
© 2024 VidLink. All rights reserved