Base URL
https://v2.basketball.sportsapipro.com
Live Data
Live Scores
Returns all currently live basketball matches with scores, teams, and status. Use this as the primary source for discovering live match IDs.
All Live Events
Returns all live events unfiltered with full raw data.
Today’s Games
Returns all basketball games scheduled for today.
Trending Players
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
Search All
GET /api/search?q={query}
Search across teams, players, and tournaments simultaneously. Returns entity IDs for use with other endpoints.
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
Returns all basketball games for a specific date, grouped by tournament.
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 in YYYY-MM-DD format.
Countries & Categories
All Countries
Returns all basketball categories/countries.
All Countries (Extended)
Returns extended categories list with additional metadata.
Category Tournaments
GET /api/categories/{categoryId}/tournaments
Returns all tournaments within a specific category (country or region).
Category ID from the countries endpoint.
Country Flag
GET /api/country/{code}/flag
Returns the flag image URL for a country code.
Two-letter country code (e.g., US, ES, TR).
News
Basketball News
GET /api/news?lang={lang}
Returns the latest basketball news articles.
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"