RapidAPI logo

Anilist

FREE
By mikilior1
Updated 4 months ago
News, Media
8.2/10
Popularity Score
266ms
Latency
100%
Success Rate

Anilist API Overview

Anilist API - Discover and share Anime and Manga.

Contact API Provider
star-blueRate

Anilist

Anilist Package

Connect to the Anilist API to host language-agnostic functions and algorithms via an API. Test an API call and export the code snippet into your app.

  • Domain: anilist.co
  • Credentials: clientId, clientSecret, code, accessToken

How to get credentials:

  1. Log into your AniList account (or create one if you haven’t already) and go to the developer settings. Click ‘Create New Client’ and enter your client’s information, once saved you will receive your client id and secret.
  2. Get authorization code for this instruction.
  3. Make request to getAccessToken method.

Anilist.getAccessToken

Return access token

Field Type Description
clientId credentials Client ID
clientSecret credentials Client secret
code credentials Authorization code
redirectUri String Client redirect uri

Anilist.getUser

Return current user

Field Type Description
accessToken credentials Access Token

Anilist.getUserActivity

Get current user activity

Field Type Description
accessToken credentials Access Token

Anilist.createUserActivity

Create user activity

Field Type Description
accessToken credentials Access Token
text String Activity text

Anilist.replyUserActivity

Activity reply

Field Type Description
accessToken credentials Access Token
text String Activity text
replyId String Activity id

Anilist.deleteUserActivity

Delete single activity

Field Type Description
accessToken credentials Access Token
activityId String Activity id

Anilist.getUserNotifications

Returns up to 10 notifications of the current user.

Field Type Description
accessToken credentials Access Token

Anilist.getUserFollowers

Returns followers of the current user.

Field Type Description
accessToken credentials Access Token
userId String userId

Anilist.getUserFollowing

Returns following of the current user.

Field Type Description
accessToken credentials Access Token
userId String userId

Anilist.getUserFavourites

Returns a user’s favourites.

Field Type Description
accessToken credentials Access Token
userId String userId

Anilist.getUserAiring

Returns anime list entry with small model anime, where the anime is currently airing and being currently watched by the user.

Field Type Description
accessToken credentials Access Token

Anilist.userSearch

Returns small user models

Field Type Description
accessToken credentials Access Token
query String Search string

Anilist.getAnimeList

Get anime list

Field Type Description
accessToken credentials Access Token
userId String User ID

Anilist.createAnimeListEntry

Get anime list

Field Type Description
accessToken credentials Access Token
id String Anime id
listStatus Select watching,completed,on-hold,dropped,plan to watch
notes String List description
hidden Boolean List hidden

Anilist.editAnimeListEntry

Edit anime list entry

Field Type Description
accessToken credentials Access Token
id String Anime id
listStatus Select watching,completed,on-hold,dropped,plan to watch
notes String List description
hidden Boolean List hidden

Anilist.getUserMangalist

Get user mangalist

Field Type Description
accessToken credentials Access Token
userId String User id

Anilist.createMangaListEntry

Create mangalist

Field Type Description
accessToken credentials Access Token
id String Manga id
listStatus Select reading,completed,on-hold,dropped,plan to read
notes String List description
hidden Boolean Manga list hidden

Anilist.editMangaListEntry

Edit mangalist

Field Type Description
accessToken credentials Access Token
id String Manga id
listStatus Select reading,completed,on-hold,dropped,plan to read
notes String List description
notes String Manga list description
hidden Boolean Manga list hidden

Anilist.deleteMangaListEntry

Delete manga list entry

Field Type Description
accessToken credentials Access Token
manId String Manga list id

Anilist.deleteAnimeListEntry

Delete anime list entry

Field Type Description
accessToken credentials Access Token
animeId String Anime list id

Anilist.getSeriesPage

Returns a series model.

Field Type Description
accessToken credentials Access Token
seriesType Select anime or manga
id String Series id

