Schedules
REQUIREMENT
You'll need a license key to use OddsJam's API. You can get one by emailing us at [email protected].
#
API Endpoint#
Parameterskey
(required)#
Your OddsJam API license key.
sport
#
NOTE
You can pass in multiple of this parameter.
The sport you want to receive schedule data for. We support the following:
football
basketball
baseball
mma
boxing
hockey
soccer
tennis
golf
motorsports
esports
wrestling
aussie-rules
rugby
league
#
NOTE
You can pass in multiple of this parameter.
The league you want to receive schedule data for (e.g. NBA
)
division
#
NOTE
You can pass in multiple of this parameter.
Filter by division.
conference
#
NOTE
You can pass in multiple of this parameter.
Filter by conference.
team_id
#
Filter by the team_id you are interested in. Note that you can only provide a single team_id per request.
start_date_before
#
Specify this value if you want to receive all games before a specific date. Please pass in an ISO 8601 date for the best results.
start_date_after
#
Specify this value if you want to receive all games after a specific date. Please pass in an ISO 8601 date for the best results.
game_date
#
Specify this value if you want to receive all games on a specific date. Needs to be in the following format: YYYY-MM-DD
.
include_starting_lineups
#
Set to true
to include home_starting_lineups
and away_starting_lineups
.
include_records
#
Set to true
to include home_record
and away_record
.
season_week
#
Filter by the season week.
season_year
#
Filter by the season year.
season_type
#
Filter by the season type.
include_team_ids
#
Setting this parameter to true will return home_team_id
and away_team_id
as part of the response. Note that this is off by default for backwards compatibility reasons.
page
#
The page number of the request.
include_statsperform_ids
#
Specify this parameter if you want the StatsPerform IDs to be included as part of the response.
#
Example Responseinclude_starting_lineups
#
Example Response with #
API Endpoint (deprecated)DEPRECATED
Deprecated endpoint