Transfermarkt Scraper — Players, Clubs & Market Values
Pricing
from $1.50 / 1,000 results
Transfermarkt Scraper — Players, Clubs & Market Values
Scrape Transfermarkt football data: player profiles, club squads, league rosters, contracts, positions, nationalities and current market values. Search players, enter club URLs or competition codes, browse top-value rankings, and optionally add complete market-value and transfer histories.
⚽ Transfermarkt Scraper — Football Players, Club Squads, Leagues & Market Values
Extract structured football player profiles, current & historical market values, transfer fees, club squads, and entire league rosters from Transfermarkt — no login, no coding. Collect the world's most valuable players, search by player name, scrape complete club squads by ID/URL, or expand full domestic leagues (
GB1,ES1,IT1,L1,FR1,TR1,MLS1,SA1) in one run.
Export to JSON, CSV, Excel, XML, or API for football scouting, sports analytics, recruitment intelligence, fantasy sports modelling, media publishing, and AI/RAG pipelines.
⚡ At a glance
| Capability | Details |
|---|---|
| 🎯 Primary Target | Transfermarkt (transfermarkt.com) Players, Clubs, Competitions, Market Values & Transfers |
| 🧩 5 Collection Modes | Global Rankings (scrapeRankings), Player Search (playerQueries), Player URLs/IDs (playerUrls), Club Squads (clubUrls), League Codes (competitionCodes) |
| 💶 Valuation Intelligence | Display (€220M) + numeric EUR (220000000), optional dated marketValueHistory[], peakMarketValueEur, and transferHistory[] with fees |
| ✨ Profile Enrichment | Optional includePlayerDetails adds fullName, dateOfBirth, placeOfBirth, height, preferredFoot, agent, contractExpiry, and international caps/goals |
| 📈 Scale & Pagination | 1,000+ results pagination across global rankings, position-group rankings (up to 2,000 top players), search pages, and full league club squads |
| ⚡ Prefill Speed | ~15–25 seconds for 50 most-valuable players out of the box |
| 🛡️ Deduplication | Automatic cross-mode deduplication by playerId and clubId |
| 📦 Bulk Export | JSON, CSV, Excel (XLSX), JSON Lines, XML, HTML, REST API, Make, Zapier, n8n, Google Sheets |
🔎 Why scrape Transfermarkt?
Transfermarkt is the global benchmark for football player market values, squad compositions, contract expirations, player representation (agents), and historical transfer fees. Scouts, sporting directors, data scientists, bookmakers, fantasy-football platforms, and sports journalists rely on its numbers daily.
Yet Transfermarkt is designed for single-page browsing rather than bulk analysis: rankings are split across 25-row pages, league rosters require clicking into 18–20 separate club pages, and historical market-value trajectories are hidden inside interactive charts.
This Transfermarkt scraper and Transfermarkt data extractor automates the entire process:
- Build 1,000+ player valuation datasets — extract both human-readable strings (
€180.00m) and exact integers (marketValueEur: 180000000) ready for SQL, Python, or Excel formulas. - Export entire leagues with a single code — pass
"GB1"(Premier League),"ES1"(LaLiga), or"IT1"(Serie A) to automatically discover every club in the league, emit club summary rows, and collect every player across every squad. - Screen scouting targets with source-aware filters — filter by
positions,nationalities,maxAge, andminMarketValueEurwhile continuing to paginate until yourmaxItemstarget is reached. - Track player agents & contract expirations — enable
includePlayerDetailsto surfaceagent,contractExpiry,joinedDate,preferredFoot, andheightfor recruitment workflows. - Analyze career valuation curves & transfer fees — enable
includeMarketValueHistoryandincludeTransferHistoryto get every historical valuation point, peak career value, and transfer fee.
✨ Key features of this Transfermarkt scraper
- ✅ Five combinable collection modes — run global rankings, name searches, direct player IDs/URLs, club IDs/URLs, and full competition codes in a single execution.
- ✅ Unlocked 1,000+ rankings & league pagination — seamlessly paginates the global top-500 ranking (
?page=1..20), automatically continues through position-group rankings (Forwards, Midfielders, Defenders, Goalkeepers — up to 2,000 top-valued players) and top European/global leagues whenmaxItems > 500. - ✅ Multi-page player search —
playerQueriespaginates across search result pages so broad surname or keyword queries capture all matching footballers. - ✅ Filter-before-cap pagination —
positions,nationalities,maxAge, andminMarketValueEurare evaluated during collection so requesting 200 U-23 midfielders keeps paginating until 200 matching players are found. - ✅ Optional deep profile enrichment — toggle
includePlayerDetails,includeMarketValueHistory, andincludeTransferHistoryonly when you need deep profile facts, keeping listing runs blazingly fast. - ✅ Club summary records (
recordType: "club") — capturessquadSize,averageAge,averageMarketValueEur,totalMarketValueEur, andlogoUrlfor every scraped club or league.
🎯 High-value use cases
| Team / Role | How Teams Use This Transfermarkt Data Extractor |
|---|---|
| 🔭 Football Scouts & Sporting Directors | Identify undervalued U-21/U-23 players by position and nationality, and track players entering the final 12 months of their contract (contractExpiry). |
| 🤝 Player Agents & Representation Agencies | Map agency market share (agent field) across top European leagues and spot unrepresented breakout talent. |
| 📊 Sports Analytics & Quantitative Modellers | Join marketValueEur, age, position, and transferHistory with match-event metrics (xG, progressive passes) for valuation modelling. |
| 🎮 Fantasy Football & Gaming Platforms | Sync current club rosters, shirt numbers, positions, portraits (imageUrl), and valuations after every transfer window. |
| 📰 Sports Media & Content Creators | Generate data-backed visuals on squad values, net transfer spend, and historical peak valuations (peakMarketValueEur). |
| 🤖 AI Agents & Sports RAG Systems | Feed structured, timestamped player and club records into football knowledge bases and conversational AI assistants. |
📥 Input parameters
Every parameter is optional. By default (scrapeRankings: true, maxItems: 50 prefill), the actor immediately collects the world's most valuable players.
| Parameter | Type | Default / Prefill | Description |
|---|---|---|---|
scrapeRankings | boolean | true | Collect the most-valuable-player rankings. Automatically expands across position groups and top leagues when maxItems > 500. |
playerQueries | array<string> | [] | Search players by name (e.g., ["Erling Haaland", "Lamine Yamal"]). Paginates matching player results. |
playerUrls | array<string> | [] | Direct Transfermarkt player profile URLs or numeric player IDs (e.g., ["418560", "937958"]). |
clubUrls | array<string> | [] | Transfermarkt club URLs or numeric club IDs (e.g., ["31", "281"]). Extracts every player in each club's squad. |
competitionCodes | array<string> | [] | League codes to scrape in full (e.g., ["GB1", "ES1", "IT1", "L1", "FR1", "TR1", "MLS1", "SA1"]). |
season | integer | 2026 | Season start year (2026 = 2026/27 season) applied to club and competition squad URLs. |
includePlayerDetails | boolean | false | Fetch each player's profile page to add fullName, dateOfBirth, placeOfBirth, height, preferredFoot, agent, contractExpiry, and international caps/goals. |
includeMarketValueHistory | boolean | false | Fetch full historical valuation timeline (marketValueHistory[], peakMarketValueEur, peakMarketValueDate). Requires includePlayerDetails: true. |
includeTransferHistory | boolean | false | Fetch complete career transfer history (transferHistory[] with clubs, dates, fees, and EUR values). Requires includePlayerDetails: true. |
includeClubRecords | boolean | true | When scraping clubs or competitions, also emit a recordType: "club" summary record per club. |
positions | array<string> | [] | Filter players by position (case-insensitive partial match, e.g., ["Centre-Forward", "Winger", "Goalkeeper"]). |
nationalities | array<string> | [] | Filter players by citizenship (English country names, e.g., ["Spain", "Brazil", "France", "Türkiye"]). |
maxAge | integer | 0 | Keep only players up to this age (0 = no age limit). |
minMarketValueEur | integer | 0 | Keep only players with marketValueEur at or above this amount (0 = no minimum). |
maxItems | integer | 1000 (default) / 50 (prefill) | Maximum total player and club records to save (0 = unlimited). |
maxConcurrency | integer | 6 | Parallel requests during player profile enrichment (1–12). |
proxyConfiguration | object | Residential Proxy | Apify Proxy configuration (Residential group is pre-configured by default for reliable access). |
Example 1 — Fast Top-50 Most Valuable Players (Prefill)
{"scrapeRankings": true,"includePlayerDetails": false,"maxItems": 50,"proxyConfiguration": {"useApifyProxy": true,"apifyProxyGroups": ["RESIDENTIAL"]}}
Example 2 — Bulk 1,200+ Players Across Premier League & LaLiga (GB1 + ES1)
{"scrapeRankings": false,"competitionCodes": ["GB1", "ES1"],"season": 2026,"includeClubRecords": true,"includePlayerDetails": false,"maxItems": 1200}
Example 3 — Deep Scouting Profile + Market Value & Transfer History
{"scrapeRankings": false,"playerUrls": ["418560", "937958", "342229"],"includePlayerDetails": true,"includeMarketValueHistory": true,"includeTransferHistory": true,"maxItems": 20}
📤 Output schema & field reference
The dataset contains player records (recordType: "player") and optional club summary records (recordType: "club").
Sample 1 — Enriched Player Record (recordType: "player")
{"recordType": "player","playerId": "418560","name": "Erling Haaland","fullName": "Erling Braut Haaland","position": "Centre-Forward","age": 26,"dateOfBirth": "21/07/2000","placeOfBirth": "Leeds","nationalities": ["Norway"],"height": "1,95 m","preferredFoot": "left","shirtNumber": 9,"agent": "Rafaela Pimenta","currentClub": "Manchester City","currentClubId": "281","competition": "Premier League","joinedDate": "01/07/2022","contractExpiry": "30/06/2034","marketValue": "€200.00m","marketValueEur": 200000000,"marketValueUpdatedAt": "03/06/2026","peakMarketValue": "€200.00m","peakMarketValueEur": 200000000,"peakMarketValueDate": "Oct 1, 2024","currentNationalTeam": "Norway","nationalTeamCaps": 41,"nationalTeamGoals": 40,"imageUrl": "https://img.a.transfermarkt.technology/portrait/header/418560-1709108116.jpg?lm=1","url": "https://www.transfermarkt.com/erling-haaland/profil/spieler/418560","sourceMode": "direct","detailEnriched": true,"scrapedAt": "2026-11-10T02:50:00.000Z"}
Sample 2 — Club Summary Record (recordType: "club")
{"recordType": "club","clubId": "281","name": "Manchester City","competitionCode": "GB1","competition": "Premier League","season": 2026,"squadSize": 25,"averageAge": 26.4,"averageMarketValue": "€50.40m","averageMarketValueEur": 50400000,"totalMarketValue": "€1.26bn","totalMarketValueEur": 1260000000,"logoUrl": "https://tmssl.akamaized.net//images/wappen/tiny/281.png","url": "https://www.transfermarkt.com/manchester-city/startseite/verein/281/saison_id/2026","squadUrl": "https://www.transfermarkt.com/manchester-city/kader/verein/281/saison_id/2026","scrapedAt": "2026-11-10T02:50:00.000Z"}
⚽ Core Player Fields (Always Populated in Listing & Ranking Modes)
| Field | Type | Coverage | Description |
|---|---|---|---|
recordType | string | 🟢 High (100%) | "player" for footballer records, "club" for club summary records. |
playerId | string | 🟢 High (100%) | Unique Transfermarkt player ID (primary deduplication key). |
name | string | 🟢 High (100%) | Player display name. |
position | string | 🟢 High (100%) | Playing role (e.g., Centre-Forward, Right Winger, Defensive Midfield, Goalkeeper). |
age | integer | null | 🟢 High (100%) | Player's listed age. |
nationalities | array<string> | 🟢 High (100%) | Array of citizenship country names (e.g., ["Spain"], ["France", "Algeria"]). |
currentClub | string | null | 🟢 High (~99%) | Current club name. |
currentClubId | string | null | 🟢 High (~99%) | Numeric Transfermarkt club ID. |
marketValue | string | null | 🟢 High (~98%) | Formatted valuation string (e.g., €200.00m, €850k). |
marketValueEur | integer | null | 🟢 High (~98%) | Exact integer valuation in EUR (e.g., 200000000) for sorting and analytics. |
shirtNumber | integer | null | 🟡 Conditional | Squad shirt number (populated on squad pages and enriched profiles). |
contractExpiry | string | null | 🟡 Conditional | Contract expiration date (DD/MM/YYYY), populated on squad pages and enriched profiles. |
imageUrl | string | null | 🟢 High (100%) | Player portrait URL. |
url | string | 🟢 High (100%) | Canonical Transfermarkt profile URL. |
sourceMode | string | 🟢 High (100%) | Discovery source: rankings, search, direct, or club-squad. |
detailEnriched | boolean | 🟢 High (100%) | true when includePlayerDetails profile enrichment was executed. |
✨ Enriched & Historical Player Fields (When includePlayerDetails: true)
| Field | Type | Coverage | Description |
|---|---|---|---|
fullName | string | null | 🟡 Conditional (~65%) | Full name in home country when listed on profile. |
dateOfBirth / placeOfBirth | string | null | 🟢 High (~98%) | Date of birth and city/country of birth. |
height / preferredFoot | string | null | 🟢 High (~95%) | Listed height (e.g., 1,95 m) and preferred foot (right, left, both). |
agent | string | null | 🟡 Conditional (~80%) | Player agent or representation agency name. |
joinedDate | string | null | 🟢 High (~95%) | Date the player joined their current club. |
marketValueUpdatedAt | string | null | 🟢 High (~95%) | Date of the player's latest valuation update. |
currentNationalTeam | string | null | 🟡 Conditional | Current international team (for international players). |
nationalTeamCaps / nationalTeamGoals | integer | null | 🟡 Conditional | International appearances and goals scored. |
marketValueHistory | array<object> | 🟡 Opt-in | Full timeline of dated valuations (date, timestamp, age, club, marketValue, marketValueEur) when includeMarketValueHistory: true. |
peakMarketValueEur / peakMarketValueDate | integer / string | 🟡 Opt-in | Career-high valuation in EUR and date achieved. |
transferHistory | array<object> | 🟡 Opt-in | Career transfers (date, season, fromClub, fromClubId, toClub, toClubId, fee, feeEur, marketValueEur) when includeTransferHistory: true. |
🏟️ Supported competition codes
Pass any of these codes (or any Transfermarkt competition code) in competitionCodes to extract every club and squad in the league:
| Competition | Code | Country / Region |
|---|---|---|
| Premier League | GB1 | England |
| LaLiga | ES1 | Spain |
| Serie A | IT1 | Italy |
| Bundesliga | L1 | Germany |
| Ligue 1 | FR1 | France |
| Süper Lig | TR1 | Türkiye |
| Liga Portugal | PO1 | Portugal |
| Eredivisie | NL1 | Netherlands |
| Major League Soccer (MLS) | MLS1 | USA / Canada |
| Saudi Pro League | SA1 | Saudi Arabia |
| Campeonato Brasileiro Série A | BRA1 | Brazil |
| Championship | GB2 | England (Tier 2) |
⚙️ How to run via API
Python SDK Example
from apify_client import ApifyClientclient = ApifyClient("YOUR_APIFY_TOKEN")run = client.actor("haketa/transfermarkt-scraper").call(run_input={"scrapeRankings": True,"positions": ["Centre-Forward", "Winger"],"maxAge": 23,"minMarketValueEur": 15000000,"includePlayerDetails": False,"maxItems": 250,})for player in client.dataset(run["defaultDatasetId"]).iterate_items():print(f"{player['name']} ({player['age']}) | {player['currentClub']} | {player['marketValue']}")
Node.js SDK Example
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: process.env.APIFY_TOKEN });const run = await client.actor('haketa/transfermarkt-scraper').call({scrapeRankings: false,competitionCodes: ['GB1', 'ES1'],season: 2026,includeClubRecords: true,includePlayerDetails: false,maxItems: 1200,});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(`Saved ${items.length} Premier League & LaLiga club and player records.`);
REST API (cURL) Example
curl -X POST "https://api.apify.com/v2/acts/haketa~transfermarkt-scraper/runs?token=YOUR_APIFY_TOKEN" \-H "Content-Type: application/json" \-d '{"scrapeRankings": true,"positions": ["Centre-Back", "Defensive Midfield"],"maxAge": 22,"minMarketValueEur": 10000000,"maxItems": 300}'
📊 Nested history schemas (marketValueHistory & transferHistory)
When you enable includePlayerDetails: true along with includeMarketValueHistory: true or includeTransferHistory: true, each player record includes structured chronological arrays ready for time-series charts and recruitment modeling:
{"marketValueHistory": [{"date": "Jun 3, 2026","timestamp": "2026-06-03T00:00:00.000Z","age": 25,"club": "Manchester City","marketValue": "€200.00m","marketValueEur": 200000000}],"transferHistory": [{"date": "Jul 1, 2022","season": "22/23","fromClub": "Borussia Dortmund","fromClubId": "16","toClub": "Manchester City","toClubId": "281","marketValue": "€150.00m","marketValueEur": 150000000,"fee": "€60.00m","feeEur": 60000000,"url": "https://www.transfermarkt.com/jumplist/transfers/spieler/418560/transfer_id/3821901"}]}
💡 Pro tips for football analysts & scouts
- Two-stage scouting workflow: Run a broad pass with
includePlayerDetails: falseandmaxItems: 1500acrosscompetitionCodes: ["GB1", "ES1", "IT1", "L1", "FR1"]to collect every player's age, position, nationality, club, andmarketValueEurin ~60–90 seconds. Then filter your shortlist of 50–100 targetplayerIds and pass them into a second run viaplayerUrlswithincludePlayerDetails: true,includeMarketValueHistory: true, andincludeTransferHistory: true. - Track expiring contracts (
contractExpiry): Club squad pages (clubUrlsandcompetitionCodes) populatecontractExpirydirectly on the listing row—even without enablingincludePlayerDetails—making it fast to scan entire leagues for upcoming free agents. - Schedule post-update snapshots: Transfermarkt updates league valuations twice per season (autumn and spring/summer). Schedule this actor monthly to archive valuation deltas across your scouting database.
⚠️ Honest limitations
- Residential proxy required: Transfermarkt protects its pages against datacenter IP ranges; Apify Residential Proxy is pre-configured by default and automatically rotates sessions if challenged.
- Profile enrichment adds 1–3 requests per player: Keep
includePlayerDetails: false(the default) when scraping 1,000+ players for fast squad/ranking exports, and enableincludePlayerDetails: trueon targeted cohorts when you need agent, foot, height, or historical charts. - Site maintenance windows: Transfermarkt occasionally displays a temporary site-wide 503 maintenance banner during database updates; if detected, the actor exits cleanly with a clear status message.
❓ Frequently asked questions
How do I scrape more than 500 players from rankings?
Transfermarkt's global most-valuable-players table contains 20 pages (500 players). When you set maxItems: 1000 (or higher), this actor automatically continues through Transfermarkt's position-group rankings (up to 2,000 top-valued players) and top domestic leagues (GB1, ES1, IT1, L1, FR1, etc.), deduplicating every player by playerId.
How do I get every player in a league like the Premier League or Süper Lig?
Set scrapeRankings: false, pass competitionCodes: ["GB1"] (or ["TR1"]), and set maxItems: 1000. A single league typically yields 20 club records and ~500–600 squad player records.
Are market values and transfer fees returned as numbers or text?
Both. Every valuation and fee includes the formatted display string (marketValue, fee) and the parsed integer EUR value (marketValueEur, feeEur, totalMarketValueEur, peakMarketValueEur).
Why are contractExpiry and shirtNumber empty in fast rankings mode?
Transfermarkt's global ranking table does not display shirt numbers or contract dates on the listing row—those columns appear on club squad pages (clubUrls / competitionCodes) and on enriched player profiles (includePlayerDetails: true).
🔗 Related sports & B2B scrapers
- Sofascore Live Scores & Stats Scraper — Football match statistics, player ratings, and tournament standings.
- HLTV Esports Scraper — Counter-Strike player ratings, match results, and team rankings.
- BoardGameGeek Scraper — Rankings, ratings, and metadata at scale.
- YouTube Contact Scraper — Creator and sports-channel contact discovery.
📋 Changelog
- v1.2 (2026-11) — Unlocked 1,000+ deep rankings & league pagination (automatic expansion beyond the 500-player global table via position-group rankings and top competitions, multi-page player search pagination, pre-cap filter evaluation so filtered runs paginate until
maxItemsis met, and fastincludePlayerDetails: falsedefault). - v1.1 (2026-08) — Upgraded to lightweight HTTP execution with automatic residential session rotation and right-sized default memory (1024 MB) for 7× lower compute cost.
- v1.0 (2026-07) — Initial release supporting rankings, player search, club squads, competition codes, profile enrichment, market-value timelines, and transfer histories.