Does the closing line know more than fight results? UFC Elo vs moneylines
Build a UFC fighter Elo from 2016 results, score it on 2024 and 2025 against the margin-free closing moneyline, and see how far a results-only rating sits from it.
Every script run against the live API on December 5, 2026. One full run: 1,496 credits.
A results-only rating is the simplest model of a fight, and the closing moneyline is the hardest reference to compare it with. This tutorial builds the first and measures the gap to the second, using the FighterAPI Python client. It pulls ten seasons of UFC cards, keeps an Elo rating per fighter, picks the settings on 2022 and 2023, and scores 2024 and 2025, which it never saw, with log loss, Brier score and accuracy.
Then it sets the Elo beside the closing moneyline with each book's margin taken out, on the 1,011 fights that have a closing price. The market is expected to win, and it does. The tutorial reports by how much, where the Elo is thin, and whether any blend of the two helps (it does not). That comparison is analysis only: nothing here recommends a fight, works out a stake or sends you to a sportsbook.
The data is UFC fights from 2016 to 2025: 4,789 decided fights, of which 1,013 are the test. One full run costs 1,496 credits: 10 for the season lists, 650 for 325 get_event cards, 830 for 83 get_odds cards at 10 credits each, and 6 for one fighter lookup. The 500 free credits do not cover it, but a shorter window does: step 8 runs the same scripts on 411 credits. Every script waits 1.1 seconds between calls to stay under the 60 requests a minute limit. Closing moneylines start with the UFC cards of June 2020, so the test years are well inside what is held. The PFL and Bellator are available with league="pfl" or "bellator" on any call.
1. Install the client and set your key
The client has no required dependencies. This tutorial uses pandas and NumPy, which the pandas extra installs. It needs Python 3.9 or newer, and the client reads your key from FIGHTERAPI_API_KEY.
pip install "fighterapi[pandas]"
export FIGHTERAPI_API_KEY=your_key_here2. Pull the results, and the closing lines for the test years
Two calls give the data, and they cost differently. get_event returns one card with every fight's winner, method and round for 2 credits. get_odds with an event_id returns the same fights with every sportsbook's opening and closing moneylines for 10 credits a card, so it is the call for the cards you will score against the market. The cheaper route for results alone is get_event, and the script uses it for every card before 2024. A fighter's whole history is 5 credits from get_fighter_fights, but a card holds a dozen fighters and a year holds about 40 cards, so by card is much cheaper.
list_events (1 credit a season) finds the card ids. Cards that are not UFC cards, such as the Contender Series, carry no moneylines and are left out. The script keeps decided fights only: a draw, no contest or cancelled bout has no winner to score. It saves both tables, so every later step costs nothing.
The warm-up starts in 2016. The ratings need a few years of fights to settle; lower WARM_FROM to start earlier, at 2 credits for every extra card. The script takes an optional free argument, which step 8 uses.
import sys
import time
import pandas as pd
from fighterapi import Client
# Full run: ratings warm up on 2016 to 2023 cards, then 2024 and 2025 cards come with their moneylines.
# Free plan (500 credits): python u1_pull.py free warms up on 2023 and 2024 and keeps the last half of 2025 as the test.
FREE = len(sys.argv) > 1 and sys.argv[1] == "free"
WARM_FROM, TEST_FROM, TEST_TO = (2023, "2025-07-01", 2025) if FREE else (2016, "2024-01-01", 2025)
client = Client() # reads FIGHTERAPI_API_KEY
bouts, odds, spent, calls = [], [], 0, 0
for season in range(WARM_FROM, TEST_TO + 1):
cards = client.list_events(season=season, status="final", limit=200)["events"]
spent += client.last_credits_used
calls += 1
for card in cards:
if not card["name"].startswith("UFC"): # Contender Series and other cards have no moneylines
continue
if card["event_date"] < TEST_FROM:
page = client.get_event(event_id=card["event_id"]) # results only: 2 credits a card
rows = page["bouts"]
else:
page = client.get_odds(event_id=card["event_id"]) # results and every book's lines: 10 credits a card
rows = page["bouts"]
for b in rows:
for book in b["books"]:
odds.append({"bout_id": b["bout_id"], "provider": book["provider"], "a_close": book["a_close"], "b_close": book["b_close"]})
spent += client.last_credits_used
calls += 1
time.sleep(1.1) # the limit is 60 requests a minute
for b in rows:
if b["status"] == "final" and b["winner"] and b["fighter_a"] and b["fighter_b"]:
bouts.append({k: b[k] for k in ("bout_id", "event_date", "starts_at", "fighter_a", "fighter_a_name", "fighter_b", "fighter_b_name", "winner", "method", "weight_class", "title_fight")})
bouts = pd.DataFrame(bouts).drop_duplicates("bout_id").sort_values(["starts_at", "bout_id"])
bouts.to_csv("bouts.csv", index=False)
pd.DataFrame(odds).to_csv("closing_lines.csv", index=False)
print(len(bouts), "decided UFC fights from", calls, "calls,", spent, "credits")
print("by year:", bouts.groupby(bouts["event_date"].str[:4]).size().to_dict())
print("methods:", bouts["method"].value_counts().head(5).to_dict())
print("closing lines:", len(odds), "book rows over", len({o["bout_id"] for o in odds}), "fights")Output
4789 decided UFC fights from 418 calls, 1490 credits
by year: {'2016': 459, '2017': 425, '2018': 444, '2019': 506, '2020': 444, '2021': 497, '2022': 506, '2023': 495, '2024': 513, '2025': 500}
methods: {'decision---unanimous': 1884, 'kotko': 1498, 'submission': 849, 'decision---split': 476, 'tko---doctors-stoppage': 36}
closing lines: 7796 book rows over 1022 fightsThat is 4,789 decided fights: 3,776 from 2016 to 2023 to warm the ratings up, and 1,013 from 2024 and 2025 as the test. The closing lines come as 7,796 book rows over 1,022 fights, and 1,011 of the 1,013 test fights have one. The credits on the first line are what this run spent: 10 for the season lists, 650 for 325 get_event cards and 830 for 83 get_odds cards.
3. Rate every fighter with Elo
Every fighter starts at 1500. Before a fight the rating gap gives a win probability, 1 / (1 + 10 ** (-gap / 400)). After it, each rating moves toward the result by K * (result - expected), where K is k0 / (fights + 5) ** 0.4, so a newcomer's rating moves fast and a veteran's slowly. One UFC-specific setting: a finish says more about the gap between two fighters than a decision does, so a finish multiplies K by a finish_weight. The ratings use results only, with no stat sheets, ages or weight classes.
Save this as elo_model.py. run walks the fights in date order and returns the probability it had for each fight before the fight, so a prediction never sees its own result. stretch is there because Elo gaps are compressed when fighters have few fights; step 4 lets the data say whether it helps.
from collections import defaultdict
import numpy as np
import pandas as pd
b = pd.read_csv("bouts.csv", dtype={"bout_id": str, "fighter_a": str, "fighter_b": str, "winner": str})
b = b.sort_values(["starts_at", "bout_id"]).reset_index(drop=True)
b["won_a"] = (b["winner"] == b["fighter_a"]).astype(int) # a is just the first listed, not the favourite
b["finish"] = (~b["method"].fillna("").str.startswith("decision")).astype(int)
y = b["won_a"].to_numpy()
def run(df, k0, finish_weight=1.0, start=1500.0):
"""Walk the fights in order. Predict from the ratings before a fight, then update them."""
rating = defaultdict(lambda: start)
played = defaultdict(int)
probs = np.empty(len(df))
before = np.empty((len(df), 2))
for i, (a, c, won, fin) in enumerate(zip(df["fighter_a"], df["fighter_b"], df["won_a"], df["finish"])):
ra, rc = rating[a], rating[c]
e = 1 / (1 + 10 ** (-(ra - rc) / 400))
probs[i] = e
before[i] = (played[a], played[c])
w = finish_weight if fin else 1.0 # a finish says more about the gap than a decision
ka, kc = w * k0 / (played[a] + 5) ** 0.4, w * k0 / (played[c] + 5) ** 0.4 # newcomers move fast
rating[a] += ka * (won - e)
rating[c] -= kc * (won - e)
played[a] += 1
played[c] += 1
return probs, before, rating
def stretch(p, s):
"""Elo gaps from fighters with few fights are small; s > 1 spreads the probabilities out (s = 1 leaves them alone)."""
p = np.clip(p, 1e-6, 1 - 1e-6)
return 1 / (1 + np.exp(-s * np.log(p / (1 - p))))
def scores(p, y):
p = np.clip(p, 1e-6, 1 - 1e-6)
return {
"log_loss": float(-np.mean(y * np.log(p) + (1 - y) * np.log(1 - p))),
"brier": float(np.mean((p - y) ** 2)),
"accuracy": float(np.mean(np.where(p == 0.5, 0.5, (p > 0.5) == (y == 1)))),
}4. Choose the settings on 2022 and 2023, then score 2024 and 2025
Three settings need a value: k0, how fast ratings move; finish_weight; and stretch. The script tries 48 combinations, scores each on the 2022 and 2023 fights only, and keeps the lowest log loss. Then it fixes them and walks through 2024 and 2025, which the search never saw.
Log loss and Brier score are lower when the probabilities are better; accuracy is the share of fights where the fighter given more than 50% won. Log loss is the one to watch, because accuracy ignores how confident the model was.
import itertools
import numpy as np
import pandas as pd
from elo_model import b, y, run, scores, stretch
# Free plan: python u2_score.py free (the test is the second half of 2025; the settings are chosen on the 2024 cards)
import sys
FREE = len(sys.argv) > 1 and sys.argv[1] == "free"
TEST_FROM = "2025-07-01" if FREE else "2024-01-01"
TUNE_FROM, TUNE_TO = ("2024-01-01", "2024-12-31") if FREE else ("2022-01-01", "2023-12-31")
# Pick the K scale (k0), the finish weight and the stretch on the tuning window only. The test fights are not touched until they are fixed.
before_test = b[b["event_date"] < TEST_FROM]
tune = (before_test["event_date"] >= TUNE_FROM).to_numpy() & (before_test["event_date"] <= TUNE_TO).to_numpy()
grid = []
for k0, fw, s in itertools.product([100, 150, 250, 400], [1.0, 1.5, 2.0], [1.0, 1.5, 2.0, 2.5]):
p, _, _ = run(before_test, k0, fw)
grid.append((k0, fw, s, scores(stretch(p, s)[tune], y[: len(p)][tune])["log_loss"]))
g = pd.DataFrame(grid, columns=["k0", "finish_weight", "stretch", "log_loss"]).sort_values("log_loss")
print(g.head(5).round(4).to_string(index=False))
K0, FW, S = int(g.iloc[0]["k0"]), float(g.iloc[0]["finish_weight"]), float(g.iloc[0]["stretch"])
print("chosen k0 =", K0, "finish weight =", FW, "stretch =", S, "| tuned on", int(tune.sum()), "fights from", TUNE_FROM, "to", TUNE_TO)
# The walk through the test period with the settings fixed. Every fight is predicted before it updates anything.
p_all, played, _ = run(b, K0, FW)
p_all = stretch(p_all, S)
test = (b["event_date"] >= TEST_FROM).to_numpy()
elo = b.assign(p_elo=p_all, a_fights=played[:, 0], b_fights=played[:, 1])
elo[["bout_id", "event_date", "fighter_a", "fighter_b", "won_a", "p_elo", "a_fights", "b_fights"]].to_csv("elo_predictions.csv", index=False)
rows = [("Coin flip", *scores(np.full(test.sum(), 0.5), y[test]).values()), (f"Elo (k0 {K0}, finish {FW}, stretch {S})", *scores(p_all[test], y[test]).values())]
print(int(test.sum()), "fights in the test period:", b.loc[test, "event_date"].str[:4].value_counts().sort_index().to_dict())
print(pd.DataFrame(rows, columns=["model", "log_loss", "brier", "accuracy"]).round(4).to_string(index=False))Output
k0 finish_weight stretch log_loss
250 1.5 1.0 0.6647
150 2.0 1.0 0.6648
150 1.5 1.0 0.6661
150 1.5 1.5 0.6674
100 2.0 1.5 0.6678
chosen k0 = 250 finish weight = 1.5 stretch = 1.0 | tuned on 1001 fights from 2022-01-01 to 2023-12-31
1013 fights in the test period: {'2024': 513, '2025': 500}
model log_loss brier accuracy
Coin flip 0.6931 0.2500 0.5000
Elo (k0 250, finish 1.5, stretch 1.0) 0.6620 0.2351 0.5849The best settings are k0 250 and a finish weight of 1.5, with no stretch. The grid is flat near the top (0.6647 and 0.6648 for the first two rows), so treat them as reasonable rather than exact. A results-only Elo scores 0.6620 on log loss against 0.6931 for a coin flip, and picks the winner of 58.5% of fights. That is a real but modest signal.
5. Score it against the closing moneyline
A moneyline is a price, not a probability, and it carries the book's margin: the two prices of one book add to about 104% rather than 100%. The script converts each book's two closing prices to implied probabilities, divides each by their sum to remove that book's margin, and averages the books (a median of 7 per fight). The result is the market's probability that fighter a wins.
It scores the coin flip, our Elo and the market on the same fights. It also tests whether the Elo adds anything to the market: a blend sigmoid(logit(market) + c * (logit(Elo) - logit(market))), with c between 0 and 1 chosen by log loss on the test fights themselves. That choice favours the blend, so if c still comes out at 0, the Elo has nothing to add. Everything here is analysis of what the market priced; it is not a recommendation about any fight.
import sys
import numpy as np
import pandas as pd
FREE = len(sys.argv) > 1 and sys.argv[1] == "free"
elo = pd.read_csv("elo_predictions.csv", dtype={"bout_id": str})
lines = pd.read_csv("closing_lines.csv", dtype={"bout_id": str})
def implied(ml):
ml = np.asarray(ml, dtype=float)
a = np.abs(ml)
return np.where(ml < 0, a / (a + 100), 100 / (a + 100))
# Each book's two closing prices to fighter a's probability with that book's margin taken out, then the mean over the books.
lines = lines.dropna(subset=["a_close", "b_close"])
pa, pb = implied(lines["a_close"].to_numpy()), implied(lines["b_close"].to_numpy())
lines["fair_a"] = pa / (pa + pb)
lines["overround"] = pa + pb - 1
market = lines.groupby("bout_id").agg(p_market=("fair_a", "mean"), books=("fair_a", "size"), margin=("overround", "mean")).reset_index()
d = elo.merge(market, on="bout_id")
d = d[d["event_date"] >= ("2025-07-01" if FREE else "2024-01-01")]
d["year"] = d["event_date"].str[:4]
print(len(d), "fights with closing prices; median books", int(d["books"].median()), "; mean margin in a single book's two prices", round(100 * float(d["margin"].mean()), 1), "%")
y = d["won_a"].to_numpy()
def scores(p, y):
p = np.clip(np.asarray(p), 1e-6, 1 - 1e-6)
return (-np.mean(y * np.log(p) + (1 - y) * np.log(1 - p)), np.mean((p - y) ** 2), np.mean(np.where(p == 0.5, 0.5, (p > 0.5) == (y == 1))))
def logit(p):
return np.log(np.clip(p, 1e-6, 1 - 1e-6) / (1 - np.clip(p, 1e-6, 1 - 1e-6)))
# Does the Elo add anything to the market? p = sigmoid(logit(market) + c * (logit(Elo) - logit(market))), c from 0 to 1, c chosen by log loss.
def blend(df, c):
return 1 / (1 + np.exp(-(logit(df["p_market"]) + c * (logit(df["p_elo"]) - logit(df["p_market"])))))
cs = np.arange(0, 1.001, 0.05) # c is chosen on these same fights, which can only flatter the blend
c_best = float(cs[int(np.argmin([scores(blend(d, c), y)[0] for c in cs]))])
d["p_blend"] = blend(d, c_best)
table = pd.DataFrame(
[("Coin flip", *scores(np.full(len(d), 0.5), y)), ("Our Elo", *scores(d["p_elo"], y)), ("Closing moneyline, margin removed", *scores(d["p_market"], y)), (f"Market plus Elo (c {c_best:.2f})", *scores(d["p_blend"], y))],
columns=["model", "log_loss", "brier", "accuracy"],
)
print(table.round(4).to_string(index=False))
print("correlation of the Elo probability with the closing line:", round(float(np.corrcoef(d["p_elo"], d["p_market"])[0, 1]), 3))
est = d[(d["a_fights"] >= 3) & (d["b_fights"] >= 3)]
ye = est["won_a"].to_numpy()
print(len(est), "fights where both fighters have 3 or more earlier UFC fights in the data:")
print(pd.DataFrame([("Our Elo", *scores(est["p_elo"], ye)), ("Closing moneyline", *scores(est["p_market"], ye))], columns=["model", "log_loss", "brier", "accuracy"]).round(4).to_string(index=False))
# Calibration: fights grouped by the closing probability of the favourite.
d["fav"] = np.maximum(d["p_market"], 1 - d["p_market"])
d["fav_won"] = np.where(d["p_market"] >= 0.5, d["won_a"], 1 - d["won_a"])
d["elo_on_fav"] = np.where(d["p_market"] >= 0.5, d["p_elo"], 1 - d["p_elo"])
d["band"] = pd.cut(d["fav"], [0.5, 0.6, 0.7, 0.8, 0.9, 1.0], labels=["50-60%", "60-70%", "70-80%", "80-90%", "90%+"])
cal = d.groupby("band", observed=True).agg(fights=("fav", "size"), market=("fav", "mean"), elo=("elo_on_fav", "mean"), fav_won=("fav_won", "mean"))
print(cal.round(3).to_string())
by_year = d.groupby("year").apply(lambda g: pd.Series({"fights": len(g), "elo": scores(g["p_elo"], g["won_a"].to_numpy())[0], "market": scores(g["p_market"], g["won_a"].to_numpy())[0]}))
print(by_year.round(4).to_string())
table.to_csv("compare_table.csv", index=False)Output
1011 fights with closing prices; median books 7 ; mean margin in a single book's two prices 4.2 %
model log_loss brier accuracy
Coin flip 0.6931 0.2500 0.5000
Our Elo 0.6621 0.2352 0.5851
Closing moneyline, margin removed 0.5940 0.2038 0.6904
Market plus Elo (c 0.00) 0.5940 0.2038 0.6904
correlation of the Elo probability with the closing line: 0.484
577 fights where both fighters have 3 or more earlier UFC fights in the data:
model log_loss brier accuracy
Our Elo 0.6514 0.2300 0.6066
Closing moneyline 0.5955 0.2037 0.6967
fights market elo fav_won
band
50-60% 284 0.553 0.513 0.574
60-70% 361 0.653 0.562 0.659
70-80% 233 0.747 0.585 0.785
80-90% 127 0.837 0.616 0.850
90%+ 6 0.914 0.734 1.000
fights elo market
year
2024 511.0 0.6616 0.5929
2025 500.0 0.6626 0.5952From the output above. Lower is better. The axis starts at 0.5, so the gaps look larger than they are.
The market wins, clearly. The closing moneyline scores 0.5940 on log loss and 0.2038 on Brier score, against 0.6621 and 0.2352 for the Elo, and it picks the winner of 69.0% of fights against 58.5%. The Elo's probabilities have a correlation of only 0.484 with the market's. The gap holds in each year (0.5929 against 0.6616 in 2024, 0.5952 against 0.6626 in 2025) and among fights where both fighters have three or more earlier fights in the data (0.5955 against 0.6514), so it is not a story about debutants.
The blend says the same thing from the other side. With c allowed to be anything from 0 to 1 and chosen on the test fights, it settles at 0.00: mixing in any of the Elo makes the market's probability worse. A results-only rating has nothing to add to a closing price, which is what you would expect from a price that can reflect injuries, camp news and styles that results alone do not show.
This is a result about the model, not a pass for the market in general. It tells you where a simple rating sits against the best available reference. It does not turn an Elo into a way to choose fights, and nothing here works out a stake or a payout.
6. Where the Elo is thin: calibration by favourite strength
The last part of the output groups the 1,011 fights by how strongly the closing line favoured one fighter. Each row shows the average market probability of the favourite, the average probability the Elo gave the same fighter, and how often the favourite won.
| Favourite's closing probability | Fights | Market said | Elo said | Favourite won |
|---|---|---|---|---|
| 50 to 60% | 284 | 55.3% | 51.3% | 57.4% |
| 60 to 70% | 361 | 65.3% | 56.2% | 65.9% |
| 70 to 80% | 233 | 74.7% | 58.5% | 78.5% |
| 80 to 90% | 127 | 83.7% | 61.6% | 85.0% |
| 90% or more | 6 | 91.4% | 73.4% | 100% |
- Market said
- Elo said
- Favourite won
From the table above. The 90% band is left out: it has 6 fights.
The market's probabilities track what happened: favourites at 70 to 80% won 78.5%, at 80 to 90% won 85.0%. The Elo barely moves as the favourite gets stronger (51% to 62%), because a results-only rating built from a small number of fights per fighter cannot see a mismatch the way a price can. That compression is the main reason it loses on log loss. The stretch search in step 4 did not help on the 2022 and 2023 tuning fights, but the under-confidence is plain on the test fights, so a different tuning window might choose differently; the closing line would still be ahead.
7. One fighter's lines without pulling cards
If you want one fighter's history with its prices, get_fighter_fights is 5 credits for up to 200 fights in one call, newest first. Each fight carries rating_before and rating_after, our rating from UFC results alone, and median_closing_line, the median closing moneyline for that fighter. search_fighters finds the id for 1 credit. The closing line is a price, shown here as market information.
import pandas as pd
from fighterapi import Client
client = Client() # reads FIGHTERAPI_API_KEY
found = client.search_fighters(query="Makhachev", limit=3)["fighters"][0]
print("search:", found["fighter_id"], found["name"], "| credits:", client.last_credits_used)
page = client.get_fighter_fights(fighter_id=found["fighter_id"], limit=6)
print("get_fighter_fights credits:", client.last_credits_used)
fights = pd.DataFrame(page["fights"])
print(fights[["event_date", "result", "method", "rating_before", "rating_after", "median_closing_line"]].to_string(index=False))Output
search: 3332412 Islam Makhachev | credits: 1
get_fighter_fights credits: 5
event_date result method rating_before rating_after median_closing_line
2026-08-15 win decision---unanimous 1727 1736 -342
2025-11-15 win decision---unanimous 1717 1727 -290
2025-01-18 win submission 1707 1717 -1300
2024-06-01 win submission 1694 1707 -525
2023-10-21 win kotko 1680 1694 -255
2023-02-11 win decision---unanimous 1667 1680 -367His rating goes from 1667 before the oldest of these fights to 1736 after the newest, and the median closing price for him runs from -255 to -1300. The served ratings are Elo from UFC results alone, with their own starting point and settings, so yours will differ in scale: compare the order of fighters, not the number.
8. The free-plan version: 411 credits
The full run costs 1,496 credits, which is more than the 500 free credits. The same scripts run on a smaller window if you pass free: the ratings warm up on the 2023 and 2024 cards (106 cards at 2 credits), and the test is the second half of 2025 (19 cards with their closing lines at 10 credits, 239 fights). With the season lists that is 405 credits, and 411 with the fighter lookup in step 7.
`` python u1_pull.py free python u2_score.py free python u3_market.py free ``
Output
1508 decided UFC fights from 128 calls, 405 credits
closing lines: 1510 book rows over 242 fights
chosen k0 = 100 finish weight = 2.0 stretch = 1.0 | tuned on 513 fights from 2024-01-01 to 2024-12-31
239 fights with closing prices; median books 6 ; mean margin in a single book's two prices 4.0 %
model log_loss brier accuracy
Coin flip 0.6931 0.2500 0.5000
Our Elo 0.6578 0.2329 0.6151
Closing moneyline, margin removed 0.5969 0.2054 0.6904
Market plus Elo (c 0.10) 0.5964 0.2049 0.6987The free run gives the same answer on 239 fights: the closing line scores 0.5969 on log loss against 0.6578 for the Elo, and the blend again stays near zero (c 0.10, a gain of 0.0005). The settings it chose differ (k0 100, finish weight 2.0) because it tunes on one year, so do not compare the Elo scores across the two runs; compare each Elo with the market on the same fights.
9. What this model leaves out
A results-only Elo is the floor, not the ceiling. Read its limits before extending it.
- No stat sheets.
get_fightreturns both fighters' strikes by target, takedowns, control time and rounds for 5 credits, and a striking or grappling differential model could use them. It would need the sheets of every earlier fight of every fighter in the test, which is thousands of calls at 5 credits each, so it does not fit this budget. Start fromget_fightercareer rates if you want a cheaper version. - No layoff, age or weight class. A fighter back from 18 months out, or moving up a division, looks like his old rating.
- No finishing method. The model predicts who wins, not how.
get_schedulereturns our method probabilities for upcoming fights. - No styles. A wrestler against a striker is the same gap as two strikers.
- Debut fighters start at 1500. A newcomer from another promotion is rated as an average UFC fighter until the fights move him.
Change WARM_FROM in step 2 for more history, add features to run, and score each change the same way: on a window you did not tune on, against the same market.
Tools and credits
- list_events: 10 calls, 10 credits (one call a season, 2016 to 2025).
- get_event: 325 calls, 650 credits (every UFC card from 2016 to 2023, for the results).
- get_odds: 83 calls, 830 credits (10 credits for every card (one fight is 5): every UFC card of 2024 and 2025 with its closing lines).
- search_fighters: 1 call, 1 credit.
- get_fighter_fights: 1 call, 5 credits (one fighter's last six fights).
One full run: 1,496 credits.
What you can do with the data
You may store these rows, train models and backtest on them, and build products that show your users what you derive. You may not redistribute the rows, or sportsbook prices as a raw feed, as a dataset or API of its own. The prices here are market information used to score a model, not a recommendation, and nothing on this page works out a stake or sends you to a sportsbook.
Details: data timing and rights.
What to do next
Start with 500 free credits every month
No card. pip install fighterapi, REST or MCP.