# AniList API

> AniList returns upcoming anime episodes and next-episode details, available as a workflow and API.

Get airing schedule returns upcoming episodes ordered by air time and uses a city or time zone, days ahead, and maximum results as inputs. Get next episode returns the next scheduled episode for an anime and accepts an anime name plus an optional city or time zone; it defaults to UTC.

- Page: https://fous.com/tools/anilist
- Handle: `@anilist`
- Category: [Entertainment](https://fous.com/tools/category/entertainment)
- Source website: https://anilist.co
- Last verified: Sep 29, 2026

## Methods

### Get airing schedule

Operation `get_airing_schedule`, version 1. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.

Get upcoming AniList anime episodes, ordered by air time, with local air times and available streaming links. City names use the best matching location; streaming links may be unavailable.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `time_zone` | string | no | `"America/New_York"` | City or time zone name for air times, for example New York or America/New_York. |
| `days_ahead` | integer | no | `2` | Number of days ahead to include, for example 7. |
| `max_results` | integer | no | `10` | Maximum number of upcoming episodes to return, for example 100. |

**Input schema**

```json
{
  "type": "object",
  "properties": {
    "time_zone": {
      "type": "string",
      "default": "UTC",
      "description": "City or time zone name for air times, for example New York or America/New_York.",
      "examples": [
        "America/New_York",
        "New York",
        "UTC"
      ]
    },
    "days_ahead": {
      "type": "integer",
      "default": 7,
      "maximum": 14,
      "minimum": 1,
      "description": "Number of days ahead to include, for example 7.",
      "examples": [
        2,
        7,
        14
      ]
    },
    "max_results": {
      "type": "integer",
      "default": 100,
      "maximum": 500,
      "minimum": 1,
      "description": "Maximum number of upcoming episodes to return, for example 100.",
      "x-fous-developer": true,
      "examples": [
        10,
        100,
        70
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "time_zone": "America/New_York",
      "days_ahead": 2,
      "max_results": 10
    },
    {
      "time_zone": "New York",
      "days_ahead": 7,
      "max_results": 100
    },
    {
      "time_zone": "UTC",
      "days_ahead": 14,
      "max_results": 70
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `airing_episodes` | array |  |  |
| `airing_episodes[].format` | string or null | `"TV"` | Anime format such as TV or ONA. |
| `airing_episodes[].air_time` | string | `"2026-09-29T08:30:00-04:00"` | Scheduled episode time in the chosen time zone, with UTC offset. |
| `airing_episodes[].anilist_id` | integer | `187260` |  |
| `airing_episodes[].anime_title` | string | `"I Want to Love You Till Your Dying Day"` | English anime title, or romanized Japanese title. |
| `airing_episodes[].anilist_link` | string | `"https://anilist.co/anime/187260"` |  |
| `airing_episodes[].episode_number` | integer | `13` |  |
| `airing_episodes[].total_episodes` | integer or null | `13` |  |
| `airing_episodes[].streaming_links` | array |  |  |
| `airing_episodes[].cover_image_link` | string or null | `"https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx187260-WW5RBa5NINRP.jpg"` |  |

**Example input**

```json
{
  "time_zone": "America/New_York",
  "days_ahead": 2,
  "max_results": 10
}
```

**Example output**

```json
{
  "airing_episodes": [
    {
      "format": "TV",
      "air_time": "2026-09-29T08:30:00-04:00",
      "anilist_id": 187260,
      "anime_title": "I Want to Love You Till Your Dying Day",
      "anilist_link": "https://anilist.co/anime/187260",
      "episode_number": 13,
      "total_episodes": 13,
      "streaming_links": [
        {
          "link": "https://www.crunchyroll.com/series/GT00374354/i-want-to-love-you-till-your-dying-day",
          "site_name": "Crunchyroll"
        }
      ],
      "cover_image_link": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx187260-WW5RBa5NINRP.jpg"
    },
    {
      "format": "TV",
      "air_time": "2026-09-29T12:35:00-04:00",
      "anilist_id": 207809,
      "anime_title": "Red River",
      "anilist_link": "https://anilist.co/anime/207809",
      "episode_number": 13,
      "total_episodes": 24,
      "streaming_links": [
        {
          "link": "https://www.crunchyroll.com/series/GT00378099/red-river",
          "site_name": "Crunchyroll"
        }
      ],
      "cover_image_link": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx207809-cpS7CAyjN7iP.jpg"
    },
    {
      "format": "ONA",
      "air_time": "2026-09-29T19:00:00-04:00",
      "anilist_id": 204656,
      "anime_title": "mofusand",
      "anilist_link": "https://anilist.co/anime/204656",
      "episode_number": 39,
      "total_episodes": null,
      "streaming_links": [
        {
          "link": "https://www.youtube.com/playlist?list=PLRj9zPfLhyY2BfhHtx01IzU9UU3Thjrff",
          "site_name": "YouTube"
        }
      ],
      "cover_image_link": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/b204656-KXjxVB4bBhl8.jpg"
    }
  ]
}
```

### Get next episode

Operation `get_next_episode`, version 1. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.

Get the most popular matching anime’s next scheduled episode, local air time, status, episode count, and streaming links. Air times and total episode counts may be unavailable on AniList.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `anime` | string | yes | `"One Piece"` | Anime name in English or Japanese, for example One Piece. |
| `time_zone` | string | no | `"London"` | City or time zone for the air time, for example London or Europe/London. Defaults to UTC. |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "anime"
  ],
  "properties": {
    "anime": {
      "type": "string",
      "description": "Anime name in English or Japanese, for example One Piece.",
      "examples": [
        "One Piece",
        "Fullmetal Alchemist: Brotherhood",
        "鬼滅の刃"
      ]
    },
    "time_zone": {
      "type": "string",
      "default": "UTC",
      "description": "City or time zone for the air time, for example London or Europe/London. Defaults to UTC.",
      "examples": [
        "London",
        "America/New_York"
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "anime": "One Piece",
      "time_zone": "London"
    },
    {
      "anime": "Fullmetal Alchemist: Brotherhood",
      "time_zone": "America/New_York"
    },
    {
      "anime": "鬼滅の刃"
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `title` | object |  |  |
| `title.english` | string or null | `"ONE PIECE"` | English anime title, if available. |
| `title.japanese_romaji` | string or null | `"ONE PIECE"` | Japanese anime title in Latin letters, if available. |
| `status` | string or null | `"Releasing"` | Release status. |
| `anilist_id` | integer | `21` | AniList media identifier. |
| `anilist_link` | string | `"https://anilist.co/anime/21"` | AniList page for this anime. |
| `total_episodes` | integer or null | `64` | Total episode count, if known. |
| `streaming_links` | array |  |  |
| `streaming_links[].link` | string | `"http://www.crunchyroll.com/one-piece"` |  |
| `streaming_links[].site_name` | string | `"Crunchyroll"` |  |
| `next_air_datetime` | string or null | `"2027-01-03T14:16:00+00:00"` | Next air time as ISO 8601 with the chosen time zone offset. |
| `time_until_airing` | string or null | `"96 days 9 hours 50 minutes"` | Time remaining until the next episode. |
| `next_episode_number` | integer or null | `1181` | Number of the next scheduled episode. |

**Example input**

```json
{
  "anime": "One Piece",
  "time_zone": "London"
}
```

**Example output**

```json
{
  "title": {
    "english": "ONE PIECE",
    "japanese_romaji": "ONE PIECE"
  },
  "status": "Releasing",
  "anilist_id": 21,
  "anilist_link": "https://anilist.co/anime/21",
  "total_episodes": null,
  "streaming_links": [
    {
      "link": "http://www.crunchyroll.com/one-piece",
      "site_name": "Crunchyroll"
    },
    {
      "link": "http://www.hulu.com/one-piece",
      "site_name": "Hulu"
    },
    {
      "link": "https://www.netflix.com/title/80107103",
      "site_name": "Netflix"
    }
  ],
  "next_air_datetime": "2027-01-03T14:16:00+00:00",
  "time_until_airing": "96 days 9 hours 50 minutes",
  "next_episode_number": 1181
}
```

## Quick start

Replace `YOUR_API_KEY` with a Fous API key. To create one, open Developers at the bottom of Fous Studio, turn on Developer mode, then go to API keys (https://app.fous.com/keys). Change the values in `input` to run the same tool on new data.

```bash
curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 180 \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "api": "@anilist",
  "visibility": "public",
  "operation": "get_airing_schedule",
  "version": 1,
  "input": {
    "time_zone": "America/New_York",
    "days_ahead": 2,
    "max_results": 10
  },
  "response": {
    "format": "json"
  }
}'
```

```python
# Save as fous.py and run with python3 fous.py. No packages needed.
import json
import urllib.error
import urllib.request

