Skip to content
SportsDataAPI Real-time sports data

Baseball Odds API

MLB, NPB, KBO and international leagues. Box scores, player stats, standings, and odds.

MLB, NPB, KBO & more

What You Get With Baseball API

Core data points available through the Baseball API.

live scores

Real-time live scores data for baseball competitions worldwide.

box scores

Real-time box scores data for baseball competitions worldwide.

odds

Real-time odds data for baseball competitions worldwide.

Baseball API Endpoints

8 endpoints covering every aspect of baseball data.

GET /games Games by date, league, team
GET /games/statistics Box scores & game stats
GET /players Batting & pitching stats

Baseball API Coverage

Comprehensive baseball data across leagues and competitions worldwide.

77
Leagues
31
Countries
1200+
Data Points
Real-time
Updates
77 leagues across 31 countries
League ScheduleHistorical dataStandingsOdds
Asia
Asia Professional Championship -
Asian Games -
Australia
ABL -
Austria
ABL -
Bundesliga -
Belgium
Division 1 -
Colombia
LCBP -
LPB -
Cuba
Liga Elite -
Serie Nacional -
Czech-Republic
Czech Cup - -
Extraliga -
Dominican-Republic
LIDOM -
Europe
C.E.B. Cup -
Champions Cup - -
Confederation Cup -
EuroBaseball -
EuroBaseball U23 -
EuroBaseball Women - -
European Championship -
European Championship U23 -
European Championship Women -
European Cup - -
Federations Cup -
Prague Baseball Week -
Super 6 -
Finland
SM-sarja -

Baseball API Use Cases

See how developers use baseball data in production.

Betting Apps

Build baseball betting features with real-time odds from 30+ bookmakers worldwide.

Analytics

Power baseball prediction models with years of historical match and player data.

Media

Display live baseball scores, stats, and odds on your website or app in real-time.

Baseball API Code Example

Integrate baseball data in minutes with a simple REST call.

curl -X GET "https://v3.baseball.sportsdataapi.com/games" \
  -H "x-apisports-key: YOUR_API_KEY"
import requests

url = "https://v3.baseball.sportsdataapi.com/games"
headers = {"x-apisports-key": "YOUR_API_KEY"}

response = requests.get(url, headers=headers)
data = response.json()
print(data)
Sample Response
{
  "get": "games",
  "results": 1,
  "response": [{
    "id": 3420,
    "date": "2024-08-15T23:10:00+00:00",
    "status": { "long": "Game Finished", "short": "FT" },
    "league": { "id": 1, "name": "MLB" },
    "teams": {
      "home": { "id": 11, "name": "New York Yankees" },
      "away": { "id": 12, "name": "Boston Red Sox" }
    },
    "scores": {
      "home": { "total": 6 },
      "away": { "total": 4 }
    }
  }]
}

Start free. Scale when ready.

Get 100 free baseball API requests per day. No credit card required.

Upgrade to PRO for full real-time data, live odds, and unlimited historical access.

Baseball API FAQ

Common questions about the Baseball API.

What baseball leagues does the API cover?

MLB, NPB (Japan), KBO (Korea), and additional international leagues including minor league affiliates and international tournaments.

Does the API include box scores?

Yes. Full box scores with batting and pitching statistics, inning-by-inning scoring, and individual player performance for every game.

Can I get historical baseball data?

Yes. Full game history, season statistics, batting and pitching records going back multiple seasons are available on PRO plans and above.

Is there a free plan for baseball data?

Yes. The free plan includes 100 requests per day with access to games, standings, and basic statistics for MLB and other major leagues.

Already have an account?