;

Anime Map API Documentation

This API route allows you to map anime IDs from our database to other popular anime databases such as AniList and MyAnimeList. By using this route, you can retrieve the corresponding anime ID from these external databases, facilitating data integration and synchronization across different platforms.

Base URL

/api/anime-map

Authentication

Each request must include a valid key parameter. Unauthorized requests will receive a 401 Unauthorized response. You can obtain an API key by contacting us at [email protected]. You must mention a legitimate justification for using the API key in your email.

Rate Limiting

  • Each user is limited to 40 requests per minute.
  • Exceeding the limit returns a 429 Too Many Requests response.

1. Get Paginated Anime List

Endpoint

GET /api/anime-map

Query Parameters

ParameterTypeRequiredDescription
pageNumberNoThe page number (default: 1)
keyStringYesAPI authentication key

Response

Success (200 OK)

json

{
  "page": 1,
  "totalPages": 10,
  "isNextPage": true,
  "results": [
    {
      "id": "6755479600421d2345059887",
      "idAL": 16498,
      "idMal": 16498,
      "idAniDB": 9541,
      "idZoro": "attack-on-titan-112",
      "idGogo": "shingeki-no-kyojin",
      "idGogoDub": "shingeki-no-kyojin-dub",
      "episodesStats": {
        "sub": 25,
        "dub": 25,
        "total": 25
      }
    }
  ]
}

Errors

Status CodeMessageDescription
401{ "error": "Unauthorized" }Missing or invalid API key
429{ "error": "Too Many Requests" }Rate limit exceeded
500{ "error": "Internal Server Error" }Server-side error

2. Get Anime by ID

Endpoint

GET /api/anime-map/anime

Query Parameters

ParameterTypeRequiredDescription
idStringNoAnime ID in the database
idALNumberNoAniList ID
idMalNumberNoMyAnimeList ID
KeyStringYesAPI authentication key

At least one of id, idAL, or idMal must be provided.

Response

Success (200 OK)

json

{
  "id": "6755479600421d2345059887",
  "idAL": 16498,
  "idMal": 16498,
  "idAniDB": 9541,
  "idZoro": "attack-on-titan-112",
  "idGogo": "shingeki-no-kyojin",
  "idGogoDub": "shingeki-no-kyojin-dub",
  "episodesStats": {
    "sub": 25,
    "dub": 25,
    "total": 25
  }
}

Errors

Status CodeMessageDescription
400{ "error": "Missing id" }No valid anime ID provided
401{ "error": "Unauthorized" }Missing or invalid API key
404{ "error": "Anime not found" }Anime not found in the database
429{ "error": "Too Many Requests" }Rate limit exceeded
500{ "error": "Internal Server Error" }Server-side error