api_key = "YOUR_API_KEY"

body = json.loads("{\n  \"api\": \"@anilist\",\n  \"visibility\": \"public\",\n  \"operation\": \"get_airing_schedule\",\n  \"version\": 1,\n  \"input\": {\n    \"time_zone\": \"America/New_York\",\n    \"days_ahead\": 2,\n    \"max_results\": 10\n  },\n  \"response\": {\n    \"format\": \"json\"\n  }\n}")
request = urllib.request.Request(
    "https://api.fous.com/v1/query",
    data=json.dumps(body).encode("utf-8"),
    headers={
        "Authorization": f"Bearer {api_key}",
        "Content-Type": "application/json",
    },
    method="POST",
)
try:
    with urllib.request.urlopen(request, timeout=180) as response:
        result = json.load(response)
except urllib.error.HTTPError as error:
    raise RuntimeError(f"HTTP {error.code}: {error.read().decode('utf-8', errors='replace')}") from error
if result.get("success") is False:
    raise RuntimeError(result.get("error", {}).get("message", "Request failed"))
print(json.dumps(result["data"]["output"], indent=2))
```

```typescript
// Save as fous.mts and run with npx tsx fous.mts.
const apiKey = "YOUR_API_KEY";

const response = await fetch("https://api.fous.com/v1/query", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${apiKey}`,
    "Content-Type": "application/json",
  },
  signal: AbortSignal.timeout(180_000),
  body: JSON.stringify({
  "api": "@anilist",
  "visibility": "public",
  "operation": "get_airing_schedule",
  "version": 1,
  "input": {
    "time_zone": "America/New_York",
    "days_ahead": 2,
    "max_results": 10
  },
  "response": {
    "format": "json"
  }
}),
});
type ApiResult = { success: boolean; data?: { output: unknown }; error?: { message: string } };
const result: ApiResult = await response.json();
if (!response.ok || result.success === false) {
  throw new Error(result.error?.message ?? `HTTP ${response.status}`);
}
if (!result.data) throw new Error("Missing API response data");
console.log(result.data.output);
```

## Use from an AI assistant

Connect this tool to Claude Code, Claude Desktop, Cursor, VS Code, Codex and any MCP client as its own MCP server. Each method is a typed tool whose arguments are the method’s input.

- Server URL: `https://api.fous.com/mcp/tools/anilist`
- Authorization: `Authorization: Bearer <Fous API key>`

**Tools**

- `get_airing_schedule`: Get airing schedule. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.
- `get_next_episode`: Get next episode. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.
- `fous_get_run`: the result of a run that was still going, by its `request_id`. Free.

Claude Code:

```bash
claude mcp add --scope user --transport http fous-anilist https://api.fous.com/mcp/tools/anilist --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"
```

To give the assistant every tool, connect `https://api.fous.com/mcp`: it finds one with `fous_search_tools` and runs it with `fous_run_tool`. Setup for other clients: https://fous.com/llms-full.txt.

## Use cases

- Plan content around upcoming anime episode air times
- Find the next scheduled episode for a specific anime
- Check episode numbers and total episode counts
- Review available streaming links for scheduled episodes
- Display episode schedules in a chosen time zone

## FAQ

### Can I run it with my own inputs?

Yes. Change the inputs in Studio and press Run, or send new inputs from your code, or ask a connected AI assistant.

### Can I call this AniList tool as an API?

Yes. Send a POST request to /v1/query with your Fous API key and the inputs, and get JSON back.

### How much does it cost?

Each completed run costs 1 credit. Failed runs without a completed receipt are free; completed work can remain charged if delivery is interrupted. With pay as you go, a credit costs 1¢. Monthly plans cost less per credit.

### Do I need a AniList account?

No. You only need a Fous account.

### How current is the data?

Fous gets the data from anilist.co when you run it. Some results are reused for up to 24 hours, and results that use your account or key are never reused. It was last verified on Sep 29, 2026.

### What anime episodes are airing soon?

Get airing schedule returns upcoming episodes ordered by air time for the selected number of days.

### When does the next episode of an anime air?

Get next episode returns the next scheduled episode and its air time for the anime name you provide.

### Which streaming links are available for an episode?

Get airing schedule and Get next episode return streaming links when available.

## Related

- [MyAnimeList API](https://fous.com/tools/myanimelist.md): MyAnimeList provides anime, manga, manhwa and light novel details, ratings, seasonal and top rankings; streaming follows its listings, and unannounced or unavailable details may be missing.
- [Crunchyroll API](https://fous.com/tools/crunchyroll.md): Crunchyroll provides anime streaming and release schedules, showing scheduled episodes for a selected week when available, plus public series details by name or link.
- [TVmaze API](https://fous.com/tools/tvmaze.md): TVmaze provides TV schedules, broadcast and streaming releases, and show status, ratings, and episode details; streaming times may be unavailable or shown in UTC.
- [Twitch API](https://fous.com/tools/twitch.md): Twitch returns channel profiles, live status, up to 10 broadcasts, top streams, viewer-ranked categories, up to 100 public videos/clips, and 1–30-day schedules; counts change.
- [TMDB API](https://fous.com/tools/tmdb.md): TMDB returns movie and TV details, cast, trailers, releases, viewing services, scheduled upcoming movies, and up to 20 homepage trending titles; future episode details depend on published schedules.
- [WEBTOON API](https://fous.com/tools/webtoon.md): WEBTOON helps readers find comics and discover popular or trending series, with public series details and newest publicly listed episodes; app-only episodes and numeric series ratings aren’t shown.
- [IMDb API](https://fous.com/tools/imdb.md): IMDb returns movie, TV, person, episode, chart and Parents Guide details, including available weekly rank changes; missing details are null, and unaired or unrated episodes lack ratings.
- [JustWatch API](https://fous.com/tools/justwatch.md): JustWatch shows where movies and shows are available, including streaming, purchase, and cinema options, plus recent streaming arrivals and daily streaming charts based on its listings.
- [All Entertainment tools](https://fous.com/tools/category/entertainment)
