# transfermarkt.player

A footballer's profile on Transfermarkt: club, position, contract, market value with its history, and his transfers with their fees.

Transfermarkt player, one of the Transfermarkt scrapers.

| | |
| --- | --- |
| Id | `transfermarkt.player` |
| Version | 1 |
| Billed per | request — 1 unit for a charged run |
| Runs | within one request |

Start it with `POST /v1/scrapers/transfermarkt.player/runs`. How runs work is in [Running a scraper](https://docs.enrichednow.com/running-a-scraper.md); what a run costs is in [Usage and units](https://docs.enrichednow.com/usage-and-units.md).

## Inputs

The fields of `input`. A field that is not listed here is refused.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `player` | string | yes | A player's id on Transfermarkt, e.g. `418560`, or the address of his profile (`https://www.transfermarkt.com/erling-haaland/profil/spieler/418560`). Limit: at least 1 characters, at most 300 characters. |

## Record fields

Every record of a run has these fields. A value that is not known is `null` — never an empty string and never `0`.

| Field | Type | Notes |
| --- | --- | --- |
| `player_id` | string | Transfermarkt's id of the player, e.g. `418560`. |
| `name` | string | The name the profile shows, e.g. `Erling Haaland`. |
| `url` | string | The profile's page on transfermarkt.com. |
| `date_of_birth` | string (date) or null | The day of birth. |
| `age` | integer or null | Age in years, as Transfermarkt states it. |
| `place_of_birth` | string or null | The town of birth. |
| `height_m` | number or null | Height in metres. |
| `preferred_foot` | string or null | The foot he prefers: `left`, `right` or `both`. |
| `position` | string or null | The main position, e.g. `Centre-Forward`, `Goalkeeper`. |
| `position_group` | string or null | The group of the position, e.g. `Striker`, `Midfield`, `Defender`, `Goalkeeper`. |
| `current_club` | string or null | The club he plays for, by name; `Retired` or `Without Club` as Transfermarkt names those. |
| `current_club_id` | string or null | Transfermarkt's id of that club. |
| `shirt_number` | integer or null | His shirt number at that club. |
| `joined` | string (date) or null | The day he joined that club. |
| `contract_until` | string (date) or null | The day his contract there ends. |
| `outfitter` | string or null | The maker of his boots, e.g. `Nike`. |
| `market_value_eur` | number or null | His current market value in euros, as Transfermarkt estimates it. |
| `market_value_date` | string (date) or null | The day that value was set. |
| `highest_market_value_eur` | number or null | The highest market value he has had, in euros. |
| `highest_market_value_date` | string (date) or null | The day of that highest value. |
| `portrait` | string or null | The address of his portrait. |
| `market_value_history` | array of object | Every market value Transfermarkt set for him, oldest first. |
| `market_value_history[].date` | string (date) | The day Transfermarkt set the value. |
| `market_value_history[].value_eur` | number or null | The market value in euros. |
| `market_value_history[].club` | string or null | The club the player was at, by name. |
| `market_value_history[].age` | integer or null | The player's age then. |
| `transfers` | array of object | His transfers, newest first, as the transfer history lists them. |
| `transfers[].date` | string (date) or null | The day of the transfer. |
| `transfers[].season` | string or null | The season, as the page writes it, e.g. `22/23`. |
| `transfers[].from_club` | string or null | The club he left, by name. |
| `transfers[].to_club` | string or null | The club he joined, by name. |
| `transfers[].fee_eur` | number or null | The fee in euros; null for a free transfer, a loan or an undisclosed fee (see fee_text). |
| `transfers[].fee_text` | string or null | The fee as the page writes it, e.g. `€60.00M`, `Free Transfer`, `loan transfer`, `-`. |
| `transfers[].market_value_eur` | number or null | His market value at the time, in euros. |
| `transfers[].kind` | string or null | Transfermarkt's kind of move, e.g. `STANDARD`, `LOAN`, `END_OF_LOAN`, `INTERNAL_TRANSFER` (from a club's youth or second team). |
| `fetched_at` | string (date-time) | When Transfermarkt was asked, in UTC. |

