Basketball V1
Basketball API Reference
Complete reference for Basketball API endpoints
GET
Account Status
Overview
The Basketball API provides comprehensive data for 50+ basketball leagues worldwide. All endpoints use the same authentication and follow consistent response patterns.Base URL:
https://v1.basketball.sportsapipro.comThe sports=2 parameter is automatically added to all requests.Authentication
All endpoints require authentication via thex-api-key header:
Available Endpoints
Games & Scores
Games & Scores
| Endpoint | Method | Description |
|---|---|---|
/games/current | GET | Live basketball games |
/games/fixtures | GET | Upcoming games |
/games/results | GET | Completed games |
/game | GET | Single game details |
/games/h2h | GET | Head-to-head history |
/games/stats | GET | Game statistics |
Competitions
Competitions
| Endpoint | Method | Description |
|---|---|---|
/competitions | GET | List competitions |
/competitions/top | GET | Top leagues by popularity |
/competitions/featured | GET | Featured competitions |
Standings
Standings
| Endpoint | Method | Description |
|---|---|---|
/standings | GET | League standings |
Athletes
Athletes
| Endpoint | Method | Description |
|---|---|---|
/athletes/top | GET | Top players |
/athletes/games | GET | Player game logs |
/athletes/nextGame | GET | Player’s next game |
Betting
Betting
| Endpoint | Method | Description |
|---|---|---|
/bets/lines | GET | Betting lines |
/bets/proposition | GET | Player props |
/trends | GET | Betting trends |
/predictions | GET | Game predictions |
Other
Other
| Endpoint | Method | Description |
|---|---|---|
/status | GET | Account status & usage |
/search | GET | Search entities |
/competitors/top | GET | Top teams |
Common Parameters
Competition ID (e.g., 132 for NBA)
Specific game ID for detailed endpoints
Specific player ID for athlete endpoints
Date filter in YYYY-MM-DD format
For efficient polling - returns only updates since this ID
Response Format
All responses follow this structure:Use this value in subsequent requests for efficient polling
Suggested cache time-to-live in seconds
Rate Limits
Rate limits are shared across all sports APIs:
| Plan | Requests/Day |
|---|---|
| Free | 100 |
| Pro | 7,500 |
| Ultra | 75,000 |
| Mega | 150,000 |
Key Competition IDs
| Competition | ID | Country |
|---|---|---|
| NBA | 132 | USA |
| WNBA | 2004 | USA |
| EuroLeague | 138 | Europe |
| NCAA Men’s | 2065 | USA |
| Spanish ACB | 149 | Spain |
| Turkish BSL | 150 | Turkey |
Error Handling
| Status | Description |
|---|---|
| 400 | Bad Request - Missing required parameters |
| 401 | Unauthorized - Invalid or missing API key |
| 429 | Rate Limited - Too many requests |
| 500 | Server Error - Try again later |
Authorizations
Your SportsAPI Pro API key
Response
200
Account status retrieved successfully
Last modified on April 12, 2026
Account Status