{"openapi":"3.0.3","info":{"title":"FightOdds API","version":"1.1.0","description":"Read-only MMA odds and betting splits from fightodds.pro. Authenticate every request with the X-API-Key header. Responses are cached for about 60 seconds and shared across keys."},"servers":[{"url":"https://api.fightodds.pro/v1"}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key"}},"schemas":{"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","enum":["unauthorized","forbidden","rate_limited","not_found","bad_request","method_not_allowed"]},"message":{"type":"string"},"request_id":{"type":"string"}}}}},"Sportsbook":{"type":"object","properties":{"id":{"type":"integer"},"slug":{"type":"string"},"name":{"type":"string"},"full_name":{"type":"string"},"website_url":{"type":"string","description":"The venue's site, which tells the two Polymarkets apart: slug polymarket is polymarket.com (the international exchange), slug polymarket-us is polymarket.us."},"is_prediction_market":{"type":"boolean","description":"Exchange-style venue with an order book (Polymarket, Kalshi, Novig, ProphetX, SX Bet, ...)."},"in_average":{"type":"boolean","description":"Whether this book counts towards average, opening and best. False for Polymarket, Polymarket US and Kalshi, the same venues fightodds.pro leaves out of its consensus; exchange-style sportsbooks like Novig stay in."}}},"Fighter":{"type":"object","properties":{"id":{"type":"integer"},"first_name":{"type":"string"},"last_name":{"type":"string"},"name":{"type":"string"},"record":{"type":"string","description":"Professional record as W-L-D-NC, e.g. 27-1-0-1, as fightodds.pro shows it."},"wins":{"type":"integer"},"losses":{"type":"integer"},"draws":{"type":"integer"},"no_contests":{"type":"integer"},"tapology_url":{"type":"string","format":"uri","description":"The fighter's Tapology profile; null when FightOdds has none on file.","nullable":true},"sherdog_url":{"type":"string","format":"uri","description":"The fighter's Sherdog profile; null when FightOdds has none on file.","nullable":true}}},"Fight":{"type":"object","properties":{"id":{"type":"integer"},"order":{"type":"integer","description":"1 = main event, counting down the card.","nullable":true},"fight_type":{"type":"string","enum":["Main Event","Co-Main Event","Main Card","Preliminary Card"],"description":"Where the fight sits on the card.","nullable":true},"weight_class":{"type":"string","nullable":true},"sport":{"type":"string"},"is_five_rounds":{"type":"boolean"},"is_championship":{"type":"boolean"},"is_cancelled":{"type":"boolean"},"fighter1":{"$ref":"#/components/schemas/Fighter"},"fighter2":{"$ref":"#/components/schemas/Fighter"}}},"Event":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"promotion":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"full_name":{"type":"string"}}},"date":{"type":"string","format":"date","nullable":true},"start_time":{"type":"string","format":"date-time","nullable":true},"venue":{"type":"string"},"city":{"type":"string"},"is_cancelled":{"type":"boolean"}}},"BookPrice":{"type":"object","properties":{"sportsbook":{"type":"string","description":"Sportsbook slug."},"odds":{"type":"integer","description":"Current American odds."},"odds_prev":{"type":"integer","description":"American odds.","nullable":true},"odds_open":{"type":"integer","description":"American odds.","nullable":true},"status":{"type":"string","enum":["open","suspended"]},"updated_at":{"type":"string","format":"date-time","nullable":true},"is_prediction_market":{"type":"boolean"},"in_average":{"type":"boolean","description":"See Sportsbook.in_average."},"liquidity":{"type":"number","description":"USD available at the price (prediction markets only)."},"line":{"type":"number","description":"The book's own line, present only when the line is per book rather than part of the offer type: fighter stats totals, where it is the number the Over/Under is set at and can differ by book. Round totals and handicaps carry their line in the market key and offer_type.value."}}},"Side":{"type":"object","description":"One outcome of a market. A market has one or two sides; a side nobody prices is omitted.","properties":{"key":{"type":"string","description":"<market key>:<side>, e.g. STRAIGHT:f123, OVERUNDER_2.5:over, FIGHTER_KO:f123:yes."},"side":{"type":"string","description":"f<fighter_id> (moneyline, finish-only lines, round winners) | over | under | yes | no"},"name":{"type":"string"},"fighter_id":{"type":"integer","description":"Set when the side itself names a fighter (fighter-keyed types). For fighter props the fighter is on Market.fighter_id and the sides are yes/no.","nullable":true},"average":{"type":"integer","description":"Plain mean of the decimal odds of every listed book with in_average, as American odds. Includes vig.","nullable":true},"fair":{"type":"integer","description":"No-vig price: open sharp books devigged with the power method and weighted. Null when no sharp book prices the market.","nullable":true},"opening":{"type":"integer","description":"odds_open at the in_average book that listed the market first.","nullable":true},"best":{"type":"object","properties":{"sportsbook":{"type":"string"},"odds":{"type":"integer"}},"description":"Highest price among books with in_average whose offer is open (suspended lines never win).","nullable":true},"books":{"type":"array","items":{"$ref":"#/components/schemas/BookPrice"}}}},"Market":{"type":"object","properties":{"key":{"type":"string","description":"STRAIGHT for the moneyline; otherwise <offer_type>[:f<fighter_id>] (the fighter for fighter props, the favored fighter for points handicaps)."},"offer_type":{"type":"object","properties":{"id":{"type":"string"},"category":{"type":"string"},"sub_category":{"type":"string","nullable":true},"value":{"type":"number","description":"The line for totals and handicaps.","nullable":true}}},"fighter_id":{"type":"integer","description":"For fighter props: the fighter the market is about. For points handicaps: the favored fighter (the one giving the points).","nullable":true},"sides":{"type":"array","items":{"$ref":"#/components/schemas/Side"}}}},"HandleHistoryPoint":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time"},"fighter1_handle_percent":{"type":"number","description":"Percentage, 0 to 100.","nullable":true},"fighter2_handle_percent":{"type":"number","description":"Percentage, 0 to 100.","nullable":true}}},"BetsHistoryPoint":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time"},"fighter1_bets_percent":{"type":"number","description":"Percentage, 0 to 100.","nullable":true},"fighter2_bets_percent":{"type":"number","description":"Percentage, 0 to 100.","nullable":true}}},"BettingSplit":{"type":"object","description":"One book's split on a fight's moneyline. fighter1/fighter2 are the fight's, as on Fight.","properties":{"sportsbook":{"type":"string","description":"Sportsbook slug."},"fighter1_handle_percent":{"type":"number","description":"Share of money (handle) on fighter 1, current.","nullable":true},"fighter2_handle_percent":{"type":"number","description":"Percentage, 0 to 100.","nullable":true},"fighter1_bets_percent":{"type":"number","description":"Share of tickets (bet count) on fighter 1, current.","nullable":true},"fighter2_bets_percent":{"type":"number","description":"Percentage, 0 to 100.","nullable":true},"first_seen_at":{"type":"string","format":"date-time","description":"When FightOdds first recorded a split for this fight at this book."},"updated_at":{"type":"string","format":"date-time","description":"When either percentage last changed (the latest history timestamp)."},"last_seen_at":{"type":"string","format":"date-time","description":"When the book last confirmed the numbers, changed or not. Splits are checked hourly."},"handle_history":{"type":"array","items":{"$ref":"#/components/schemas/HandleHistoryPoint"},"description":"Every distinct handle split seen, oldest first; the first point is the opening split. A new point is added only when the numbers change."},"bets_history":{"type":"array","items":{"$ref":"#/components/schemas/BetsHistoryPoint"},"description":"Every distinct bet-count split seen, oldest first, on the same terms."}}}}},"paths":{"/events":{"get":{"summary":"List upcoming events with their fights","description":"Cards from every promotion FightOdds prices (UFC, PFL, ONE, Cage Warriors, Oktagon, KSW, BKFC, ...) that have odds and start in the future or started within the last 8 hours, soonest first, with every fight on the card (cancelled fights included, is_cancelled=true). Each event carries its promotion. Past events are not served. Scope odds:read.","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"generated_at":{"type":"string","format":"date-time","nullable":true},"events":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Event"},{"type":"object","properties":{"fights":{"type":"array","items":{"$ref":"#/components/schemas/Fight"}}}}]}}}}}},"headers":{"X-Request-Id":{"description":"Echo of the request header when supplied, else a generated id.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed per minute for this key.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}}}},"401":{"description":"Missing, unknown or revoked key, or inactive client.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The key lacks the scope this endpoint needs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Per-minute rate limit exceeded; see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}]}},"/events/{event_id}/odds":{"get":{"summary":"Moneyline for every fight on an upcoming event","description":"One call per card: for each fight the STRAIGHT market with every listed book's current, previous and opening price, plus average, fair and best per side. Props are served per fight by /fights/{fight_id}/odds. Live (in-fight) markets, disabled and closed offers are left out. Books with in_average=false (Polymarket, Polymarket US, Kalshi) are listed and flagged but never counted in average, opening or best. Cancelled fights are omitted. 404 for an event that is not in /events. Scope odds:read.","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"event":{"$ref":"#/components/schemas/Event"},"markets":{"type":"array","items":{"type":"string","enum":["moneyline"]}},"generated_at":{"type":"string","format":"date-time","nullable":true},"sportsbooks":{"type":"array","items":{"$ref":"#/components/schemas/Sportsbook"}},"fights":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Fight"},{"type":"object","properties":{"markets":{"type":"array","items":{"$ref":"#/components/schemas/Market"}}}}]}}}}}},"headers":{"X-Request-Id":{"description":"Echo of the request header when supplied, else a generated id.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed per minute for this key.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}}}},"404":{"description":"No such upcoming event.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, unknown or revoked key, or inactive client.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The key lacks the scope this endpoint needs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Per-minute rate limit exceeded; see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}]}},"/events/{event_id}/splits":{"get":{"summary":"Betting splits for every fight on an upcoming event, with history","description":"The percentage of bets (tickets) and of handle (money) on each fighter in the moneyline, as published by the book, with the current numbers and a timestamped history of every change since the split first appeared, so a week of movement is one call. DraftKings today; any book that publishes splits is served under its slug. Percentages are in the fight's fighter order. Refreshed hourly. Fights with no published split carry an empty list; cancelled fights are omitted. 404 for an event that is not in /events. Scope odds:read.","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"event":{"$ref":"#/components/schemas/Event"},"generated_at":{"type":"string","format":"date-time","nullable":true},"sportsbooks":{"type":"array","items":{"$ref":"#/components/schemas/Sportsbook"},"description":"The books that appear in splits on this card."},"fights":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Fight"},{"type":"object","properties":{"splits":{"type":"array","items":{"$ref":"#/components/schemas/BettingSplit"},"description":"One entry per book that publishes a split for the fight; empty when none does."}}}]}}}}}},"headers":{"X-Request-Id":{"description":"Echo of the request header when supplied, else a generated id.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed per minute for this key.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}}}},"404":{"description":"No such upcoming event.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, unknown or revoked key, or inactive client.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The key lacks the scope this endpoint needs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Per-minute rate limit exceeded; see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}]}},"/fights/{fight_id}/odds":{"get":{"summary":"Every market for one upcoming fight","description":"The moneyline and every prop for one fight, grouped by offer_type.sub_category: every market fightodds.pro shows for the fight (totals, method, round, handicap and stats markets included). For each market and side, every listed book with its current, previous and opening price, plus average, fair and best. Same exclusions as the event endpoint. 404 for a fight that is not on an event in /events (past or cancelled). Scope odds:read.","parameters":[{"name":"fight_id","in":"path","required":true,"schema":{"type":"integer"}},{"name":"markets","in":"query","required":false,"description":"Comma-separated subset of moneyline,props. Default: both.","schema":{"type":"string","default":"moneyline,props"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"event":{"$ref":"#/components/schemas/Event"},"markets":{"type":"array","items":{"type":"string","enum":["moneyline","props"]}},"generated_at":{"type":"string","format":"date-time","nullable":true},"sportsbooks":{"type":"array","items":{"$ref":"#/components/schemas/Sportsbook"}},"fight":{"allOf":[{"$ref":"#/components/schemas/Fight"},{"type":"object","properties":{"markets":{"type":"array","items":{"$ref":"#/components/schemas/Market"}}}}]}}}}},"headers":{"X-Request-Id":{"description":"Echo of the request header when supplied, else a generated id.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed per minute for this key.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}}}},"400":{"description":"Unknown value in markets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such upcoming fight.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, unknown or revoked key, or inactive client.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The key lacks the scope this endpoint needs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Per-minute rate limit exceeded; see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}]}},"/fights/{fight_id}/splits":{"get":{"summary":"Betting splits for one upcoming fight, with history","description":"The percentage of bets (tickets) and of handle (money) on each fighter in the moneyline, as published by the book, with the current numbers and a timestamped history of every change since the split first appeared, so a week of movement is one call. DraftKings today; any book that publishes splits is served under its slug. Percentages are in the fight's fighter order. Refreshed hourly. Fights with no published split carry an empty list; cancelled fights are omitted. 404 for a fight that is not on an event in /events (past or cancelled). Scope odds:read.","parameters":[{"name":"fight_id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"event":{"$ref":"#/components/schemas/Event"},"generated_at":{"type":"string","format":"date-time","nullable":true},"sportsbooks":{"type":"array","items":{"$ref":"#/components/schemas/Sportsbook"}},"fight":{"allOf":[{"$ref":"#/components/schemas/Fight"},{"type":"object","properties":{"splits":{"type":"array","items":{"$ref":"#/components/schemas/BettingSplit"},"description":"One entry per book that publishes a split for the fight; empty when none does."}}}]}}}}},"headers":{"X-Request-Id":{"description":"Echo of the request header when supplied, else a generated id.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed per minute for this key.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}}}},"404":{"description":"No such upcoming fight.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, unknown or revoked key, or inactive client.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The key lacks the scope this endpoint needs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Per-minute rate limit exceeded; see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}]}},"/ping":{"get":{"summary":"Check a key","description":"Confirms the key is live and shows the client it belongs to. Any scope.","responses":{"200":{"description":"The key is valid.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"client":{"type":"string"},"scopes":{"type":"array","items":{"type":"string"}},"rate_limit_per_minute":{"type":"integer"},"time":{"type":"string","format":"date-time"}}}}},"headers":{"X-Request-Id":{"description":"Echo of the request header when supplied, else a generated id.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed per minute for this key.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}}}},"401":{"description":"Missing, unknown or revoked key, or inactive client.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The key lacks the scope this endpoint needs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Per-minute rate limit exceeded; see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}]}},"/sportsbooks":{"get":{"summary":"List sportsbooks","description":"Every book that appears in odds payloads: the same set the fightodds.pro odds tables show; since 2026-10-26 that also covers the books fightodds.io hides (Bet365, Stake, ReBet, Novig and Polymarket US). Scope odds:read.","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"sportsbooks":{"type":"array","items":{"$ref":"#/components/schemas/Sportsbook"}}}}}},"headers":{"X-Request-Id":{"description":"Echo of the request header when supplied, else a generated id.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed per minute for this key.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}}}},"401":{"description":"Missing, unknown or revoked key, or inactive client.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The key lacks the scope this endpoint needs.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Per-minute rate limit exceeded; see Retry-After.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"ApiKeyAuth":[]}]}}}}