Odds-API.io · Schema

controllers.MarketsResponse

SportsOddsBettingReal-TimeData

Properties

Name Type Description
sport object
markets array
View JSON Schema on GitHub

JSON Schema

odds-api-io-controllers-markets-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-markets-response-schema.json",
  "title": "controllers.MarketsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/odds-api-io-markets-api-openapi.yml#/components/schemas/controllers.MarketsResponse",
  "type": "object",
  "properties": {
    "sport": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "slug": {
          "type": "string"
        }
      }
    },
    "markets": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/controllers.MarketInfo"
      }
    }
  },
  "$defs": {
    "controllers.MarketInfo": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Market name, as it appears in /odds responses."
        },
        "shape": {
          "type": "string",
          "enum": [
            "moneyline",
            "line",
            "outcomes",
            "yesno",
            "labelled"
          ],
          "description": "How to parse the odds. `moneyline`: home/away (+draw on 3-way markets). `line`: one entry per line, with hdp and over/under or home/away. `outcomes`: fixed outcomes (1X/12/X2, odd/even, home/away/none, home/away/neither). `yesno`: yes/no prices. `labelled`: one price per label (\"2-1\", \"1st Half\", a player name)."
        },
        "period": {
          "type": "string",
          "enum": [
            "match",
            "first-half",
            "second-half",
            "quarter",
            "set",
            "game",
            "inning"
          ],
          "description": "Which part of the event the market covers."
        },
        "prematch": {
          "type": "boolean",
          "description": "Offered pre-match."
        },
        "live": {
          "type": "boolean",
          "description": "Offered in-play."
        }
      }
    }
  }
}

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-markets-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.