# Malaysia Hero Statistics

> `GET /api/esports/my/statistics/heroes`: Esports endpoint of the Rone Arena API.

Picks, bans, wins and win rate (percent) of every hero in the Malaysian professional league this season. The league publishes no leaderboards. Data is read from the league's official public site and cached for 5 minutes.

## Request

`GET https://arena.rone.dev/api/esports/my/statistics/heroes`

### Example

```bash
curl -X GET 'https://arena.rone.dev/api/esports/my/statistics/heroes'
```

## Example response

```json
{
  "leaderboards": [
    {
      "title": "Top 5 Pick",
      "entries": [
        {
          "rank": 1,
          "name": "Hirara",
          "hero": {
            "name": "Hirara",
            "image": "https://wsrv.nl/?url=https%3A%2F%2Fmlbb-image.scoregg.com%2Fhero_h%2F85.png"
          },
          "value": 103
        }
      ]
    }
  ],
  "heroes": [
    {
      "hero": {
        "name": "Hirara",
        "image": "https://wsrv.nl/?url=https%3A%2F%2Fmlbb-image.scoregg.com%2Fhero_h%2F85.png"
      },
      "picks": 103,
      "bans": 40,
      "wins": 55,
      "win_rate": 53.0
    }
  ]
}
```

## Links

- Try it in the playground: https://arena.rone.dev/web/esports/my/statistics/heroes
- Esports endpoints: https://arena.rone.dev/web/esports.md
- OpenAPI schema: https://arena.rone.dev/api/openapi.json
