{"components":{"schemas":{"Book":{"properties":{"book":{"title":"Book","type":"string"},"cadence_s":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cadence S"},"family":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Family"},"in_your_plan":{"title":"In Your Plan","type":"boolean"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"read_age_p50_s":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Read Age P50 S"},"removed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Removed At"},"stale_after_s":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Stale After S"},"status":{"title":"Status","type":"string"}},"required":["book","status","in_your_plan"],"title":"Book","type":"object"},"BooksMeta":{"properties":{"as_of":{"title":"As Of","type":"string"},"board_as_of":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Board As Of"},"delay_s":{"title":"Delay S","type":"integer"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"plan":{"title":"Plan","type":"string"}},"required":["as_of","delay_s","plan"],"title":"BooksMeta","type":"object"},"BooksResponse":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Book"},"title":"Data","type":"array"},"meta":{"$ref":"#/components/schemas/BooksMeta"}},"required":["data","meta"],"title":"BooksResponse","type":"object"},"Change":{"properties":{"book":{"title":"Book","type":"string"},"event_id":{"title":"Event Id","type":"string"},"family":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Family"},"kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"},"line":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Line"},"market":{"title":"Market","type":"string"},"observed_at":{"title":"Observed At","type":"string"},"odds":{"title":"Odds","type":"number"},"outcome_id":{"title":"Outcome Id","type":"string"},"period":{"title":"Period","type":"string"},"selection":{"title":"Selection","type":"string"},"seq":{"title":"Seq","type":"integer"},"state":{"title":"State","type":"string"},"subject":{"title":"Subject","type":"string"}},"required":["seq","event_id","book","market","period","subject","selection","outcome_id","odds","state","observed_at"],"title":"Change","type":"object"},"ChangesMeta":{"properties":{"as_of":{"title":"As Of","type":"string"},"delay_s":{"title":"Delay S","type":"integer"},"has_more":{"title":"Has More","type":"boolean"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"plan":{"title":"Plan","type":"string"}},"required":["as_of","delay_s","plan","has_more"],"title":"ChangesMeta","type":"object"},"ChangesResponse":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Change"},"title":"Data","type":"array"},"meta":{"$ref":"#/components/schemas/ChangesMeta"}},"required":["data","meta"],"title":"ChangesResponse","type":"object"},"Close":{"properties":{"book":{"title":"Book","type":"string"},"close_quality":{"title":"Close Quality","type":"string"},"family":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Family"},"last_confirmed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Confirmed At"},"line":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Line"},"market":{"title":"Market","type":"string"},"odds":{"title":"Odds","type":"number"},"outcome_id":{"title":"Outcome Id","type":"string"},"period":{"title":"Period","type":"string"},"read_age_at_ko_s":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Read Age At Ko S"},"selection":{"title":"Selection","type":"string"},"subject":{"title":"Subject","type":"string"}},"required":["book","market","period","subject","selection","outcome_id","odds","close_quality"],"title":"Close","type":"object"},"ClosesResponse":{"properties":{"data":{"items":{"$ref":"#/components/schemas/EventCloses"},"title":"Data","type":"array"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"title":"ClosesResponse","type":"object"},"Competition":{"properties":{"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},"title":"Competition","type":"object"},"CompetitionItem":{"properties":{"books":{"items":{"type":"string"},"title":"Books","type":"array"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"events":{"title":"Events","type":"integer"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},"required":["books","events"],"title":"CompetitionItem","type":"object"},"CompetitionsResponse":{"properties":{"data":{"items":{"$ref":"#/components/schemas/CompetitionItem"},"title":"Data","type":"array"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"title":"CompetitionsResponse","type":"object"},"Event":{"properties":{"away":{"$ref":"#/components/schemas/Ref"},"competition":{"$ref":"#/components/schemas/Competition"},"home":{"$ref":"#/components/schemas/Ref"},"id":{"title":"Id","type":"string"},"kickoff":{"title":"Kickoff","type":"string"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},"required":["id","kickoff","competition","home","away"],"title":"Event","type":"object"},"EventCloses":{"properties":{"closes":{"items":{"$ref":"#/components/schemas/Close"},"title":"Closes","type":"array"},"event_id":{"title":"Event Id","type":"string"},"kickoff":{"title":"Kickoff","type":"string"}},"required":["event_id","kickoff","closes"],"title":"EventCloses","type":"object"},"EventPrices":{"properties":{"event":{"$ref":"#/components/schemas/Event"},"markets":{"items":{"$ref":"#/components/schemas/Market"},"title":"Markets","type":"array"}},"required":["event","markets"],"title":"EventPrices","type":"object"},"EventPricesResponse":{"properties":{"data":{"$ref":"#/components/schemas/EventPrices"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"title":"EventPricesResponse","type":"object"},"EventsResponse":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Event"},"title":"Data","type":"array"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"title":"EventsResponse","type":"object"},"HistoryResponse":{"properties":{"data":{"items":{"$ref":"#/components/schemas/HistoryRow"},"title":"Data","type":"array"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"title":"HistoryResponse","type":"object"},"HistoryRow":{"properties":{"book":{"title":"Book","type":"string"},"event_id":{"title":"Event Id","type":"string"},"family":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Family"},"kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"},"line":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Line"},"load":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Load"},"market":{"title":"Market","type":"string"},"observed_at":{"title":"Observed At","type":"string"},"odds":{"title":"Odds","type":"number"},"outcome_id":{"title":"Outcome Id","type":"string"},"period":{"title":"Period","type":"string"},"selection":{"title":"Selection","type":"string"},"seq":{"title":"Seq","type":"integer"},"state":{"title":"State","type":"string"},"subject":{"title":"Subject","type":"string"}},"required":["seq","event_id","book","market","period","subject","selection","outcome_id","odds","state","observed_at"],"title":"HistoryRow","type":"object"},"Market":{"properties":{"families_quoting":{"title":"Families Quoting","type":"integer"},"line":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Line"},"market":{"title":"Market","type":"string"},"period":{"title":"Period","type":"string"},"prices":{"items":{"$ref":"#/components/schemas/Price"},"title":"Prices","type":"array"},"subject":{"title":"Subject","type":"string"}},"required":["market","period","subject","families_quoting","prices"],"title":"Market","type":"object"},"MarketItem":{"properties":{"books":{"items":{"type":"string"},"title":"Books","type":"array"},"events":{"title":"Events","type":"integer"},"has_line":{"title":"Has Line","type":"boolean"},"line_convention":{"title":"Line Convention","type":"string"},"market":{"title":"Market","type":"string"},"outcome_id_format":{"title":"Outcome Id Format","type":"string"},"period":{"title":"Period","type":"string"},"selections":{"items":{"type":"string"},"title":"Selections","type":"array"},"settlement_scope":{"title":"Settlement Scope","type":"string"},"subject":{"title":"Subject","type":"string"}},"required":["market","period","subject","settlement_scope","has_line","line_convention","selections","outcome_id_format","books","events"],"title":"MarketItem","type":"object"},"MarketsResponse":{"properties":{"data":{"items":{"$ref":"#/components/schemas/MarketItem"},"title":"Data","type":"array"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"title":"MarketsResponse","type":"object"},"Meta":{"properties":{"as_of":{"title":"As Of","type":"string"},"delay_s":{"title":"Delay S","type":"integer"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"plan":{"title":"Plan","type":"string"}},"required":["as_of","delay_s","plan"],"title":"Meta","type":"object"},"Price":{"properties":{"book":{"title":"Book","type":"string"},"family":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Family"},"last_confirmed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Confirmed At"},"line":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Line"},"odds":{"title":"Odds","type":"number"},"outcome_id":{"title":"Outcome Id","type":"string"},"read_age_s":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Read Age S"},"selection":{"title":"Selection","type":"string"},"stale":{"title":"Stale","type":"boolean"},"state":{"title":"State","type":"string"},"value_age_s":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Value Age S"},"value_changed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Value Changed At"}},"required":["book","selection","outcome_id","odds","state","stale"],"title":"Price","type":"object"},"PricesResponse":{"properties":{"data":{"items":{"$ref":"#/components/schemas/EventPrices"},"title":"Data","type":"array"},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["data","meta"],"title":"PricesResponse","type":"object"},"ProblemModel":{"properties":{"code":{"title":"Code","type":"string"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"instance":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Instance"},"status":{"title":"Status","type":"integer"},"title":{"title":"Title","type":"string"},"type":{"title":"Type","type":"string"}},"required":["type","title","status","code"],"title":"ProblemModel","type":"object"},"Ref":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},"title":"Ref","type":"object"}},"securitySchemes":{"bearer":{"scheme":"bearer","type":"http","description":"Your Odds API key: `Authorization: Bearer oid_…`. Get a free key at https://odds.oddsintel.app/key. Keep it on a server."}}},"info":{"description":"Per-book football odds with read age on every price. Books are served only while sold and passing their SLO; Cache-Control: no-store on every response.","title":"OddsIntel Odds API","version":"1.0.0-beta"},"openapi":"3.1.0","paths":{"/v1/odds/books":{"get":{"operationId":"books_v1_odds_books_get","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooksResponse"}}},"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"bad_request / invalid_cursor"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"missing_key / invalid_key"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"revoked / scope_denied / plan_scope"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"event_not_found"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"cursor_expired"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"rate_limited"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"not_open_yet / odds_api_disabled / data_stale / flags_unavailable / busy"}},"security":[{"bearer":[]}],"summary":"Serving books (and removed ones), with family; Free keys see in_your_plan"}},"/v1/odds/bulk/{kind}/{name}":{"get":{"operationId":"bulk_v1_odds_bulk__kind___name__get","parameters":[{"in":"path","name":"kind","required":true,"schema":{"title":"Kind","type":"string"}},{"in":"path","name":"name","required":true,"schema":{"title":"Name","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{}}},"description":"a gzip CSV file (name ends .csv.gz) or its JSON manifest with gaps"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"bad_request / invalid_cursor"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"missing_key / invalid_key"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"revoked / scope_denied / plan_scope"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"event_not_found"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"cursor_expired"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"rate_limited"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"not_open_yet / odds_api_disabled / data_stale / flags_unavailable / busy"}},"security":[{"bearer":[]}],"summary":"A UTC day of per-book closes or price history as one gzip CSV (Pro+), plus its gaps"}},"/v1/odds/changes":{"get":{"operationId":"changes_v1_odds_changes_get","parameters":[{"description":"ISO 8601, ≤ 7 days back (default now − 1 h)","in":"query","name":"since","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ISO 8601, ≤ 7 days back (default now − 1 h)","title":"Since"}},{"description":"meta.next_cursor of the previous call","in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"meta.next_cursor of the previous call","title":"Cursor"}},{"description":"1..1000 (default 500)","in":"query","name":"limit","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"1..1000 (default 500)","title":"Limit"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangesResponse"}}},"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"bad_request / invalid_cursor"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"missing_key / invalid_key"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"revoked / scope_denied / plan_scope"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"event_not_found"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"cursor_expired"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"rate_limited"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"not_open_yet / odds_api_disabled / data_stale / flags_unavailable / busy"}},"security":[{"bearer":[]}],"summary":"Price changes since a time / after a cursor (Starter+); a cursor stays valid 7 days"}},"/v1/odds/closes":{"get":{"operationId":"closes_v1_odds_closes_get","parameters":[{"description":"kick-off day, UTC (YYYY-MM-DD)","in":"query","name":"date","required":true,"schema":{"description":"kick-off day, UTC (YYYY-MM-DD)","title":"Date","type":"string"}},{"in":"query","name":"market","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Market"}},{"in":"query","name":"limit","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClosesResponse"}}},"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"bad_request / invalid_cursor"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"missing_key / invalid_key"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"revoked / scope_denied / plan_scope"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"event_not_found"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"cursor_expired"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"rate_limited"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"not_open_yet / odds_api_disabled / data_stale / flags_unavailable / busy"}},"security":[{"bearer":[]}],"summary":"Per-book closes for a UTC kick-off day, with read_age_at_ko_s and close_quality (Pro+)"}},"/v1/odds/competitions":{"get":{"operationId":"competitions_v1_odds_competitions_get","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompetitionsResponse"}}},"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"bad_request / invalid_cursor"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"missing_key / invalid_key"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"revoked / scope_denied / plan_scope"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"event_not_found"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"cursor_expired"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"rate_limited"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"not_open_yet / odds_api_disabled / data_stale / flags_unavailable / busy"}},"security":[{"bearer":[]}],"summary":"Competitions the serving books price (next 7 days): books and events per competition"}},"/v1/odds/events":{"get":{"operationId":"events_v1_odds_events_get","parameters":[{"description":"kick-off ≥ (ISO 8601; default now − 3 h)","in":"query","name":"from","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"kick-off ≥ (ISO 8601; default now − 3 h)","title":"From"}},{"description":"kick-off < (default from + 7 d; ≤ 14 d)","in":"query","name":"to","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"kick-off < (default from + 7 d; ≤ 14 d)","title":"To"}},{"description":"competition id","in":"query","name":"competition","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"competition id","title":"Competition"}},{"description":"1..200 (default 100)","in":"query","name":"limit","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"1..200 (default 100)","title":"Limit"}},{"description":"meta.next_cursor of the previous page","in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"meta.next_cursor of the previous page","title":"Cursor"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventsResponse"}}},"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"bad_request / invalid_cursor"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"missing_key / invalid_key"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"revoked / scope_denied / plan_scope"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"event_not_found"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"cursor_expired"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"rate_limited"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"not_open_yet / odds_api_disabled / data_stale / flags_unavailable / busy"}},"security":[{"bearer":[]}],"summary":"Events by kick-off (keyset paging)"}},"/v1/odds/history":{"get":{"operationId":"history_v1_odds_history_get","parameters":[{"description":"evt_<ULID>","in":"query","name":"event_id","required":true,"schema":{"description":"evt_<ULID>","title":"Event Id","type":"string"}},{"description":"one book key","in":"query","name":"book","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"one book key","title":"Book"}},{"description":"one market key (1x2, ou, ah, ...)","in":"query","name":"market","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"one market key (1x2, ou, ah, ...)","title":"Market"}},{"description":"ISO 8601; default the start of your plan's window","in":"query","name":"since","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ISO 8601; default the start of your plan's window","title":"Since"}},{"description":"ISO 8601; default now","in":"query","name":"until","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ISO 8601; default now","title":"Until"}},{"description":"1..1000 (default 500)","in":"query","name":"limit","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"1..1000 (default 500)","title":"Limit"}},{"description":"meta.next_cursor of the previous page","in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"meta.next_cursor of the previous page","title":"Cursor"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HistoryResponse"}}},"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"bad_request / invalid_cursor"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"missing_key / invalid_key"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"revoked / scope_denied / plan_scope"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"event_not_found"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"cursor_expired"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"rate_limited"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"not_open_yet / odds_api_disabled / data_stale / flags_unavailable / busy"}},"security":[{"bearer":[]}],"summary":"One event's price changes per book inside the plan's history window (Pro+)"}},"/v1/odds/markets":{"get":{"operationId":"markets_v1_odds_markets_get","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketsResponse"}}},"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"bad_request / invalid_cursor"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"missing_key / invalid_key"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"revoked / scope_denied / plan_scope"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"event_not_found"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"cursor_expired"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"rate_limited"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"not_open_yet / odds_api_disabled / data_stale / flags_unavailable / busy"}},"security":[{"bearer":[]}],"summary":"Markets the serving books price (next 7 days): definition, books, events"}},"/v1/odds/prices":{"get":{"operationId":"prices_v1_odds_prices_get","parameters":[{"description":"kick-off ≥ (default now − 3 h)","in":"query","name":"from","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"kick-off ≥ (default now − 3 h)","title":"From"}},{"description":"kick-off < (default from + 2 d; ≤ 14 d)","in":"query","name":"to","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"kick-off < (default from + 2 d; ≤ 14 d)","title":"To"}},{"in":"query","name":"competition","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Competition"}},{"description":"comma list","in":"query","name":"books","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"comma list","title":"Books"}},{"description":"comma list of market keys","in":"query","name":"markets","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"comma list of market keys","title":"Markets"}},{"description":"1..200 events (default 50)","in":"query","name":"limit","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"1..200 events (default 50)","title":"Limit"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PricesResponse"}}},"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"bad_request / invalid_cursor"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"missing_key / invalid_key"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"revoked / scope_denied / plan_scope"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"event_not_found"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"cursor_expired"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"rate_limited"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"not_open_yet / odds_api_disabled / data_stale / flags_unavailable / busy"}},"security":[{"bearer":[]}],"summary":"Many events' current prices per book in one call (≤ 200 events or < 1 MB per page)"}},"/v1/odds/webhook":{"delete":{"operationId":"webhook_delete_v1_odds_webhook_delete","responses":{"200":{"content":{"application/json":{"schema":{}}},"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"bad_request / invalid_cursor"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"missing_key / invalid_key"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"revoked / scope_denied / plan_scope"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"event_not_found"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"cursor_expired"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"rate_limited"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"not_open_yet / odds_api_disabled / data_stale / flags_unavailable / busy"}},"security":[{"bearer":[]}],"summary":"Remove this key's webhook"},"get":{"operationId":"webhook_get_v1_odds_webhook_get","responses":{"200":{"content":{"application/json":{"schema":{}}},"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"bad_request / invalid_cursor"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"missing_key / invalid_key"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"revoked / scope_denied / plan_scope"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"event_not_found"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"cursor_expired"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"rate_limited"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"not_open_yet / odds_api_disabled / data_stale / flags_unavailable / busy"}},"security":[{"bearer":[]}],"summary":"This key's webhook + recent deliveries"},"put":{"operationId":"webhook_put_v1_odds_webhook_put","responses":{"200":{"content":{"application/json":{"schema":{}}},"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"bad_request / invalid_cursor"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"missing_key / invalid_key"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"revoked / scope_denied / plan_scope"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"event_not_found"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"cursor_expired"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"rate_limited"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"not_open_yet / odds_api_disabled / data_stale / flags_unavailable / busy"}},"security":[{"bearer":[]}],"summary":"Register / replace this key's https webhook; answers the signing secret once"}},"/v1/odds/webhook/test":{"post":{"operationId":"webhook_test_v1_odds_webhook_test_post","responses":{"200":{"content":{"application/json":{"schema":{}}},"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"bad_request / invalid_cursor"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"missing_key / invalid_key"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"revoked / scope_denied / plan_scope"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"event_not_found"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"cursor_expired"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"rate_limited"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"not_open_yet / odds_api_disabled / data_stale / flags_unavailable / busy"}},"security":[{"bearer":[]}],"summary":"Queue a signed ping notice"}},"/v1/odds/{event_id}":{"get":{"operationId":"event_v1_odds__event_id__get","parameters":[{"in":"path","name":"event_id","required":true,"schema":{"title":"Event Id","type":"string"}},{"in":"query","name":"market","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Market"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventPricesResponse"}}},"description":"Successful Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"bad_request / invalid_cursor"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"missing_key / invalid_key"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"revoked / scope_denied / plan_scope"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"event_not_found"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"cursor_expired"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"rate_limited"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemModel"}}},"description":"not_open_yet / odds_api_disabled / data_stale / flags_unavailable / busy"}},"security":[{"bearer":[]}],"summary":"One event: every serving book's current price per line, with read_age_s and stale"}}},"servers":[{"url":"https://odds.oddsintel.app","description":"Odds API"}],"security":[{"bearer":[]}]}