Referees & managers
Referee fixtures
GET/v2/referees/{id}/fixturesAll plans
A page of the matches the referee officiated (recent) or is appointed to (upcoming) — the same list rule as team fixtures.
upcoming = not started, soonest first; recent = in play, finished or called off, newest first. A known referee without an appointment answers 200 with an empty array.
Parameters
id
our numeric id (positive integer)
type
recent | upcoming (default upcoming)
page
page index, an integer 0–50 (default 0)
Response
- data
Fixture[]- meta
- type, page, count, hasNextPage, plus historyFrom when older fixtures were left out for your plan
- errors
- 400 bad_request — type not recent|upcoming, or page not an integer 0–50
Every /v2 call can also answer the common errors.
$ curl -H "Authorization: Bearer sk_live_…" \ "https://api.sportsapi.app/v2/referees/{id}/fixtures"
Example
{ "data": [ { "id": 201324, "status": { "type": "finished", … }, "referee": null, … }, … ], "meta": { "type": "recent", "page": 0, "count": 30, "hasNextPage": true } }