UFCStats Scraper — UFC Stats MMA Historical Fight Statistics
Independent tool. Trademarks referenced on this page are the property of their respective owners and are used only to identify the public website this tool reads. No affiliation or endorsement.
UFC Stats MMA Historical Fight Statistics Scraper
Scrapes complete historical fight statistics from ufcstats.com — the official UFC stats source. Retrieves per-fighter striking, takedown, and submission data for every recorded UFC bout.
What it does
Point it at the newest events, a list of fighters, or specific event and fight pages. Each completed bout comes back as one flat record with:
- Fight outcome: fighters, winner, method and finish detail, round, time, time format, referee, weight class, title-fight flag, fight-night bonuses
- Total statistics: knockdowns, significant strikes (landed/attempted + %), total strikes, takedowns (landed/attempted + %), submission attempts, reversals, control time
- Significant strike breakdown by target (head, body, leg) and by position (distance, clinch, ground)
- Round-by-round: the same totals and strike breakdown for every round
- Stable ufcstats ids for the fight, the event and both fighters, so rows join cleanly across runs
- Optional: both fighters' height, reach, stance, date of birth, record and career averages
Upcoming bouts have no result yet and are skipped.
Input
| Field | Type | Default | Description |
|---|---|---|---|
maxItems |
integer | 10 | Maximum number of fight records to return |
startFromEvent |
integer | 0 | Skip this many events from most recent (0 = start from most recent) |
fighters |
array | — | Fighter names or ufcstats fighter URLs; returns their completed fights |
maxFightsPerFighter |
integer | all | Most recent fights to return per fighter |
startUrls |
array | — | ufcstats event, fight or fighter URLs to scrape directly |
includeFighterProfiles |
boolean | false | Adds both fighters' profile. Each enriched fight is billed as one extra result |
With fighters or startUrls set, the run covers exactly those; otherwise it walks events from the most recent back.
Example input
{
"fighters": ["Jiri Prochazka", "Alex Pereira"],
"maxFightsPerFighter": 5,
"includeFighterProfiles": true
}
To scrape the full historical dataset (7,000+ fights), leave fighters and startUrls empty, set maxItems high and let the run complete.
Output
Each record in the dataset represents one UFC bout (rounds trimmed to one entry, fighter_b_profile omitted):
{
"fight_url": "https://www.ufcstats.com/fight-details/7de3df8199eafe71",
"fight_id": "7de3df8199eafe71",
"event_id": "cbf69fa846c7e3ee",
"event_name": "UFC Fight Night: Prochazka vs. Stirling",
"event_date": "November 21, 2026",
"event_location": "Doha, Qatar",
"fighter_a": "Jiri Prochazka",
"fighter_b": "Navajo Stirling",
"fighter_a_id": "009341ed974bad72",
"fighter_b_id": "b4b496ec2197ee3e",
"fighter_a_nickname": null,
"fighter_b_nickname": "Black Jag",
"winner": "Navajo Stirling",
"result_a": "L",
"result_b": "W",
"method": "KO/TKO",
"method_detail": "Punch to Head At Distance",
"round": 2,
"time": "4:58",
"time_seconds": 298,
"total_fight_seconds": 598,
"time_format": "5 Rnd (5-5-5-5-5)",
"referee": "Marc Goddard",
"weight_class": "Light Heavyweight",
"is_title_fight": false,
"bonuses": ["perf"],
"kd_a": "0",
"kd_b": "1",
"sig_str_a": "23 of 45",
"sig_str_b": "48 of 94",
"sig_str_pct_a": "51%",
"sig_str_pct_b": "51%",
"total_str_a": "26 of 48",
"total_str_b": "51 of 98",
"td_a": "0 of 0",
"td_b": "0 of 0",
"td_pct_a": "---",
"td_pct_b": "---",
"sub_att_a": 0,
"sub_att_b": 0,
"rev_a": 0,
"rev_b": 0,
"ctrl_time_a": "0:18",
"ctrl_time_b": "0:08",
"ctrl_time_seconds_a": 18,
"ctrl_time_seconds_b": 8,
"head_strikes_a": "11 of 31",
"head_strikes_b": "8 of 36",
"body_strikes_a": "0 of 0",
"body_strikes_b": "9 of 16",
"leg_strikes_a": "12 of 14",
"leg_strikes_b": "31 of 42",
"distance_strikes_a": "22 of 44",
"distance_strikes_b": "43 of 88",
"clinch_strikes_a": "1 of 1",
"clinch_strikes_b": "3 of 4",
"ground_strikes_a": "0 of 0",
"ground_strikes_b": "2 of 2",
"rounds": [
{ "round": 1, "kd_a": "0", "kd_b": "0", "sig_str_a": "11 of 25", "sig_str_b": "26 of 51", "ctrl_time_a": "0:18", "head_strikes_a": "4 of 16" }
],
"fighter_a_profile": {
"fighter_id": "009341ed974bad72", "name": "Jiri Prochazka", "record": "32-7-1", "wins": 32, "losses": 7, "draws": 1,
"no_contests": 0, "height": "6' 3\"", "weight": "205 lbs.", "reach": "80\"", "stance": "Orthodox", "dob": "Oct 14, 1992",
"slpm": 5.29, "str_acc_pct": 55, "sapm": 5.58, "str_def_pct": 45, "td_avg": 0.44, "td_acc_pct": 60, "td_def_pct": 68, "sub_avg": 0.1
}
}
Field notes
- Strike fields use the format
"X of Y"(landed of attempted) - Percentage fields are strings like
"32%"or"---"when not applicable ctrl_time_a/ctrl_time_bare"--"for early UFC events that didn't track control time; the_secondsversions are thennullroundsis empty for early events that published no per-round statisticsfighter_a_profile/fighter_b_profileappear only withincludeFighterProfilesweight_classmay be empty for historical fights before weight classes were formalizedwinneris set to"Draw"or"NC"(no contest) when applicable
Use cases
- MMA analytics — Build fighter performance models, win probability calculators, or style matchup analysis
- Machine learning — Train classifiers for fight outcome prediction using the full historical dataset
- Research — Track evolution of fighting styles, dominant techniques across weight classes, or historical era comparisons
- Fantasy sports — Build scoring models based on verified official statistics
Notes
- Without
fightersorstartUrls, runs start at the most recent event and work backwards; usestartFromEventto begin further back. - A run of the default 10 fights takes well under a minute. A full historical run (7,000+ fights) takes a while; set
maxItemsto what you need.