Sports Analytics Datasets
Download curated datasets for your sports analytics projects
105
Available Datasets
9
Sports Covered
19,920,500
Total Records
Free
Open Access
CSV
Baseball
Lahman Baseball Database
Comprehensive historical baseball statistics from 1871 to present
CSV
Baseball
Statcast Data
MLB pitch-by-pitch tracking data including velocity, spin, and trajectory
CSV
Baseball
MLB Statcast Data 2023
Complete Statcast data for 2023 MLB season including exit velocity, launch angle, and sprint speed
API Access
Access our datasets programmatically through our REST API.
Python Example
import requests
import pandas as pd
# Fetch NBA player statistics
response = requests.get('https://api.sportsdatalab.com/nba/players/2024')
data = response.json()
# Convert to DataFrame
df = pd.DataFrame(data['players'])
print(df.head())
JavaScript Example
// Fetch Premier League match data
fetch('https://api.sportsdatalab.com/soccer/premier-league/matches')
.then(response => response.json())
.then(data => {
console.log(data.matches);
// Process match data
});