OddsRelay · Schema

MatchedEvent

One fixture. Ids are opaque and stable across boards (one fixture is one id on every route), but not durable keys: a paired fixture re-keys once when a higher-ranked exchange lists it.

CompanySports BettingOddsSports DataMatched BettingData Feeds

Properties

Name Type Description
event_id string
sport_key string
sport_title string
commence_time stringintegernull
home_team stringnull Team sports.
away_team stringnull Team sports.
event_name string A team fixture that does not split into sides.
venue stringnull Racing: the course.
markets array
View JSON Schema on GitHub

JSON Schema

oddsrelay-matched-event-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/oddsrelay/main/json-schema/oddsrelay-matched-event-schema.json",
  "title": "MatchedEvent",
  "description": "One fixture. Ids are opaque and stable across boards (one fixture is one id on every route), but not durable keys: a paired fixture re-keys once when a higher-ranked exchange lists it.",
  "x-generated": "2026-10-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oddsrelay-openapi.yml#/components/schemas/MatchedEvent",
  "type": "object",
  "required": [
    "event_id",
    "sport_key",
    "sport_title",
    "commence_time",
    "markets"
  ],
  "properties": {
    "event_id": {
      "type": "string"
    },
    "sport_key": {
      "type": "string"
    },
    "sport_title": {
      "type": "string"
    },
    "commence_time": {
      "type": [
        "string",
        "integer",
        "null"
      ]
    },
    "home_team": {
      "type": [
        "string",
        "null"
      ],
      "description": "Team sports."
    },
    "away_team": {
      "type": [
        "string",
        "null"
      ],
      "description": "Team sports."
    },
    "event_name": {
      "type": "string",
      "description": "A team fixture that does not split into sides."
    },
    "venue": {
      "type": [
        "string",
        "null"
      ],
      "description": "Racing: the course."
    },
    "markets": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "key",
          "outcomes"
        ],
        "properties": {
          "key": {
            "type": "string"
          },
          "outcomes": {
            "type": "array",
            "items": {
              "$ref": "#/$defs/MatchedOutcome"
            }
          }
        }
      }
    }
  },
  "$defs": {
    "MatchedOutcome": {
      "type": "object",
      "required": [
        "name",
        "back"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "point": {
          "type": "number",
          "description": "The line, on line markets."
        },
        "back": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "bookmaker",
              "price",
              "link"
            ],
            "properties": {
              "bookmaker": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Venue key (`/v2/bookmakers`)."
              },
              "price": {
                "type": [
                  "number",
                  "integer",
                  "null"
                ]
              },
              "link": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The venue's page for this event."
              },
              "places": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "`each-way`, `extra-place`: places paid."
              },
              "place_fraction": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "`each-way`, `extra-place`: the place terms as a fraction."
              },
              "dutch_id": {
                "type": "string",
                "description": "`dutching` only: 8 hex naming the dutch this leg belongs to. Group one market's offers by it and rate a dutch as 100 / sum(1/price)."
              }
            }
          },
          "description": "Best price first."
        },
        "lay": {
          "description": "Lowest price first. An array of exchange offers; on `each-way` and `extra-place` an object `{win, place}` of two such arrays; absent on `dutching`.",
          "oneOf": [
            {
              "type": "array",
              "items": {
                "type": "object",
                "required": [
                  "exchange",
                  "price",
                  "available",
                  "link"
                ],
                "properties": {
                  "exchange": {
                    "type": "string"
                  },
                  "price": {
                    "type": [
                      "number",
                      "integer",
                      "null"
                    ]
                  },
                  "available": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Money available at that lay price."
                  },
                  "places": {
                    "type": [
                      "integer",
                      "null"
                    ],
                    "description": "`lay.place` only: the place market's places."
                  },
                  "link": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                }
              }
            },
            {
              "type": "object",
              "required": [
                "win",
                "place"
              ],
              "properties": {
                "win": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "exchange",
                      "price",
                      "available",
                      "link"
                    ],
                    "properties": {
                      "exchange": {
                        "type": "string"
                      },
                      "price": {
                        "type": [
                          "number",
                          "integer",
                          "null"
                        ]
                      },
                      "available": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "description": "Money available at that lay price."
                      },
                      "places": {
                        "type": [
                          "integer",
                          "null"
                        ],
                        "description": "`lay.place` only: the place market's places."
                      },
                      "link": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    }
                  }
                },
                "place": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "exchange",
                      "price",
                      "available",
                      "link"
                    ],
                    "properties": {
                      "exchange": {
                        "type": "string"
                      },
                      "price": {
                        "type": [
                          "number",
                          "integer",
                          "null"
                        ]
                      },
                      "available": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "description": "Money available at that lay price."
                      },
                      "places": {
                        "type": [
                          "integer",
                          "null"
                        ],
                        "description": "`lay.place` only: the place market's places."
                      },
                      "link": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    }
                  }
                }
              }
            }
          ]
        }
      }
    }
  }
}

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/oddsrelay-matched-event"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

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

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.