# UFC Rankings, Fighters & VOD Metadata Scraper (`datascraperes/ufc-rankings-fighters-vod-scraper`) Actor

Extract UFC ranking records, fighter directory and profile data, event listings, and popular video metadata. Choose a data mode and save structured records to an Apify Dataset.

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

## Pricing

from $1.60 / 1,000 ufc records

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

Extract public UFC data into a structured Dataset. Choose rankings, fighters, profiles, events, fight results and round statistics, or video metadata, then export the rows as JSON or CSV. **No UFC account is needed.**

### What this Actor does

This Actor collects public records from a UFC data service. It provides seven modes: rankings, the fighter directory, fighter profiles by numeric ID, the event snapshot, fight cards with results and round statistics, popular video metadata, and video details by numeric ID.

Each Dataset item contains a `recordType`, a stable `recordId`, the UTC `retrievedAt` time, and a `data` object with the fields returned for that record type. The Actor removes purchase, playback, credential, and viewing-state fields before saving video metadata. It does not download or play videos.

### Use cases

- Build a machine-readable snapshot of rankings or fighter profiles for analysis.
- Track the public event schedule and enrich known fighter IDs with profile fields.
- Analyze fight results, both participants, striking and grappling totals, and the statistics supplied for each round.
- Collect popular UFC video metadata or look up specific VOD IDs.

### How to use

1. In the input form, choose **What would you like to collect?** For a first run, keep **Rankings** selected.
2. Set **Maximum results**. Keep **1** for a small first run.
3. For **Fighter profiles** or **Video details**, add IDs in the matching optional section. For **Fight cards, results and round statistics**, optionally add event IDs; leave them empty to collect from the current event snapshot, recent past events first.
4. Click **Start**, then open the Dataset to export the records.

You do not need to write JSON. To find IDs, collect **Fighter directory**, **Popular videos**, or **Events** first. For fight cards, copy the numeric `eventId`, not the external `eventRef.id`.

### Input

The form provides a dropdown, a result limit, and optional numeric ID lists. For API users, the equivalent complete input is:

```json
{
  "mode": "rankings",
  "eventIds": [],
  "fighterIds": [],
  "vodIds": [],
  "maxItems": 1
}
```

The JSON above is the full input contract. `mode` is required. All three ID arrays default to empty and should only be populated for their matching mode. `maxItems` defaults to 100 and allows up to 500 rows; it controls the number of Dataset rows, not the number of records available at the source.

| Field | Description |
|---|---|
| `mode` | Required. `rankings`, `fighters`, `fighterProfiles`, `events`, `popularVods`, `vodDetails`, or `fights`. |
| `fighterIds` | Positive numeric IDs for `fighterProfiles`. The Actor reports unknown IDs in the run summary. |
| `vodIds` | Positive numeric IDs for `vodDetails`. The Actor reports unknown IDs in the run summary. |
| `eventIds` | Optional positive numeric `eventId` values for `fights`, at most 50 unique IDs. Empty selects the current snapshot, recent past events first. |
| `maxItems` | Maximum rows to save: one to 500 rows. For profile or VOD detail mode, it must be at least the number of IDs supplied. |

The example uses the exact input from a successful one-record rankings run. To collect a larger list, increase `maxItems` or choose another mode. Filters by name, weight class, country, or event date are not available.

### Output

The default Dataset contains one item per unique record delivered. This is the complete Dataset item from a successful run:

```json
{
  "recordType": "ranking",
  "recordId": "ranking:70:MIDDLEWEIGHT:9",
  "retrievedAt": "2026-11-13T07:38:52.666910Z",
  "data": {
    "fighterID": 70,
    "externalSource": {
      "id": "3051",
      "provider": "FIGHT_METRIC"
    },
    "rank": "9",
    "category": "MIDDLEWEIGHT",
    "firstName": "Israel",
    "lastName": "Adesanya",
    "nickname": "The Last Stylebender",
    "uFCLink": "http://www.ufc.com/athlete/Israel-Adesanya",
    "image": "https://static.diceplatform.com/prod/original/mma/fightmetric/fighter/3051/HEADSHOT.png",
    "born": "NGR",
    "wins": 24,
    "losses": 6,
    "draws": 0,
    "noContests": 0,
    "previousRank": "9"
  }
}
```

The `data` fields vary by mode and retain the source's nested structures. `fighterProfiles` includes biographical, measurement, record, fight-history, striking, grappling, and gallery fields when supplied. `events` returns event schedule records. `fights` returns one row per unique combat with `fightId`, parent `event`, `red` and `blue` participants, and `hasFinalStats`. Results, referee, judging scores, `stats`, `additionalStats`, and `statsByRound` are included when the source supplies them. Upcoming fights can have empty statistics and no result; these are not converted into zeros. Internal IDs and external references are different identifiers. A `SUMMARY` record in the run's key-value store reports completion, delivered row count, and IDs not found. Export Dataset rows in JSON, CSV, Excel, or another format supported by Apify.

### Pricing

One `ufc-record` event represents one unique Dataset row after it has been saved and verified. Unknown IDs and records that were not delivered do not trigger that event. Each fight row includes both participants and its available round statistics at that same price; there is no extra charge per round or statistic.

The following tier prices apply per saved record. Check the Actor's Pricing tab before starting a run.

