Animetsu API

Anime streaming API — AniList metadata + Miruro stream sources

quick start
GET
/api/extract/{id or name}?e={episode}
All-in-one. Pass an AniList ID or anime name, get streams instantly with auto-fallback across all providers.
discovery
GET
/api/home
All rails at once — trending, seasonal, popular, top-rated, upcoming
GET
/api/trending · /api/popular · /api/top-rated · /api/upcoming · /api/recent
Individual paginated rails
GET
/api/schedule
Airing schedule with timestamps
GET
/api/search?q=naruto&genres=Action&sort=POPULARITY_DESC
Full search with filters
GET
/api/suggestions?query=re:zero
Lightweight autocomplete — 8 results
GET
/api/random
Random anime ID
details
GET
/api/anime/{id}
Full metadata — characters, staff, relations, recommendations, trailer, stats
GET
/api/anime/{id}/episodes
Episode list with thumbnails across all providers
streaming
GET
/api/anime/{id}/servers/{ep}
Probe all servers in parallel — returns working + latency_ms per provider
GET
/api/anime/{id}/watch/{ep}?server=auto&source_type=sub
Resolve playable sources with proxy_url injected. Auto-fallback through ranked providers.
GET
/api/anime/{id}/download/{ep}?quality=1080p
Best quality URL + ffmpeg mux command + subtitle list
GET
/api/proxy/hls?url=...
HLS playlist proxy — rewrites all URIs, streams segments, fixes AES key headers