BALLDONTLIE Sports API Logo

The #1 API for Live Sports Data and Analytics

Real-time stats, player insights, and game analytics for developers, analysts, and sports enthusiasts.

Select a sport to view pricing:

DESIGNED BY DEVELOPERS FOR DEVELOPERS

A comprehensive sports data platform built with modern tech stacks in mind

Fast & Reliable

Built on a scalable infrastructure with 99.9% uptime and lightning-fast response times

Developer-First

Clean JSON responses, consistent endpoints, and thorough documentation

Comprehensive Data

Real-time stats, historical data, and deep analytics across multiple sports

Flexible Plans

Start free and scale up based on your needs with sport-specific pricing

Modern SDKs

First-class libraries for JavaScript and Python to get you started in minutes

Enterprise Ready

Rate limits, authentication, and support plans designed for businesses

Data Analytics
Fantasy Sports
Scoreboard Apps
Sports News and Media
Player Performance Tracking
Machine Learning Data
Betting Platforms
Internal Tools for Teams
Predictive Modeling

Get Started in Minutes

We provide libraries for JavaScript and Python to make it easy to interact with our API.

import { BalldontlieAPI } from "@balldontlie/sdk";

const api = new BalldontlieAPI({ apiKey: "your-api-key" });

// Get NBA stats
await api.nba.getStats({ dates: ["2024-11-13", "2024-11-14"] });

// Get NFL stats
await api.nfl.getStats({ seasons: [2024] });

// Get MLB stats
await api.mlb.getStats({ player_ids: [208] });

// Get EPL stats
await api.epl.getPlayerStatsLeaders({
  season: 2024,
  type: "goals",
});

// Many more endpoints available!
from balldontlie import BalldontlieAPI

api = BalldontlieAPI(api_key="your-api-key")

# Get NBA stats
api.nba.stats.list(dates=["2024-11-13", "2024-11-14"])

# Get NFL stats
api.nfl.stats.list(seasons=[2024])

# Get MLB stats
api.mlb.stats.list(player_ids=[208])

# Get EPL stats
api.epl.leaders.players.list(
    season=2024,
    type="goals",
)

# Many more endpoints available!

Built for the AI Era

BALLDONTLIE is the first AI-native sports API. Connect directly to Claude, ChatGPT, and other AI assistants through our MCP server.

Native AI Integration

Built from the ground up for AI workflows. No complex integrations or custom code required.

Natural Language Queries

Ask your AI assistant "What are today's NBA games?" and get instant, accurate results.

MCP Server Ready

Connect to our hosted MCP server at mcp.balldontlie.io in seconds.

Connect to Claude Desktop in 30 seconds

{
  "mcpServers": {
    "balldontlie-api": {
      "url": "https://mcp.balldontlie.io/mcp",
      "transport": "http",
      "headers": {
        "Authorization": "YOUR_API_KEY"
      }
    }
  }
}

Ask your AI assistant:

"Show me LeBron's season stats" "What are today's games?" "Get the Lakers roster" "Current NBA standings"

Unlock the Power of Sports Data

Access the most affordable and comprehensive sports API on the market.

Free
$0/mo
All-Star
$9.99/mo
GOAT
$39.99/mo
All-Access
$89.99/mo
Enterprise
Custom
Rate Limit
5 req/min
60 req/min
600 req/min
600 req/min
Custom
Data Access
Basic endpoints
Game & team data
All data (one sport)
All sports
All sports
Support
Community
Email
Email
Email
24/7 dedicated
SLA
-
-
-
-
99.9% uptime

Test The API