Frequently asked questions for Global Baseball v2
Click on the categories below or browse questions on the right panel.
Categories
.
Coverage
What leagues do you cover, and at what level?
Coverage information can be found via our Coverage Matrix.
How do I find out the coverage for a particular match?
Find the node called coverage
in any of the Summary, Lineups, or Timeline feeds. The attribute coverage.live
reports if Sportradar has live coverage of the match or not.
Why do different groups have coverage information for a competition?
The notion of “groups” is versatile and is used to distinguish between playoffs, and our competition structures and is therefore necessary to describe coverage at a group level for consistency. Generally, however, within a competition in Baseball, there will be no difference between competition coverage.
How will a sport event behave when it is not covered with live scores?
When a sport_event
is not covered live, the status
and match_status
will remain as not_started
until results are entered post-match.
<sport_event_status status="not_started" match_status="not_started"/>
How are “Live” endpoints handled in the API?
Sport Events appear in the feed 10 minutes before the scheduled start time and are removed 10 minutes after the Sport Event is ended. Live endpoints include: Live Summaries, Live Timelines, and Live Timelines Delta.
How do I access NCAA Women's Softball?
All softball competitions can be accessed by changing the sport
parameter from baseball
to softball
.
Please note that you must use your Master API Key within your account to access softball data.
Integration
How can I find the values for various enum data points within the API?
Many enum values are listed in the FAQ below. For the most up-to-date values, please see the Schema
section of the OpenAPI specification here.
What format are date fields presented in?
When we present date only values we present these in the ISO 8601 standard format.
ex: 2013-04-03
We use these for attributes that have date and no time (such as birthdate). For more information: https://en.wikipedia.org/wiki/ISO_8601
What format are the date/time fields presented in?
All of our Date/Time attributes are in UTC, presented in the ISO 8601 standard format.
ex: 2013-04-03T18:15:00+00:00
For more information: https://en.wikipedia.org/wiki/ISO_8601
How do I locate the TTL (Time to Live)/cache on an API endpoint?
The cache (in seconds) can be accessed in the returned header information on each RESTful API call, under cache-control
.
ex. cache-control: max-age=1, public, s-maxage=1
or
cache-control: public, must-revalidate, max-age=120
Sport Event Statuses
What are the valid sport_event_status
- status
values?
sport_event_status
- status
values?Here are the valid sport_event_status
values and their definitions:
not_started
– The match is scheduled to be playedmatch_about_to_start
– The match is about to beginstarted
– The match has startedlive
– The match is currently in progresspostponed
– The match has been postponed to a future datesuspended
- The match began, but has been suspended to a later timedelayed
– The match has been temporarily delayed and will be continuedcancelled
– The match has been cancelled and will not be playedinterrupted
- The match began, but coverage has stopped for a short time. Note that match scores may not be updated during this period, the last recorded match score will be displayed insteadended
– The match is overclosed
– The match results have been confirmed
What are the valid sport_event_status
– match_status
values?
sport_event_status
– match_status
values?Here are the valid match_status
values:
not_started
start_delayed
aet
interrupted
ended
postponed
started
abandoned
cancelled
overtime
1st_inning
2nd_inning
3rd_inning
4th_inning
5th_inning
6th_inning
7th_inning
8th_inning
9th_inning
pause
Event Types
What are the possible event types logged?
Here are the valid event types:
match_started
period_start
score_change
period_score
break_start
match_ended
<event id="1424107371" type="break_start" time="2023-04-09T17:55:53+00:00" break_name="break"/>
<event id="1424107381" type="period_score" time="2023-04-09T17:55:53+00:00" period="1" home_score="1" away_score="2"/>
<event id="1424108841" type="period_start" time="2023-04-09T17:57:50+00:00" period_name="2nd_inning"/>
<event id="1424122097" type="break_start" time="2023-04-09T18:10:30+00:00" break_name="break"/>
<event id="1424122109" type="period_score" time="2023-04-09T18:10:30+00:00" period="2" home_score="0" away_score="0"/>
<event id="1424124045" type="period_start" time="2023-04-09T18:12:37+00:00" period_name="3rd_inning"/>
<event id="1424136557" type="break_start" time="2023-04-09T18:25:12+00:00" break_name="break"/>
"timeline": [
{
"id": 1424093681,
"type": "match_started",
"time": "2023-04-09T17:41:45+00:00"
},
{
"id": 1424093679,
"type": "period_start",
"time": "2023-04-09T17:41:45+00:00",
"period_name": "1st_inning"
},
{
"id": 1424097295,
"type": "score_change",
"time": "2023-04-09T17:45:21+00:00",
"match_time": 4,
"match_clock": "3:35",
"competitor": "away",
"home_score": 0,
"away_score": 1,
"players": [
{
"id": "sr:player:1644936",
"name": "France, Ty",
"type": "scorer"
},
{
"id": "sr:player:1487430",
"name": "Raleigh, Cal",
"type": "assist"
}
]
},
{
"id": 1424097301,
"type": "score_change",
"time": "2023-04-09T17:45:21+00:00",
"match_time": 4,
"match_clock": "3:35",
"competitor": "away",
"home_score": 0,
"away_score": 2,
"players": [
{
"id": "sr:player:1487430",
"name": "Raleigh, Cal",
"type": "scorer"
},
{
"id": "sr:player:1487430",
"name": "Raleigh, Cal",
"type": "assist"
}
]
},
{
"id": 1424104469,
"type": "score_change",
"time": "2023-04-09T17:52:38+00:00",
"match_time": 11,
"match_clock": "10:53",
"competitor": "home",
"home_score": 1,
"away_score": 2,
"players": [
{
"id": "sr:player:1721884",
"name": "Kwan, Steven",
"type": "scorer"
},
{
"id": "sr:player:842971",
"name": "Ramirez, Jose",
"type": "assist"
}
]
},
{
"id": 1424107371,
"type": "break_start",
"time": "2023-04-09T17:55:53+00:00",
"break_name": "break"
},
{
"id": 1424107381,
"type": "period_score",
"time": "2023-04-09T17:55:53+00:00",
"period": "1",
"home_score": 1,
"away_score": 2
},
{
"id": 1424108841,
"type": "period_start",
"time": "2023-04-09T17:57:50+00:00",
"period_name": "2nd_inning"
},
Pagination
Why can't I find a particular match in the Daily Summaries, Season Summaries or Sport Events Updated feeds?
These endpoints support pagination and return 200 entries by default. To return more matches, an additional query string parameter must be used after your API key. For example, appending &start=200
will return the next 200 entries per page, &start=400
will return the next 200, and so on.
Probabilities
What is the probabilities package?
The probabilities package is an add-on set of feeds that are an extension of the Season Probabilities feed in the main package (which already provides pre-match probabilities for the sport event winner market).
The main features of the Probabilities extension are: Live Probabilities that update throughout game, Season Outright Probabilities for the Tournament Winner market, and Live Probabilities Coverage indicator for the next 24 hours.
What are the valid outcomes for probabilities?
home_team_winner
away_team_winner
What are markets and what are the different markets?
Markets is something you can bet on that we provide probabilities for. Over time we intend to provide more and more markets in the API. Currently the only market we provide is 2-way (will the home team win? Or the away team?).
Is there Live Probability coverage for every game you cover in the Global Baseball API?
Live Probability coverage depends on a number of factors and we can’t guarantee that every game will be covered for any given league.
However, Sportradar aims to cover close to 100% of games from the following Tier 1 leagues:
- Major League Baseball (MLB) – USA
- Nippon Professional Baseball (NPB) – Japan
- KBO League – South Korea
Can I utilize the Probabilities extension if I license the Sportradar MLB API?
If you have a license for our MLB API you can also integrate Live Probabilities by utilizing the ID Mapping Feeds available in Global Baseball v2 to connect games between the two products.
Past Season Data
How do I access past seasons results and stats?
Use the Competition Seasons endpoint to locate the season_id
for the season you want to access. Use that season_id
to interrogate the various seasons endpoints.
Standings / Tournaments
What are the possible values for cup_round
– state
in the Season Links feed?
cup_round
– state
in the Season Links feed?Listed below are the values and definitions for cup_round
- state
. These can be leveraged to determine the status of a cup round.
empty
- A matchup has been created but neither the match details nor the competitors are known.unseeded_fixture
- Match details are known but competitors are unknown.partial_seeded
- One competitor is known.partial_seeded_fixture
- Match details and one competitor are known.seeded
- Both competitors are known.seeded_fixture
- Match details and both competitors are known.unstarted
- Match(es) have been added.on_going
- The first match has started.decided
- The last match has ended.winner
- The winner is known.cancelled
– The matchup has been cancelled.
How are group IDs delivered in the stage array with the various types?
With the type of "league" they will have a sr:league
prefix.
With the type of "cup" they will have a sr:cup
prefix.
Extra Innings
How are extra innings displayed in the Global Baseball API?
See the below sample data for a game ending 6-7 in 12 innings.
In the Summary endpoints, extra inning games have one overtime period for all extra innings.
<sport_event_status status="closed" match_status="aet" home_score="7" away_score="6" home_normaltime_score="3" away_normaltime_score="3" winner_id="sr:competitor:3650" decided_inning="12">
<period_scores>
<period_score home_score="1" away_score="2" type="regular_period" number="1"/>
<period_score home_score="0" away_score="0" type="regular_period" number="2"/>
<period_score home_score="0" away_score="0" type="regular_period" number="3"/>
<period_score home_score="0" away_score="0" type="regular_period" number="4"/>
<period_score home_score="0" away_score="0" type="regular_period" number="5"/>
<period_score home_score="0" away_score="0" type="regular_period" number="6"/>
<period_score home_score="0" away_score="0" type="regular_period" number="7"/>
<period_score home_score="0" away_score="0" type="regular_period" number="8"/>
<period_score home_score="2" away_score="1" type="regular_period" number="9"/>
<period_score home_score="4" away_score="3" type="overtime"/>
</period_scores>
</sport_event_status>
"sport_event_status": {
"status": "closed",
"match_status": "aet",
"home_score": 7,
"away_score": 6,
"home_normaltime_score": 3,
"away_normaltime_score": 3,
"winner_id": "sr:competitor:3650",
"period_scores": [
{
"home_score": 1,
"away_score": 2,
"type": "regular_period",
"number": 1
},
{
"home_score": 0,
"away_score": 0,
"type": "regular_period",
"number": 2
},
{
"home_score": 0,
"away_score": 0,
"type": "regular_period",
"number": 3
},
{
"home_score": 0,
"away_score": 0,
"type": "regular_period",
"number": 4
},
{
"home_score": 0,
"away_score": 0,
"type": "regular_period",
"number": 5
},
{
"home_score": 0,
"away_score": 0,
"type": "regular_period",
"number": 6
},
{
"home_score": 0,
"away_score": 0,
"type": "regular_period",
"number": 7
},
{
"home_score": 0,
"away_score": 0,
"type": "regular_period",
"number": 8
},
{
"home_score": 2,
"away_score": 1,
"type": "regular_period",
"number": 9
},
{
"home_score": 4,
"away_score": 3,
"type": "overtime"
}
],
"decided_inning": 12
}
In the Sport Event Timeline endpoint, each extra inning will feature period_name="overtime"
.
<event id="1424228705" type="score_change" time="2023-04-09T19:56:09+00:00" match_time="135" match_clock="134:25" competitor="away" home_score="1" away_score="3">
<players>
<player id="sr:player:861864" name="Hernandez, Teoscar" type="scorer"/>
<player id="sr:player:867846" name="La Stella, Tommy" type="assist"/>
</players>
</event>
<event id="1424240207" type="score_change" time="2023-04-09T20:09:13+00:00" match_time="148" match_clock="147:27" competitor="home" home_score="2" away_score="3">
<players>
<player id="sr:player:848567" name="Naylor, Josh" type="scorer"/>
<player id="sr:player:2283379" name="Brennan, William" type="assist"/>
</players>
</event>
<event id="1424240231" type="score_change" time="2023-04-09T20:09:14+00:00" match_time="148" match_clock="147:29" competitor="home" home_score="3" away_score="3">
<players>
<player id="sr:player:1089356" name="Gimenez, Andres" type="scorer"/>
<player id="sr:player:2283379" name="Brennan, William" type="assist"/>
</players>
</event>
<event id="1424242965" type="period_start" time="2023-04-09T20:12:19+00:00" period_name="overtime_break"/>
<event id="1424242959" type="period_score" time="2023-04-09T20:12:19+00:00" period="9" home_score="2" away_score="1"/>
<event id="1424245109" type="period_start" time="2023-04-09T20:14:43+00:00" period_name="overtime"/>
<event id="1424263425" type="period_start" time="2023-04-09T20:36:04+00:00" period_name="overtime_break"/>
<event id="1424265659" type="period_start" time="2023-04-09T20:39:04+00:00" period_name="overtime"/>
<event id="1424269025" type="score_change" time="2023-04-09T20:43:51+00:00" match_time="183" match_clock="182:05" competitor="away" home_score="3" away_score="4">
<players>
<player id="sr:player:1487430" name="Raleigh, Cal" type="scorer"/>
<player id="sr:player:1473738" name="Kelenic, Jarred" type="assist"/>
</players>
</event>
<event id="1424272255" type="score_change" time="2023-04-09T20:48:06+00:00" match_time="187" match_clock="186:21" competitor="away" home_score="3" away_score="5">
<players>
<player id="sr:player:1473738" name="Kelenic, Jarred" type="scorer"/>
<player id="sr:player:841983" name="Wong, Kolten" type="assist"/>
</players>
</event>
<event id="1424278503" type="score_change" time="2023-04-09T20:57:05+00:00" match_time="196" match_clock="195:21" competitor="home" home_score="4" away_score="5">
<players>
<player id="sr:player:848567" name="Naylor, Josh" type="scorer"/>
<player id="sr:player:1089356" name="Gimenez, Andres" type="assist"/>
</players>
</event>
<event id="1424280019" type="score_change" time="2023-04-09T20:59:31+00:00" match_time="198" match_clock="197:46" competitor="home" home_score="5" away_score="5">
<players>
<player id="sr:player:1089356" name="Gimenez, Andres" type="scorer"/>
<player id="sr:player:2283379" name="Brennan, William" type="assist"/>
</players>
</event>
<event id="1424286569" type="period_start" time="2023-04-09T21:09:31+00:00" period_name="overtime_break"/>
<event id="1424287693" type="period_start" time="2023-04-09T21:11:35+00:00" period_name="overtime"/>
<event id="1424292045" type="score_change" time="2023-04-09T21:18:20+00:00" match_time="217" match_clock="216:35" competitor="away" home_score="5" away_score="6">
<players>
<player id="sr:player:1399987" name="Rodriguez, Julio" type="scorer"/>
<player id="sr:player:861864" name="Hernandez, Teoscar" type="assist"/>
</players>
</event>
<event id="1424297463" type="score_change" time="2023-04-09T21:27:34+00:00" match_time="226" match_clock="225:49" competitor="home" home_score="6" away_score="6">
<players>
<player id="sr:player:940576" name="Rosario, Amed" type="scorer"/>
<player id="sr:player:848567" name="Naylor, Josh" type="assist"/>
</players>
</event>
<event id="1424298579" type="score_change" time="2023-04-09T21:29:45+00:00" match_time="228" match_clock="228:00" competitor="home" home_score="7" away_score="6">
<players>
<player id="sr:player:842971" name="Ramirez, Jose" type="scorer"/>
<player id="sr:player:856402" name="Bell, Josh" type="assist"/>
</players>
</event>
<event id="1424299643" type="match_ended" time="2023-04-09T21:31:14+00:00"/>
{
"id": 1424221323,
"type": "period_start",
"time": "2023-04-09T19:47:57+00:00",
"period_name": "9th_inning"
},
{
"id": 1424228705,
"type": "score_change",
"time": "2023-04-09T19:56:09+00:00",
"match_time": 135,
"match_clock": "134:25",
"competitor": "away",
"home_score": 1,
"away_score": 3,
"players": [
{
"id": "sr:player:861864",
"name": "Hernandez, Teoscar",
"type": "scorer"
},
{
"id": "sr:player:867846",
"name": "La Stella, Tommy",
"type": "assist"
}
]
},
{
"id": 1424240207,
"type": "score_change",
"time": "2023-04-09T20:09:13+00:00",
"match_time": 148,
"match_clock": "147:27",
"competitor": "home",
"home_score": 2,
"away_score": 3,
"players": [
{
"id": "sr:player:848567",
"name": "Naylor, Josh",
"type": "scorer"
},
{
"id": "sr:player:2283379",
"name": "Brennan, William",
"type": "assist"
}
]
},
{
"id": 1424240231,
"type": "score_change",
"time": "2023-04-09T20:09:14+00:00",
"match_time": 148,
"match_clock": "147:29",
"competitor": "home",
"home_score": 3,
"away_score": 3,
"players": [
{
"id": "sr:player:1089356",
"name": "Gimenez, Andres",
"type": "scorer"
},
{
"id": "sr:player:2283379",
"name": "Brennan, William",
"type": "assist"
}
]
},
{
"id": 1424242965,
"type": "period_start",
"time": "2023-04-09T20:12:19+00:00",
"period_name": "overtime_break"
},
{
"id": 1424242959,
"type": "period_score",
"time": "2023-04-09T20:12:19+00:00",
"period": "9",
"home_score": 2,
"away_score": 1
},
{
"id": 1424245109,
"type": "period_start",
"time": "2023-04-09T20:14:43+00:00",
"period_name": "overtime"
},
{
"id": 1424263425,
"type": "period_start",
"time": "2023-04-09T20:36:04+00:00",
"period_name": "overtime_break"
},
{
"id": 1424265659,
"type": "period_start",
"time": "2023-04-09T20:39:04+00:00",
"period_name": "overtime"
},
{
"id": 1424269025,
"type": "score_change",
"time": "2023-04-09T20:43:51+00:00",
"match_time": 183,
"match_clock": "182:05",
"competitor": "away",
"home_score": 3,
"away_score": 4,
"players": [
{
"id": "sr:player:1487430",
"name": "Raleigh, Cal",
"type": "scorer"
},
{
"id": "sr:player:1473738",
"name": "Kelenic, Jarred",
"type": "assist"
}
]
},
{
"id": 1424272255,
"type": "score_change",
"time": "2023-04-09T20:48:06+00:00",
"match_time": 187,
"match_clock": "186:21",
"competitor": "away",
"home_score": 3,
"away_score": 5,
"players": [
{
"id": "sr:player:1473738",
"name": "Kelenic, Jarred",
"type": "scorer"
},
{
"id": "sr:player:841983",
"name": "Wong, Kolten",
"type": "assist"
}
]
},
{
"id": 1424278503,
"type": "score_change",
"time": "2023-04-09T20:57:05+00:00",
"match_time": 196,
"match_clock": "195:21",
"competitor": "home",
"home_score": 4,
"away_score": 5,
"players": [
{
"id": "sr:player:848567",
"name": "Naylor, Josh",
"type": "scorer"
},
{
"id": "sr:player:1089356",
"name": "Gimenez, Andres",
"type": "assist"
}
]
},
{
"id": 1424280019,
"type": "score_change",
"time": "2023-04-09T20:59:31+00:00",
"match_time": 198,
"match_clock": "197:46",
"competitor": "home",
"home_score": 5,
"away_score": 5,
"players": [
{
"id": "sr:player:1089356",
"name": "Gimenez, Andres",
"type": "scorer"
},
{
"id": "sr:player:2283379",
"name": "Brennan, William",
"type": "assist"
}
]
},
{
"id": 1424286569,
"type": "period_start",
"time": "2023-04-09T21:09:31+00:00",
"period_name": "overtime_break"
},
{
"id": 1424287693,
"type": "period_start",
"time": "2023-04-09T21:11:35+00:00",
"period_name": "overtime"
},
{
"id": 1424292045,
"type": "score_change",
"time": "2023-04-09T21:18:20+00:00",
"match_time": 217,
"match_clock": "216:35",
"competitor": "away",
"home_score": 5,
"away_score": 6,
"players": [
{
"id": "sr:player:1399987",
"name": "Rodriguez, Julio",
"type": "scorer"
},
{
"id": "sr:player:861864",
"name": "Hernandez, Teoscar",
"type": "assist"
}
]
},
{
"id": 1424297463,
"type": "score_change",
"time": "2023-04-09T21:27:34+00:00",
"match_time": 226,
"match_clock": "225:49",
"competitor": "home",
"home_score": 6,
"away_score": 6,
"players": [
{
"id": "sr:player:940576",
"name": "Rosario, Amed",
"type": "scorer"
},
{
"id": "sr:player:848567",
"name": "Naylor, Josh",
"type": "assist"
}
]
},
{
"id": 1424298579,
"type": "score_change",
"time": "2023-04-09T21:29:45+00:00",
"match_time": 228,
"match_clock": "228:00",
"competitor": "home",
"home_score": 7,
"away_score": 6,
"players": [
{
"id": "sr:player:842971",
"name": "Ramirez, Jose",
"type": "scorer"
},
{
"id": "sr:player:856402",
"name": "Bell, Josh",
"type": "assist"
}
]
},
{
"id": 1424299643,
"type": "match_ended",
"time": "2023-04-09T21:31:14+00:00"
}
More questions?
Reach out to [email protected] for further assistance.