Get profile and list statistics

Read a profile with the totals AniList shows for it.

GET https://cotlet.dev/api/v1/anilist/user-stats

read

Returns the profile name, score format, counts of titles per status, and the genres you rate highest. Private entries are counted only for your own account. It changes nothing.

Parameters

Parameters: get_user_stats
NameTypeDescription
username string string AniList username. Defaults to the signed-in account.

Request

cURL
curl https://cotlet.dev/api/v1/anilist/user-stats \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("anilist", "get_user_stats")
Node.js
const result = await cotlet.call('anilist', 'get_user_stats');
CLI
cotlet call anilist get_user_stats

Example response

JSON

{
  "username": "yourname",
  "score_format": "POINT_10",
  "anime": {
    "completed": 212,
    "current": 4,
    "planning": 87
  },
  "manga": {
    "completed": 31,
    "current": 2,
    "planning": 40
  },
  "top_genres": [
    "Fantasy",
    "Drama"
  ]
}

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.