NBA API - Basketball Statistics
Pricing
from $0.01 / 1,000 results
NBA API - Basketball Statistics
Fetch comprehensive NBA basketball data including teams, players, standings, schedules, game statistics, fantasy projections, & betting odds. 30 NBA Teams, Rosters, Team Statistics, League Standings, Player Statistics, Game Statistics, Schedule, League Leaders, Fantasy Projections, Betting Odds
Pricing
from $0.01 / 1,000 results
Rating
0.0
(0)
Developer

John Rippy
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Share
NBA API
Fetch comprehensive NBA basketball data including teams, players, standings, schedules, game statistics, fantasy projections, and betting odds.
Features
- 30 NBA Teams - Get all team information including conference and division
- Team Rosters - Current player rosters with positions, heights, and weights
- Team Statistics - Season stats including wins, losses, and shooting percentages
- League Standings - Eastern and Western Conference standings with records
- Player Statistics - Season averages for any player (points, rebounds, assists)
- Game Statistics - Box scores, top performers, and game details
- Schedule - Upcoming and past games with dates, times, and venues
- League Leaders - Top players in various statistical categories
- Fantasy Projections - DraftKings and FanDuel player projections
- Betting Odds - Game lines and player props from multiple sportsbooks
Data Sources
- BALLDONTLIE API - Free NBA data for teams, players, and games
- Premium sources for fantasy projections and betting odds
Usage Examples
Get All Teams
{"task": "teams"}
Get Lakers Roster
{"task": "team_roster","teamId": 14}
Get LeBron James Stats
{"task": "player_stats","playerId": 237}
Get Current Standings
{"task": "standings"}
Get Games for a Specific Date
{"task": "schedule","date": "2024-12-28"}
Get Fantasy Projections
{"task": "fantasy_projections"}
Get Betting Odds
{"task": "betting_odds"}
Team IDs
| ID | Team | ID | Team |
|---|---|---|---|
| 1 | Atlanta Hawks | 16 | Miami Heat |
| 2 | Boston Celtics | 17 | Milwaukee Bucks |
| 3 | Brooklyn Nets | 18 | Minnesota Timberwolves |
| 4 | Charlotte Hornets | 19 | New Orleans Pelicans |
| 5 | Chicago Bulls | 20 | New York Knicks |
| 6 | Cleveland Cavaliers | 21 | Oklahoma City Thunder |
| 7 | Dallas Mavericks | 22 | Orlando Magic |
| 8 | Denver Nuggets | 23 | Philadelphia 76ers |
| 9 | Detroit Pistons | 24 | Phoenix Suns |
| 10 | Golden State Warriors | 25 | Portland Trail Blazers |
| 11 | Houston Rockets | 26 | Sacramento Kings |
| 12 | Indiana Pacers | 27 | San Antonio Spurs |
| 13 | Los Angeles Clippers | 28 | Toronto Raptors |
| 14 | Los Angeles Lakers | 29 | Utah Jazz |
| 15 | Memphis Grizzlies | 30 | Washington Wizards |
Output Format
All tasks return a consistent JSON structure:
{"task": "teams","success": true,"timestamp": "2024-12-28T12:00:00.000Z","data": [...]}
Pricing
This actor uses pay-per-event pricing:
| Task | Price |
|---|---|
| Teams List | $0.01 |
| Team Roster | $0.01 |
| Team Stats | $0.01 |
| Standings | $0.01 |
| Player Stats | $0.02 |
| Game Stats | $0.02 |
| Schedule | $0.01 |
| League Leaders | $0.01 |
| Fantasy Projections | $0.03 |
| Betting Odds | $0.05 |
Demo Mode
Enable demoMode: true to test the actor without making live API calls. This is useful for:
- Testing integrations
- Exploring the output format
- Avoiding API rate limits during development
Author
John Rippy - Local Howl
- Website: johnrippy.link
- Email: john@johnrippy.link
Support
For issues or feature requests, please contact the author or submit a bug report through Apify.