Skip to main content

Episode

This is an object representing an Anime show's Episode. The API allows you to retrieve individual Episode as well as a list of them using various filters.

Endpoints
GET/v1/episode/:id
GET/v1/episode

The Episode object#

Attributes#


id integer#

Unique identifier for an Episode.


anime_id integer#

Anime external unique identifier.


number integer#

The episode's progressive number referring to the entire show.


title string#

The episode's localized title.


video string#

The episode's streaming url.


source string#

The episode's website from which it has been imported.


locale string#

The episode's website related locale.


Example#

Episode object example
{  "anime_id": 11,  "number": 1,  "title": "Il ragazzo di gomma",  "video": "https://api.aniapi.com/v1/proxy/https%3a%2f%2fcdn2.dr...",  "source": "dreamsub",  "locale": "it",  "id": 485}

Retrieve a specific Episode#

GET/v1/episode/:id

Retrieves an Episode, based on its unique identifier.

Parameters#

No parameters.

Returns#

Returns an Episode object if a valid identifier was provided.

Try it#

This feature is not available on mobile.

Get a list of Episode#

GET/v1/episode

Returns a list of Episode object. The Episodes are returned sorted by anime_id and number.

Parameters#


anime_id integer optional#

A filter on the list based on the anime_id field value.


number integer optional#

A filter on the list based on the number field value.


source string optional#

A case-sensitive pattern filter on the list based on the source field value.


locale string optional#

A case-sensitive pattern filter on the list based on the locale field value.


Returns#

Returns an array of Episode objects with a size based on the filter provided.

Try it#

This feature is not available on mobile.