# Anidb — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Search and explore comprehensive anime data including titles, characters, episodes, and seasonal charts. Get detailed information about specific anime series, characters, and episodes to discover new shows and learn more about your favorite series.

**Category:** Entertainment | **Website:** [anidb.net/](https://anidb.net/) | **Docs:** [parse.bot/marketplace/1d6afce4-8d80-4006-931a-03cfc09804da/anidb-net-api](https://parse.bot/marketplace/1d6afce4-8d80-4006-931a-03cfc09804da/anidb-net-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-anidb-net-api-1d6afce4/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### advanced_search_anime

Search for anime with multiple filters including keyword, year, season, type, and airing status. Uses the anime list page with filter parameters. Returns results with id, title, type, episodes, rating, average_score, aired, and ended fields.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `airing_status` | integer | No | Airing status filter. 1 = still airing, 2 = finished airing, 3 = unaired/unknown. |
| `query` | string | No | Search keyword. |
| `season` | string | No | Season filter. Accepted values: winter, spring, summer, autumn. |
| `types` | string | No | Comma-separated anime type names (e.g. 'tvseries', 'movie', 'ova', 'tvspecial', 'web', 'musicvideo', 'other', 'unknown'). |
| `year` | integer | No | Year filter (e.g. 2002). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-anidb-net-api-1d6afce4/advanced_search_anime \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"airing_status":"<integer>","query":"<string>","season":"<string>","types":"<string>","year":"<integer>"}'
```

### get_anime_details

Retrieve full metadata for a specific anime by its ID. Returns title, description, episode list, tags, rating, type, year, and other info-box fields parsed from the anime page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `id` | string | Yes | Numeric anime ID from AniDB (e.g. '239' for Naruto). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-anidb-net-api-1d6afce4/get_anime_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"id":"<string>"}'
```

### get_character_details

Retrieve character details by ID, including name, description, and list of related anime appearances with roles.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `id` | string | Yes | Numeric character ID from AniDB (e.g. '226' for Uzumaki Naruto). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-anidb-net-api-1d6afce4/get_character_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"id":"<string>"}'
```

### get_episode_details

Retrieve episode details by ID, including title, description, air date, play length, and other info-box metadata parsed from the episode page.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `id` | string | Yes | Numeric episode ID from AniDB (e.g. '2732'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-anidb-net-api-1d6afce4/get_episode_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"id":"<string>"}'
```

### get_season_chart

Retrieve the seasonal anime chart for a specific year and season. Returns anime airing in that season with ratings, type info, and air dates.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `season` | string | No | Season name. Accepted values: winter, spring, summer, autumn. |
| `year` | integer | No | Year to filter by (e.g. 2024). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-anidb-net-api-1d6afce4/get_season_chart \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"season":"<string>","year":"<integer>"}'
```

### search_anime

Search for anime by title or keyword. Returns up to 25 results ranked by relevance score. Results include anime ID, title, and search score.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Search keyword or anime title (e.g. 'Naruto', 'Dragon Ball'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-anidb-net-api-1d6afce4/search_anime \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>"}'
```

### search_character

Search for characters by name. Returns up to 30 matching characters with name and gender.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Character name to search for (e.g. 'Naruto', 'Goku'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-anidb-net-api-1d6afce4/search_character \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>"}'
```
