Returns Random Anime or Filtered Anime by Tag
The Anime API provides random anime recommendations. You can get completely random anime or filter by specific genres.
/api/v1/anime/random
Parameter | Type | Required | Description |
---|---|---|---|
tags |
string | No | Comma-separated list of genre tags to filter by. Case-insensitive, supports spaces and underscores |
{ "title": "Anime Title", "mal_url": "https://myanimelist.net/anime/...", "type": "TV", "episodes": 24, "genres": ["Action", "Adventure", "Drama"] }
GET https://hishuanigami.com/api/v1/anime/random
GET https://hishuanigami.com/api/v1/anime/tags
GET https://hishuanigami.com/api/v1/anime/random?tags=action
GET https://hishuanigami.com/api/v1/anime/random?tags=action,adventure,fantasy
All of these will work for "Slice of Life" genre:
GET https://hishuanigami.com/api/v1/anime/random?tags=Slice of Life GET https://hishuanigami.com/api/v1/anime/random?tags=Slice_of_Life GET https://hishuanigami.com/api/v1/anime/random?tags=slice_of_life
Request successful, anime data returned
No anime found for the provided tags or no anime in database
{"error": "No anime found for the provided tags"}
Server error occurred while processing request
{"error": "Internal server error"}
The API uses flexible genre matching that: