Skip to main content

Players API Documentation

Requirement

You need an API key to use OddsBlaze. Request access at www.oddsblaze.com.

Description

This endpoint returns players from teams.

API Endpoint

https://data.oddsblaze.com/v1/players/{league_id}.json

Parameters

key (required)

Your OddsBlaze API key.

Example URLs

MLB players:

https://data.oddsblaze.com/v1/players/mlb.json?key=your_key

NFL players:

https://data.oddsblaze.com/v1/players/nfl.json?key=your_key

NCAAF players:

https://data.oddsblaze.com/v1/players/ncaaf.json?key=your_key

Example Response

{
"leagues": [
{
"id": "nfl",
"name": "NFL",
"sport": "Football",
"updated": "2024-11-26T20:40:13",
"teams": [
{
"id": "nfl:kansas_city_chiefs",
"name": "Kansas City Chiefs",
"abbreviation": "KC",
"players": [
{
"id": "nfl:kansas_city_chiefs:travis_kelce",
"name": "Travis Kelce",
"first": "Travis",
"last": "Kelce",
"position": "TE",
"number": "87",
"mappings": [
{
"name": "SportsDataIO",
"id": "d86456ca-1655-4e16-a4cd-a64cac79e788"
},
{
"name": "SportRadar",
"id": "c3859e06-5f23-4302-a71b-04820a899d5f"
}
]
},
{
"id": "nfl:kansas_city_chiefs:patrick_mahomes",
"name": "Patrick Mahomes",
"first": "Patrick",
"last": "Mahomes",
"position": "QB",
"number": "15",
"mappings": [
{
"name": "SportsDataIO",
"id": "313e7e66-3937-4bd2-a759-4911c5759ec1"
},
{
"name": "SportRadar",
"id": "11cad59d-90dd-449c-a839-dddaba4fe16c"
}
]
}
]
}
]
}
]
}