GitHub Pages Frontend Anime API · About & Playground

A friendly landing page for the Anime API: learn what the project offers, explore endpoints, and try live requests without leaving GitHub Pages.

View live API Repository

About the project

What

REST API that aggregates anime data from AniWatch, GoGoAnime, and KickAssAnime with caching.

Why

Provide fast, scrape-backed endpoints for discovering shows, episodes, and streaming servers.

How

Express + TypeScript backend, cached responses, ready to self-host (Docker/Vercel).

How to use the API

1) Pick a route

Example: /aniwatch/search?keyword=one+piece&page=1

2) Call with fetch/cURL
curl https://api-anime-rouge.vercel.app/aniwatch/search?keyword=one+piece&page=1
3) Parse the JSON

You get titles, ids, episode counts, images, and pagination helpers.

Live demo playground

Run a quick query directly against the hosted API. Results stream below so you can copy/paste into your app.

Waiting for your first request…

Ready-made examples

List spotlight shows

Fetch AniWatch home feed.

fetch("https://api-anime-rouge.vercel.app/aniwatch/")
  .then(r => r.json())
  .then(data => console.log(data.spotlightAnimes));
Find servers for an episode

Get streaming hosts for episode ids.

curl "https://api-anime-rouge.vercel.app/aniwatch/servers?id=one-piece-100&ep=84802"
KickAssAnime search

Lightweight listing with pagination.

fetch("https://api-anime-rouge.vercel.app/kickassanime/search?keyword=naruto&page=1")
  .then(r => r.json())
  .then(({ animes }) => console.log(animes[0]));

Helpful notes

Caching

Key routes are cached (30 min to 1 month) to stay speedy and reduce scrape load.

Rate limits

Use sensible intervals; add your own proxy or cache when self-hosting.

Deploy

Fork → set environment if needed → npm run build → host on Vercel/Docker.