NBA referees API
referees
nba.refereesNBA officials — the three-person crew of referees who work each game.
GET/api/v1/nba/refereesList referees for NBA
Parameters
activequerybooleanoptionalFilter by active status (defaults to true to show only currently-active rows; pass active=false to include inactive).
limitqueryintegeroptionaldefault 50Page size. Defaults to 50; max 5000.
from_idquerybigintoptionalReturn rows with id strictly greater than this value; page using the previous response's `next_from_id`. Omit on the first page.
Restores the documented defaults (trial keys only accept the unchanged defaults).
Request
curl -sS --compressed \
-H 'Authorization: Bearer YOUR_API_KEY' \
'https://api.stat-api.com/api/v1/nba/referees?limit=3'Responses
200referees rows matching the declared filter set, wrapped in { referees, limit, next_from_id }. next_from_id is the last row's id on a full page — pass it back via ?from_id= to walk the full result; null marks the terminal page.application/jsonshow example ▸
400No declared filter set was satisfied — response body matches MissingRequiredFiltersError; pick one combo from the accepted-sets hint and resend.
application/jsonResponse Schema(13 fields)show schema ▸
| Field | Type | References | Description |
|---|---|---|---|
idkey | bigint | — | Primary Key |
nba_referee_id | integer | — | — e.g. 202027 |
active | boolean | — | — e.g. true |
birth_city | stringnullable | — | — e.g. — (all-null in sample) |
birth_country | stringnullable | — | — e.g. — (all-null in sample) |
birth_date | datenullable | — | — e.g. — (all-null in sample) |
birth_state | stringnullable | — | — e.g. — (all-null in sample) |
college | stringnullable | — | — e.g. — (all-null in sample) |
experience | integernullable | — | — e.g. — (all-null in sample) |
first_name | string | — | — e.g. Biniam |
full_name | string | — | — e.g. Biniam Maru |
jersey_number | stringnullable | — | — e.g. 94 |
last_name | string | — | — e.g. Scott |
GET/api/v1/nba/referees/{id}Get a single referee by id
Parameters
idpathbigintrequiredPrimary key (id) of the referee row.
Restores the documented defaults (trial keys only accept the unchanged defaults).
Request
curl -sS --compressed \
-H 'Authorization: Bearer YOUR_API_KEY' \
'https://api.stat-api.com/api/v1/nba/referees/{pk_value}'Responses
200Single referee row.application/jsonshow example ▸
404Row not found.
Response Schema(13 fields)show schema ▸
| Field | Type | References | Description |
|---|---|---|---|
idkey | bigint | — | Primary Key |
nba_referee_id | integer | — | — e.g. 202027 |
active | boolean | — | — e.g. true |
birth_city | stringnullable | — | — e.g. — (all-null in sample) |
birth_country | stringnullable | — | — e.g. — (all-null in sample) |
birth_date | datenullable | — | — e.g. — (all-null in sample) |
birth_state | stringnullable | — | — e.g. — (all-null in sample) |
college | stringnullable | — | — e.g. — (all-null in sample) |
experience | integernullable | — | — e.g. — (all-null in sample) |
first_name | string | — | — e.g. Biniam |
full_name | string | — | — e.g. Biniam Maru |
jersey_number | stringnullable | — | — e.g. 94 |
last_name | string | — | — e.g. Scott |