The Racing API · JSON Structure

The Racing Api Odds History Structure

OddsHistory schema from The Racing API

Type: object Properties: 7 Required: 6
Horse RacingSportsStatisticsBettingAnalytics

OddsHistory is a JSON Structure definition published by The Racing API, describing 7 properties, of which 6 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

bookmaker fractional decimal ew_places ew_denom updated history

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/the-racing-api/refs/heads/main/json-structure/the-racing-api-odds-history-structure.json",
  "name": "OddsHistory",
  "description": "OddsHistory schema from The Racing API",
  "type": "object",
  "properties": {
    "bookmaker": {
      "type": "string",
      "name": "Bookmaker"
    },
    "fractional": {
      "type": "string",
      "name": "Fractional"
    },
    "decimal": {
      "type": "string",
      "name": "Decimal"
    },
    "ew_places": {
      "type": "string",
      "name": "Ew Places"
    },
    "ew_denom": {
      "type": "string",
      "name": "Ew Denom"
    },
    "updated": {
      "type": "string",
      "name": "Updated"
    },
    "history": {
      "anyOf": [
        {
          "items": {},
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "name": "History",
      "default": []
    }
  },
  "required": [
    "bookmaker",
    "fractional",
    "decimal",
    "ew_places",
    "ew_denom",
    "updated"
  ]
}