# Fotmob Scraper (`normdata/fotmob-scraper`) Actor

Every shot's exact location and xG, minute-by-minute momentum, head-to-head history, and attack-zone breakdown - for any FotMob match, league, or day of fixtures worldwide. Full standings, season fixtures, and transfers per competition, plus a complete leagues directory.

- **URL**: https://apify.com/normdata/fotmob-scraper.md
- **Developed by:** [Norm Data](https://apify.com/normdata) (community)
- **Features:** Limited permissions
- **Stats:** 3 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 match results

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

![Norm Data](https://raw.githubusercontent.com/FabriAV/normdata/refs/heads/main/assets/banner_norm2.png)

## ⚽ FotMob Scraper

Every shot's exact location and expected goals, minute-by-minute match momentum, head-to-head history, and attack-zone breakdown, for any football match, league, or day of fixtures worldwide. One Actor covers matches, leagues, and the full competitions directory. No login.

Point it at a match ID, a date, or a league ID, and get export-ready data for analytics, fantasy tools, media, and league dashboards.

> 👉 **Try it now:** press **Start**. The ready-made input gives you 10 match results in a few seconds.<br>
> 💰 **$0.02 per match result** on the Free plan (10 match results per run), from $0.016 on paid plans. [See pricing](#-pricing)

### ✨ Why this scraper?

> - **Far more per match than a bare score**<br>
>   Shot-by-shot xG, head-to-head history, live momentum, and attack-zone data all come on every match record, at no extra request.
>
> - **One Actor instead of four**<br>
>   Matches, leagues, and the leagues directory are all built in, not separate purchases.
>
> - **Real transfer data and deeper standings on every league**<br>
>   Recent transfers, plus home/away/form/xG standings breakdowns, come with every league pull, not just the plain table.
>
> - **Fast and reliable at real scale**<br>
>   Tested at 1,000 full match records in well under a minute, zero duplicates, zero crashes under load.
>
> - **No login, no API key**
>
> - **Match**<br>
>   One deep record per match, with final score, lineups and formations, per-player stats and ratings, the goal/card/substitution timeline, a full team-stat comparison, venue, referee, weather, player of the match, a shot-by-shot map with expected goals (xG), head-to-head history, a minute-by-minute momentum graph, and an attack-zone breakdown.
>
> - **Apify platform**<br>
>   Schedule runs, get only new match results, export to Excel or CSV, use the API, or connect Google Sheets, Zapier and Make.

### ⚖️ How it compares

Checked directly against the closest real competitor set on Apify (their own declared input/output):

| Capability | This actor | Closest competitors |
|---|:--:|:--:|
| Shot-by-shot map with per-shot xG | **yes** | not documented |
| Head-to-head history | **yes** | not documented |
| Match momentum graph | **yes** | not documented |
| Attack-zone breakdown | **yes** | not documented |
| Recent transfers per league | **yes** | not documented |
| Matches + Leagues + Directory in one Actor | **yes** | 4 separate Actors |
| Reported reliability | tested clean at 1,000-record scale | one competitor sits at 87 to 93% success |

### 🚀 How to scrape FotMob

1. Create a free Apify account.
2. Pick the filters you need, or keep the ready-made input.
3. Click **Start**.
4. Download the match results as Excel, CSV or JSON from the **Output** tab.

### 💰 Pricing

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

You pay a one-time **$0.003** per run, plus a price for each match result saved (and for each add-on you turn on):

| Charged for | Free | Bronze | Silver | Gold+ |
| --- | --- | --- | --- | --- |
| **Match result**: Full match record: score, lineups, stats, shotmap, and more. | 0.02 | 0.016 | 0.013 | 0.01 |
| **League result**: Full league record: standings, fixtures, and transfers. | 0.0178 | 0.0144 | 0.0122 | 0.01 |
| **Matches result**: One match listing for a given date. | 0.005 | 0.0042 | 0.0036 | 0.003 |
| **Leagues result**: One league directory entry. | 0.0015 | 0.0013 | 0.0011 | 0.0009 |

Example: 1,000 match results cost about **$16** on Bronze. No proxy or compute costs on top.

### 📦 What data you get

| Entity | Useful fields |
| --- | --- |
| Match | ID, URL, teams, score, stadium, capacity, referee, weather, player of the match, highlights link, lineups, formations, per-player stats and ratings, the goal/card/substitution timeline, and a full team-stat comparison. |
| Shot & momentum data | A shot-by-shot map with pitch coordinates and xG, a minute-by-minute momentum graph, and a left/center/right attack-zone split per team per half. |
| Head-to-head | Summary record and the real match history between the two teams. |
| League | Standings (plus home/away/form/xG breakdowns), season fixtures and results, top players, and recent transfers. |
| Directory | Every real competition worldwide, for discovering league IDs. |

Every record includes `scraped_at` (UTC). Download your dataset from Apify as CSV, JSON, Excel, or XML.

### ⚙️ Input

Pick a **mode** and a **maximum results** cap first, then fill in only the section that matches your mode:

| Section | What it's for |
| --- | --- |
| **Match mode** | Real FotMob match IDs, for a full per-match breakdown. |
| **Matches mode** | Dates in `YYYYMMDD` format, each getting its own fair share of the results cap. |
| **League mode** | Real FotMob league IDs, for standings, fixtures, and transfers. |

Leagues mode needs nothing else, it returns the full competitions directory. Use it to discover the league or match IDs the other modes need.

> **Apify Free plan:** every run is limited to a fixed 10-row sample. Upgrade your Apify plan to run your own settings.

#### Input examples

#### 📊 Full breakdown of one match

```json
{ "mode": "match", "matchIds": ["5795363"] }
```

#### 📅 Every match on a given date

```json
{ "mode": "matches", "dates": ["20260920"] }
```

#### 🏆 A league's standings, fixtures, and transfers

```json
{ "mode": "league", "leagueIds": ["47"] }
```

#### 🔎 Discover league IDs

```json
{ "mode": "leagues" }
```

### ❓ FAQ and troubleshooting

#### Is there a FotMob API? Do I need an API key?

> FotMob has no public data API for this. This Actor works as a FotMob API alternative: it reads the public pages and gives you clean JSON, CSV or Excel, with no API key, no login and no code to maintain. You can also call it from your own code with the Apify API, or from an AI agent through MCP:
> `claude mcp add --transport http apify "https://mcp.apify.com?tools=normdata/fotmob-scraper"`

#### Why do I get only 10 match results?

> On the Apify free plan each run saves up to 10 results, so you can try it before paying. Any paid plan removes the limit.

#### `weather` or `highlights_url` is null

> FotMob doesn't set them for every match (indoor, older or lower-profile fixtures). It's a gap in the source, not a parsing failure.

#### A match has no score or stats

> It hasn't been played yet. Run it again after full time.

#### What are the limits?

> This Actor reads only FotMob's own public match, league, and directory data. It never signs in and never accesses anything gated behind an account.
>
> `weather` or `highlights_url` are sometimes null because FotMob itself doesn't set them for every match (indoor, older, or lower-profile fixtures), a real source-side gap, not a parsing failure. A match that hasn't started yet has no result status text in Matches mode; it fills in once the match kicks off.
>
> If a match, league, or date can't be loaded, that row is skipped with a warning in the run log. The rest of the run continues.

#### Is this an official FotMob tool?

> No. It is independent and not affiliated with FotMob. It reads only data FotMob publishes on its public pages, at a moderate pace. Use the data in line with FotMob's terms and the laws that apply to you.

### 📧 Contact

Need a scraper for a different site, or found something wrong with this one? norm.data.scrapers@gmail.com

# Changelog

This Actor's version history is a separate document: https://apify.com/normdata/fotmob-scraper/changelog.md

# Actor input Schema

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

Match: one deep record per match ID. Matches: every match on a given date, across every competition. League: a competition's full standings, season fixtures, and transfers. Leagues: the full directory of competitions. Only the fields for the mode you pick are used.

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

Caps how many rows this run writes. Starts at 10 for a quick sample; raise it for a full run.

## `matchIds` (type: `array`):

One or more real FotMob match IDs (the number after "#" in a match URL).

## `dates` (type: `array`):

One or more dates in YYYYMMDD format (e.g. "20260920"), each getting its own fair share of maxItems.

## `leagueIds` (type: `array`):

One or more real FotMob league/competition IDs (e.g. "47" for the Premier League - use Leagues mode to discover IDs).

## Actor input object example

```json
{
  "mode": "match",
  "maxItems": 10,
  "matchIds": [
    "5795363"
  ],
  "leagueIds": [
    "47"
  ]
}
```

# Actor output Schema

## `listings` (type: `string`):

Complete dataset with all scraped rows.

## `overview` (type: `string`):

Overview view with key fields displayed in a table.

# 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": "match",
    "maxItems": 10,
    "matchIds": [
        "5795363"
    ],
    "leagueIds": [
        "47"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("normdata/fotmob-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": "match",
    "maxItems": 10,
    "matchIds": ["5795363"],
    "leagueIds": ["47"],
}

# Run the Actor and wait for it to finish
run = client.actor("normdata/fotmob-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": "match",
  "maxItems": 10,
  "matchIds": [
    "5795363"
  ],
  "leagueIds": [
    "47"
  ]
}' |
apify call normdata/fotmob-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,normdata/fotmob-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/8aDMj1sTTjRn0GC88/builds/LOWMYbcuEf3cUGbXz/openapi.json
