# UFC Fighters Scraper · Rankings + fight cards · $1/1K (`mlg14/ufc-scraper`) Actor

Collect UFC fighters, official rankings and event fight results for sports analytics, betting research and fantasy MMA. Fighter bios, records, venues, winners, rounds and methods from public pages. Filter by weight class, name or year. $1/1K records.

- **URL**: https://apify.com/mlg14/ufc-scraper.md
- **Developed by:** [MLG Data](https://apify.com/mlg14) (community)
- **Categories:** Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## UFC Fighters Scraper

Scrape UFC fighter rankings, athlete profiles, completed events, and fight results from public UFC pages. Export UFC data as JSON, CSV, or spreadsheet-ready records for research, reporting, and historical comparison; this is a practical UFC API alternative when you need the fields shown on the public site.

Choose ranked fighters, fighter name search, or completed events. Ranking and search records include profile details and career statistics; event records contain the event venue, date, and a fight-by-fight result list. No account or private profile is required.

### What data can you extract from UFC?

The dataset contains two record types. A fighter is one ranking entry or one search result. An event is one completed event, with its bouts nested in `fights`. Every record has `recordType`, `sourceUrl`, and `scrapedAt`, so mixed exports remain easy to separate. Fields that are unavailable on a page are `null` rather than inferred.

#### Fighter fields

| Field | Description | Example |
| --- | --- | --- |
| `recordType` | Dataset record kind | `fighter` |
| `sourceUrl` | Public page used for the record | `https://www.ufc.com/athlete/islam-makhachev` |
| `scrapedAt` | Extraction time in UTC | `2026-09-26T19:17:59+00:00` |
| `athleteId` | Stable profile URL slug | `islam-makhachev` |
| `name` | Displayed fighter name | `Islam Makhachev` |
| `nickname` | Displayed nickname, when present | `null` |
| `weightClass` | Selected ranking class or search result class | `Men's Pound-for-Pound` |
| `division` | Current profile division | `Welterweight` |
| `rank` | Position in the selected ranking; `0` denotes its champion | `1` |
| `record` | Win-loss-draw string | `29-1-0` |
| `wins` | Career wins from the displayed record | `29` |
| `losses` | Career losses from the displayed record | `1` |
| `draws` | Career draws from the displayed record | `0` |
| `isChampion` | Current title-holder indicator on the profile or ranking | `true` |
| `titleDefenses` | Reserved for a displayed title-defense count | `null` |
| `height` | Displayed height, in inches | `70.00 in` |
| `weight` | Displayed weight, in pounds | `170.00 lbs` |
| `reach` | Displayed reach, in inches | `70.50 in` |
| `legReach` | Displayed leg reach, in inches | `40.50 in` |
| `stance` | Reserved for an explicit stance field | `null` |
| `country` | Reserved for an explicit country field | `null` |
| `placeOfBirth` | Place of birth as shown | `Dagestan, Russia` |
| `age` | Displayed age | `34` |
| `headshotUrl` | Profile image URL | Public image URL |
| `profileUrl` | Direct fighter profile link | Public profile URL |
| `active` | Whether the profile says the fighter is active | `true` |
| `fightWinStreak` | Displayed consecutive wins | `17` |
| `winsByKnockout` | Displayed knockout wins | `5` |
| `winsBySubmission` | Displayed submission wins | `13` |
| `significantStrikesLanded` | Displayed career significant strikes landed | `507` |
| `takedownsLanded` | Displayed career takedowns landed | `13` |

`athleteId` is a URL slug rather than a private numeric identifier. A fighter can appear in a division ranking and a pound-for-pound ranking, so the combination of `weightClass` and `athleteId` identifies a ranking entry. Use `athleteId` alone when you want one row per fighter. `rank` is empty in name-search results because those results are not ranking positions.

#### Event and fight fields

| Field | Description | Example |
| --- | --- | --- |
| `recordType` | Dataset record kind | `event` |
| `sourceUrl` | Public event page | UFC event URL |
| `scrapedAt` | Extraction time in UTC | UTC timestamp |
| `eventId` | Stable event URL slug | `ufc-330` |
| `eventName` | Event title and headline | `UFC 330: Makhachev vs Machado Garry` |
| `date` | Main card start in UTC | `2026-08-16T01:00:00+00:00` |
| `venue` | Displayed venue name | Arena name |
| `location` | Displayed location text | `Philadelphia United States` |
| `fightCount` | Number of bouts in `fights` | `12` |
| `fights` | Full bout list for this event | Array of fight records |

Each object in `fights` has these fields:

| Field | Description | Example |
| --- | --- | --- |
| `fightId` | Identifier displayed in the event page markup | `12910` |
| `weightClass` | Bout division | `Welterweight` |
| `fighter1` | Red-corner fighter | `Islam Makhachev` |
| `fighter1Url` | Red-corner profile link | Public profile URL |
| `fighter1Record` | Record if shown on the event page | `null` |
| `fighter2` | Blue-corner fighter | `Ian Machado Garry` |
| `fighter2Url` | Blue-corner profile link | Public profile URL |
| `fighter2Record` | Record if shown on the event page | `null` |
| `winner` | Decided winner, if shown | `Islam Makhachev` |
| `round` | Ending round | `5` |
| `time` | Ending time within that round | `5:00` |
| `method` | Officially displayed result method | `Decision - Unanimous` |

The event time is converted from the page's timestamp to UTC. Its date may therefore be the next calendar day compared with the local event date. `location` preserves the site's location wording; it is not a normalized city, state, and country address. Empty winner, round, time, or method values can occur when the source has no decided result.

### How to scrape UFC

1. Select **Ranked fighters**, **Search fighters**, or **Completed events and fight results**.
2. For rankings, choose a class or keep **All**. For name search, enter a fighter name or fragment. For events, set the calendar year.
3. Set `maxItems` to cap the number of saved fighter or event records. An event counts once even when its card contains many bouts.
4. Run the actor and open the resulting dataset. Download JSON or CSV, or use the dataset link in another workflow.

For a quick ranking sample, use `topRanked`, `All`, and `maxItems: 30`. This produces 30 ranking entries, including profile data. To collect one division, choose its name under `weightClass`. To retrieve completed cards for a year, choose `byEvent` and set `season`.

### Input

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `mode` | Select | `topRanked` | `topRanked`, `byEvent`, or `searchFighters`. |
| `weightClass` | Select | `All` | Ranking category in `topRanked` mode. |
| `searchQuery` | Text | Empty | Fighter name fragment in `searchFighters` mode. |
| `season` | Integer | Current UTC year | Calendar year in `byEvent` mode. |
| `maxItems` | Integer | `50` | Maximum saved fighter or event records. |
| `proxyConfiguration` | Connection settings | Default connection | Optional connection override. |

Ranking choices are Heavyweight, Light Heavyweight, Middleweight, Welterweight, Lightweight, Featherweight, Bantamweight, Flyweight, the three listed women's divisions, and men's or women's pound-for-pound. **All** includes every displayed category. It does not deduplicate fighters across categories; a champion may also appear on a pound-for-pound list. In a division ranking, the champion has `rank: 0`, followed by numbered contenders. A pound-for-pound list starts at `rank: 1`.

Example for completed events:

```json
{
  "mode": "byEvent",
  "season": 2026,
  "maxItems": 30
}
```

Example for a focused fighter search:

```json
{
  "mode": "searchFighters",
  "searchQuery": "Islam",
  "maxItems": 20
}
```

A year in the future produces no completed events. A narrow name search can produce fewer records than `maxItems`. A single ranking category usually produces roughly a champion and fifteen contenders, so asking for 50 records from one class does not create extra entries.

### Output example

This fighter item came from a successful 30-record ranking run on September 26, 2026. Selected fields are shown; the dataset includes every documented field.

```json
{
  "recordType": "fighter",
  "sourceUrl": "https://www.ufc.com/athlete/islam-makhachev",
  "scrapedAt": "2026-09-26T19:17:59.273927+00:00",
  "athleteId": "islam-makhachev",
  "name": "Islam Makhachev",
  "nickname": null,
  "weightClass": "Men's Pound-for-Pound",
  "division": "Welterweight",
  "rank": 1,
  "record": "29-1-0",
  "wins": 29,
  "losses": 1,
  "draws": 0,
  "isChampion": true,
  "height": "70.00 in",
  "weight": "170.00 lbs",
  "reach": "70.50 in",
  "legReach": "40.50 in",
  "placeOfBirth": "Dagestan, Russia",
  "age": 34,
  "active": true,
  "fightWinStreak": 17,
  "winsByKnockout": 5,
  "winsBySubmission": 13,
  "significantStrikesLanded": 507,
  "takedownsLanded": 13
}
```

A completed-event item has `recordType: "event"` and a `fights` array. One observed UFC 330 card contained 12 fights; its main bout listed Islam Makhachev and Ian Machado Garry, a five-round unanimous decision, and the winner. The dataset keeps the full card in one item, which makes it possible to join event metadata to every bout after export.

### Use cases

- **Ranking history:** Save the same categories on a schedule, then compare movement and championship changes over time. Keep the collection date alongside `weightClass`, `rank`, and `athleteId`.
- **Fighter research:** Search a name and compare displayed records, physical measurements, win methods, and career totals. Use the profile link to verify any surprising value.
- **Event archives:** Retrieve completed cards for a season and store the event date, location, fighters, winners, rounds, and methods in one consistent export.
- **Fight-result analysis:** Expand `fights` into one row per bout to count methods or outcomes by division, event month, or fighter. Keep `fightId` and `eventId` as join keys.
- **Coverage checks:** Compare expected event cards with completed results. Empty winner or method values show where a source page has not yet published a final outcome.
- **Editorial preparation:** Gather current names, rankings, and public profile facts for a preview or recap, then review the cited source pages before publication.

### How much does it cost to scrape UFC?

The configured result price is **$0.001 per saved record**, or **$1.00 per 1,000 results**. A fighter is one result. An event with its whole fight card is also one result; the individual bouts in `fights` are not charged as separate saved records. The run stops at `maxItems` or an applicable spending limit, whichever comes first.

| Example | Saved records | Result charge |
| --- | ---: | ---: |
| One broad ranking sample | 30 fighters | $0.03 |
| One completed-event season sample | 30 events | $0.03 |
| Broad fighter-name collection | 500 fighters | $0.50 |

These examples calculate the result charge at the configured rate. The number of pages fetched can vary substantially: 30 fighter results require profile visits, while 30 event results require event-page visits and listing pagination. A narrow division or query can return fewer than the requested cap, so the final charge follows the number actually saved. The full current ranking contains fewer entries than a large 1,000-record cap; the latter is mainly relevant to broad searches or long event collections.

### Tips for best results

Use a specific `weightClass` when you need a single division. Use **All** when comparing divisions or pound-for-pound lists, and deduplicate on `athleteId` later if your analysis needs unique people. A fighter's `weightClass` in ranked mode names the ranking that produced the row; `division` names the current profile division. These can differ for a pound-for-pound entry.

Use at least two characters for a name lookup; the public listing returns no matches for a single character. A distinctive fragment keeps the result set focused. The listing is paginated, and a very broad fragment can reach the actor's safety cap before the site runs out of matches. Increase `maxItems` only when you need the extra saved profiles.

For event history, choose the year you need. The actor walks the public completed-event listing backward and opens each event page to read the full card. Recent years appear earlier and therefore finish faster. The parser stops once it reaches an event older than the selected year. A year with no completed events returns an empty dataset. If the site publishes a result after your scheduled collection, run the same year again to capture the updated page.

Keep `sourceUrl` with every export. It provides a direct path back to the public record when a ranking or result changes. Keep `scrapedAt` as well, because rankings and athlete profiles are current snapshots rather than immutable historical records. For a reproducible archive, save periodic datasets instead of overwriting earlier exports.

### Limits

UFC can change page structure, result timing, rankings, and public availability. This actor reads current public pages and does not recover information absent from them. Some profile fields are empty for particular fighters. The site does not consistently expose a stance, nationality, or structured title-defense count on these pages, so `stance`, `country`, and `titleDefenses` remain `null`; `placeOfBirth` is supplied separately and is not treated as nationality. The completed event page does not provide a consistent per-corner career record in the fight card, so `fighter1Record` and `fighter2Record` remain `null`.

Ranking entries are limited to the categories and positions currently displayed on the public rankings page. A selected division structurally yields fewer than 30 entries. The all-category view is larger, but some fighters occur in several categories. Name search follows the athlete listing at 11 cards per page, with a 100-page safety cap. Completed-event collection also stops after at most 100 listing pages. Distant historical years may therefore be beyond its reach; the actor does not claim to cover every event since the beginning of the sport.

Connection restrictions may vary by network. In testing, the first datacenter requests received a 403 response, after which the actor obtained public pages through the configured fallback. This can affect speed and cost of fetching, although the result charge is based on saved records. The actor does not enter an account or retrieve restricted pages. An event page may list announced bouts before outcomes are final; completed-event mode uses the site's past-events listing, but individual result fields still depend on what that page has published.

### Use with AI agents (MCP)

Add this actor to any MCP client (Claude, Cursor, VS Code, n8n and others) with one URL:

`https://mcp.apify.com?tools=mlg14/ufc-scraper`

The actor returns one dataset item per UFC fighter (name, rank, record, division, height, age, place of birth) or per completed event with its full fight-by-fight card. Always set `maxItems`; 10 to 50 records finish in about a minute.

**Prompt 1:** "Get the current UFC lightweight rankings with fighter records."

```json
{
  "mode": "topRanked",
  "weightClass": "Lightweight",
  "maxItems": 16
}
```

**Prompt 2:** "Look up Islam Makhachev's UFC profile and record."

```json
{
  "mode": "searchFighters",
  "searchQuery": "Islam Makhachev",
  "maxItems": 5
}
```

**Prompt 3:** "List UFC events from 2025 with the winner, round and method of every fight."

```json
{
  "mode": "byEvent",
  "season": 2025,
  "maxItems": 10
}
```

### FAQ

**Is this legal to use?** It reads public pages. Follow the site's terms and applicable privacy rules, and use the data responsibly. Avoid personal-data misuse and verify any reuse obligations relevant to your project.

**Do I need to configure a connection?** Usually no. The default connection starts with a standard route and can switch when the site blocks it. An override is available if your environment requires one.

**How fast is a run?** In recent checks, 30 ranked fighter records and 30 event records each completed in under a minute after the build was ready. Runtime varies with the number of profile or event pages, site response time, and connection challenges.

**Can I schedule or monitor repeated collections?** Yes. Set a recurring run and retain each dataset with its extraction timestamp. Compare records across runs to detect ranking changes, newly published results, or profile updates.

**Can I export to a spreadsheet?** Yes. Download CSV for a flat fighter table. Event exports contain a nested `fights` array; expand that array into one row per bout if your spreadsheet needs bout-level analysis.

**Why is a field empty?** The source page may not display it, or it may not display it in a stable structured location. Empty values are kept as `null` so the actor does not guess at measurements, nationality, title defenses, or unfinished results.

**Why are there fewer than 30 results for one class?** A single ranking normally has about one champion and fifteen numbered contenders, and pound-for-pound lists have numbered positions without a separate champion row. `maxItems` is a ceiling, not a target.

### Integrations

Use the dataset link to retrieve JSON or CSV, attach a webhook to new runs, or place the actor on a schedule. For reporting, store fighter rows directly and expand each event's `fights` array into a separate bout table joined by `eventId`. Preserve source links and extraction times so later updates can be traced to the page and run that supplied them.

### Support

Open an issue on the Issues tab; we reply within 24h and add fields on request.

# Actor input Schema

## `mode` (type: `string`):

What to collect. Allowed values: topRanked (ranked fighters), byEvent (completed events with full fight cards), searchFighters (fighter name search). Example: topRanked. Use topRanked for rankings and byEvent for fight results.

## `weightClass` (type: `string`):

Ranking division for topRanked mode. Allowed values: All, Heavyweight, Light Heavyweight, Middleweight, Welterweight, Lightweight, Featherweight, Bantamweight, Flyweight, Women's Bantamweight, Women's Strawweight, Women's Flyweight, Men's Pound-for-Pound, Women's Pound-for-Pound. Example: Lightweight. Use All for every list.

## `searchQuery` (type: `string`):

Fighter name for searchFighters mode, at least 2 characters. Example: Islam Makhachev. Use only with mode searchFighters; leave empty in the other modes.

## `season` (type: `integer`):

Calendar year of completed events for byEvent mode, 1993 to 2100. Example: 2025. Leave empty to use the current UTC year.

## `maxItems` (type: `integer`):

Maximum fighter or event records to save, 1 to 1000. Each event record includes its full fight card. Example: 30. Keep it small (10-50) for AI agent calls so the run stays short.

## `proxyConfiguration` (type: `object`):

Connection settings for public pages. Default settings are suitable for most runs.

## Actor input object example

```json
{
  "mode": "topRanked",
  "weightClass": "All",
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

Collected records in the default dataset.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mode": "topRanked",
    "weightClass": "All",
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("mlg14/ufc-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "mode": "topRanked",
    "weightClass": "All",
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("mlg14/ufc-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "topRanked",
  "weightClass": "All",
  "maxItems": 50
}' |
apify call mlg14/ufc-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mlg14/ufc-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/JOAJxwSaAbVWML9gS/builds/bwxxUxbxvrxuTeprf/openapi.json
