🎬 Animepahe API (Node.js)

Welcome to the Node.js version of the Animepahe scraper API!

Health Check

GET /health

Check if the API is running

Search Anime

GET /search?q=naruto

Search for anime by title

Get Episodes

GET /episodes?session=anime-session-id

Get all episodes for an anime (requires session ID from search)

Get Sources

GET /sources?anime_session=xxx&episode_session=yyy

Get streaming sources for an episode

Resolve M3U8

GET /m3u8?url=kwik-url

Resolve Kwik URL to M3U8 streaming URL

🎥 Proxy Stream (Use this for video playback!)

GET /proxy?url=m3u8-or-ts-url

Important: Use this endpoint to stream videos through the server. This bypasses CORS and referrer restrictions.

Usage:

  1. Get M3U8 URL from /m3u8 endpoint
  2. Use /proxy?url=<m3u8-url> in your video player
  3. The proxy will handle all video segments automatically

🎥 Try the Video Player Demo

Powered by Node.js + Express