Documentation / Bulk export
Bulk export
A whole season of one competition in one answer: its games, teams, players, player box lines or team box lines, as JSON rows or a CSV file. Leave season out for the competition's newest.
Complete and up
Parameters
| Name | In | Type | About |
|---|---|---|---|
competition required | query | id | Only this competition, by its id (cp_…). e.g. cp_11A6HQXJ |
season | query | id | Only this season, by its id (ss_…). e.g. ss_K1TTWVRM |
table required | query | enum | One of: games, teams, players, player_lines, team_lines. e.g. games |
format | query | enum | One of: json, csv. |
What comes back
data is one of these:
| Field | Type | About |
|---|---|---|
id | id | A game id. |
date | date | |
tip_off | date-time or null | |
status | string | |
stage | string or null | |
round | string or null | |
competition_id | id | A competition id. |
competition | string | |
season_id | id | A season id. |
season | string | |
home_id | id | A team id. |
home | string | |
away_id | id | A team id. |
away | string | |
home_score | integer or null | |
away_score | integer or null | |
attendance | integer or null | |
venue | string or null | |
has_boxscore | boolean | |
has_playbyplay | boolean | |
has_shots | boolean |
Errors
400422401403429 What each one means