BaseballData API
Data
Coverage
MLB seasons held129MLB 2026 games2,469Postseason line scores40WBC and Premier12 games242Czech box scores1,430
See all coverage
DocsPricingStatus

Documentation/Games

GET /v1/results/yesterday | Baseball Data API

Every finished game from yesterday in every league, newest league first.
GEThttps://api.baseballapi.net/v1/results/yesterday

Try it

Run calls the API with your key.
// The answer appears here.

Returns

FieldWhat it holds
idstring: the game's id (gm_...)
leaguestring: the league's slug
seasoninteger: the season (a winter league's season is the year it starts)
datestring: the day at the ground, YYYY-MM-DD
stagestring: regular, postseason, all_star, exhibition or other
statusstring: final, scheduled, in_progress, postponed, suspended or cancelled
start_localstring or null: first pitch at the ground, HH:MM
start_utcstring or null: first pitch in UTC, ISO 8601
awayobject: name and runs (runs null until final)
homeobject: name and runs (runs null until final)
inningsinteger or null: innings played
venuestring or null: the ground
checksobject or null: for MLB games of the season in play, how the final was checked: sources (pages read), sources_agree, line_matches_final (postseason) and delay_minutes (from the score being recorded to our record). For archive MLB games, the trust flag: disputed (true when our own checks found the game's parts disagreeing) and disputes, each with check (runs_vs_team_box, team_box_vs_batters or plays_vs_box), side (away or home) and detail; the record is shown as it is, never corrected. Null for other leagues

Example answer

A real answer, taken 2026-11-03.

{
    "data": [
        {
            "id": "gm_enyfpebz",
            "league": "lvbp",
            "season": 2026,
            "date": "2026-11-02",
            "stage": "regular",
            "status": "final",
            "start_local": null,
            "start_utc": null,
            "away": {
                "name": "Cardenales",
                "runs": 2
            },
            "home": {
                "name": "Tigres",
                "runs": 8
            },
            "innings": 9,
            "venue": null,
            "checks": null
        }
    ],
    "meta": {
        "count": 1,
        "date": "2026-11-02"
    }
}

Errors

Every endpoint can answer unauthorized, unknown_parameter, rate_limited, quota_exceeded and server_error. See Errors.