List games with league, ET date-range, team, and status filters.
const url = 'https://api.betflux.ai/v1/games?league=MLB&status=SCHEDULED';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.betflux.ai/v1/games?league=MLB&status=SCHEDULED' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Inclusive ET game date (YYYY-MM-DD); pair with date_to.
Inclusive ET game date (YYYY-MM-DD); pair with date_to.
Canonical team name; matches home or away.
Canonical team name; matches home or away.
Responses
Section titled “Responses”A page of games.
object
object
Game id (e.g. NBA_GSW_MIA_20250408).
League code, e.g. NBA, NFL, MLB, NHL, NCAAM, NCAAF.
Eastern-Time calendar date of the scheduled start (matches closing-lines game_date).
Scheduled start, ISO 8601 UTC.
Schedule status, e.g. SCHEDULED, STARTED, COMPLETED.
True while the game is in progress.
Canonical home team name.
Home team abbreviation, e.g. MIA.
Canonical home team UUID (matches /v1/teams ids).
Canonical away team name.
Away team abbreviation, e.g. GSW.
Canonical away team UUID (matches /v1/teams ids).
Season slug the game belongs to, e.g. 2026-regular.
PRESEASON, SEASON (regular) or POSTSEASON.
Observed end, ISO 8601 UTC; null until known (often never set).
Schedule week (NFL, NCAAF); null for other leagues.
True when neither team is the venue’s home side.
Reason while status is DELAYED or POSTPONED; null otherwise.
Broadcast outlets; empty when unknown.
Reported attendance; null until posted.
Home score so far; final once status is COMPLETED. Null before tip-off.
Away score so far; final once status is COMPLETED. Null before tip-off.
Quarter / inning / period / half in progress; null before the game and after it ends.
Clock seconds left in the current period (timed sports); null otherwise.
TOP or BOTTOM of the current inning (MLB); null elsewhere.
Label for a break in play (e.g. HALFTIME); null while play is on.
Home line score, one entry per completed or in-progress period.
Away line score, index-aligned with period_scores_home.
Venue UUID; null when no venue is known.
Venue name, e.g. Truist Park.
Venue city with its region, e.g. Atlanta, GA.
Venue country, e.g. USA.
Venue latitude (WGS84).
Venue longitude (WGS84).
Largest sports capacity of the building.
Playing surface, e.g. Kentucky Bluegrass, FieldTurf; null when unknown.
True for covered venues (domes and arenas).
True when the roof can open.
Weather category at game time, e.g. SUNNY, CLOUDY, LIGHT_RAIN; null indoors or when unavailable.
Free-text weather description, e.g. sky is clear.
Temperature in °F.
Wind speed in mph.
Wind origin bearing in degrees.
Compass label for the wind origin, e.g. WSW.
RAIN, SNOW, … when precipitation is forecast; null otherwise.
Precipitation probability in percent.
Relative humidity in percent.
Example
{ "data": [ { "status": "SCHEDULED" } ]}Validation failed — unknown or invalid query parameter, or a malformed range (problem type validation-error).
RFC 9457 problem details. Dispatch on the stable type URI (https://api.betflux.ai/problems/*), never on the English title.
object
Stable problem type URI.
Short human-readable summary.
HTTP status code.
Explanation specific to this occurrence.
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example"}Missing, malformed, or unrecognized API key (problem type invalid-key).
RFC 9457 problem details. Dispatch on the stable type URI (https://api.betflux.ai/problems/*), never on the English title.
object
Stable problem type URI.
Short human-readable summary.
HTTP status code.
Explanation specific to this occurrence.
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example"}The key is valid, but the account has no active subscription (problem type subscription-required). The response includes upgrade_url.
RFC 9457 problem details. Dispatch on the stable type URI (https://api.betflux.ai/problems/*), never on the English title.
object
Stable problem type URI.
Short human-readable summary.
HTTP status code.
Explanation specific to this occurrence.
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example"}API key revoked or suspended (problem type key-disabled); a feature the plan does not include (problem type plan-excludes, with feature — live for the live sportsbook-lines routes, league_datasets for league-scoped datasets — required_tiers and upgrade_url; never worth retrying on the same key); or a game outside the key’s history window (problem type history-restricted): a trial key reads only games dated the first Saturday of a month or the Sunday after it, and its 403 carries upgrade_url and sample: "first-weekend".
RFC 9457 problem details. Dispatch on the stable type URI (https://api.betflux.ai/problems/*), never on the English title.
object
Stable problem type URI.
Short human-readable summary.
HTTP status code.
Explanation specific to this occurrence.
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example"}Rate limit, games allowance, or ops throttle — the problem type distinguishes rate-limited, quota-exhausted and throttled. quota-exhausted refuses only a new game past the period’s allowance (games already counted stay readable) and carries reset_at, upgrade_url, game_id, games_used and games_allowance.
RFC 9457 problem details. Dispatch on the stable type URI (https://api.betflux.ai/problems/*), never on the English title.
object
Stable problem type URI.
Short human-readable summary.
HTTP status code.
Explanation specific to this occurrence.
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example"}