Referees & managers

Referee

GET/v2/referees/{id}All plans

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

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

id
pathrequired
our numeric id (positive integer)

Response

data
RefereeProfile
meta
competitionCount
errors
404 not_found — an id we never issued

Every /v2 call can also answer the common errors.

Try it →
$ curl -H "Authorization: Bearer sk_live_…" \
    "https://api.sportsapi.app/v2/referees/{id}"
Example
{ "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 } }