Skip to content

League key baseball_mlb

MLB odds API

Pre-match and live MLB odds from bookmakers, with a margin-adjusted fair price on every market, in one consistent JSON format.

MLB competitions in the catalog

These MLB competitions come from the bookmakers' own public listings. Each one has its own league key.

CompetitionLeague key
MLBbaseball_mlb
MLB World Seriesbaseball_mlb_world_series
MLB Pre Seasonbaseball_mlb_pre_season

Choose MLB competitions

MLB markets

You get every market the bookmakers offer for each event. The most common ones:

Bookmakers you can pick for MLB

A few well-known names from the bookmaker catalog. Which MLB competitions each bookmaker lists varies, and your plan sets how many bookmakers you choose.

See all 340+ bookmakers

Example request

One request returns the bookmaker price and the fair price for every outcome. Sport and league keys are being added to the API; the request shows the format.

Example fixture: New York Yankees against Boston Red Sox. The teams are real; the odds and the time are made up.

GET https://api.valueoddsapi.com/v1/odds?sport=baseball&league=baseball_mlb&phase=prematch
Authorization: Bearer YOUR_API_KEY
{
  "example": true,
  "data": [
    {
      "event_id": "example-001",
      "sport": "baseball",
      "league": "baseball_mlb",
      "home_team": "New York Yankees",
      "away_team": "Boston Red Sox",
      "phase": "prematch",
      "bookmaker": "example-book",
      "observed_at": "2026-06-12T12:00:00Z",
      "data_age_seconds": 0.25,
      "market": {
        "id": "match_winner",
        "period": "full_time",
        "line": null,
        "status": "open",
        "method": "proportional_v1",
        "fair_status": "available",
        "overround": 0.0434,
        "outcomes": [
          {
            "id": "home",
            "bookmaker_odds": 1.8,
            "fair_odds": 1.88,
            "fair_probability": 0.5325
          },
          {
            "id": "away",
            "bookmaker_odds": 2.05,
            "fair_odds": 2.14,
            "fair_probability": 0.4675
          }
        ]
      }
    }
  ]
}

Example data, not live prices. Fair odds use proportional margin removal. Read the integration guide

What you can build with MLB odds

Which plan fits

baseball_mlb is included on every plan, along with every other league in every sport. The other MLB competitions in the table have their own keys and are included too.

Your plan sets how many bookmakers you choose, not how many leagues: MLB and every other baseball competition are always included.

See plans and prices

Questions about MLB odds

Which MLB competitions does the API cover?

The catalog lists 3 MLB competitions, taken from bookmakers' own public listings: MLB, MLB World Series, MLB Pre Season. Each has its own league key.

Do you have live MLB odds?

Yes. Pro and higher plans stream pre-match and live odds in real time over WebSocket and REST. Solo covers pre-match odds.

Are MLB player props included?

Yes, when the bookmakers you pick list them for the game. Player markets come with the bookmaker price and a margin-adjusted fair price side by side, like every other market; which player markets are listed varies per bookmaker.

How do I request MLB odds, and is it included in my plan?

Use the sport key baseball and the league key baseball_mlb. MLB is included on every plan, and so are the other MLB competitions with their own keys.

Related pages

Other baseball competitions

Get MLB odds into your product

Bookmaker odds and fair odds in one format, from pre-match to live.