Transfermarkt Scraper — Players, Clubs & Market Values avatar

Transfermarkt Scraper — Players, Clubs & Market Values

Pricing

from $1.50 / 1,000 results

Go to Apify Store
Transfermarkt Scraper — Players, Clubs & Market Values

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.

Pricing

from $1.50 / 1,000 results

Rating

0.0

(0)

Developer

Haketa

Haketa

Maintained by Community

Actor stats

0

Bookmarked

8

Total users

1

Monthly active users

13 days ago

Last modified

Categories

Features

Limited permissions

Share

⚽ Transfermarkt Scraper — Football Players, Club Squads, Leagues & Market Values

Apify Actor

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

CapabilityDetails
🎯 Primary TargetTransfermarkt (transfermarkt.com) Players, Clubs, Competitions, Market Values & Transfers
🧩 5 Collection ModesGlobal Rankings (scrapeRankings), Player Search (playerQueries), Player URLs/IDs (playerUrls), Club Squads (clubUrls), League Codes (competitionCodes)
💶 Valuation IntelligenceDisplay (€220M) + numeric EUR (220000000), optional dated marketValueHistory[], peakMarketValueEur, and transferHistory[] with fees
✨ Profile EnrichmentOptional includePlayerDetails adds fullName, dateOfBirth, placeOfBirth, height, preferredFoot, agent, contractExpiry, and international caps/goals
📈 Scale & Pagination1,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
🛡️ DeduplicationAutomatic cross-mode deduplication by playerId and clubId
📦 Bulk ExportJSON, 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, and minMarketValueEur while continuing to paginate until your maxItems target is reached.
  • Track player agents & contract expirations — enable includePlayerDetails to surface agent, contractExpiry, joinedDate, preferredFoot, and height for recruitment workflows.
  • Analyze career valuation curves & transfer fees — enable includeMarketValueHistory and includeTransferHistory to 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 when maxItems > 500.
  • ✅ Multi-page player search — playerQueries paginates across search result pages so broad surname or keyword queries capture all matching footballers.
  • ✅ Filter-before-cap pagination — positions, nationalities, maxAge, and minMarketValueEur are evaluated during collection so requesting 200 U-23 midfielders keeps paginating until 200 matching players are found.
  • ✅ Optional deep profile enrichment — toggle includePlayerDetails, includeMarketValueHistory, and includeTransferHistory only when you need deep profile facts, keeping listing runs blazingly fast.
  • ✅ Club summary records (recordType: "club") — captures squadSize, averageAge, averageMarketValueEur, totalMarketValueEur, and logoUrl for every scraped club or league.

🎯 High-value use cases

Team / RoleHow Teams Use This Transfermarkt Data Extractor
🔭 Football Scouts & Sporting DirectorsIdentify 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 AgenciesMap agency market share (agent field) across top European leagues and spot unrepresented breakout talent.
📊 Sports Analytics & Quantitative ModellersJoin marketValueEur, age, position, and transferHistory with match-event metrics (xG, progressive passes) for valuation modelling.
🎮 Fantasy Football & Gaming PlatformsSync current club rosters, shirt numbers, positions, portraits (imageUrl), and valuations after every transfer window.
📰 Sports Media & Content CreatorsGenerate data-backed visuals on squad values, net transfer spend, and historical peak valuations (peakMarketValueEur).
🤖 AI Agents & Sports RAG SystemsFeed 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.

ParameterTypeDefault / PrefillDescription
scrapeRankingsbooleantrueCollect the most-valuable-player rankings. Automatically expands across position groups and top leagues when maxItems > 500.
playerQueriesarray<string>[]Search players by name (e.g., ["Erling Haaland", "Lamine Yamal"]). Paginates matching player results.
playerUrlsarray<string>[]Direct Transfermarkt player profile URLs or numeric player IDs (e.g., ["418560", "937958"]).
clubUrlsarray<string>[]Transfermarkt club URLs or numeric club IDs (e.g., ["31", "281"]). Extracts every player in each club's squad.
competitionCodesarray<string>[]League codes to scrape in full (e.g., ["GB1", "ES1", "IT1", "L1", "FR1", "TR1", "MLS1", "SA1"]).
seasoninteger2026Season start year (2026 = 2026/27 season) applied to club and competition squad URLs.
includePlayerDetailsbooleanfalseFetch each player's profile page to add fullName, dateOfBirth, placeOfBirth, height, preferredFoot, agent, contractExpiry, and international caps/goals.
includeMarketValueHistorybooleanfalseFetch full historical valuation timeline (marketValueHistory[], peakMarketValueEur, peakMarketValueDate). Requires includePlayerDetails: true.
includeTransferHistorybooleanfalseFetch complete career transfer history (transferHistory[] with clubs, dates, fees, and EUR values). Requires includePlayerDetails: true.
includeClubRecordsbooleantrueWhen scraping clubs or competitions, also emit a recordType: "club" summary record per club.
positionsarray<string>[]Filter players by position (case-insensitive partial match, e.g., ["Centre-Forward", "Winger", "Goalkeeper"]).
nationalitiesarray<string>[]Filter players by citizenship (English country names, e.g., ["Spain", "Brazil", "France", "Türkiye"]).
maxAgeinteger0Keep only players up to this age (0 = no age limit).
minMarketValueEurinteger0Keep only players with marketValueEur at or above this amount (0 = no minimum).
maxItemsinteger1000 (default) / 50 (prefill)Maximum total player and club records to save (0 = unlimited).
maxConcurrencyinteger6Parallel requests during player profile enrichment (1–12).
proxyConfigurationobjectResidential ProxyApify 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)

