Overview
AniDojo provides two functions for fetching seasonal anime data:getSeasonalAnime()- Get anime from a specific season and yeargetCurrentSeasonAnime()- Get anime from the current season
getSeasonalAnime()
Retrieve anime that aired during a specific season and year.Function Signature
Parameters
The year to fetch anime from.
- Format: Four-digit year (e.g., 2024, 2023)
- Range: 1917 to current year + 1
- Example:
2024,2023,2022
The season to fetch anime from.
winter- January, February, Marchspring- April, May, Junesummer- July, August, Septemberfall- October, November, December
Season names must be lowercase
Maximum number of results to return.
- Range: 1-25
- Default: All results (no limit)
- Useful for previews or reduced bandwidth
Return Value
Returns aJikanSearchResponse with seasonal anime data.
Array of anime that aired during the specified season.Results include:
- All anime with
seasonmatching the parameter - Sorted by popularity/score
- Complete metadata (see JikanAnime interface)
Pagination information (typically single page for seasonal queries)
Examples
Advanced Usage
getCurrentSeasonAnime()
Retrieve anime currently airing in the present season.Function Signature
Parameters
Maximum number of results to return.
- Range: 1-25
- Default: All results
- Use smaller limits for homepage previews
Return Value
Array of anime currently airing in the present season.Automatically determines:
- Current year
- Current season (winter/spring/summer/fall)
- Returns anime airing now
Pagination metadata
Examples
Advanced Usage
React Hook Usage
Use theuseSeasonalAnime hook for React components:
Season Mappings
MyAnimeList uses the following season definitions:- Winter
- Spring
- Summer
- Fall
January - MarchTypically includes:
- New year releases
- Continuation of fall series
Performance & Caching
Caching Behavior
Seasonal queries are cached for 5 minutes:Rate Limiting
Automatic rate limiting applies:- Max 3 requests per second
- Queued execution
- Retry on 429 errors
Error Handling
API Endpoints
These functions call the following Jikan endpoints: getSeasonalAnime()See Also
searchAnime()
Search anime by title or keyword
getTopAnime()
Get highest-rated anime
Browse Anime
User guide for discovering seasonal anime
API Overview
Complete API reference