# MyAnimeList Anime Detail API Documentation

Retrieve a single public MyAnimeList anime: title, alternative titles, type, episodes, status, score, scored by, rank, popularity, members, synopsis, aired dates, rating, duration, broadcast, studios, genres, image and url. An unknown anime id returns a non-billable NOT_FOUND.

- **Documentation:** [https://scrappa.co/docs/myanimelist-api/myanimelist_anime](https://scrappa.co/docs/myanimelist-api/myanimelist_anime)
- **API group:** MyAnimeList API
- **Endpoint:** `GET https://scrappa.co/api/myanimelist/anime`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | integer | Yes | MyAnimeList anime id, e.g. 20. Example: 20. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/myanimelist/anime?id=20"
```

## Example response

```json
{
    "success": true,
    "data": {
        "title": "Naruto",
        "alternative_titles": {
            "synonyms": "NARUTO",
            "en": "Naruto",
            "ja": "\u30ca\u30eb\u30c8"
        },
        "type": "TV",
        "episodes": 220,
        "status": "Finished Airing",
        "score": 8.03,
        "scored_by": 2174424,
        "rank": 724,
        "popularity": 9,
        "members": 3168747,
        "synopsis": "Twelve years ago, a colossal demon fox terrorized the world. During the monster's attack on the Hidden Leaf Village, the Hokage\u2014the village's leader and most powerful ninja\u2014sacrifices himself to seal the beast inside a newborn, relieving civilization from destruction while dooming the baby to a lonely life.",
        "aired": "Oct 3, 2002 to Feb 8, 2007",
        "rating": "PG-13 - Teens 13 or older",
        "duration": "23 min. per ep.",
        "broadcast": "Thursdays at 19:30 (JST)",
        "studios": [
            "Studio Pierrot"
        ],
        "genres": [
            "Action",
            "Adventure",
            "Fantasy"
        ],
        "image": "https://cdn.myanimelist.net/images/anime/1141/142503.jpg",
        "url": "https://myanimelist.net/anime/20"
    },
    "meta": {
        "endpoint_family": "anime_detail",
        "billable": true
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A required query parameter is missing or invalid. This response is not billable. |
| 404 | Resource Not Found | The requested MyAnimeList anime does not exist. This response is not billable. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
