FreeAPI.watch

balldontlie (NBA)

NBA teams, players, games, and box-score stats going back to 1946. Ran fully open for years before adding mandatory free accounts in 2024 — still the most usable basketball API given stats.nba.com blocks datacenter IPs.

Status
🟢 Online · 26 ms
30-day uptime
100%
Free tier
Free account key, 5 requests/minute; higher tiers paid
Auth
API key

Is balldontlie (NBA) down right now?

No — balldontlie (NBA) was up at our last check (Sun, 06 Dec 2026 00:41 UTC): HTTP 401 in 26 ms — an authentication challenge, which means the service is answering. It answered 100% of our hourly checks over the last 30 days.

We check every tracked API hourly from Cloudflare's network; this page is rebuilt every few hours. For the value right now, query the public JSON API or the MCP server.

Last 30 days

Free alternatives (live ranking)

Compare balldontlie (NBA) with…

Paid alternatives

Official docs ↗

Frequently Asked Questions

Does balldontlie (NBA) require an API key?

Yes, balldontlie (NBA) requires a free API key. You can sign up via https://docs.balldontlie.io/.

What is balldontlie (NBA)'s free tier?

Free account key, 5 requests/minute; higher tiers paid

Is balldontlie (NBA) down right now?

At our last check (Sun, 06 Dec 2026 00:41 UTC) balldontlie (NBA) was up, with HTTP 401 in 26 ms. We check it every hour, and it answered 100% of checks over the last 30 days.

Implementation notes

When to use balldontlie (NBA)

balldontlie is the most usable free NBA API: teams, players and games with data back to 1946, served as clean, consistently documented JSON. It ran fully open for years and added mandatory free accounts in 2024; today a free key gives you 5 requests per minute against the Teams, Players and Games endpoints only. Per-game player stats sit on the ALL-STAR tier, while box scores, season averages, standings, leaders and betting odds need GOAT. That makes the free tier right for schedule and results widgets, roster pages, an overnight game-log backfill or a teaching project, and wrong for anything that needs stats or live refresh. It matters because the obvious alternative is worse: stats.nba.com still serves JSON but blocks datacentre IP ranges, so code that works from your laptop fails in production. balldontlie runs APIs for other sports as well, but a paid tier bought for the NBA does not carry over to them.

Common pitfalls

Quick start (bash)

# the key goes in Authorization as-is - no Bearer prefix
curl -s -H 'Authorization: YOUR_KEY' 'https://api.balldontlie.io/v1/teams' | jq '.data[0]'
# -g stops curl globbing the [] params; season 2024 means 2024-25; follow meta.next_cursor to page
curl -s -g -H 'Authorization: YOUR_KEY' 'https://api.balldontlie.io/v1/games?seasons[]=2024&team_ids[]=14&per_page=100' | jq '.meta'

Embed this badge

Add a live status badge to your README, docs, or website.

balldontlie (NBA) status badge

Markdown

[![balldontlie (NBA) Status](https://api.freeapi.watch/badge/balldontlie.svg)](https://freeapi.watch/balldontlie)

HTML

<a href="https://freeapi.watch/balldontlie"><img src="https://api.freeapi.watch/badge/balldontlie.svg" alt="balldontlie (NBA) Status"/></a>