FieldTypeCoverageDescription
recordTypestring🟢 High (100%)"player" for footballer records, "club" for club summary records.
playerIdstring🟢 High (100%)Unique Transfermarkt player ID (primary deduplication key).
namestring🟢 High (100%)Player display name.
positionstring🟢 High (100%)Playing role (e.g., Centre-Forward, Right Winger, Defensive Midfield, Goalkeeper).
ageinteger | null🟢 High (100%)Player's listed age.
nationalitiesarray<string>🟢 High (100%)Array of citizenship country names (e.g., ["Spain"], ["France", "Algeria"]).
currentClubstring | null🟢 High (~99%)Current club name.
currentClubIdstring | null🟢 High (~99%)Numeric Transfermarkt club ID.
marketValuestring | null🟢 High (~98%)Formatted valuation string (e.g., €200.00m, €850k).
marketValueEurinteger | null🟢 High (~98%)Exact integer valuation in EUR (e.g., 200000000) for sorting and analytics.
shirtNumberinteger | null🟡 ConditionalSquad shirt number (populated on squad pages and enriched profiles).
contractExpirystring | null🟡 ConditionalContract expiration date (DD/MM/YYYY), populated on squad pages and enriched profiles.
imageUrlstring | null🟢 High (100%)Player portrait URL.
urlstring🟢 High (100%)Canonical Transfermarkt profile URL.
sourceModestring🟢 High (100%)Discovery source: rankings, search, direct, or club-squad.
detailEnrichedboolean🟢 High (100%)true when includePlayerDetails profile enrichment was executed.

✨ Enriched & Historical Player Fields (When includePlayerDetails: true)

FieldTypeCoverageDescription
fullNamestring | null🟡 Conditional (~65%)Full name in home country when listed on profile.
dateOfBirth / placeOfBirthstring | null🟢 High (~98%)Date of birth and city/country of birth.
height / preferredFootstring | null🟢 High (~95%)Listed height (e.g., 1,95 m) and preferred foot (right, left, both).
agentstring | null🟡 Conditional (~80%)Player agent or representation agency name.
joinedDatestring | null🟢 High (~95%)Date the player joined their current club.
marketValueUpdatedAtstring | null🟢 High (~95%)Date of the player's latest valuation update.
currentNationalTeamstring | null🟡 ConditionalCurrent international team (for international players).
nationalTeamCaps / nationalTeamGoalsinteger | null🟡 ConditionalInternational appearances and goals scored.
marketValueHistoryarray<object>🟡 Opt-inFull timeline of dated valuations (date, timestamp, age, club, marketValue, marketValueEur) when includeMarketValueHistory: true.
peakMarketValueEur / peakMarketValueDateinteger / string🟡 Opt-inCareer-high valuation in EUR and date achieved.
transferHistoryarray<object>🟡 Opt-inCareer 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:

CompetitionCodeCountry / Region
Premier LeagueGB1England
LaLigaES1Spain
Serie AIT1Italy
BundesligaL1Germany
Ligue 1FR1France
Süper LigTR1Türkiye
Liga PortugalPO1Portugal
EredivisieNL1Netherlands
Major League Soccer (MLS)MLS1USA / Canada
Saudi Pro LeagueSA1Saudi Arabia
Campeonato Brasileiro Série ABRA1Brazil
ChampionshipGB2England (Tier 2)

⚙️ How to run via API

Python SDK Example

from apify_client import ApifyClient
client = 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: false and maxItems: 1500 across competitionCodes: ["GB1", "ES1", "IT1", "L1", "FR1"] to collect every player's age, position, nationality, club, and marketValueEur in ~60–90 seconds. Then filter your shortlist of 50–100 target playerIds and pass them into a second run via playerUrls with includePlayerDetails: true, includeMarketValueHistory: true, and includeTransferHistory: true.
  • Track expiring contracts (contractExpiry): Club squad pages (clubUrls and competitionCodes) populate contractExpiry directly on the listing row—even without enabling includePlayerDetails—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 enable includePlayerDetails: true on 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).



📋 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 maxItems is met, and fast includePlayerDetails: false default).
  • 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.