# WNBA Odds API

The Odds API covers WNBA odds for live and upcoming games in a simple JSON API.

Not a developer? Current WNBA odds can also be accessed in Excel or Google Sheets. For website owners, the odds widget brings bookmaker odds into websites with a simple HTML tag.

# Features

  • WNBA odds are covered for live and upcoming games.

  • Featured markets, including moneyline, spreads, totals are covered for several bookmakers. See the full list of bookmakers.

  • Additional markets including player props, quarter and half time markets, and more are covered for most US bookmakers. See the full list of betting markets.

  • Odds are refreshed at regular intervals. More information on update intervals can be found here.

  • WNBA scores are covered, with final scores available for games completed up to 3 days ago.

  • Current odds data and scores are available on all usage plans, including the free usage plan.

  • Historical WNBA odds data is available on paid usage plans. Historical odds for featured markets (moneyline, spreads, totals) are available from May 2022. Historical odds for other markets are available from May 2023. More information on historical odds data can be found here.

  • The API response includes deep links to bookmaker websites.

# Querying WNBA Odds

Featured markets (moneyline, spreads and totals) can be queried using the odds endpoint. For additional markets including player props, use the event-odds endpoint.

Parameters

To query current WNBA odds for featured markets, the following parameters need to be provided:

  • sport   In this case basketball_wnba
  • regions   Regions of bookmakers to return, for example us
  • markets   For example, h2h for moneyline, spreads and totals
  • apiKey   Get a free API key

See the documentation for more options

Example API Request

https://api.the-odds-api.com/v4/sports/basketball_wnba/odds?regions=us&markets=h2h,spreads,totals&oddsFormat=american&apiKey=YOUR_API_KEY

Example API Response

The API will return live and upcoming WNBA games, including start times, home and away teams, and odds from bookmakers for the specified regions and markets.

[{
    "id": "5e96dc974251332e31fddb60cda00fe9",
    "sport_key": "basketball_wnba",
    "sport_title": "WNBA",
    "commence_time": "2024-06-20T23:00:00Z",
    "home_team": "New York Liberty",
    "away_team": "Los Angeles Sparks",
    "bookmakers": [
    {
        "key": "draftkings",
        "title": "DraftKings",
        "last_update": "2024-06-20T20:20:03Z",
        "markets": [
        {
            "key": "h2h",
            "last_update": "2024-06-20T20:20:03Z",
            "outcomes": [
                {"name": "Los Angeles Sparks", "price": 800},
                {"name": "New York Liberty", "price": -1350}
            ]
        },
        {
            "key": "spreads",
            "last_update": "2024-06-20T20:20:03Z",
            "outcomes": [
                {"name": "Los Angeles Sparks", "price": -112, "point": 14.5},
                {"name": "New York Liberty", "price": -108, "point": -14.5}
            ]
        },
        {
            "key": "totals",
            "last_update": "2024-06-20T20:20:03Z",
            "outcomes": [
                {"name": "Over", "price": -110, "point": 166.5},
                {"name": "Under", "price": -110, "point": 166.5}
            ]
        }
    ]},
    ...

The usage cost of the API call in this example is

usage cost = [number of markets] x [number of regions] = 3 x 1 = 3 credits

See the API documentation for details.

# Query Any WNBA Markets

Any supported WNBA markets can be queried one game at a time using the event-odds endpoint.

Parameters

To query current WNBA odds for any market, including player props, half and quarter time markets and more, the following parameters need to be provided:

  • sport   In this case basketball_wnba
  • eventId   This example uses the id of Sparks @ Liberty (id 5e96...). A list of current event ids can be queried using the events endpoint.
  • regions   Regions of bookmakers to return, for example us
  • markets   For example h2h_h1 (1st half moneyline), player_points, player_rebounds
  • apiKey   Get a free API key

See the documentation for more options.

Example API Request

https://api.the-odds-api.com/v4/sports/basketball_wnba/events/5e96dc974251332e31fddb60cda00fe9/odds?regions=us2&markets=h2h_h1,player_points,player_rebounds&oddsFormat=american&apiKey=YOUR_API_KEY

Example API Response

The response will contain the specified WNBA game including odds from the specified bookmakers and markets.

{
    "id": "5e96dc974251332e31fddb60cda00fe9",
    "sport_key": "basketball_wnba",
    "sport_title": "WNBA",
    "commence_time": "2024-06-20T23:00:00Z",
    "home_team": "New York Liberty",
    "away_team": "Los Angeles Sparks",
    "bookmakers": [
      {
        "key": "draftkings",
        "title": "DraftKings",
        "last_update": "2024-06-20T20:20:03Z",
        "markets": [
          {
            "key": "h2h_h1",
            "last_update": "2024-06-20T20:20:35Z",
            "outcomes": [
              {"name": "Los Angeles Sparks", "price": 525},
              {"name": "New York Liberty", "price": -750}
            ]
          },
          {
            "key": "player_points",
            "last_update": "2024-06-20T20:20:35Z",
            "outcomes": [
              {"name": "Over", "description": "Betnijah Laney-Hamilton", "price": -105, "point": 12.5},
              {"name": "Under", "description": "Betnijah Laney-Hamilton", "price": -125, "point": 12.5},
              {"name": "Over", "description": "Breanna Stewart", "price": -115, "point": 19.5},
              {"name": "Under", "description": "Breanna Stewart", "price": -115, "point": 19.5},
              ...
            ]
          },
          {
            "key": "player_rebounds",
            "last_update": "2024-06-20T20:20:35Z",
            "outcomes": [
              {"name": "Over", "description": "Betnijah Laney-Hamilton", "price": -125, "point": 4.5},
              {"name": "Under", "description": "Betnijah Laney-Hamilton", "price": -105, "point": 4.5},
              {"name": "Over", "description": "Breanna Stewart", "price": 100, "point": 9.5},
              {"name": "Under", "description": "Breanna Stewart", "price": -130, "point": 9.5},
              ...
          }]
      },
      ...

The usage cost of the API call in this example is

usage cost = [number of markets] x [number of regions] = 3 x 1 = 3 credits

If you only need featured markets (moneyline, spreads, totals), it will be more cost-efficient to query the odds endpoint since it will return multiple games.

See the API documentation for details.

# Other Sports

See the full list of sports covered by The Odds API.

# Stay Updated

Follow us on X.com or Bluesky to stay updated on new sports, bookmakers, markets and features.