FightOdds API
Base URL https://api.fightodds.pro/v1 · machine-readable spec at openapi.json
Read-only MMA odds and betting splits from fightodds.pro: the same books, markets, consensus numbers and splits the site shows, as JSON.
Getting a key
The API is sold on the pricing page, on its own or bundled with a Pro subscription. Once subscribed, create your key at https://fightodds.pro/settings/api-keys. The full key is shown once, when you create it, and cannot be retrieved afterwards, so store it then.
You hold one live key at a time. To rotate, revoke the key on the same page and create a new one; the old key stops working the moment it is revoked. Use of the API is subject to the API terms.
Authentication
Every request carries your key in the X-API-Key header. Keys look like fo_live_xxxxxxxx_….
curl -H "X-API-Key: fo_live_..." https://api.fightodds.pro/v1/ping
A missing, unknown or revoked key answers 401, as does a key whose subscription has lapsed. A key that lacks the scope an endpoint needs answers 403. Keys carry the scopes odds:read and results:read; /ping needs none and shows the scopes and rate limit of the key you call it with.
Rate limits
Each key is allowed 30 requests per minute, in fixed one-minute windows. Every authenticated response (200 and 429) carries X-RateLimit-Limit and X-RateLimit-Remaining. Over the limit you get 429 with a Retry-After header holding the seconds until the next window. Responses are cached server-side for about 60 seconds and shared across all keys, so polling faster than that returns the same data.
Errors
Every error has the same shape. code is stable and safe to switch on; message is for people.
{
"error": { "code": "unauthorized", "message": "Missing or invalid X-API-Key.", "request_id": "…" }
}
Codes: unauthorized, forbidden, rate_limited, not_found, bad_request, method_not_allowed.
Every response, success or error, carries X-Request-Id. Send your own value in that header and it is echoed back, so both sides can match logs.
Identifiers
Public ids are FightOdds primary keys for events, fights and fighters, and they are stable. Offer and outcome ids are not exposed: they are recreated when a book is rescraped. Sportsbooks are identified by slug.
A market key names one row of a fight's odds table as a single string: the offer type id verbatim, plus :f<fighter_id> when the row is about one fighter (fighter props, and points handicaps, where the fighter is the favored one giving the points). A side key is <market key>:<side> where side is f<fighter_id> (moneyline, finish-only lines, round winners, handicaps), over/under (round totals, the Over/Under sub-category) or yes/no (every other prop, stats totals included: there the side's name says Over or Under). Examples: STRAIGHT:f123 (fighter 123 to win), OVERUNDER_2.5:over, FIGHTER_KO:f123:yes, POINTS_5.5:f123:f456 (fighter 456 +5.5 against favored fighter 123), TOTAL_SS:f123:yes (fighter 123 over his significant-strikes line). Endpoints that return odds group by market key; endpoints that take one require it verbatim.
Definitions
- odds
- American odds, integers (
-150,+130), as the book currently shows them. - odds_prev
- The book's price immediately before its latest change.
- odds_open
- The first price that book posted for the market.
- line
- Per book, only where the line is the book's own rather than part of the market: fighter stats totals (
TOTAL_SS:f123is "over/under significant strikes", and each book'slinesays how many; books can differ, andaverageandbestmix them as the site does, so comparelinebefore takingbest). Round totals and handicaps carry their line in the market key andoffer_type.valueinstead. - average
- The plain mean of every listed book's decimal odds, converted back to American. It still includes each book's margin (vig). Only books with
in_averagecount. - opening
- The aggregate opening line on a side:
odds_openat thein_averagebook that listed the market first (earliest created offer). - fair
- A no-vig estimate: the two-way prices of the sharp books that are currently open on the market are devigged with the power method and combined with FightOdds' per-book weights, renormalised across the books present. Not every market has one.
- best
- The highest price on that side among
in_averagebooks whose offer is open, with the book that offers it. A suspended line never wins. - website_url
- Per book, the venue's own site. It is how to tell the two Polymarkets apart: slug
polymarketis polymarket.com (the international exchange), slugpolymarket-usis polymarket.us. - in_average
- Per book. False for Polymarket, Polymarket US and Kalshi: they are listed with their prices but left out of
average,openingandbest, exactly as fightodds.pro leaves them out of its consensus. Exchange-style sportsbooks such as Novig, ProphetX and SX Bet are flaggedis_prediction_marketfor information but do count. Bet365, Stake, ReBet, Novig and Polymarket US joined the listed books on 2026-10-26, the same books the fightodds.pro odds screen already showed; Bet365, Stake, ReBet and Novig count towardsaverage,openingandbestfrom that date, Polymarket US does not.
Endpoints
| Path | Summary |
|---|---|
GET /events | List upcoming events with their fights 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. |
GET /events/{event_id}/odds | Moneyline for every fight on an upcoming event 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. |
GET /events/{event_id}/splits | Betting splits for every fight on an upcoming event, with history 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. |
GET /fights/{fight_id}/odds | Every market for one upcoming fight 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. |
GET /fights/{fight_id}/splits | Betting splits for one upcoming fight, with history 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. |
GET /ping | Check a key Confirms the key is live and shows the client it belongs to. Any scope. |
GET /sportsbooks | List sportsbooks 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. |
Parameters and response schemas for each path are in openapi.json.
Reading the odds payloads
Discovery is GET /events: upcoming cards from every promotion FightOdds prices (UFC, PFL, ONE, Cage Warriors, Oktagon, KSW, BKFC and more; plus cards that started within the last 8 hours) with every fight. Each event carries its promotion, so filter on promotion.name if you only want some. Past events and fights are not served. GET /events/{id}/odds is the card's moneyline in one call: each fight carries one STRAIGHT market. GET /fights/{id}/odds is everything for one fight: every market fightodds.pro shows for it, moneyline and props, where props means every other row of the site's odds table (totals, method and round markets, fighter props, points handicaps and fight, fighter and round stats markets). Pass ?markets=props or ?markets=moneyline to narrow it. Each market carries its offer_type with category and sub_category, so group or filter on sub_category to pick the market families you want. Each market carries one or two sides (a side nobody prices is omitted); each side carries books (every listed book's current, previous and opening price and when the book last changed it), plus average, fair, opening and best. Slot 1 is always fighter 1 / Yes / Over and slot 2 is fighter 2 / No / Under.
Betting splits
GET /events/{id}/splits is the card's betting splits in one call and GET /fights/{id}/splits the same for one fight. A split is the share of bets (tickets) and of handle (money) a book reports on each side of the moneyline, as the book publishes it; DraftKings today, and any book that publishes splits is served under its own sportsbook slug. Each fight carries one entry per book (an empty list when no book publishes a split for it) with the current fighter1_handle_percent, fighter2_handle_percent, fighter1_bets_percent and fighter2_bets_percent, always in the fight's own fighter order. Alongside the current numbers, handle_history and bets_history hold every distinct value seen since the split first appeared, oldest first, each with its timestamp, so the movement through fight week is in the same payload: the first point is the opening split and a new point is added only when the numbers change. updated_at is the time of the latest change, last_seen_at the last time the book confirmed the numbers (splits are checked hourly), first_seen_at when FightOdds first recorded the split.
Fighters
Every fighter in a fight payload carries, with the FightOdds id and names, the professional record as fightodds.pro shows it (W-L-D-NC, for example 27-1-0-1) and its parts wins, losses, draws and no_contests, plus tapology_url and sherdog_url, the fighter's profile pages on those sites (null when FightOdds has none on file). Records are refreshed from Sherdog around fight week; a fighter new to the database can show 0-0-0-0 until the first refresh.
Data notes
- Some books keep feeding in-fight prices into the moneyline after the walkout. Treat prices updated after the event's
start_timewith care. - There is no closing-line snapshot yet. If you need closing prices, record the last payload you fetched before
start_time. odds_prevandodds_openare per book.openingon a side is the first price at the book that listed the market first.- Payloads are cached for about 60 seconds; the
X-Cacheheader says whether you got a cached copy. Fetching faster than that returns the same data.
Partners
Commercial partners (products built on this data) can get higher rate limits and custom scopes on their own terms. Contact us.