REST API Reference

REST-style reference for metadata, subtitles, source lookup, and player embed endpoints used by VidCore API integrations.

Developer intent

Use backend-friendly endpoints to fetch metadata and create predictable player URLs.

Metadata endpoint

/api/tmdb?id={tmdbId}&type=movie returns title, year, backdrop, poster, overview, rating, and genres.

Source endpoint

/api/sources?id={tmdbId}&type=movie returns available player sources for internal playback.

Error codes

400 means a required parameter is missing, 404 means content is unavailable, and 500 means an upstream provider failed.

Example

fetch('/api/tmdb?id=27205&type=movie')
  .then((res) => res.json())
  .then((movie) => console.log(movie.title, movie.backdrop));