The Future of Sports Data

Lightning-fast API access to live and historical sports data. Built for developers, powered by AI, trusted by thousands.

Select a league to view pricing:

Built for developers who ship fast

Everything you need to build sports applications that scale. Clean APIs, comprehensive data, and tools that just work.

Lightning Fast

Sub-100ms response times with 99.9% uptime. Built on scalable infrastructure that handles millions of requests daily.

Developer First

Clean JSON responses, intuitive endpoints, and comprehensive docs. Start building in minutes.

Real-Time Data

Live stats, historical analytics, and deep insights across NBA, NFL, MLB, NHL, EPL, WNBA, NCAAF, and NCAAB.

Modern SDKs

First-class TypeScript and Python libraries. Type-safe, well-documented, and battle-tested.

AI Native

Built-in MCP server for seamless AI integration. Natural language queries out of the box.

Start Free

Free tier with no credit card required. Scale up as you grow with flexible pricing.

Trusted by teams building

Fantasy Sports Analytics Dashboards Sports Media ML Models Mobile Apps

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!
✨ AI-POWERED

Seamless AI Integration

Connect to any MCP-compatible AI assistant through our open-source MCP server for natural language sports data queries.

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. Works with all MCP clients.

Connect to any MCP client in 30 seconds

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

Compatible with Claude Desktop, any MCP client, or self-host using our open-source MCP server.

Ask your AI assistant:

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

Machine-Readable API Definition

Download our complete OpenAPI specification for AI agents, developer tools, and automated integrations.

AI Agent Ready

Let AI assistants automatically understand and interact with our API

Code Generation

Generate client SDKs in any language with OpenAPI tools

Import & Test

Use with Postman, Insomnia, Swagger UI, and more

Complete Documentation

Full endpoint definitions, schemas, and authentication details

View OpenAPI Spec

YAML • OpenAPI 3.0

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