# Opta Analyst Ranking Scraper (`alaricus/opta-ranking-scraper`) Actor

Extract official Opta Analyst Global Power Rankings. Get team ratings, 7-day performance changes, and rankings for 13,000+ football clubs. Fast & Reliable.

- **URL**: https://apify.com/alaricus/opta-ranking-scraper.md
- **Developed by:** [Alaricus](https://apify.com/alaricus) (community)
- **Categories:** Social media, Other, News
- **Stats:** 36 total users, 7 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.99 / 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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Opta Analyst Ranking Scraper: Global Football Power Rankings

[![Opta Ranking Scraper Actor](https://apify.com/actor-badge?actor=alaricus/opta-ranking-scraper)](https://apify.com/alaricus/opta-ranking-scraper)

### What does the Opta Analyst Ranking Scraper do?

The **Opta Analyst Ranking Scraper** is a high-precision data extraction tool designed to pull the official **Global Power Rankings** for over 13,000 domestic football teams. It captures the world-renowned ELO-based ratings that define team strength across all major and minor leagues.

Unlike generic scrapers, this tool replicates the exact search functionality of the Opta Analyst website, allowing you to filter by **Team**, **League**, or **Country**.

### Key Features

- **Massive Global Coverage:** Access the most comprehensive database in football.
  - **Men's Rankings:** 13,000+ domestic teams across the globe.
  - **Women's Rankings:** 2,500+ domestic teams from all major professional leagues.
- **Replicated Website Search:** The scraper works exactly like the official Opta interface. Filter data by:
  - **Team Name:** (e.g., "Arsenal", "Benfica")
  - **League:** (e.g., "Premier League", "La Liga", "NWSL")
  - **Country:** (e.g., "Brazil", "Germany", "USA")
- **Identify Climbers & Fallers:** Capture the `seven_days_ranking_change` metric to instantly identify which teams are rising or falling in the global hierarchy.
- **Gender-Specific Data:** Dedicated toggles for Men’s and Women’s football ecosystems.
- **Official Opta Ratings:** Extract the 0–100 ability score assigned by Opta's proprietary ELO-based algorithms.

### Why scrape Opta Analyst Rankings?

Opta Analyst is the "Home of Truth" for football data-driven storytelling. In 2026, these power rankings are the industry standard for:

- **Betting & Predictive Models:** Integrate official ratings into your algorithms to calculate match probabilities.
- **Media & Journalism:** Power your sports dashboard with live-updating global leaderboards and performance "climbers and fallers."
- **Scouting & Recruitment:** Identify "dark horse" teams in smaller leagues who are rapidly climbing the global rankings.

### How to use the Scraper

1. **Click "Try for free"**: Sign up for an Apify account (no credit card required).
2. **Configure Input**: Choose one of the four powerful scraping modes:
   - **Full Database:** Leave the keyword list empty to scrape the entire global table.
   - **Specific Search:** Use this for targeted data. You can search for:
     - **Single or Multiple Items:** Add multiple objects to the search list to scrape different teams, leagues, or countries at the same time.
     - **Accuracy Mode:** For teams with common names, provide both the **Name** and the **Country** (e.g., `"Liverpool"` + `"Uruguay"`) to ensure you get the exact team you want.
   - **Biggest Climbers:** Scrape only the teams with the highest positive rank volatility over the last 7 days.
   - **Biggest Fallers:** Scrape only the teams dropping fastest in the global standings.
   - **Limit Results:** Use the `max_results` field to cap your output (e.g., "Top 100").
3. **Select Category**: Choose between the **Men's Table** or **Women's Table** under the Global Filters section.
4. **Click Run**: The scraper handles dynamic data loading and extracts the normalized ranks.
5. **Download Data**: Export your rankings in JSON, CSV, or Excel from the **Dataset** tab.

### Input Parameters

The **Opta Ranking Table Scraper** uses a structured input to target specific football data. Below are the parameters available in the console or via API:

| Parameter | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| **Scraping Mode** (`mode`) | `String` | `full` | **Required.** Choose the logic: <br>• `full`: Scrapes the global database. <br>• `search`: High-accuracy search mode. <br>• `climbers`: Targets weekly rank gainers. <br>• `fallers`: Targets weekly rank losers. |
| **Category** (`gender`) | `String` | `men` | **Required.** Choose between `men` (13,000+ teams) or `women` (2,500+ teams). |
| **Maximum Results** (`max_results`) | `Integer` | `999999` | Limit the total rows extracted to control costs or speed. |
| **Specific Search List** (`search_keywords`) | `Array` | `[]` | Used in `search` mode. Each object contains: <br>• `name`: (String) Team/League/Country name. <br>• `country`: (Optional) Resolve ambiguous names. |

#### Advanced Search Example

To search for multiple entities or specific regional teams, use the array format:

```json
{
  "mode": "search",
  "gender": "men",
  "max_results": 3,
  "search_keywords": [
    {
      "name": "Liverpool",
      "country": "Uruguay"
    },
    {
      "name": "Serie A",
      "country": "Brazil"
    }
  ]
}
```

#### Output in this case woude be like this:

```json
[
    {
        "global_rank": 638,
        "team": "Liverpool",
        "logo": "https://omo.akamai.opta.net/image.php?secure=true&h=omo.akamai.opta.net&sport=football&entity=team&description=badges&dimensions=150&id=1p2mbne1t0rwtj3go5f5z98pu",
        "rating": 71.9,
        "seven_days_ranking_change": -1,
        "scraped_at": "2026-02-17T11:32:02.321389+00:00"
    },
    {
        "global_rank": 62,
        "team": "Flamengo",
        "logo": "https://omo.akamai.opta.net/image.php?secure=true&h=omo.akamai.opta.net&sport=football&entity=team&description=badges&dimensions=150&id=102ykb145wz6dtveg65nistwm",
        "rating": 83.9,
        "seven_days_ranking_change": 3,
        "scraped_at": "2026-02-17T11:32:03.667414+00:00"
    },
    {
        "global_rank": 70,
        "team": "Palmeiras",
        "logo": "https://omo.akamai.opta.net/image.php?secure=true&h=omo.akamai.opta.net&sport=football&entity=team&description=badges&dimensions=150&id=b9d2xcvxxcwplyp4le9ulnlv9",
        "rating": 83.1,
        "seven_days_ranking_change": 4,
        "scraped_at": "2026-02-17T11:32:03.667414+00:00"
    }
]
```

### 💡 Pro Tip: Scraping the "Top 5" European Leagues

To quickly extract data for all teams in the top European divisions, use the **Specific Search List** mode. By adding multiple league names, the scraper will batch the results into a single dataset.

**Example Input for the Top 5 Leagues:**

- **Leagues included:** Premier League (England), La Liga (Spain), Serie A (Italy), Bundesliga (Germany), and Ligue 1 (France).

```json
{
  "mode": "search",
  "gender": "men",

  "search_keywords": [
    {
      "name": "Premier League",
      "country": "England"
    },
    {
      "name": "Primera Division",
      "country": "Spain"
    },
    {
      "name": "Serie A",
      "country": "Italy"
    },
    {
      "name": "Bundesliga",
      "country": "Germany"
    },
    {
      "name": "Ligue 1",
      "country": "France"
    }
  ]
}
```

### 💰 Pricing: Pay-Per-Event (PPE)

This Actor uses the **Pay-Per-Event** pricing model. This is the most transparent way to pay for data—you only pay for the teams you actually scrape.

- **Price per 1,000 results:** $3.99
- **Price per single team:** $0.00399

**Cost Examples:**

- Top 100 teams: $0.40
- Top 1,000 teams: $3.99
- Full Men's Database (13,000+ teams): ~$52.00

### 🛠 Troubleshooting

- **Empty Results:** Ensure the `name` or `country` matches the official spelling on Opta Analyst.
- **Wrong Team/Country:** If a team name is common (e.g., "National"), always provide the **country** in the **Specific Search List** to force the correct match.
- **Actor Timeout:** For large "Full Mode" scrapes, ensure your Apify proxy settings are enabled to prevent IP blocking.
- **Incomplete Data:** Check your `max_results` setting; it may be capping the output before the scraper finishes the full list.

### ✉️ Feedback & Custom Work

I am committed to keeping this scraper to be reliable. If you encounter any issues or have ideas for new features, I am here to help.

- **Bug Reports:** I respond quickly to issues to ensure your data pipelines stay active.
- **Feature Requests:** Need additional data points like club logos or deeper metrics? Let me know.
- **Custom Scraper Development:** I am open to **business offers** for custom Actor development. Whether it’s sports, e-commerce, or specialized automation, I can build a tailored solution for your needs.

**Contact me:** bd.pascari@gmail.com

# Actor input Schema

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

Select how you want to extract data.

## `gender` (type: `string`):

Select what kind of teams you want to scrape men or women

## `max_results` (type: `integer`):

Limit the total number of rows to scrape.

## `search_keywords` (type: `array`):

Provide Name and optional Country for high accuracy.

## Actor input object example

```json
{
  "mode": "full",
  "gender": "men",
  "max_results": 999999
}
```

# Actor output Schema

## `results` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("alaricus/opta-ranking-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("alaricus/opta-ranking-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 '{}' |
apify call alaricus/opta-ranking-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,alaricus/opta-ranking-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/c2wBtgTO322lPYA3f/builds/x4zHsgapGnpbxdojE/openapi.json
