Base URL
What’s Different in V2?
The V2 Basketball API provides enhanced data coverage with significantly more endpoints and richer data compared to V1:115 Endpoints
Match, Tournament, Team, Player, Manager, Referee, Venue
Rich Box Scores
Period-by-period scoring (Q1-Q4, OT), full player stats, momentum graphs
Path Parameters
RESTful path parameters instead of query strings (e.g.,
/api/match/12345)Conference Standings
Eastern/Western conference standings, home/away splits, playoff brackets
Authentication
Samex-api-key header as V1 — your existing API key works for both versions:
V1 vs V2 Comparison
| Feature | V1 | V2 |
|---|---|---|
| Base URL | v1.basketball.sportsapipro.com | v2.basketball.sportsapipro.com |
| Parameter style | Query strings (?gameId=123) | Path parameters (/api/match/123) |
| Match endpoints | 6 | 27 |
| Player endpoints | 3 | 18 |
| Team endpoints | 2 | 15 |
| Tournament endpoints | 3 | 27 |
| Box Scores (Q1-Q4) | ❌ | ✅ |
| Play-by-Play | ❌ | ✅ |
| Momentum Graphs | ❌ | ✅ |
| Manager/Referee Data | ❌ | ✅ |
| Venue Data | ❌ | ✅ |
| Playoff Brackets | ❌ | ✅ |
Important: Entity ID Discovery
Key Basketball IDs for Testing
| Entity | Name | ID |
|---|---|---|
| Tournament | NBA | 132 |
| Season | NBA 24/25 | 62498 |
| Team | Los Angeles Lakers | 3427 |
| Player | LeBron James | 817181 |
Key Differences from Football
Scoring: Basketball uses
period1, period2, period3, period4, overtime, normaltime, and current fields in the score object — unlike football which uses halftime periods.Lineups: Starting 5 + bench (not 11 as in football).Incidents: Include baskets, fouls, free throws, and timeouts (not goals/cards).Standings: Typically have conference groups (Eastern/Western for NBA) instead of a single table.No shotmap or heatmap endpoints — these are football-specific features.Positions: G (Guard), F (Forward), C (Center) instead of football positions.Endpoint Categories
Live & Schedule (7)
Live scores, today’s games, schedule by date, trending players
Search & Discovery (6)
Search, countries, categories, news, country flags
Tournament (27)
Standings, top players/teams, brackets, team of the week, venues
Match (27)
Scores, lineups, statistics, incidents, odds, momentum graph
Player (18)
Statistics, transfer history, characteristics, ratings, events
Team (15)
Roster, transfers, performance, media, season stats
Manager / Referee / Venue (15)
Coach careers, referee stats, arena details, event history
Example Requests
UI Design Ideas
- Score display: Show Q1-Q4 with totals, highlight current quarter during live games
- Box scores: Full player stat lines (PTS, REB, AST, STL, BLK, FG%, 3P%, FT%)
- Standings: Conference tables (Eastern/Western), show W-L record, PCT, GB
- Playoff bracket: Show 4 rounds (First Round → Conf Semis → Conf Finals → Finals)
- Player profile: Position (G/F/C), height, weight, jersey number, draft info