RESTful API for Anime Streaming - Educational Purposes Only
Retrieve comprehensive home page information including spotlights, trending anime, schedules, and more.
import axios from "axios";
const resp = await axios.get("/api/");
console.log(resp.data);
Returns: spotlights, trending, today's schedule, topAiring, mostPopular, mostFavorite, latestCompleted, latestEpisode, and genres.
Get the top 10 anime for today, this week, and this month.
import axios from "axios";
const resp = await axios.get("/api/top-ten");
console.log(resp.data);
Retrieve the most searched anime titles.
import axios from "axios";
const resp = await axios.get("/api/top-search");
console.log(resp.data);
| Parameter | Type | Description | Required |
|---|---|---|---|
| id | string | Anime ID | ✅ Yes |
import axios from "axios";
const resp = await axios.get("/api/info?id=one-piece-100");
console.log(resp.data);
Get information about a random anime with related and recommended data.
import axios from "axios";
const resp = await axios.get("/api/random");
console.log(resp.data);
| Parameter | Type | Description | Required | Default |
|---|---|---|---|---|
| category | string | Category name | ✅ Yes | - |
| page | number | Page number | ❌ No | 1 |
import axios from "axios";
const resp = await axios.get("/api/most-popular?page=1");
console.log(resp.data);
import axios from "axios";
const resp = await axios.get("/api/producer/ufotable?page=1");
console.log(resp.data);
| Parameter | Type | Description | Required |
|---|---|---|---|
| keyword | string | Search keyword | ✅ Yes |
import axios from "axios";
const resp = await axios.get("/api/search?keyword=one%20punch%20man");
console.log(resp.data);
Get autocomplete suggestions for search queries.
| Parameter | Type | Description | Default |
|---|---|---|---|
| type | string | Type (movie, tv, etc.) | ALL |
| status | string | Status (finished, currently_airing) | ALL |
| rated | string | Rating (G, PG, etc.) | ALL |
| score | string | Score (1-10) | ALL |
| season | string | Season (spring, summer, etc.) | ALL |
| language | string | Language (sub, dub) | ALL |
| genres | string | Comma-separated genres | ALL |
| sort | string | Sort method | DEFAULT |
| page | number | Page number | 1 |
import axios from "axios";
const resp = await axios.get("/api/filter?type=2&status=1&page=1");
console.log(resp.data);
Get the schedule of upcoming anime for a specific date.
import axios from "axios";
const resp = await axios.get("/api/schedule?date=2024-09-23");
console.log(resp.data);
Get the schedule for the next episode of a specific anime.
Retrieve the complete episode list for an anime.
import axios from "axios";
const resp = await axios.get("/api/episodes/one-piece-100");
console.log(resp.data);
Get all available streaming servers for an anime episode.
import axios from "axios";
const resp = await axios.get("/api/servers/one-piece-100?ep=12345");
console.log(resp.data);
| Parameter | Type | Description | Required |
|---|---|---|---|
| id | string | Episode ID | ✅ Yes |
| server | string | Server name | ✅ Yes |
| type | string | sub or dub | ✅ Yes |
import axios from "axios";
const resp = await axios.get("/api/stream?id=one-piece-100?ep=107257&server=hd-1&type=sub");
console.log(resp.data);
Alternative streaming source if primary fails.
Get the list of characters and voice actors for an anime.
import axios from "axios";
const resp = await axios.get("/api/character/list/one-piece-100");
console.log(resp.data);
Get detailed information about a specific character.
Get detailed information about a voice actor.
Get quick tooltip information for an anime.
import axios from "axios";
const resp = await axios.get("/api/qtip/3365");
console.log(resp.data);
Pull requests are welcomed that address bug fixes, improvements, or new features.
If you discover any issues or have suggestions for improvement, please open an issue on GitHub.
If you like the project, feel free to drop a star ✨. Your appreciation means a lot!