The Odds API · JSON Structure

The Odds Api Event Structure

Structure of a sporting event with odds from The Odds API.

Type: Properties: 0
BettingOddsSportsScoresHistorical Data

The Odds API Event is a JSON Structure definition published by The Odds API.

Meta-schema:

JSON Structure

Raw ↑
{
  "name": "The Odds API Event",
  "description": "Structure of a sporting event with odds from The Odds API.",
  "fields": [
    { "name": "id", "type": "string", "required": true, "description": "Unique event identifier." },
    { "name": "sport_key", "type": "string", "required": true, "description": "Sport key (e.g., basketball_nba)." },
    { "name": "sport_title", "type": "string", "required": false, "description": "Human-readable sport name (e.g., NBA)." },
    { "name": "commence_time", "type": "string (date-time)", "required": true, "description": "Scheduled event start time." },
    { "name": "home_team", "type": "string", "required": true, "description": "Home team name." },
    { "name": "away_team", "type": "string", "required": true, "description": "Away team name." },
    {
      "name": "bookmakers",
      "type": "array<Bookmaker>",
      "required": false,
      "description": "List of bookmakers providing odds.",
      "items": {
        "fields": [
          { "name": "key", "type": "string", "description": "Bookmaker identifier (e.g., draftkings, fanduel)." },
          { "name": "title", "type": "string", "description": "Bookmaker display name." },
          { "name": "last_update", "type": "string (date-time)", "description": "When odds were last refreshed." },
          {
            "name": "markets",
            "type": "array<Market>",
            "description": "Betting markets offered.",
            "items": {
              "fields": [
                { "name": "key", "type": "string", "description": "Market key: h2h, spreads, totals, outrights." },
                { "name": "last_update", "type": "string (date-time)", "description": "Market last update." },
                {
                  "name": "outcomes",
                  "type": "array<Outcome>",
                  "description": "Betting outcomes.",
                  "items": {
                    "fields": [
                      { "name": "name", "type": "string", "description": "Team/player or Over/Under." },
                      { "name": "price", "type": "number", "description": "Odds price in decimal or american format." },
                      { "name": "point", "type": "number", "description": "Spread or total line value." },
                      { "name": "description", "type": "string", "description": "Additional outcome description." }
                    ]
                  }
                }
              ]
            }
          }
        ]
      }
    }
  ]
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/the-odds-api-event-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.