Anilist.getSeriesAiring

Returns a series airing.

Field Type Description
accessToken credentials Access Token
seriesType Select anime or manga
id String Series id

Anilist.getSeriesList

Returns up to 40 small series models.

Field Type Description
accessToken credentials Access Token
seriesType Select anime or manga

Anilist.toggleFavouriteSeries

Toggle favourite series.

Field Type Description
accessToken credentials Access Token
seriesType Select anime or manga
id String Series id

Anilist.searchSeries

Search series models.

Field Type Description
accessToken credentials Access Token
seriesType Select anime or manga
query String Search string

Anilist.getCharacter

Get character model

Field Type Description
accessToken credentials Access Token
characterId String Character id

Anilist.getCharacterPage

Get character page

Field Type Description
accessToken credentials Access Token
characterId String Character id

Anilist.toggleFavouriteCharacter

Toggle favourite character

Field Type Description
accessToken credentials Access Token
characterId String Character id

Anilist.searchCharacter

Search character

Field Type Description
accessToken credentials Access Token
query String Search string

Anilist.getStaff

Returns staff model.

Field Type Description
accessToken credentials Access Token
staffId String Staff ID

Anilist.getStaffPage

Get staff page

Field Type Description
accessToken credentials Access Token
staffId String Staff ID

Anilist.toggleFavouriteStaff

Toggle favourite staff

Field Type Description
accessToken credentials Access Token
staffId String Favourite staff ID

Anilist.searchStaff

Search staff model

Field Type Description
accessToken credentials Access Token
query String Search string

Anilist.getStudio

Returns a studio model.

Field Type Description
accessToken credentials Access Token
studioId String Studio ID

Anilist.getStudioPage

Get studio page

Field Type Description
accessToken credentials Access Token
studioId String Studio ID

Anilist.searchStudio

Search studio model

Field Type Description
accessToken credentials Access Token
query String Search string

Anilist.getSingleReview

Returns review model with small anime/manga and small user model.

Field Type Description
accessToken credentials Access Token
seriesType Select anime or manga
reviewId String Review id

Anilist.getReviews

Returns array of review models with anime/manga and small user model.

Field Type Description
accessToken credentials Access Token
seriesType Select anime or manga
id Select anime or manga id

Anilist.getUserReviews

Returns array of review models with anime/manga and small user model.

Field Type Description
accessToken credentials Access Token
userId String User id

Anilist.setReviewRate

Set review rate

Field Type Description
accessToken credentials Access Token
id String Id of review to rate
rating Select 0 no rating, 1 up/positive rating, 2 down/negative rating

Anilist.getRecentForumPage

Returns threads ordered by most recent activity or creation.

Field Type Description
accessToken credentials Access Token

Anilist.getNewForumPage

Returns threads ordered by most recent creation.

Field Type Description
accessToken credentials Access Token

Anilist.getUserSubscribedPage

Returns threads the user has subscribed to, ordered by most recent activity or creation.

Field Type Description
accessToken credentials Access Token

Anilist.getSingleThread

Get single thread

Field Type Description
accessToken credentials Access Token
threadId String Thread id

Anilist.createThread

Create thread

Field Type Description
accessToken credentials Access Token
title String Thread title
body String Thread body
tags List Comma separated tag ids. Example: ['1','2','3']
tagsAnime List Comma separated anime ids. Example: ['1','2','3']
tagsManga List Comma separated manga ids. Example: ['1','2','3']

Anilist.editThread

Edit thread

Field Type Description
accessToken credentials Access Token
title String Thread title
body String Thread body
tags List Comma separated tag ids. Example: ['1','2','3']
tagsAnime List Comma separated anime ids. Example: ['1','2','3']
tagsManga List Comma separated manga ids. Example: ['1','2','3']
Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://Anilistmikilior1V1.p.rapidapi.com/createAnimeListEntry")
.header("X-RapidAPI-Host", "Anilistmikilior1V1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication