HACKING BASEBALL · DEVELOPER NETWORK

MLB API Station

Twelve live interfaces spanning collected baseball facts, model calculations, and decision intelligence.

Collectedsource facts Mixedfacts + calculations Calculatedmodel output
01 Collected

MLB Games API

Schedule, matchup, first pitch, venue, and official game state.

GET/api/mlb/games
Example response
{
  "game_id": 824244,
  "game_time_et": "1:10 PM ET",
  "matchup": "Royals at Tigers",
  "status": "Final"
}
Use this API
cURL
curl "https://www.hackingbaseball.world/api/mlb/games?limit=3"
JavaScript
const data = await fetch("https://www.hackingbaseball.world/api/mlb/games?limit=3").then(r => r.json());
OPEN LIVE API
02 Collected

Live Scoreboard API

Live and verified final scores without treating 0-0 placeholders as completed games.

GET/api/mlb/scoreboard
Example response
{
  "away_score": 3,
  "game_id": 824244,
  "home_score": 2,
  "result": "Final"
}
Use this API
cURL
curl "https://www.hackingbaseball.world/api/mlb/scoreboard?limit=3"
JavaScript
const data = await fetch("https://www.hackingbaseball.world/api/mlb/scoreboard?limit=3").then(r => r.json());
OPEN LIVE API
03 Mixed

Pitchers API

Starting-pitcher availability plus the calculated run effect on the total.

GET/api/mlb/pitchers
Example response
{
  "available": true,
  "matchup": "Royals at Tigers",
  "pitcher_run_adjustment": -0.78
}
Use this API
cURL
curl "https://www.hackingbaseball.world/api/mlb/pitchers?limit=3"
JavaScript
const data = await fetch("https://www.hackingbaseball.world/api/mlb/pitchers?limit=3").then(r => r.json());
OPEN LIVE API
04 Mixed

Lineups API

Lineup confirmation state and calculated offensive run adjustment.

GET/api/mlb/lineups
Example response
{
  "confirmed": true,
  "lineup_run_adjustment": 0.0,
  "matchup": "Royals at Tigers"
}
Use this API
cURL
curl "https://www.hackingbaseball.world/api/mlb/lineups?limit=3"
JavaScript
const data = await fetch("https://www.hackingbaseball.world/api/mlb/lineups?limit=3").then(r => r.json());
OPEN LIVE API
05 Collected

Weather API

Temperature, wind, conditions, and the model-ready weather reading.

GET/api/mlb/weather
Example response
{
  "summary": "Few clouds",
  "temperature_f": 81,
  "wind_mph": 7
}
Use this API
cURL
curl "https://www.hackingbaseball.world/api/mlb/weather?limit=3"
JavaScript
const data = await fetch("https://www.hackingbaseball.world/api/mlb/weather?limit=3").then(r => r.json());
OPEN LIVE API
06 Collected

Sportsbook Markets API

Live book totals, prices, source, and quote timestamp.

GET/api/mlb/markets
Example response
{
  "over_price": -105,
  "sportsbook": "DraftKings",
  "total": 8.0,
  "under_price": -115
}
Use this API
cURL
curl "https://www.hackingbaseball.world/api/mlb/markets?limit=3"
JavaScript
const data = await fetch("https://www.hackingbaseball.world/api/mlb/markets?limit=3").then(r => r.json());
OPEN LIVE API
07 Calculated

Team & Player Form API

Normalized evidence and recent-form confidence used by the model.

GET/api/mlb/form
Example response
{
  "data_status": "ELIGIBLE",
  "evidence_score": 54,
  "matchup": "Royals at Tigers"
}
Use this API
cURL
curl "https://www.hackingbaseball.world/api/mlb/form?limit=3"
JavaScript
const data = await fetch("https://www.hackingbaseball.world/api/mlb/form?limit=3").then(r => r.json());
OPEN LIVE API
08 Mixed

Park Effects API

Venue identity, collected park factors, and calculated run adjustment.

GET/api/mlb/parks
Example response
{
  "run_adjustment": -0.03,
  "run_factor": 0.98,
  "venue": "Comerica Park"
}
Use this API
cURL
curl "https://www.hackingbaseball.world/api/mlb/parks?limit=3"
JavaScript
const data = await fetch("https://www.hackingbaseball.world/api/mlb/parks?limit=3").then(r => r.json());
OPEN LIVE API
09 Calculated

Game Projections API

Projected total, outcome probabilities, and uncertainty range.

GET/api/mlb/projections
Example response
{
  "model_total": 7.5,
  "over_probability": 0.409,
  "range": [
    -0.7,
    15.8
  ],
  "under_probability": 0.497
}
Use this API
cURL
curl "https://www.hackingbaseball.world/api/mlb/projections?limit=3"
JavaScript
const data = await fetch("https://www.hackingbaseball.world/api/mlb/projections?limit=3").then(r => r.json());
OPEN LIVE API
10 Calculated

Market Edge API

Model-versus-book run difference and the directional tracking side.

GET/api/mlb/edges
Example response
{
  "book_total": 8.0,
  "direction": "Under",
  "edge_runs": -0.47,
  "model_total": 7.5
}
Use this API
cURL
curl "https://www.hackingbaseball.world/api/mlb/edges?limit=3"
JavaScript
const data = await fetch("https://www.hackingbaseball.world/api/mlb/edges?limit=3").then(r => r.json());
OPEN LIVE API
11 Calculated

Bet Intelligence API

Bet Score V3, rank, evidence coverage, AI review, and release eligibility.

GET/api/mlb/bet-intelligence
Example response
{
  "bet_score": 77.3,
  "data_coverage": "4/6",
  "official": false,
  "rank": 1,
  "tier": "Lean"
}
Use this API
cURL
curl "https://www.hackingbaseball.world/api/mlb/bet-intelligence?limit=3"
JavaScript
const data = await fetch("https://www.hackingbaseball.world/api/mlb/bet-intelligence?limit=3").then(r => r.json());
OPEN LIVE API
12 Mixed

Results & Performance API

Immutable official record, decisions, pushes, and observed win percentage.

GET/api/mlb/performance
Example response
{
  "decision_win_rate": 58.5,
  "losses": 27,
  "pushes": 2,
  "wins": 38
}
Use this API
cURL
curl "https://www.hackingbaseball.world/api/mlb/performance?limit=3"
JavaScript
const data = await fetch("https://www.hackingbaseball.world/api/mlb/performance?limit=3").then(r => r.json());
OPEN LIVE API