Get Anime Information with Filters in TioAnime
This endpoint allows you to get anime information with filters in TioAnime.
- Method: GET
- Route:
/anime/tioanime/filter
Query Parameter
| Parameter | Type | Description |
|---|---|---|
| title | string | null |
| gen | string | The genre of the anime. If you want to add one or more than one genre, you should separate each genre using this example: gen%5B%5D=GenreName&. |
| begin_year | number | The starting year. |
| end_year | number | The final year. |
| type | number | The type of the anime: 0 = TV, 1 = Movie, 2 = OVA, 3 = Special |
| status | number | The status of the anime: 3 = coming soon, 2 = completed, 1 = on air. |
| sort | string | Order to show the anime: recent, -recent. |
List of available genres for TioAnime
| Arguments #1 | Arguments #2 | Arguments #3 | Arguments #4 | Arguments #5 |
|---|---|---|---|---|
| accion | artes-marciales | aventura | carreras | ciencia-ficcion |
| comedia | demencia | demonios | deportes | drama |
| ecchi | escolares | espacial | fantasia | harem |
| historico | infantil | josei | juegos | magia |
| mecha | militar | misterio | musica | parodia |
| policia | psicologico | recuentos-de-la-vida | romance | samurai |
| seinen | shoujo | shounen | sobrenatural | superpoderes |
| suspenso | terror | vampiros | yaoi | yuri |
Response
The response of this endpoint contains the filtered anime information from TioAnime.
{
"results": [
{
"name": "string",
"image": "string",
"url": "/anime/tioanime/name/${string}",
"type": "string"
}
]
}
Example of use
GET https://jimov-api.vercel.app/anime/tioanime/filter?gen%5B%5D=aventura&gen%5B%5D=demencia&type=0&begin_year=1950&begin_year=2023&status=2&sort=recent
JavaScript
const response = await fetch(
"https://jimov-api.vercel.app/anime/tioanime/filter?gen%5B%5D=aventura&gen%5B%5D=demencia&type=0&begin_year=1950&begin_year=2023&status=2&sort=recent"
);
const data = await response.json();
console.log(data);