Odds-API.io · Schema

controllers.SettlementsResponse

SportsOddsBettingReal-TimeData

Properties

Name Type Description
settlements array
notFound array Event ids we have never seen.
View JSON Schema on GitHub

JSON Schema

odds-api-io-controllers-settlements-response-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-controllers-settlements-response-schema.json",
  "title": "controllers.SettlementsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/odds-api-io-settlement-api-openapi.yml#/components/schemas/controllers.SettlementsResponse",
  "type": "object",
  "properties": {
    "settlements": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/controllers.SettlementResponse"
      }
    },
    "notFound": {
      "type": "array",
      "description": "Event ids we have never seen.",
      "items": {
        "type": "string"
      }
    }
  },
  "$defs": {
    "controllers.SettlementResponse": {
      "type": "object",
      "properties": {
        "eventId": {
          "type": "integer"
        },
        "sport": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "pending",
            "live",
            "awaiting_result",
            "settled",
            "cancelled"
          ]
        },
        "final": {
          "type": "boolean",
          "description": "True when you can stop polling this event."
        },
        "settledAt": {
          "type": "string",
          "format": "date-time",
          "description": "When we recorded the final state. Omitted when unknown."
        },
        "scores": {
          "allOf": [
            {
              "$ref": "#/$defs/dto.Score"
            }
          ],
          "description": "Present only for settled events with a usable score."
        }
      }
    },
    "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"
        }
      }
    }
  }
}

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-controllers-settlements-response"
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.