Skip to main content

Base URL

https://v2.basketball.sportsapipro.com

Live Data

Live Scores

GET /api/live
Returns all currently live basketball matches with quarter-by-quarter scores, teams, and status. Use this as the primary source for discovering live match IDs.
{
  "success": true,
  "count": 18,
  "events": [
    {
      "id": 15972577,
      "homeTeam": "Admirals Basketball Academy U20",
      "homeTeamId": 1157137,
      "awayTeam": "TEAM 7 U20",
      "awayTeamId": 1137861,
      "homeScore": {
        "current": 96,
        "display": 96,
        "period1": 20,
        "period2": 31,
        "period3": 21,
        "period4": 24
      },
      "awayScore": {
        "current": 74,
        "display": 74,
        "period1": 15,
        "period2": 14,
        "period3": 27,
        "period4": 18
      },
      "status": "Pause",
      "statusCode": 30,
      "tournament": "EYBL U20, CHALLENGE CUP",
      "tournamentId": 29909,
      "season": "25/26",
      "seasonId": 83999,
      "startTimestamp": 1775892600
    }
  ],
  "timezone": { "name": "UTC", "source": "default", "utcOffset": "+00:00" }
}
Basketball-specific fields: Score objects include period1-period4 for quarters, plus current and display totals. The statusCode field is a numeric status (e.g., 30 = Pause). Team IDs (homeTeamId, awayTeamId) and tournament/season IDs are included in the live response for easy cross-referencing.

All Live Events

GET /api/live/all
Returns all live events unfiltered with full raw data (nested team objects, detailed match metadata).

Today’s Games

GET /api/today
Returns all basketball games scheduled for today.
GET /api/trending-players
Returns currently trending basketball players based on recent performance.

Live Tournaments

GET /api/live-tournaments
Returns tournaments that currently have live games in progress.

Search All

GET /api/search?q={query}
Search across teams, players, and tournaments simultaneously. Returns entity IDs for use with other endpoints.
q
string
required
Search query (e.g., lakers, lebron, nba). Minimum 2 characters.
This is the primary way to discover entity IDs for teams, players, and tournaments.

Schedule

Events by Date

GET /api/schedule/{date}
Returns all basketball games for a specific date, grouped by tournament.
date
string
required
Date in YYYY-MM-DD format (e.g., 2025-03-15).

Scheduled Tournaments by Date

GET /api/scheduled-tournaments/{date}
Returns tournaments that have games on a specific date — useful for building a competition filter.
date
string
required
Date in YYYY-MM-DD format.

Countries & Categories

All Countries

GET /api/countries
Returns all basketball categories/countries.

All Countries (Extended)

GET /api/countries/all
Returns extended categories list with additional metadata.

Category Tournaments

GET /api/categories/{categoryId}/tournaments
Returns all tournaments within a specific category (country or region).
categoryId
number
required
Category ID from the countries endpoint.

Country Flag

GET /api/country/{code}/flag
Returns the flag image URL for a country code.
code
string
required
Two-letter country code (e.g., US, ES, TR).

News

Basketball News

GET /api/news?lang={lang}
Returns the latest basketball news articles.
lang
string
default:"en"
Language code (e.g., en, es).

Example Requests

# Search for a team
curl -X GET "https://v2.basketball.sportsapipro.com/api/search?q=lakers" \
  -H "x-api-key: YOUR_API_KEY"

# Get today's schedule
curl -X GET "https://v2.basketball.sportsapipro.com/api/schedule/2025-03-15" \
  -H "x-api-key: YOUR_API_KEY"
Last modified on April 12, 2026