Get a title

Read one anime or manga with its details.

GET https://cotlet.dev/api/v1/anilist/medias/{media_id}

read

Returns titles, format, release status, episode or chapter count, genres, tags, average score and popularity. If the title is on your list, it adds your status, progress and score. It changes nothing.

Parameters

Parameters: get_media
NameTypeDescription
media_id integer required integer AniList media ID from search_media or list_media_list.

Request

cURL
curl https://cotlet.dev/api/v1/anilist/medias/1 \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("anilist", "get_media", {"media_id":1})
Node.js
const result = await cotlet.call('anilist', 'get_media', {"media_id":1});
CLI
cotlet call anilist get_media --data '{"media_id":1}'

Example response

JSON

{
  "media_id": 154587,
  "title": "Frieren: Beyond Journey's End",
  "type": "ANIME",
  "status": "FINISHED",
  "episodes": 28,
  "genres": [
    "Adventure",
    "Drama",
    "Fantasy"
  ],
  "average_score": 91,
  "your_entry": {
    "status": "CURRENT",
    "progress": 24,
    "score": null
  }
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.