System API Guide

Integration documentation for the AniHaven media engine.

Parameters

Parameter Requirement Functionality
tmdb Partial* Primary Movie/TV database ID reference.
imdb Partial* Fallback ID for external database lookups.
type Required Must be movie or tv content type.
s / e TV Only Integers representing Season and Episode.
lang Optional Filter for sub, dub, or hindi.

*A tmdb or imdb ID is required to initialize the player.

Embed Snippet

<iframe src="https://watch.anihaven.xyz/player.php?tmdb=37854&type=tv&s=1&e=1" width="100%" height="500" frameborder="0" allowfullscreen></iframe>

Examples

Standard Movie
https://watch.anihaven.xyz/player.php?tmdb=550&type=movie
TV Series (S01E01)
https://watch.anihaven.xyz/player.php?tmdb=37854&type=tv&s=1&e=1
Subbed Only (Anime)
https://watch.anihaven.xyz/player.php?tmdb=37854&type=tv&s=1&e=1&lang=sub
Dubbed Only (Anime)
https://watch.anihaven.xyz/player.php?tmdb=37854&type=tv&s=1&e=1&lang=dub
Hindi Audio Focus
https://watch.anihaven.xyz/player.php?tmdb=634649&type=movie&lang=hindi