Skip to main content

Resource

AniAPI provides an endpoint to retrieve general purpose content, most of them utils. The API allows you to retrieve the last available Resources' version and retrieve individual Resource providing a version and a type.

Endpoints
GET/v1/resources
GET/v1/resources/:version/:type

Genres#

This is an array of strings containing all the availables genre value across AniAPI.

Changelog#

VersionDescription
1.0Default values

Localizations#

This is an array of objects containing all the possible locale values inside AniAPI.

Attributes#


i18n string#

The locale's ISO 639‑1 language code.


label string#

The locale's description.


Changelog#

VersionDescription
1.0Initial support for en and it values
1.1.5Added support for pl value

Retrieve last Resources' version#

GET/v1/resources

Parameters#

No parameters.

Returns#

Returns a string which identifies the latest available Resources' version.

caution

Older Resources' versions will be available forever, in order to serve also external services that don't follow our updates.

Try it#

This feature is not available on mobile.

Retrieve a specific Resource#

GET/v1/resources/:version/:type

Type#

Possible type enum values
"GENRES": 0,"LOCALIZATIONS": 1

Returns#

Returns a Resource object according to the version and type values provided.

Try it#

This feature is not available on mobile.