Docs
Every college sport is reached with one SportsDataHQ key: send it as an x-api-key header and POST JSON to the sport's path.
Quickstart
- Create a free account and copy your key (it starts with
sk_sdhq_). 1,000 credits a month, no card. - Call a tool. Each call costs the credits listed in the tool reference; the response says how many you have left.
# FBS standings (football seasons are the year they start)
curl -X POST https://api.sportsdatahq.com/v1/nfl/ncaaf/get_standings \
-H "x-api-key: $SDHQ_KEY" -H "content-type: application/json" \
-d '{"season":2026}'
# Python: women's basketball ratings
import os, requests
r = requests.post(
"https://api.sportsdatahq.com/v1/nba/get_ratings",
headers={"x-api-key": os.environ["SDHQ_KEY"]},
json={"league": "ncaaw", "limit": 25})
print(r.json()["data"]["ratings"][:5])Where each sport lives
| Sport | REST path | league | Main tools |
|---|---|---|---|
| Football (FBS) | /v1/nfl/ncaaf/<tool> | – | list_teams, get_games, get_game_detail, get_plays, get_standings, get_player_stats |
| Football (FCS) | /v1/nfl/fcs/<tool> | – | list_teams, get_games, get_game_detail, get_plays, get_standings |
| Men's basketball | /v1/nba/<tool> | ncaam | list_teams, list_games, get_game, get_plays, get_standings, get_ratings, get_shot_chart |
| Women's basketball | /v1/nba/<tool> | ncaaw | list_teams, list_games, get_game, get_plays, get_standings, get_ratings |
| Baseball | /v1/mlb/<tool> | ncaabase | list_teams, get_games, get_game, get_plate_appearances, get_standings, get_ratings |
Basketball seasons are named by the year they end (2027 is 2026-27). Football and baseball seasons are the calendar year they are played in. The full tool reference, with every parameter and credit cost, is in the sport's docs: football, basketball, baseball.
MCP for AI assistants
Add https://mcp.sportsdatahq.com/mcp as a custom connector in Claude or ChatGPT, or to Cursor and VS Code, and sign in. The assistant can then call every tool above and answer college questions from real rows.
Clients that send headers can use your key as x-api-key instead of signing in.
Team ids
Football and basketball share school ids; baseball has its own. Use list_teams in each sport, or the crosswalk, which joins them for every Division I school.
Conference labels are written differently per sport. The crosswalk shows each sport's label.