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 original streaming url.


video_headers map of strings#

The video's HTTP headers needed to navigate.


locale string#

The episode's website related locale.


quality integer nullable#

The episode's streaming quality.


format string#

The episode's streaming codec format.


is_dub bool#

Indicates if the episode is dubbed or subbed.


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...",  "locale": "it",  "quality": 1080,  "format": "mp4",  "is_dub": false,  "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.


is_dub bool optional#

A case-sensitive pattern filter on the list based on the is_dub 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.