anilist.season
stable Advanced
AniList anime of a season and year.
GET /v1/anilist/season
What you get#
A list of Anilist results in Onekey's unified shape, in data (an array). An empty array is a normal, successful answer and is charged like any other; a source that reports "nothing found" as an error returns a free 404 not_found instead.
What it costs#
- Advanced · 5 credits for a fresh fetch, charged only when it succeeds.
- Free when served from cache (0.2 credit for a cached response over 100 KB).
- Free if the request is invalid (never charged) or the source fails or reports not found (refunded).
Parameters#
| Name | Type | Required | Default | What it is | Constraints |
|---|---|---|---|---|---|
season | string | yes | (required) | WINTER, SPRING, SUMMER or FALL | max 6 chars; must match (?:WINTER|SPRING|SUMMER|FALL); trimmed |
year | string | yes | (required) | Year | max 4 chars; must match (?:19|20)[0-9]{2}; trimmed |
Request#
curl "https://api.onekey.dev/v1/anilist/season?season=FALL&year=2024" \
-H "x-api-key: YOUR_API_KEY"Try it
Add your key to run this call right here. No key? Get one free. The key stays in this tab.
Recorded response#
A real Anilist response, recorded and returned in Onekey's shape. Fields the platform does not provide are null.
{
"success": true,
"data": [
{
"entity": {
"id": "171018",
"name": "Dandadan",
"url": "https://anilist.co/anime/171018",
"description": "This is a story about Momo, a high school girl who comes from a family of spirit mediums, and her classmate Okarun, an occult fanatic. After Momo rescues Okarun from being bullied, they begin talking. However, an argument ensues between them since Momo believes in ghosts but denies aliens exist, and Okarun believes in aliens but denies ghosts exist. To prove to each other what they believe in is real, Momo goes to an abandoned hospital where a UFO has been spotted and Okarun goes to a t",
"status": "FINISHED",
"stats": {
"score": 83,
"popularity": 388309,
"favorites": 19305
},
"year": 2024,
"category": "Action"
},
"ext": {
"englishName": "DAN DA DAN",
"format": "TV",
"episodes": 12
},
"media": {
"thumbnailUrl": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx171018-60q1B6GK2Ghb.jpg"
}
},
{
"entity": {
"id": "163134",
"name": "Re:Zero kara Hajimeru Isekai Seikatsu 3rd Season",
"url": "https://anilist.co/anime/163134",
"description": "A year has passed since Subaru’s victory at the Sanctuary. He savors a life of fulfillment while Emilia’s camp stands united for the royal selection—until a fateful letter arrives. Anastasia, a royal selection candidate, has invited Emilia to the Watergate City of Priestella. But as the party begins its journey, crisis stirs beneath the surface and Subaru meets a cruel fate once again. (Source: Crunchyroll) Note: The first episode has an extended runtime of ~90 minutes, and",
"status": "FINISHED",
"stats": {
"score": 84,
"popularity": 198282,
"favorites": 6528
},
"year": 2024,
"category": "Action"
},
"ext": {
"englishName": "Re:ZERO -Starting Life in Another World- Season 3",
"format": "TV",
"episodes": 16
},
"media": {
"thumbnailUrl": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx163134-yieRFbvUOH9a.jpg"
}
}
],
"metadata": {
"platform": "anilist",
"endpoint": "season",
"cached": false,
"stale": false,
"age_s": 0,
"fetched_at": "2026-01-01T12:00:00+00:00",
"credits_charged": 5,
"request_id": "7f3a9c2e5b1d4c8fa2e6d0b9c4f18e37"
},
"error": null
}Field mapping#
How this endpoint's source fields become Onekey's unified schema. Fields the source lacks come back as null.
| Source path | Onekey field | Transform |
|---|---|---|
id | entity.id | toString |
title.romaji | entity.name | - |
title.english | ext.englishName | - |
siteUrl | entity.url | safeUrl |
description | entity.description | stripHtml |
format | ext.format | - |
status | entity.status | - |
episodes | ext.episodes | toNumber |
averageScore | entity.stats.score | toNumber |
popularity | entity.stats.popularity | toNumber |
favourites | entity.stats.favorites | toNumber |
seasonYear | entity.year | toNumber |
genres.0 | entity.category | - |
coverImage.large | media.thumbnailUrl | safeUrl |
Caching and freshness#
- Fresh for about 1 hour. Repeat calls in that window are served from cache and are free.
- Between 1 hour and 1 day the cached copy is still served instantly and marked
stale: truewhile Onekey refreshes it in the background. - If the source is down when a refresh is needed, the last copy can be served for up to 3 days more (marked stale).
- A "not found" is remembered for 5 minutes and is free.
- The cache is shared across all customers, which is what keeps repeat calls cheap.
What can go wrong#
| Status | Code | What to do |
|---|---|---|
| 401 | unauthorized | Check the x-api-key header. |
| 402 | insufficient_credits | Add credits; your balance must cover the price. |
| 404 | not_found | Unknown endpoint path. |
| 422 | invalid_params | Fix the parameters using the table above. Free. |
| 429 | rate_limited | Wait Retry-After seconds, then retry. |
| 502 | upstream_error | The source failed. Refunded; retry with backoff. |
See Errors for the full list and retry guidance.
Status: stable (verified against the live source).