NewConnect Claude, Gemini, ChatGPT, and other AI agents to API Ninjas via our MCP server →

College Basketball API

A college basketball API for every Division I men's team: get schedules, live scores with the half and game clock on paid plans, final scores by half with every overtime period, conference standings, the weekly AP Top 25 and Coaches Poll, and every team's roster, from the first week of November through the conference tournaments, the NCAA tournament and the national championship. The free plan covers the current season's schedule, final scores, standings, polls and rosters.

Women's college basketball is league=ncaaw in the same API: see the Women's College Basketball API guide.

Men's college basketball (NCAA Division I) is served by the Basketball API with league=ncaab. The same API key works for every sports API.

Available endpoints:

College Basketball data at a glance

TeamsEvery Division I men's team with its conference, school name and home arena; ids such as ncaab-duke and ncaab-st-johns
Season valueseason=2026 is the 2026-27 season, November to April (season_label 2026-27)
Season typesregular, conference_tournament and postseason (the NCAA tournament, the NIT and the other postseason tournaments), with the tournament and round in event
Rankings and seedshome_team and away_team carry the AP Top 25 rank at tip-off, and the seed in NCAA tournament games
Polls/v1/basketballstandings?league=ncaab&poll=ap returns the AP Top 25 for any week; poll=coaches the Coaches Poll, and week=final the final poll
ScoringPoints by half in period_scores, with each overtime period; decided_in is regulation or overtime
Opponents outside Division IEarly-season games against Division II, III and NAIA teams are included; those opponents have a team_id and name on the game
RostersPosition, jersey number, height, weight, hometown and class_year

College Basketball standings fields

Conference by conference: wins, losses, win_pct, conference_record, conference_win_pct, games_behind (conference leader), points_for, points_against, streak, home and road records, and the position in the conference in conference_rank. Filter with conference=Big East.

4 endpoints

https://api.api-ninjas.com/v1/basketballgames

Returns schedules, live scores and final scores. Ask for one day, a team's season or one game; with only league you get today's games. Paid plans see games in progress with the score, period and clock updated throughout the game; the free plan sees their status and the final score once they end. The free plan covers the current season. Developer plans add the three previous seasons, and the Business tier and above gets the full season archive.

Full parameter and response reference: /v1/basketballgames.

Live Demo

Live demo · no API key required
Query parameters
league
date
team
season
season_type
status
game_id
limit
offset

Get a free API key to get started — no credit card required.

Headers
X-Api-KeyLog in or sign up to get your API key
GET
https://api.api-ninjas.com/v1/basketballgames?league=ncaab
Sample response
[
{
"game_id": "ncaab-20260320-scu-uk",
"league": "ncaab",
"sport": "basketball",
"season": 2025,
"season_label": "2025-26",
"season_type": "postseason",
"date": "2026-03-20",
"start_time": "2026-03-20T16:15:00Z",
"status": "final",
"status_detail": null,
"period": 3,
"clock": null,
"home_team": {
"team_id": "ncaab-kentucky",
"name": "Kentucky Wildcats",
"abbreviation": "UK",
"rank": null,
"seed": 7
},
"away_team": {
"team_id": "ncaab-santa-clara",
"name": "Santa Clara Broncos",
"abbreviation": "SCU",
"rank": null,
"seed": 10
},
"home_score": 89,
"away_score": 84,
"period_scores": {
"home": [
29,
44,
16
],
"away": [
31,
42,
11
]
},
"event": "NCAA Men's Basketball Championship - Midwest Region - 1st Round",
"conference_game": false,
"decided_in": "overtime",
"winner": "ncaab-kentucky",
"venue": {
"name": "Enterprise Center",
"city": "St. Louis",
"state": "MO",
"country": "US"
},
"neutral_site": true,
"original_date": null,
"updated_at": "2026-10-29T23:14:25Z"
},
{
"game_id": "ncaab-20260221-crei-sju",
"league": "ncaab",
"sport": "basketball",
"season": 2025,
"season_label": "2025-26",
"season_type": "regular",
"date": "2026-02-21",
"start_time": "2026-02-21T17:00:00Z",
"status": "final",
"status_detail": null,
"period": 2,
"clock": null,
"home_team": {
"team_id": "ncaab-st-johns",
"name": "St. John's Red Storm",
"abbreviation": "SJU",
"rank": 17,
"seed": null
},
"away_team": {
"team_id": "ncaab-creighton",
"name": "Creighton Bluejays",
"abbreviation": "CREI",
"rank": null,
"seed": null
},
"home_score": 81,
"away_score": 52,
"period_scores": {
"home": [
42,
39
],
"away": [
27,
25
]
},
"event": null,
"conference_game": true,
"decided_in": "regulation",
"winner": "ncaab-st-johns",
"venue": {
"name": "Madison Square Garden",
"city": "New York",
"state": "NY",
"country": "US"
},
"neutral_site": false,
"original_date": null,
"updated_at": "2026-10-29T23:14:26Z"
}
]

Code Examples

curl -X GET "https://api.api-ninjas.com/v1/basketballgames?league=ncaab" \ -H "X-Api-Key: YOUR_API_KEY"

https://api.api-ninjas.com/v1/basketballstandings

Returns the league table for a season, ordered by league rank, or by conference or division rank when you filter; college tables come conference by conference. For college, poll returns a weekly poll instead: the AP Top 25 or the Coaches Poll. Tables update throughout the season, shortly after each game ends. The free plan covers the current season. Developer plans add the three previous seasons, and the Business tier and above gets the full season archive.

