Version: 2.0.0

Markets

REQUIREMENT

You'll need a license key to use OddsJam's API. You can get one by emailing us at [email protected].

API Endpoint#

https://api-external.oddsjam.com/api/v2/markets/

Description#

This endpoint returns all the markets that are available in currently active games. For instance, if a League is out of season, like NFL in the summer, this endpoint will return nothing since there are no active games.

Parameters#

NOTE

You must provide at least one game_id, and sportsbook per GET request.

key (required)#

Your OddsJam API license key.

game_id#

The ID of the game that you want markets for.

NOTE

You can only pass in one game_id per request.

sportsbook#

NOTE

You can pass in multiple of this parameter.

The name of the sportsbook that you want to fetch markets for.

Example Response#

{
"data": [
{
"label": "Player Receiving Yards",
"id": "player_receiving_yards"
},
{
"label": "Player Interceptions",
"id": "player_interceptions"
},
...
]
}