Skip to main content

Teams API Documentation

Requirement

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

Description

This endpoint returns teams.

API Endpoint

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

Parameters

key (required)

Your OddsBlaze API key.

Example URLs

MLB teams:

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

NFL teams:

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

Example Response

{
"leagues": [
{
"id": "nfl",
"name": "NFL",
"sport": "Football",
"updated": "2024-11-26T20:39:02",
"teams": [
{
"id": "nfl:arizona_cardinals",
"name": "Arizona Cardinals",
"city": "Arizona",
"team": "Cardinals",
"abbreviation": "ARI",
"division": "NFC West",
"conference": "NFC",
"mappings": [
{
"name": "SportsDataIO",
"id": "50966e66-fe02-4cd5-bb4a-bc632acea75c"
},
{
"name": "ESPN",
"id": "22"
}
]
},
{
"id": "nfl:atlanta_falcons",
"name": "Atlanta Falcons",
"city": "Atlanta",
"team": "Falcons",
"abbreviation": "ATL",
"division": "NFC South",
"conference": "NFC",
"mappings": [
{
"name": "SportsDataIO",
"id": "f461a0ad-b778-4893-8785-7f678332b224"
},
{
"name": "ESPN",
"id": "1"
}
]
}
]
}
]
}