Odds-API.io · Schema

dto.SimpleEventDto

SportsOddsBettingReal-TimeData

Properties

Name Type Description
away string
awayId integer
bookmakerCount integer
date string
home string
homeId integer
id integer
league object
scores object
sport object
status string
clock object Live match clock (live events only; absent when no clock data is available)
esports object Esports events only: game, parent league, region and match format
View JSON Schema on GitHub

JSON Schema

odds-api-io-dto-simple-event-dto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/odds-api-io/json-schema/odds-api-io-dto-simple-event-dto-schema.json",
  "title": "dto.SimpleEventDto",
  "x-generated": "2026-11-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/odds-api-io-openapi.json#/components/schemas/dto.SimpleEventDto",
  "type": "object",
  "properties": {
    "away": {
      "type": "string"
    },
    "awayId": {
      "type": "integer"
    },
    "bookmakerCount": {
      "type": "integer"
    },
    "date": {
      "type": "string"
    },
    "home": {
      "type": "string"
    },
    "homeId": {
      "type": "integer"
    },
    "id": {
      "type": "integer"
    },
    "league": {
      "$ref": "#/$defs/dto.League"
    },
    "scores": {
      "$ref": "#/$defs/dto.Score"
    },
    "sport": {
      "$ref": "#/$defs/dto.Sport"
    },
    "status": {
      "type": "string"
    },
    "clock": {
      "allOf": [
        {
          "$ref": "#/$defs/dto.ClockDto"
        }
      ],
      "description": "Live match clock (live events only; absent when no clock data is available)"
    },
    "esports": {
      "allOf": [
        {
          "$ref": "#/$defs/dto.EsportsDto"
        }
      ],
      "description": "Esports events only: game, parent league, region and match format"
    }
  },
  "$defs": {
    "dto.ClockDto": {
      "type": "object",
      "description": "Live match-clock state for in-play events. minute/playedSeconds are extrapolated server-side from the live feed and only advance while running is true.",
      "properties": {
        "minute": {
          "type": "integer",
          "description": "Current match minute"
        },
        "playedSeconds": {
          "type": "integer",
          "description": "Seconds of play elapsed"
        },
        "period": {
          "type": "integer",
          "description": "Current period number"
        },
        "running": {
          "type": "boolean",
          "description": "Whether the clock is currently running"
        },
        "statusDetail": {
          "type": "string",
          "description": "Human-readable phase of play"
        },
        "serve": {
          "type": "string",
          "enum": [
            "home",
            "away"
          ],
          "description": "Current server (tennis, table tennis, volleyball)"
        },
        "injuryTime": {
          "type": "integer",
          "description": "Announced injury/stoppage time in minutes (football)"
        },
        "periodStartedAt": {
          "type": "integer",
          "description": "Unix timestamp (seconds) when the current period started. Sent only when the feed has no played clock (for example ice hockey games with basic coverage), never alongside playedSeconds. Wall time, not game time: a stopped clock makes the elapsed wall time longer than the time played, so never treat it as playedSeconds. Omitted when the value is missing, in the future, or more than 3 hours old. Also present in WebSocket clock snapshots."
        }
      }
    },
    "dto.EsportsDto": {
      "type": "object",
      "description": "Present on esports events only",
      "properties": {
        "game": {
          "allOf": [
            {
              "$ref": "#/$defs/dto.Sport"
            }
          ],
          "description": "The game being played, e.g. {\"name\": \"Valorant\", \"slug\": \"valorant\"}"
        },
        "league": {
          "allOf": [
            {
              "$ref": "#/$defs/dto.League"
            }
          ],
          "description": "Parent league (VCT, LCK, LEC). Its slug stays the same across the league's splits and stages."
        },
        "region": {
          "description": "Region of the tournament: Western Europe, Eastern Europe, North America, South America, Asia, Oceania or Middle East. Omitted when unknown.",
          "type": "string"
        },
        "format": {
          "allOf": [
            {
              "$ref": "#/$defs/dto.EsportsFormatDto"
            }
          ],
          "description": "Match format. Omitted when unknown."
        }
      }
    },
    "dto.EsportsFormatDto": {
      "type": "object",
      "properties": {
        "type": {
          "description": "bestOf or firstTo",
          "type": "string"
        },
        "games": {
          "description": "Number of games: 3 for a best of 3",
          "type": "integer"
        }
      }
    },
    "dto.League": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "slug": {
          "type": "string"
        }
      }
    },
    "dto.PeriodScore": {
      "type": "object",
      "properties": {
        "away": {
          "type": "integer"
        },
        "home": {
          "type": "integer"
        },
        "overs": {
          "allOf": [
            {
              "$ref": "#/$defs/dto.SideFloats"
            }
          ],
          "description": "Cricket only. Overs bowled by each side in this innings."
        },
        "wickets": {
          "allOf": [
            {
              "$ref": "#/$defs/dto.SideInts"
            }
          ],
          "description": "Cricket only. Wickets lost by each side in this innings."
        }
      }
    },
    "dto.Score": {
      "type": "object",
      "properties": {
        "away": {
          "type": "integer"
        },
        "home": {
          "description": "Headline result: includes overtime, never a penalty shootout.",
          "type": "integer"
        },
        "periods": {
          "description": "Keyed p1..pN (that period only), ft, ot and ap (running totals after regulation, overtime and a penalty shootout), currentgame, mapN, inningN. See https://docs.odds-api.io/guides/live-events#period-scores",
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/dto.PeriodScore"
          }
        }
      }
    },
    "dto.SideFloats": {
      "type": "object",
      "description": "Home/away pair that can be fractional. Cricket overs use cricket notation: 19.3 means nineteen overs and three balls.",
      "properties": {
        "away": {
          "type": "number"
        },
        "home": {
          "type": "number"
        }
      }
    },
    "dto.SideInts": {
      "type": "object",
      "description": "Home/away pair of whole numbers (cricket wickets).",
      "properties": {
        "away": {
          "type": "integer"
        },
        "home": {
          "type": "integer"
        }
      }
    },
    "dto.Sport": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "slug": {
          "type": "string"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 Schema
curl "https://apis.io/api/v1/json-schemas/odds-api-io-dto-simple-event-dto"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

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