# GET /v2/players/{id}/ratings

Group: Players

A player’s match ratings over one league season, oldest first — the points of his rating graph, each with the match, its kick-off, his side and the opponent.

Plans: Pro + Business only (other plans get 403 endpoint_not_in_plan).

Note: Ratings are the source’s match ratings (0–10), football. An empty array when the source rates none of his matches in that season.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `id` | path | yes | our numeric id (positive integer) |
| `league` | query | yes | a league id from /v2/players/{id}/seasons |
| `season` | query | yes | a season id from /v2/leagues/{id}/seasons |

## Response

- `data`: `PlayerRating[]`
- `meta`: league, season, count
- Objects: PlayerRating (https://sportsapi.app/markdown/en/reference.md#playerrating)

## Errors

- 403 history_not_in_plan — the season ended before your plan’s history
- 404 not_found — season is not one of this league’s seasons

Plus the common errors (https://sportsapi.app/markdown/en/docs.md#errors).

## Request

cURL:

```bash
curl -H "Authorization: Bearer sk_live_…" \
    "https://api.sportsapi.app/v2/players/{id}/ratings?league=…&season=…"
```

TypeScript:

```ts
const { data, meta } = await client.players.ratings(id, { league, season });
```

Python:

```python
res = client.players.ratings(id, league=league, season=season)
```

Go:

```go
res, err := client.Players.Ratings(ctx, id, &sportsapi.PlayersRatingsParams{League: league, Season: season})
```

CLI:

```bash
$ sportsapi players ratings <id> --league <league> --season <season>
```

## Example response

```json
{ "data": [
    { "fixtureId": 701120, "startTime": "2026-09-19T14:00:00.000Z", "rating": 7.3, "side": "away", "opponent": { "id": 30, "name": "Brighton & Hove Albion", … } },
    { "fixtureId": 701233, "startTime": "2026-10-11T12:30:00.000Z", "rating": 7.2, "side": "home", "opponent": { "name": "Leeds United", … } }, … ],
  "meta": { "league": 195828, "season": 200386, "count": 7 } }
```

---

Base URL: https://api.sportsapi.app. Send your API key as `Authorization: Bearer <key>` on every /v2 request; keys are created in the dashboard (https://sportsapi.app/dashboard).
HTML: https://sportsapi.app/docs/players/ratings · All docs: https://sportsapi.app/markdown/en/docs.md
