Streaming API Platform

PlayAPI

The most powerful streaming embed you could ever dream of. Lightning-fast, ad-free, fully customizable.

Test The Player

Experience the lightning-fast embed player in action

Why PlayAPI?

Everything you need for streaming integration

Seamless Integration

Embed the player with a single line of code. Works with any framework or vanilla HTML.

Vast Collection

Access 115K+ movies, 79K+ episodes, and 5.3K+ anime titles — updated daily.

Fully Customizable

Query parameters for startAt, theme, subtitles, and more. Make it yours.

Lightning Fast

Multi-provider failover system delivers the fastest load times. No buffering, no waiting.

Sustainable & Secure

Minimal ads to keep our library growing. We prioritize a safe, secure, and professional environment.

API Documentation

Integrate in seconds with our simple embed URLs

Embed Movie

Use the TMDB movie ID to embed any film.

https://playapi1.pages.dev/embed/movie/[TMDB_ID]
<iframe src="https://playapi1.pages.dev/embed/movie/550" frameBorder="0" scrolling="no" allowFullScreen></iframe>

Embed TV Show

Specify TMDB ID, season, and episode number.

https://playapi1.pages.dev/embed/tv/[TMDB_ID]/[SEASON]/[EPISODE]
<iframe src="https://playapi1.pages.dev/embed/tv/1396/1/1" frameBorder="0" scrolling="no" allowFullScreen></iframe>

Query Parameters

Customize playback using URL query parameters

theme
startAt
autoplay
muted

Watch Progress

Track user watch progress for "Continue Watching" functionality

1. Add Event Listener

Add this script where your iframe is located. For React/Next.js, place in useEffect.

window.addEventListener("message", (event) => {
  if (event.origin !== "https://playapi1.pages.dev") return;
  if (event.data?.type === "MEDIA_DATA") {
    const mediaData = event.data.data;
    localStorage.setItem("stream-progress", JSON.stringify(mediaData));
  }
});

2. Stored Data Structure

The data stored in localStorage contains movie/show details, progress, and episode tracking.

{
  "597": {
    "id": "597",
    "type": "movie",
    "title": "Titanic",
    "progress": {
      "watched": 3706.89,
      "duration": 11689.66
    },
    "last_updated": 1744442389334
  }
}