# transfermarkt.club

A football club on Transfermarkt: names, league, address, colours, squad size, average age and the squad's market value.

Transfermarkt club, one of the Transfermarkt scrapers.

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

Start it with `POST /v1/scrapers/transfermarkt.club/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 |
| --- | --- | --- | --- |
| `club` | string | yes | A club's id on Transfermarkt, e.g. `281`, or the address of its page (`https://www.transfermarkt.com/manchester-city/startseite/verein/281`). 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 |
| --- | --- | --- |
| `club_id` | string | Transfermarkt's id of the club, e.g. `281`. |
| `name` | string | The club's name, e.g. `Manchester City`. |
| `url` | string | The club's page on transfermarkt.com. |
| `short_name` | string or null | Its short name, e.g. `Man City`. |
| `abbreviation` | string or null | Its abbreviation, e.g. `MCI`. |
| `is_national_team` | boolean or null | True for a national team. |
| `league_id` | string or null | Transfermarkt's code of its main competition, e.g. `GB1` (the Premier League), `L1` (the Bundesliga). |
| `official_name` | string or null | The name of the club behind the team, e.g. `Manchester City Football Club`. |
| `street` | string or null | The street of its address, usually the stadium. |
| `postcode` | string or null | The postcode of its address. |
| `city` | string or null | The city of its address. |
| `latitude` | number or null | Latitude of its address, in decimal degrees. |
| `longitude` | number or null | Longitude of its address, in decimal degrees. |
| `colors` | array of string | Its colours, as hex codes, e.g. `#84BBFF`. |
| `squad_size` | integer or null | The number of players in its squad. |
| `average_age` | number or null | The average age of its squad. |
| `squad_market_value_eur` | number or null | The total market value of its squad, in euros. |
| `average_market_value_eur` | number or null | The average market value of its players, in euros. |
| `crest` | string or null | The address of its crest. |
| `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.club/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"club":"281"}}'
```

## 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.club",
  "scraper_version": 1,
  "status": "ok",
  "reason": null,
  "input": {
    "club": "281"
  },
  "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": [
    {
      "club_id": "281",
      "name": "Manchester City",
      "url": "https://www.transfermarkt.com/manchester-city/startseite/verein/281",
      "short_name": "Man City",
      "abbreviation": "MCI",
      "is_national_team": false,
      "league_id": "GB1",
      "official_name": "Manchester City Football Club",
      "street": "Etihad Stadium, Etihad Campus",
      "postcode": "M11 3FF",
      "city": "Manchester",
      "latitude": 53.4831381,
      "longitude": -2.2003953,
      "colors": [
        "#84BBFF",
        "#FFFFFF"
      ],
      "squad_size": 24,
      "average_age": 25.64,
      "squad_market_value_eur": 1498300000,
      "average_market_value_eur": 62429168,
      "crest": "https://img.a.transfermarkt.technology/wappen/big/281.png?lm=1789459183",
      "fetched_at": "2026-11-19T18:53:48.102683Z"
    }
  ],
  "next_cursor": null
}
```

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.
