# GET /v2/referees/{id}

Group: Referees & managers

A referee: country, sport, career totals (matches, yellow, red and second-yellow cards) and the figures per competition (appearances, cards, penalties awarded).

Note: The career totals are the source’s; competitions lists every competition he has refereed in ([] when the source lists none). There is no per-season split (the source has none).

## Parameters

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

## Response

- `data`: `RefereeProfile`
- `meta`: competitionCount
- Objects: RefereeProfile (https://sportsapi.app/markdown/en/reference.md#refereeprofile)

## Errors

- 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/referees/{id}"
```

TypeScript:

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

Python:

```python
res = client.referees.get(id)
```

Go:

```go
res, err := client.Referees.Get(ctx, id)
```

CLI:

```bash
$ sportsapi referees get <id>
```

## Example response

```json
{ "data": { "id": 51040, "name": "Thomas Bramall", "slug": "thomas-bramall", "country": { "code": "EN", "name": "England" },
    "games": 197, "yellowCards": 667, "redCards": 15, "yellowRedCards": 10, "image": "https://cdn.sportsapi.app/v2/referees/51040/photo", "sport": "football",
    "competitions": [ { "league": { "id": 195828, "name": "Premier League", … }, "appearances": 57, "yellowCards": 229,
                        "redCards": 6, "yellowRedCards": 4, "penalties": 17 }, … ] },
  "meta": { "competitionCount": 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/people/referees-get · All docs: https://sportsapi.app/markdown/en/docs.md
