NCAA APIstats.ncaa.org ↗
Access NCAA player, team, and coach stats via 9 endpoints. Search players and teams, get game box scores, play-by-play, schedules, rosters, and ranking categories.
What is the NCAA API?
The stats.ncaa.org API exposes 9 endpoints covering NCAA sports data across player search, team rosters, game results, and statistical rankings. Use get_box_score to pull per-player statistics for any game by contest ID, or search_head_coaches to retrieve win-loss records, tenure, and alma mater for coaches across multiple sports and divisions. IDs returned by one endpoint feed directly into others, making it straightforward to chain lookups across the dataset.
curl -X GET 'https://api.parse.bot/scraper/cc788f52-a551-42c0-9350-031581a15442/search_players?query=Harris&start=0&length=10' \ -H 'X-API-Key: $PARSE_API_KEY'
Typed, relational, agent-ready
A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.
- Fully typed · autocompletes
- Objects link to objects
- Typed errors & pagination
Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:
uv add parse-sdk uv run parse init uv run parse add --marketplace stats-ncaa-org-api
uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.
"""NCAA Statistics API — search players, teams, coaches; view scoreboards and box scores."""
from parse_apis.NCAA_Statistics_API import NCAA, Sport, Division, PlayerNotFound
client = NCAA()
# Search players by name
for player in client.players.search(query="Williams", limit=5):
team_names = ", ".join(t.team_name for t in player.teams) if player.teams else "N/A"
print(f"{player.name} | seasons: {player.seasons} | teams: {team_names}")
# Search for a team by name
team = client.teams.search(term="Kentucky", limit=1).first()
if team:
print(f"Team: {team.label} (vid={team.vid})")
# Search coaches filtered by sport enum
coach = client.coaches.search(query="Williams", sport=Sport.MBB, limit=1).first()
if coach:
print(f"Coach: {coach.name} | record: {coach.wins}-{coach.losses} ({coach.wl_pct})")
# Get scoreboard games and drill into sub-resources
game = client.games.list(date="01/15/2025", sport=Sport.MBA, division=Division.D1, limit=1).first()
if game:
print(f"{game.team1_name} {game.team1_score} vs {game.team2_name} {game.team2_score}")
# Box score for that game
for team_box in game.box_score.get(limit=2):
print(f" {team_box.team_name}: {len(team_box.players)} players")
# Play-by-play
play = game.plays.list(limit=1).first()
if play:
print(f" Play: [{play.period}] {play.team} - {play.event} ({play.score})")
# Ranking categories for a sport/division
ranking = client.ranking_categories.list(sport=Sport.MBB, division=Division.D1, limit=1).first()
if ranking:
print(f"Ranking: {ranking.stat_name} (seq={ranking.stat_seq})")
# Typed error handling
try:
client.players.search(query="zzzzxyznonexistent", limit=1).first()
except PlayerNotFound as exc:
print(f"Not found: {exc.query}")
print("exercised: players.search / teams.search / coaches.search / games.list / box_score.get / plays.list / ranking_categories.list")
Search for players by name across all sports and teams. Returns player names, IDs, seasons played, and team affiliations. Paginates via offset/length parameters.
| Param | Type | Description |
|---|---|---|
| queryrequired | string | Search keyword for player name |
| start | integer | Pagination offset (0-based index of first result) |
| length | integer | Number of results to return per page |
{
"type": "object",
"fields": {
"total": "integer total number of matching records",
"players": "array of player objects with name, player_id, seasons, and teams"
},
"sample": {
"data": {
"total": 2913931,
"players": [
{
"name": "Harrison Aakre",
"teams": [
{
"team_name": "Concordia-M'head Football",
"team_history_url": "/teams/history/MFB/161"
}
],
"seasons": "1",
"player_id": "3297520"
}
]
},
"status": "success"
}
}About the NCAA API
Player, Team, and Coach Search
The search_players endpoint accepts a query string and returns an array of player objects including player_id, seasons, and team affiliations. Results paginate via start (0-based offset) and length parameters, with a total integer indicating the full result count. search_teams works as an autocomplete lookup, returning vid, label (team name plus conference), value (team ID), and org_id. search_head_coaches adds a sport filter using codes like MBB, WBB, or MFB, and each coach record includes wins, losses, ties, wl_pct, tenure, and alma_mater.
Game Data: Scoreboards, Box Scores, and Play-by-Play
get_scoreboard takes date (MM/DD/YYYY), year (academic year, e.g. 2025 for the 2024-25 season), sport, and division as optional inputs. It returns game objects with team1_name, team1_id, team1_score, team2_name, team2_id, team2_score, and contest_id. That contest_id is the key input for both get_box_score, which returns per-player statistics for both teams in a game, and get_play_by_play, which returns a log of all events with period, time, team, description, and score.
Team Schedules, Rosters, and Rankings
get_team_schedule and get_team_roster both accept a team_id, which can be sourced from search_teams or from a get_scoreboard response. The roster endpoint returns player details including position, class year, height, and hometown. get_rankings accepts year, sport, and division and returns an array of ranking categories, each with a stat_name, stat_seq identifier, and a url pointing to the national rankings page for that stat. This covers team and individual statistical leaderboard categories rather than the ranked values themselves.
The NCAA API is a managed, monitored endpoint for stats.ncaa.org — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when stats.ncaa.org changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.
This isn't an official stats.ncaa.org API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.
Will this API break when the source site changes?+
Is this an official API from the source site?+
Can I fix or extend this API myself if I need a new endpoint or field?+
What happens if I call an endpoint that has an issue?+
- Build a college basketball coaching history tool using
search_head_coacheswin-loss records and tenure fields - Display live NCAA scoreboards filtered by sport and division using
get_scoreboardwith date and division inputs - Aggregate per-player game stats for a season-long dashboard by chaining
get_team_schedulewithget_box_score - Populate a team profile page with current roster details, positions, and hometowns via
get_team_roster - Map available statistical ranking categories for a given sport and season using
get_rankingswithsportandyear - Track play-by-play sequences for specific contests using
get_play_by_playto analyze in-game scoring runs - Link player search results to team affiliations across multiple seasons using
search_playersseason and team arrays
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 100 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does stats.ncaa.org have an official developer API?+
How do sport codes work across endpoints, and where do I find valid values?+
sport parameter using short codes such as MBB (men's basketball), WBB (women's basketball), and MFB (football). The same codes apply across search_head_coaches, get_scoreboard, and get_rankings. Passing an empty string to search_head_coaches returns results across all sports. Valid codes correspond to NCAA sport designations, so referencing the NCAA's own sport-code list is the most reliable way to enumerate them.Does `get_rankings` return the actual ranked statistics and player values, or just the category list?+
stat_name, stat_seq, and a url for each category — not the underlying per-player or per-team ranked values. The API covers scoreboard, box score, roster, and schedule data for detailed figures. You can fork this API on Parse and revise it to add an endpoint that fetches the ranked values from a specific stat_seq category.Is historical season data available, or only the current season?+
year parameter representing the academic year (e.g., 2025 for 2024-25), which means you can query prior seasons for scoreboards and rankings where that parameter is supported. However, not all endpoints expose a year filter — get_team_roster and get_team_schedule take only team_id with no explicit season parameter. If your use case requires multi-season historical roster or schedule comparisons, you can fork this API on Parse and revise it to add season-scoped parameters to those endpoints.What does the `contest_id` field connect, and where do I get one?+
contest_id is the shared key for game-level detail. It appears in get_scoreboard responses and can be passed to both get_box_score and get_play_by_play to retrieve per-player stats and event logs for that specific game. It can also come from get_team_schedule results, giving you a path from team lookup to individual game data.