Docs
Coverage MatrixDocumentationRelease LogLog InContact Us

Global Basketball FAQs

Frequently asked questions for Global Basketball v2

Click on the categories below or browse questions on the right panel.

Categories

.


Coverage


What leagues or tournaments do you cover for basketball?

You can find all the leagues we cover, as well as a breakdown of data offered, 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.

Properties within the coverage node denotes specific coverage properties, and displays a boolean value if the coverage type is available. A list of possible properties and their definitions are listed below:

  • boxscore - Player statistics are available post-match.
  • lineups - Lineups are available, with starting players, pre-match.
  • match_clock - A running match clock is available.
  • stats_leaders - Live statistics leaders are available. leader_points, leader_assists, leader_rebounds.
  • time_played_minutes_and_seconds - Player statistic for minutes is available in minutes and seconds.
  • time_played_minutes_only - Player statistic for minutes is available however only in minutes.

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 Basketball, there will be no difference between competition coverage.


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 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"/>

Do you provide fixtures for future matches, before the competitors are known?

For playoff phase matches in select leagues*, we provide fixtures before the competitors are known. These matches will be created with placeholder competitors. When the fixture is fully drawn the correct competitors will overwrite the placeholder names, with the match ID remaining the same.

Regarding the competitor placeholder names, we look to follow official naming where possible. This does mean that some differences will apply across competitions.

*\Select leagues listed below:

  • Euroleague
  • Eurocup
  • Pro A
  • Liga ACB
  • BBL
  • TBSL
  • United League
  • A1
  • Liga ABA
  • NBL
  • Israel Super League
  • CBA


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?

  • not_started – The game is scheduled to be played
  • started – The game has begun
  • live – The game is currently in progress
  • postponed – The game has been postponed to a future date
  • suspended - The game began, but has been suspended to a later time
  • match_about_to_start – The game is about to begin
  • delayed – The game has been temporarily delayed and will be continued
  • interrupted - The game began, but coverage has stopped for a short time. Note that game scores may not be updated during this period, the last recorded game score will be displayed instead
  • cancelled – The game has been cancelled and will not be played
  • ended – The game is over
  • closed – The game results have been confirmed

What are the valid sport_event_statusmatch_status values?

  • 1st_quarter
  • 2nd_quarter
  • 3rd_quarter
  • 4th_quarter
  • 1st_half
  • 2nd_half
  • overtime
  • penalties
  • pause
  • awaiting_extra_time
  • awaiting_penalties
  • interrupted
  • not_started
  • aet
  • ended
  • postponed
  • cancelled
  • abandoned
  • start_delayed
  • started


Event Types


What are the possible event type values?

  • match_started
  • period_start
  • rebound
  • score_change
  • foul
  • ball_block
  • break_start
  • timeout
  • period_score
  • match_ended
  • attempt_missed
  • free_throws_awarded
  • steal
  • timeout_over
  • turnover
  • video_review
  • video_review_over
  • won_jump_ball


Pagination


Why can't I find a particular match in the Daily Summaries, Season Summaries or Sport Events Updated endpoints?

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.


Is there Live Probability coverage for every game in the Global Basketball 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 league: National Basketball Association (NBA) – USA


Can I utilize the Probabilities extension if I license the Sportradar NBA API?

If you have a license for our NBA API you can also integrate Live Probabilities by utilizing the ID Mapping Feeds available in Global Basketball v2 to connect games between the two products.


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?).


What are the valid outcomes for probabilities?

  • home_team_winner
  • away_team_winner


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 standings types I can observe in the Standings feed?

Listed below are the values for season_standingtype.

  • total
  • home
  • away
  • first_half_total
  • first_half_home
  • first_half_away
  • second_half_total
  • second_half_home
  • second_half_away

What are the possible values for cup_roundstate 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.



Court Dimensions


What is the scale of the X Y coordinates?

The court we use is 100 by 100.




🙋

More questions?

Reach out to [email protected] for further assistance.