Pricing
from $1.50 / 1,000 results
Go to Apify Store
BallDontLie Sports Stats Scraper
Extract NBA, NFL, MLB player stats, team data, and game scores from BallDontLie API.
Pricing
from $1.50 / 1,000 results
Rating
0.0
(0)
Developer
Actor stats
0
Bookmarked
5
Total users
0
Monthly active users
2 months ago
Last modified
Categories
Share
Extract NBA, NFL, MLB player stats, team data, and game scores from BallDontLie API.
Features
- Extract data from https://api.balldontlie.io/v1
- Multiple scraping modes: players, teams, games
- Automatic rate limiting
- Proxy support via Apify Proxy
- API authentication support
Input Configuration
Modes
- players: /players?search={query}&per_page=25&cursor={cursor}
- teams: /teams
- games: /games?dates[]={date}&per_page=25&cursor={cursor}
Example Input
{"apiKey":"example","mode":"players","query":"example search","maxResults":25}
Authentication
Free API key from balldontlie.io
Output
The actor stores results in the Apify dataset. Each item contains:
idfirst_namelast_namepositionheightweightjersey_numbercollegecountrydraft_year
Usage Example
const input ={"apiKey":"example","mode":"players","query":"example search","maxResults":25};const run =await ApifyClient.actor('balldontlie-sports-scraper').call(input);const{ items }=await ApifyClient.dataset(run.defaultDatasetId).listItems();console.log(items);
Limits
- Maximum results per run: 500
- Rate limiting: 1 request per second (default)
Support
For issues or questions, contact the developer or open an issue on GitHub.
License
Apache-2.0
