Anime API Documentation

Base URL: https://api.apurvsikka.workers.dev/

API Routes

Route Description Parameter Description
/home Get trending anime from AniList and popular anime from GogoAnime None
/search/{query} Search for anime by name {query}: Anime name to search
/anime/{id} Get details of a specific anime {id}: GogoAnime anime ID
/episode/{id} Get episode stream URLs {id}: GogoAnime episode ID
/download/{id} Get episode download URLs {id}: GogoAnime episode ID
/recent/{page} Get recent anime from GogoAnime {page}: Page number (1, 2, 3, ...)
/recommendations/{query} Get recommendations of anime from AniList {query}: Anime name for recommendations
/gogoPopular/{page} Get popular animes from GogoAnime {page}: Page number (1, 2, 3, ...)
/upcoming/{page} Get upcoming animes from AniList {page}: Page number (1, 2, 3, ...)

Deploy Your Own Copy of the API

  1. Install Node.js
  2. Install and configure Wrangler in the directory
    • npm install wrangler
    • npx wrangler login
  3. Run the following commands
    • npm install --save npm install cheerio
    • npm install --save npm install crypto-js
  4. Deploy to Cloudflare Workers
    • npx wrangler publish