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

Group: Players

A football player’s attribute ratings from the source’s scouting model (0–100): attacking, technical, tactical, defending and creativity — for goalkeepers saves, anticipation, ball distribution, aerial and tactical — now and in the years before, the average of players in his position, his strengths and weaknesses, and the detailed positions he plays.

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

Note: The keys of the other kind are null (a goalkeeper has no attacking rating). history runs current first (yearsAgo 0, 1, 2, …). strengths / weaknesses are a closed set (PlayerCharacteristic) and may be empty.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `id` | path | yes | our numeric id (positive integer) |

## Response

- `data`: `PlayerAttributes`
- Objects: PlayerAttributes (https://sportsapi.app/markdown/en/reference.md#playerattributes)

## Errors

- 404 no_data — the source does not rate this player (other sports, many lower leagues); 404 not_found — an id we never issued

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}/attributes"
```

TypeScript:

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

Python:

```python
res = client.players.attributes(id)
```

Go:

```go
res, err := client.Players.Attributes(ctx, id)
```

CLI:

```bash
$ sportsapi players attributes <id>
```

## Example response

```json
{ "data": {
    "current": { "yearsAgo": 0, "position": "forward", "attacking": 76, "technical": 67, "tactical": 59, "defending": 46, "creativity": 76,
                 "saves": null, "anticipation": null, "ballDistribution": null, "aerial": null },
    "history": [ { "yearsAgo": 0, … }, { "yearsAgo": 1, "attacking": 81, … }, … ],
    "positionAverage": { "yearsAgo": 0, "position": "forward", "attacking": 61, "technical": 54, "tactical": 43, "defending": 32, "creativity": 45, … },
    "strengths": ["penaltyTaking", "positioning", "highPressing"], "weaknesses": [], "positions": ["rightWinger"] },
  "meta": {} }
```

---

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/attributes · All docs: https://sportsapi.app/markdown/en/docs.md
