Anime

8 endpoints under Anime.

GET /v1/anime/home

Batch home feed — trending, popular, seasonal, upcoming, recent.

Request
curl -H "x-animex-internal-token: YOUR_TOKEN" \
  "https://your-api-host/v1/anime/home"
$ch = curl_init('https://your-api-host/v1/anime/home');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    'x-animex-internal-token: YOUR_TOKEN',
]);

$response = curl_exec($ch);
curl_close($ch);

$data = json_decode($response, true);
print_r($data);
const response = await fetch('https://your-api-host/v1/anime/home', {
  headers: {
    'x-animex-internal-token': 'YOUR_TOKEN',
  },
});

const data = await response.json();
console.log(data);
GET /v1/anime/genre-list

List of all anime genres.

Request
curl -H "x-animex-internal-token: YOUR_TOKEN" \
  "https://your-api-host/v1/anime/genre-list"
$ch = curl_init('https://your-api-host/v1/anime/genre-list');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    'x-animex-internal-token: YOUR_TOKEN',
]);

$response = curl_exec($ch);
curl_close($ch);

$data = json_decode($response, true);
print_r($data);
const response = await fetch('https://your-api-host/v1/anime/genre-list', {
  headers: {
    'x-animex-internal-token': 'YOUR_TOKEN',
  },
});

const data = await response.json();
console.log(data);
GET /v1/anime/trending

Trending anime.

NameInTypeRequired
page query integer optional
Request
curl -H "x-animex-internal-token: YOUR_TOKEN" \
  "https://your-api-host/v1/anime/trending"
$ch = curl_init('https://your-api-host/v1/anime/trending');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    'x-animex-internal-token: YOUR_TOKEN',
]);

$response = curl_exec($ch);
curl_close($ch);

$data = json_decode($response, true);
print_r($data);
const response = await fetch('https://your-api-host/v1/anime/trending', {
  headers: {
    'x-animex-internal-token': 'YOUR_TOKEN',
  },
});

const data = await response.json();
console.log(data);
GET /v1/anime/popular

Most popular anime.

NameInTypeRequired
page query integer optional
Request
curl -H "x-animex-internal-token: YOUR_TOKEN" \
  "https://your-api-host/v1/anime/popular"
$ch = curl_init('https://your-api-host/v1/anime/popular');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    'x-animex-internal-token: YOUR_TOKEN',
]);

$response = curl_exec($ch);
curl_close($ch);

$data = json_decode($response, true);
print_r($data);
const response = await fetch('https://your-api-host/v1/anime/popular', {
  headers: {
    'x-animex-internal-token': 'YOUR_TOKEN',
  },
});

const data = await response.json();
console.log(data);
GET /v1/anime/search

Search anime by title.

NameInTypeRequired
q query string required
page query integer optional
Request
curl -H "x-animex-internal-token: YOUR_TOKEN" \
  "https://your-api-host/v1/anime/search"
$ch = curl_init('https://your-api-host/v1/anime/search');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    'x-animex-internal-token: YOUR_TOKEN',
]);

$response = curl_exec($ch);
curl_close($ch);

$data = json_decode($response, true);
print_r($data);
const response = await fetch('https://your-api-host/v1/anime/search', {
  headers: {
    'x-animex-internal-token': 'YOUR_TOKEN',
  },
});

const data = await response.json();
console.log(data);
GET /v1/anime/random

A random anime.

Request
curl -H "x-animex-internal-token: YOUR_TOKEN" \
  "https://your-api-host/v1/anime/random"
$ch = curl_init('https://your-api-host/v1/anime/random');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    'x-animex-internal-token: YOUR_TOKEN',
]);

$response = curl_exec($ch);
curl_close($ch);

$data = json_decode($response, true);
print_r($data);
const response = await fetch('https://your-api-host/v1/anime/random', {
  headers: {
    'x-animex-internal-token': 'YOUR_TOKEN',
  },
});

const data = await response.json();
console.log(data);
GET /v1/anime/:id

Full anime metadata including episode list.

NameInTypeRequired
id path string required
refresh query boolean optional
Request
curl -H "x-animex-internal-token: YOUR_TOKEN" \
  "https://your-api-host/v1/anime/{id}"
$ch = curl_init('https://your-api-host/v1/anime/{id}');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    'x-animex-internal-token: YOUR_TOKEN',
]);

$response = curl_exec($ch);
curl_close($ch);

$data = json_decode($response, true);
print_r($data);
const response = await fetch('https://your-api-host/v1/anime/{id}', {
  headers: {
    'x-animex-internal-token': 'YOUR_TOKEN',
  },
});

const data = await response.json();
console.log(data);
Example response
{
  "success": true,
  "data": {
    "id": "16498",
    "title": "Attack on Titan",
    "image": "https://.../poster.jpg",
    "status": "Completed",
    "subEpisodes": 25,
    "dubEpisodes": 25,
    "episodes": [ { "number": 1, "title": "To You, 2000 Years From Now" } ]
  }
}
GET /v1/anime/:id/episodes

Episode list only (lighter than full info).

NameInTypeRequired
id path string required
refresh query boolean optional
Request
curl -H "x-animex-internal-token: YOUR_TOKEN" \
  "https://your-api-host/v1/anime/{id}/episodes"
$ch = curl_init('https://your-api-host/v1/anime/{id}/episodes');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    'x-animex-internal-token: YOUR_TOKEN',
]);

$response = curl_exec($ch);
curl_close($ch);

$data = json_decode($response, true);
print_r($data);
const response = await fetch('https://your-api-host/v1/anime/{id}/episodes', {
  headers: {
    'x-animex-internal-token': 'YOUR_TOKEN',
  },
});

const data = await response.json();
console.log(data);