Full parameter and response reference: /v1/basketballstandings.

Live Demo

Live demo · no API key required
Query parameters
league
season
conference
division
poll
week

Get a free API key to get started — no credit card required.

Headers
X-Api-KeyLog in or sign up to get your API key
GET
https://api.api-ninjas.com/v1/basketballstandings?league=ncaab
Sample response
[
{
"league": "ncaab",
"sport": "basketball",
"season": 2025,
"season_label": "2025-26",
"team": {
"team_id": "ncaab-st-johns",
"name": "St. John's Red Storm",
"abbreviation": "SJU"
},
"conference": "Big East",
"division": null,
"games_played": 37,
"wins": 30,
"losses": 7,
"win_pct": 0.811,
"games_behind": 0,
"points_for": 2994,
"points_against": 2577,
"point_differential": 417,
"streak": "L1",
"home_record": "18-2",
"away_record": "9-1",
"conference_record": "18-2",
"conference_win_pct": 0.9,
"conference_rank": 1,
"final": true
}
]

Code Examples

curl -X GET "https://api.api-ninjas.com/v1/basketballstandings?league=ncaab" \ -H "X-Api-Key: YOUR_API_KEY"

https://api.api-ninjas.com/v1/basketballteams

Lists teams with their league, conference, division and home venue. Available on every plan.

Full parameter and response reference: /v1/basketballteams.

Live Demo

Live demo · no API key required
Query parameters
league
team
conference
division
active

Get a free API key to get started — no credit card required.

Headers
X-Api-KeyLog in or sign up to get your API key
GET
https://api.api-ninjas.com/v1/basketballteams?league=ncaab
Sample response
[
{
"team_id": "ncaab-duke",
"league": "ncaab",
"sport": "basketball",
"abbreviation": "DUKE",
"name": "Duke Blue Devils",
"school": "Duke",
"nickname": "Blue Devils",
"city": "Durham",
"state": "NC",
"conference": "ACC",
"division": null,
"venue": {
"name": "Cameron Indoor Stadium",
"city": "Durham",
"state": "NC",
"country": "US"
},
"active": true
}
]

Code Examples

curl -X GET "https://api.api-ninjas.com/v1/basketballteams?league=ncaab" \ -H "X-Api-Key: YOUR_API_KEY"

https://api.api-ninjas.com/v1/basketballplayers

Returns current rosters and player profiles, by team or by name. Rosters refresh every day. Available on every plan.

Full parameter and response reference: /v1/basketballplayers.

Live Demo

Live demo · no API key required
Query parameters
league
team
name
player_id
position
limit
offset

Get a free API key to get started — no credit card required.

Headers
X-Api-KeyLog in or sign up to get your API key
GET
https://api.api-ninjas.com/v1/basketballplayers?league=ncaab&team=Duke
Sample response
[
{
"player_id": "ncaab-p-cb85a26a5d",
"league": "ncaab",
"team": {
"team_id": "ncaab-duke",
"name": "Duke Blue Devils",
"abbreviation": "DUKE"
},
"name": "Brock Davis",
"first_name": "Brock",
"last_name": "Davis",
"position": "G",
"jersey_number": "50",
"height_in": 77,
"height_cm": 196,
"weight_lb": 195,
"weight_kg": 88,
"birth_date": null,
"birth_place": {
"city": "Washington",
"state": "DC",
"country": "US"
},
"roster_status": "active",
"class_year": "senior"
}
]

Code Examples

curl -X GET "https://api.api-ninjas.com/v1/basketballplayers?league=ncaab&team=Duke" \ -H "X-Api-Key: YOUR_API_KEY"

Frequently Asked Questions

  • Yes, but you must have a premium subscription. Commercial use of the College Basketball API is not permitted on the free tier. See our pricing page to choose a plan that fits your needs.
  • Sign up for a free account to instantly get your API key, then pass it in the X-Api-Key header on every request. The documentation above includes ready-to-run examples in cURL, Python, JavaScript, Node.js, and more.
  • Your API requests will simply be denied once you hit your monthly quota — you will never be charged more than the plan you signed up for. To increase your quota, you can upgrade your plan any time on our pricing page.
  • The API responds with a standard HTTP status code and a JSON error message describing the problem. See our error codes reference for the full list of codes and how to resolve each one, or contact support if you need help.
  • Yes. The free plan covers the current season for every Division I men's team: the schedule, final scores by half, conference standings, the weekly AP Top 25 and Coaches Poll, and rosters. Paid plans add live scores with the half and game clock, and past seasons.
  • Call /v1/basketballgames?league=ncaab for today's games in US Eastern time, or add date=YYYY-MM-DD for another day. On paid plans games in progress include the score, half and game clock.
  • Yes. NCAA tournament games have season_type=postseason, the region and round in event (e.g. NCAA Men's Basketball Championship - West Region - 1st Round) and each team's seed. The NIT and other postseason tournaments are included too, and conference tournament games have season_type=conference_tournament.
  • Call /v1/basketballstandings?league=ncaab&poll=ap for the latest AP Top 25 with points, first-place votes and last week's rank. poll=coaches is the Coaches Poll; add week=12 for another week or week=final for the final poll.
  • Men's college basketball is played in two 20-minute halves, so period_scores has two entries plus one per overtime, and period is 1 or 2 (3 for the first overtime). Women's college basketball uses quarters.

API Ninjas is not affiliated with or endorsed by the NFL, the NBA, the NHL, the NCAA or any other league, conference, competition, school or team. League, competition and team names are trademarks of their owners and are used only to identify them.