## Example request

It starts a run with this scraper's example input and waits up to 60 seconds for it. The key is read from `ENRICHEDNOW_API_KEY`.

```bash
curl -X POST "https://api.enrichednow.com/v1/scrapers/transfermarkt.player/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"player":"418560"}}'
```

## Example response

The run, once it has ended. A run that has not ended within `wait` comes back with `202` and the status `queued` or `running`.

```json
{
  "id": "run_841742f37553189ff9c27ba1",
  "scraper_id": "transfermarkt.player",
  "scraper_version": 1,
  "status": "ok",
  "reason": null,
  "input": {
    "player": "418560"
  },
  "record_count": 1,
  "units": 1,
  "units_per_request": 1,
  "units_per_record": null,
  "units_per_page": null,
  "diagnostics": {
    "requests": 1,
    "bytes": 259214,
    "wall_ms": 885,
    "facts": {}
  },
  "created_at": "2026-11-16T22:37:50.170950Z",
  "started_at": "2026-11-16T22:37:50.178331Z",
  "finished_at": "2026-11-16T22:37:51.066313Z"
}
```

Its records, from `GET /v1/runs/{id}/records`. The record is a real one: this scraper's own parser read it from a page recorded from the site.

```json
{
  "records": [
    {
      "player_id": "418560",
      "name": "Erling Haaland",
      "url": "https://www.transfermarkt.com/erling-haaland/profil/spieler/418560",
      "date_of_birth": "2000-07-21",
      "age": 26,
      "place_of_birth": "Leeds",
      "height_m": 1.95,
      "preferred_foot": "left",
      "position": "Centre-Forward",
      "position_group": "Striker",
      "current_club": "Manchester City",
      "current_club_id": "281",
      "shirt_number": 9,
      "joined": "2022-07-01",
      "contract_until": "2034-06-30",
      "outfitter": "Nike",
      "market_value_eur": 220000000,
      "market_value_date": "2026-07-22",
      "highest_market_value_eur": 220000000,
      "highest_market_value_date": "2026-07-22",
      "portrait": "https://img.a.transfermarkt.technology/portrait/big/418560-1788115885.jpg",
      "market_value_history": [
        {
          "date": "2016-12-18",
          "value_eur": 200000,
          "club": "Bryne FK",
          "age": 16
        },
        {
          "date": "2017-12-23",
          "value_eur": 300000,
          "club": "Molde FK",
          "age": 17
        }
      ],
      "transfers": [
        {
          "date": "2022-07-01",
          "season": "22/23",
          "from_club": "Borussia Dortmund",
          "to_club": "Manchester City",
          "fee_eur": 60000000,
          "fee_text": "€60.00M",
          "market_value_eur": 150000000,
          "kind": "STANDARD"
        },
        {
          "date": "2020-01-01",
          "season": "19/20",
          "from_club": "Red Bull Salzburg",
          "to_club": "Borussia Dortmund",
          "fee_eur": 20000000,
          "fee_text": "€20.00M",
          "market_value_eur": 45000000,
          "kind": "STANDARD"
        }
      ],
      "fetched_at": "2026-11-19T18:53:48.104550Z"
    }
  ],
  "next_cursor": null
}
```

What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with `… [truncated]`.

- Shortened: `market_value_history`: 28 items, the first 2 shown.
- Shortened: `transfers`: 5 items, the first 2 shown.

A run does not always end `ok`. [Results and statuses](https://docs.enrichednow.com/results-and-statuses.md#reason-codes) lists every status and the reasons every scraper shares; [the reasons of the Transfermarkt scrapers](https://docs.enrichednow.com/results-and-statuses.md#transfermarkt) are in their own section there.
