# AniList on Onekey > 13 endpoints for AniList (13 stable, 0 beta), 1 to 5 credits each. Category: Entertainment, art & culture. One key, one JSON shape. Base URL: https://api.onekey.dev Auth: header `x-api-key: `. Call shape: `GET /v1/{platform}/{endpoint}?{params}`. Every response is `{success, data, metadata, error}`; check `success` first. Cost is in `metadata.credits_charged`. Free when served from cache (0.2 credit for a cached response over 100 KB). Failed and not-found calls are refunded. Status: stable = verified against the live source; beta = not yet verified, fields may be missing. Page: https://onekey.dev/platforms/anilist Reference (Markdown): https://onekey.dev/docs/api/anilist.md All docs: https://onekey.dev/llms.txt ## Canonical fields returned Unified-schema fields (same names on every platform), with how many of the 13 mapped AniList endpoints return each: - `entity.id` (string): 9 - `entity.name` (string): 9 - `entity.stats.favorites` (integer): 9 - `entity.url` (URL): 9 - `media.thumbnailUrl` (URL): 8 - `entity.description` (string): 7 - `entity.category` (string): 6 - `entity.stats.popularity` (number): 6 - `entity.stats.score` (number): 6 - `entity.status` (string): 6 - `entity.year` (integer): 6 - `author.avatarUrl` (URL): 3 - `author.id` (string): 3 - `author.url` (URL): 3 - `author.displayName` (string): 2 - `author.bio` (string): 1 - `author.username` (string): 1 - `content.createdAt` (ISO 8601 date): 1 - `content.id` (string): 1 - `content.title` (string): 1 - `content.url` (URL): 1 - plus 8 platform-specific fields under `ext.` ## Endpoints ### anilist.airing Upcoming airing episodes on AniList. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/anilist/airing` with header `x-api-key: YOUR_API_KEY` - Parameters: none - Fields returned: `content.id`, `content.title`, `content.url`, `content.createdAt`, `ext.episode` - Reference: https://onekey.dev/docs/api/anilist/airing.md ### anilist.character AniList character by id. - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/anilist/character?id=1` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): AniList id - Fields returned: `entity.id`, `entity.name`, `entity.url`, `entity.description`, `entity.stats.favorites`, `media.thumbnailUrl`, `ext.nativeName` - Reference: https://onekey.dev/docs/api/anilist/character.md ### anilist.character_search Search AniList characters. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/anilist/character_search?q=luffy` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search text - Fields returned: `entity.id`, `entity.name`, `entity.url`, `entity.stats.favorites`, `media.thumbnailUrl`, `ext.nativeName` - Reference: https://onekey.dev/docs/api/anilist/character_search.md ### anilist.manga_search Search AniList manga. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/anilist/manga_search?q=berserk` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search text - Fields returned: `entity.id`, `entity.name`, `entity.url`, `entity.description`, `entity.status`, `entity.stats.score`, `entity.stats.popularity`, `entity.stats.favorites`, `entity.year`, `entity.category`, `media.thumbnailUrl`, `ext.englishName`, `ext.format`, `ext.episodes` - Reference: https://onekey.dev/docs/api/anilist/manga_search.md ### anilist.media AniList anime/manga by id. - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/anilist/media?id=1` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): AniList id - Fields returned: `entity.id`, `entity.name`, `entity.url`, `entity.description`, `entity.status`, `entity.stats.score`, `entity.stats.popularity`, `entity.stats.favorites`, `entity.year`, `entity.category`, `media.thumbnailUrl`, `ext.englishName`, `ext.format`, `ext.episodes` - Reference: https://onekey.dev/docs/api/anilist/media.md ### anilist.popular Most popular anime on AniList. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/anilist/popular` with header `x-api-key: YOUR_API_KEY` - Parameters: none - Fields returned: `entity.id`, `entity.name`, `entity.url`, `entity.description`, `entity.status`, `entity.stats.score`, `entity.stats.popularity`, `entity.stats.favorites`, `entity.year`, `entity.category`, `media.thumbnailUrl`, `ext.englishName`, `ext.format`, `ext.episodes` - Reference: https://onekey.dev/docs/api/anilist/popular.md ### anilist.search Search AniList anime. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/anilist/search?q=naruto` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search text - Fields returned: `entity.id`, `entity.name`, `entity.url`, `entity.description`, `entity.status`, `entity.stats.score`, `entity.stats.popularity`, `entity.stats.favorites`, `entity.year`, `entity.category`, `media.thumbnailUrl`, `ext.englishName`, `ext.format`, `ext.episodes` - Reference: https://onekey.dev/docs/api/anilist/search.md ### anilist.season AniList anime of a season and year. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/anilist/season?season=FALL&year=2024` with header `x-api-key: YOUR_API_KEY` - Parameters: - `season` (string, required): WINTER, SPRING, SUMMER or FALL - `year` (string, required): Year - Fields returned: `entity.id`, `entity.name`, `entity.url`, `entity.description`, `entity.status`, `entity.stats.score`, `entity.stats.popularity`, `entity.stats.favorites`, `entity.year`, `entity.category`, `media.thumbnailUrl`, `ext.englishName`, `ext.format`, `ext.episodes` - Reference: https://onekey.dev/docs/api/anilist/season.md ### anilist.staff AniList staff (voice actor, author, director) by id. - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/anilist/staff?id=95002` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): AniList id - Fields returned: `author.id`, `author.displayName`, `author.url`, `author.bio`, `author.avatarUrl`, `ext.nativeName`, `ext.authorFavorites` - Reference: https://onekey.dev/docs/api/anilist/staff.md ### anilist.staff_search Search AniList staff. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/anilist/staff_search?q=miyazaki` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search text - Fields returned: `author.id`, `author.displayName`, `author.url`, `author.avatarUrl`, `ext.authorFavorites` - Reference: https://onekey.dev/docs/api/anilist/staff_search.md ### anilist.studio AniList studio by id. - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/anilist/studio?id=21` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): AniList id - Fields returned: `entity.id`, `entity.name`, `entity.url`, `entity.stats.favorites` - Reference: https://onekey.dev/docs/api/anilist/studio.md ### anilist.trending Currently trending anime on AniList. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/anilist/trending` with header `x-api-key: YOUR_API_KEY` - Parameters: none - Fields returned: `entity.id`, `entity.name`, `entity.url`, `entity.description`, `entity.status`, `entity.stats.score`, `entity.stats.popularity`, `entity.stats.favorites`, `entity.year`, `entity.category`, `media.thumbnailUrl`, `ext.englishName`, `ext.format`, `ext.episodes` - Reference: https://onekey.dev/docs/api/anilist/trending.md ### anilist.user AniList user profile by name. - Price: 1 credit per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/anilist/user?name=AniList` with header `x-api-key: YOUR_API_KEY` - Parameters: - `name` (string, required): AniList username - Fields returned: `author.id`, `author.username`, `author.url`, `author.avatarUrl`, `ext.animeCount`, `ext.episodesWatched` - Reference: https://onekey.dev/docs/api/anilist/user.md ## Sample request ```bash curl "https://api.onekey.dev/v1/anilist/character?id=1" \ -H "x-api-key: YOUR_API_KEY" ```