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
| Name | Type | Description |
|---|---|---|
| username string | string | AniList username. Defaults to the signed-in account. |
Request
curl https://cotlet.dev/api/v1/anilist/user-stats \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("anilist", "get_user_stats") const result = await cotlet.call('anilist', 'get_user_stats'); cotlet call anilist get_user_stats Example response
{
"username": "yourname",
"score_format": "POINT_10",
"anime": {
"completed": 212,
"current": 4,
"planning": 87
},
"manga": {
"completed": 31,
"current": 2,
"planning": 40
},
"top_genres": [
"Fantasy",
"Drama"
]
}