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:
- /v1/basketballgames - College Basketball schedules, live and final scores
- /v1/basketballstandings - College Basketball standings
- /v1/basketballteams - College Basketball teams
- /v1/basketballplayers - College Basketball rosters and players
College Basketball data at a glance
| Teams | Every Division I men's team with its conference, school name and home arena; ids such as ncaab-duke and ncaab-st-johns |
|---|---|
| Season value | season=2026 is the 2026-27 season, November to April (season_label 2026-27) |
| Season types | regular, conference_tournament and postseason (the NCAA tournament, the NIT and the other postseason tournaments), with the tournament and round in event |
| Rankings and seeds | home_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 |
| Scoring | Points by half in period_scores, with each overtime period; decided_in is regulation or overtime |
| Opponents outside Division I | Early-season games against Division II, III and NAIA teams are included; those opponents have a team_id and name on the game |
| Rosters | Position, 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.
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
Get a free API key to get started — no credit card required.
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
Get a free API key to get started — no credit card required.
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
Get a free API key to get started — no credit card required.
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
Get a free API key to get started — no credit card required.
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
Can I use the College Basketball API for commercial purposes?
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.How do I get an API key and start using the College Basketball API?
Sign up for a free account to instantly get your API key, then pass it in theX-Api-Keyheader on every request. The documentation above includes ready-to-run examples in cURL, Python, JavaScript, Node.js, and more.What happens if I exceed my quota for the month?
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.What happens if a request to the College Basketball API fails?
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.Is there a free college basketball API?
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.How do I get today's college basketball scores?
Call/v1/basketballgames?league=ncaabfor today's games in US Eastern time, or adddate=YYYY-MM-DDfor another day. On paid plans games in progress include the score, half and game clock.Is the NCAA tournament included, with seeds?
Yes. NCAA tournament games haveseason_type=postseason, the region and round inevent(e.g.NCAA Men's Basketball Championship - West Region - 1st Round) and each team'sseed. The NIT and other postseason tournaments are included too, and conference tournament games haveseason_type=conference_tournament.How do I get the AP Top 25?
Call/v1/basketballstandings?league=ncaab&poll=apfor the latest AP Top 25 with points, first-place votes and last week's rank.poll=coachesis the Coaches Poll; addweek=12for another week orweek=finalfor the final poll.Why are college games split into halves?
Men's college basketball is played in two 20-minute halves, soperiod_scoreshas two entries plus one per overtime, andperiodis1or2(3for the first overtime). Women's college basketball uses quarters.
Explore API integration use cases for recommended APIs and workflow examples.
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.