Anikoto Scraper API
A high-performance REST API for scraping anime data from anikototv.to — built with Next.js, Cheerio, and in-memory caching.
Author: Teramoto
Response Format
{
"ok": true,
"data": { ... }
}
// On error:
{
"ok": false,
"message": "Error description"
}Endpoints
/api/homeHome page data: spotlight carousel, latest episodes, new release, top anime by day/week/month.
refreshstringoptionalSet to 1 to bypass cache/api/searchSearch anime by keyword.
keywordstringrequiredSearch term (required)refreshstringoptionalSet to 1 to bypass cache/api/filter?keyword=&type=&sort=defaultAdvanced anime filter with multiple parameters.
keywordstringoptionalSearch keywordgenre[]string[]optionalGenre ID (e.g. 1 for Action, 2 for Adventure)season[]string[]optionalSeason (spring | summer | fall | winter)year[]string[]optionalYear (e.g. 2026, 2025)term_type[]string[]optionalType (Movie | Music | ONA | OVA | Special | TV)status[]string[]optionalStatus (currently-airing | finished-airing | not-yet-aired)language[]string[]optionalLanguage (sub | dub)rating[]string[]optionalRating (G | PG | PG-13 | R | R+ | Rx)sortstringoptionalSort order (latest-updated | score | name-az | release-date | etc.)pagenumberoptionalPage number (default: 1)/api/anime/:slugGet anime detail info: title, synopsis, genres, studios, MAL score, episode count, status.
slugstringrequiredAnime slug from the URL (e.g. one-piece-odmau)refreshstringoptionalSet to 1 to bypass cache/api/anime/:slug/episodesGet a list of anime episodes for a given anime, optionally filtered by episode range.
slugstringrequiredAnime slug from the URLrefreshstringoptionalSet to 1 to bypass cachestartstringoptionalStarting episode number for the rangeendstringoptionalEnding episode number for the range/api/latestPaginated listing of latest/popular anime.
typestringoptionallatest-updated | new-release | most-viewed (default: latest-updated)pagenumberoptionalPage number (default: 1)/api/statusGet anime by airing status.
typestringoptionalcurrently-airing | finished-airing | not-yet-aired (default: currently-airing)pagenumberoptionalPage number (default: 1)/api/genre/:genreBrowse anime by genre.
genrestringrequiredGenre slug (action | romance | isekai | fantasy | etc.)pagenumberoptionalPage number (default: 1)/api/type/:typeBrowse anime by media type.
typestringrequiredtv | movie | ova | ona | special | musicpagenumberoptionalPage number (default: 1)/api/scheduleGet weekly airing schedule.
refreshstringoptionalSet to 1 to bypass cache/api/watch/:slugGet streaming servers and direct m3u8 URLs (with proxy & subtitles) for a specific episode.
slugstringrequiredAnime slug from the URLepstringrequiredEpisode number to watch/api/proxyInternal streaming proxy to bypass Cloudflare and CORS restrictions for m3u8 video streams and subtitles.
urlstringrequiredThe target m3u8 or subtitle URL to proxyrefererstringoptionalThe referer header to bypass hotlink protection