# MyAnimeList User Profile API Documentation

Retrieve a public MyAnimeList user profile: username, joined date, anime and manga stats summary, favorites, bio, image and url. An unknown username returns a non-billable NOT_FOUND.

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

## 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 |
| --- | --- | --- | --- |
| `username` | string | Yes | MyAnimeList username, e.g. TheLlama. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/myanimelist/user?username=TheLlama"
```

## Example response

```json
{
    "success": true,
    "data": {
        "username": "TheLlama",
        "joined": "2007-08-23",
        "stats_summary": {
            "anime": {
                "mean_score": 6.93,
                "days": 326.8,
                "entries": 1435,
                "episodes": 19822
            },
            "manga": {
                "mean_score": 7.35,
                "days": 23.7,
                "entries": 17,
                "chapters": 4105
            }
        },
        "favorites": [
            {
                "title": "Kimi ni Todoke",
                "url": "https://myanimelist.net/anime/6045/Kimi_ni_Todoke",
                "image": "https://cdn.myanimelist.net/r/140x220/images/anime/1502/124384.jpg"
            }
        ],
        "bio": "Hi, I'm me. Not really active these days except for updating my list, but maybe I'll respond to messages if there's something interesting there.",
        "image": "https://cdn.myanimelist.net/s/common/userimages/35fb5f95-6a86-498b-93a5-fcff7f402bc2_225w",
        "url": "https://myanimelist.net/profile/TheLlama"
    },
    "meta": {
        "endpoint_family": "user",
        "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 user 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)
