# Transfermarkt Market Values and Transfers Scraper (`rawtojson/transfermarkt-values-transfers`) Actor

Player market values by league or club and the latest football transfers from Transfermarkt, as clean JSON.

- **URL**: https://apify.com/rawtojson/transfermarkt-values-transfers.md
- **Developed by:** [Juan Francisco](https://apify.com/rawtojson) (community)
- **Categories:** Other
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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/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

## Transfermarkt Market Values and Transfers Scraper

Get **Transfermarkt player market values** for any league or club, plus the **latest football transfers**, as clean JSON, CSV or Excel. No login, no API key, no browser: fast and cheap.

### Who is it for

- Fantasy football, betting-model and scouting analysts who need market values in bulk.
- Journalists and newsletters tracking transfer fees and free agents.
- Data teams feeding dashboards, spreadsheets or AI agents with squad value data.

### What you get

**Squads mode** (default): every player of the chosen competitions or clubs.

```json
{ "type": "player", "playerId": "890290", "name": "Dean Huijsen", "position": "Centre-Back",
  "dateOfBirth": "2005-04-14", "age": 21, "nationalities": ["Spain", "Netherlands"],
  "club": "Real Madrid", "clubId": "418", "marketValueEur": 60000000, "marketValueText": "€60.00M",
  "profileUrl": "https://www.transfermarkt.com/dean-huijsen/profil/spieler/890290", "checkedAt": "2026-11-23T18:40:39Z" }
```

**Transfers mode**: latest transfers worldwide (about 25 per page) with from/to club, country and fee.

```json
{ "type": "transfer", "name": "José Carabalí", "position": "Left-Back", "age": 29,
  "fromClub": "LDU Quito", "toClub": "Without Club", "feeType": "undisclosed", "feeText": "-" }
```

### Input

| Field | Meaning |
|---|---|
| `mode` | `squads` or `transfers` |
| `competitions` | Codes such as `ES1`, `GB1`, `L1`, `IT1`, `FR1` |
| `clubs` | Optional club IDs or URLs |
| `minMarketValueEur` | Keep only players above this value |
| `transferPages` | Pages of transfers to read |
| `maxItems` | Hard cap on results (and on your bill) |

### Pricing (pay per event)

**0.002 USD per player or transfer** (2 USD per 1,000). You pay only for results returned; if the site blocks the run, nothing is charged.

| | This Actor | Sports data Actors in the Store |
|---|---|---|
| Source | Transfermarkt (values, transfers) | Sofascore / ESPN (scores, no market values) |
| Price per 1,000 | 2 USD | varies; the most-used sports scraper in the niche has a 19 % failure rate |

There is no dedicated Transfermarkt Actor among the top sports Actors of the Store (about 20 users per month in the whole sports niche), so this is a gap rather than a head-to-head fight.

### Schedule and export

Run it weekly from **Schedules** (market values update after each window and monthly), then use the Google Sheets integration or a webhook on `ACTOR.RUN.SUCCEEDED` to push the dataset to your sheet or pipeline.

### FAQ

- **Are values in euros?** Yes, `marketValueEur` is numeric; `marketValueText` keeps the site text.
- **Historic value charts?** Not in this version (current value only).
- **Why do I get nothing?** The site may have blocked the run (HTTP 403/429). The Actor stops early, explains it in the run status and charges nothing.

### Legal notice

Data are public pages of transfermarkt.com, owned by Transfermarkt GmbH & Co. KG. Their terms restrict automated access; you are responsible for using the data in line with those terms and local law. The Actor requests politely (identified User-Agent, 1.5 s between requests) and extracts only public sporting data (name, age, nationality, club, value), no contact data. Not affiliated with Transfermarkt. GDPR: player data are public professional information; do not use them to profile individuals beyond that.

### En español

Valores de mercado de Transfermarkt por liga o club y últimos fichajes, en JSON/CSV/Excel. Modo `squads` (plantillas con valor) y modo `transfers` (fichajes recientes). Precio: 0,002 USD por jugador o fichaje; no se cobra si la web bloquea. Programa una ejecución semanal y envía el resultado a Google Sheets o a un webhook.

# Actor input Schema

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

squads: players with market value for the chosen competitions/clubs. transfers: the latest transfers worldwide.

## `competitions` (type: `array`):

Transfermarkt competition codes, e.g. ES1 (LaLiga), GB1 (Premier League), L1 (Bundesliga), IT1 (Serie A), FR1 (Ligue 1). Used in squads mode.

## `clubs` (type: `array`):

Optional extra clubs: Transfermarkt club ID (e.g. 131) or full club URL. Used in squads mode.

## `minMarketValueEur` (type: `integer`):

Only return players worth at least this much. 0 returns everyone.

## `transferPages` (type: `integer`):

Pages of latest transfers to read (about 25 per page). Used in transfers mode.

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

Stop after this many players or transfers (you are charged per result).

## `contactEmail` (type: `string`):

Added to the User-Agent so the site can reach you. Leave empty to use the default.

## Actor input object example

```json
{
  "mode": "squads",
  "competitions": [
    "ES1"
  ],
  "minMarketValueEur": 0,
  "transferPages": 1,
  "maxItems": 100
}
```

# Actor output Schema

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

Players and transfers.

# 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 = {
    "competitions": [
        "ES1"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("rawtojson/transfermarkt-values-transfers").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 = { "competitions": ["ES1"] }

# Run the Actor and wait for it to finish
run = client.actor("rawtojson/transfermarkt-values-transfers").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 '{
  "competitions": [
    "ES1"
  ]
}' |
apify call rawtojson/transfermarkt-values-transfers --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rawtojson/transfermarkt-values-transfers"
        }
    }
}
```

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/yQajleK6JxPWgcTPS/builds/0vBozP0clpi3Au3OT/openapi.json