| Tier | Price per record | Equivalent per 1,000 records |
|---|---:|---:|
| FREE | $0.00250 | $2.50 |
| BRONZE | $0.00200 | $2.00 |
| SILVER | $0.00180 | $1.80 |
| GOLD | $0.00160 | $1.60 |
| PLATINUM | $0.00160 | $1.60 |
| DIAMOND | $0.00160 | $1.60 |

Charges apply per delivered record; the per-1,000 amount is a comparison equivalent. The launch tariff includes platform usage and has no start fee. At the BRONZE price, 50 rows cost $0.10 and 500 rows cost $1.00. The run limit remains 500 rows.

### Related Actors

| Actor | Best for |
|---|---|
| [YouTube Channel Videos Scraper | Shorts & Streams](https://apify.com/datascraperes/youtube-channel-scraper) | Build a separate public video catalogue for UFC or other YouTube channels. |
| [Twitch VOD & Clip Metadata Extractor](https://apify.com/datascraperes/twitch-video-metadata) | Enrich known Twitch VOD or clip IDs with their public metadata. |

### Limits and data quality

Rankings and the fighter directory use the source's cursor pagination and deduplicate records across pages. The source can change while pages are being collected, so a run is not an atomic snapshot. `maxItems` caps the rows the Actor saves. Fighter profiles require numeric IDs; IDs the source does not recognize are listed in `SUMMARY.notFoundIds` and do not create Dataset rows.

The `events` mode returns the current selection of upcoming and past event schedules, not a complete historical archive. Use `fights` for fight cards, results and available round statistics. The popular VOD mode returns a limited selection of videos; increasing `maxItems` does not turn it into a complete video catalogue. VOD details provide metadata only and never unlock or download media.

Fight history in fighter profiles may contain only recent or selected fights. It is not guaranteed to cover a fighter's entire career.

Source data may change or omit fields. The Actor returns fields as supplied and does not estimate missing values. If the source fails or a requested record cannot be saved, the run stops and its summary marks the collection incomplete; rows already saved remain in the Dataset.

If the input reaches the Actor but needs correction, the run ends normally with warnings explaining which fields to change. No collection starts and no records are charged. `SUMMARY.status` is `INVALID_INPUT`, with `complete=false` and an `inputIssues` list; this is not a completed collection. Apify may reject malformed submissions before a run starts. Unknown numeric IDs are listed in `SUMMARY.notFoundIds`; any available requested records are kept, and the summary marks the collection incomplete.

### Frequently asked questions

#### Do I need a UFC account?

No. The supported public data modes do not require account details.

#### Can I search for a fighter by name?

No. The confirmed profile route accepts numeric fighter IDs. Use `fighters` to collect the directory, then pass selected IDs to `fighterProfiles`.

#### Does the event mode include fight cards or results?

The **Events** option returns schedule records. Choose **Fight cards, results and round statistics** (`fights`) to collect the fights for selected event IDs or from the current snapshot. Each row contains one fight with its available results and statistics.

#### Can I download the videos returned by VOD modes?

No. The Actor returns public video metadata only. It does not retrieve playback streams, purchase options, or media files.

### Responsible use

Use the data in ways you are entitled to access and process. You are responsible for complying with the source's terms and applicable privacy, copyright, and other requirements. Public availability does not grant permission to republish media.

### Support

For an unexpected result, open an issue in the Actor's **Issues** tab. Include the run ID, selected mode, a small reproducible input, and the relevant `SUMMARY` status. Do not include account credentials or private content.

[Python, JavaScript and cURL integration examples on GitHub](https://github.com/datacrawler-edu/ufc-data-api-python)

# Actor input Schema

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

Choose Rankings, Fighter directory, Events, Popular videos or Fights without IDs. For specific profiles, videos or fight cards, use the matching optional ID section below.

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

Choose how many records to save, from 1 to 500. Start with 1 to try the Actor. For profiles or video details, this number must be at least the number of IDs you add.

## `fighterIds` (type: `array`):

Add one numeric fighter ID per field. To find IDs, collect the Fighter directory first and copy the IDs from its results. Do not repeat an ID.

## `vodIds` (type: `array`):

Add one numeric video ID per field. To find IDs, collect Popular videos first and copy the IDs from its results. Do not repeat an ID.

## `eventIds` (type: `array`):

Optional numeric event IDs from Events results (eventId, not eventRef.id). One field per ID, at most 50 IDs. maxItems limits delivered fights across all selected cards.

## Actor input object example

```json
{
  "mode": "rankings",
  "maxItems": 1,
  "fighterIds": [],
  "vodIds": [],
  "eventIds": []
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `summary` (type: `string`):

No description

# 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": "rankings",
    "maxItems": 1,
    "fighterIds": [],
    "vodIds": [],
    "eventIds": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("datascraperes/ufc-rankings-fighters-vod-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": "rankings",
    "maxItems": 1,
    "fighterIds": [],
    "vodIds": [],
    "eventIds": [],
}

# Run the Actor and wait for it to finish
run = client.actor("datascraperes/ufc-rankings-fighters-vod-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": "rankings",
  "maxItems": 1,
  "fighterIds": [],
  "vodIds": [],
  "eventIds": []
}' |
apify call datascraperes/ufc-rankings-fighters-vod-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datascraperes/ufc-rankings-fighters-vod-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/0jDlVIy2LcKK9xOsf/builds/0p3ieOYwkBQxKF4xT/openapi.json
