Skip to main content
GET
Seasons in games

Authorizations

X-Api-Key
string
header
required

Query Parameters

fields
enum<string>[]

Specify custom response with available response fields.


Fields included as default: slug, startYear, endYear

Available options:
slug,
startYear,
endYear,
*
offset
integer
default:0

The number of items to skip before starting to collect the result set.

Required range: x >= 0
limit
integer
default:100

The number of items to return.

Required range: 0 <= x <= 1000
id
integer[]

Filter by id

league
string[]

Filter by league slug

season
string

Filter by season slug

seasonType
enum<string>

Filter by seasonType

Available options:
PRESEASON,
REGULAR_SEASON,
POSTSEASON
dateTime:from
string<date-time>

Filter by dateTime greater or equal to in ISO-8601 format for date and time

dateTime:to
string<date-time>

Filter by dateTime less than or equal to in ISO-8601 format for date and time

date:from
string<date>

Filter by date greater or equal to in ISO-8601 format for date

date:to
string<date>

Filter by date less than or equal to in ISO-8601 format for date

homeTeam
integer[]

Filter by homeTeam

visitingTeam
integer[]

Filter by visitingTeam

team
integer[]

Filter by team ID

status
enum<string>[]

Filter by status

Available options:
UPCOMING,
COMPLETED,
POSTPONED
status:not
enum<string>[]

Filter by status not equal to

Available options:
UPCOMING,
COMPLETED,
POSTPONED
createdAt:min
string<date-time>

Filter by createdAt greater or equal to in ISO-8601 format for date and time

updatedAt:min
string<date-time>

Filter by updatedAt greater or equal to in ISO-8601 format for date and time

Response

200 - application/json

Seasons in games, paginated.

_meta
object
data
object[]