Skip to main content
GET
Live Games
V1 Legacy Endpoint — This is a V1 API endpoint. For new integrations, we recommend using the Basketball V2 API which provides richer data and more endpoints.
Efficient Polling: Use the lastUpdateId parameter for real-time updates without re-fetching all data.

Overview

Returns all basketball games that are currently in progress. Data updates every ~5 seconds for full coverage leagues like NBA and EuroLeague.

Query Parameters

integer
Filter by competition ID (e.g., 132 for NBA, 138 for EuroLeague)
integer
For efficient polling - returns only games that have changed since this ID. Get this value from the previous response.

Response Structure

array
Array of live game objects
integer
Use this value in subsequent requests for efficient polling

Code Examples

Polling for Live Updates

Use the lastUpdateId parameter for efficient polling. This returns only games that have changed, reducing bandwidth and improving performance.

Filter by Competition

Get only NBA games:

Status Groups

Key Competition IDs

Authorizations

x-api-key
string
header
required

Your SportsAPI Pro API key

Query Parameters

competitions
integer

Filter by competition ID (e.g., 132 for NBA)

Example:

132

lastUpdateId
integer

For efficient polling - returns only updates since this ID

Response

200 - application/json

Live games retrieved successfully

games
object[]
lastUpdateId
integer

Use for subsequent polling requests

Last modified on June 29, 2026