Transfermarkt Scraper — Player Values, Squads & Transfers avatar

Transfermarkt Scraper — Player Values, Squads & Transfers

Pricing

from $1.20 / 1,000 results

Go to Apify Store
Transfermarkt Scraper — Player Values, Squads & Transfers

Transfermarkt Scraper — Player Values, Squads & Transfers

Extract football player market valuations (EUR), club squads, contracts, agents, nationalities, league tables, and transfers from Transfermarkt across 50+ world leagues. Clean numeric EUR values, zero API key required, AI & MCP ready.

Pricing

from $1.20 / 1,000 results

Rating

0.0

(0)

Developer

Logiover

Logiover

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

Categories

Features

Limited permissions

Share

Transfermarkt Scraper — Football Player Market Values, Club Squads & Transfers

Disclaimer: This Actor is an independent data extraction tool and is not affiliated with, endorsed by, or sponsored by Transfermarkt GmbH & Co. KG or Axel Springer SE. All trademarks belong to their respective owners.

Transfermarkt Scraper is a high-speed football data extraction engine and Transfermarkt API alternative built to extract clean, structured player market valuations (marketValueEur in exact integer EUR), club rosters, contract expiration dates, player agencies, FIFA nationalities, tactical positions, league table standings, and historical transfer fees across 54 world leagues. Teams that need to scrape transfermarkt.com without API key setup can launch a single run and export Transfermarkt to CSV, Excel, JSON, Parquet, Google Sheets, Snowflake, or BigQuery in seconds.

Engineered for club scouting departments, sports analytics pipelines, oddsmakers, player agencies, sports media desks, fantasy football platforms, and AI agent & MCP ready automation stacks, this transfermarkt scraper normalizes compact strings (€220.00M, €500K) into strongly typed numbers, links every player to their current club standing and representative agency, deduplicates across multi-league crawls, and scales smoothly from a 30-row instant check (4.1s) to 12,000+ unique players in 48.0 seconds.


At a Glance

PropertyDetails
Actor Sluglogiover/transfermarkt-scraper
Target Domaintransfermarkt.com (54 world domestic leagues, 900+ clubs, global leaderboards & transfers)
Extraction Modescompetitions (League Squads), top_players (Most Valuable Leaderboard), clubs (Club Rosters), transfers (Arrivals & Departures), search (Keyword & URLs)
Output Grain1 row = 1 unique deduplicated football player (id = playerId) or 1 unique transfer (id = tf_<transferId>)
Verified Scale Run12,000 unique players across 23 competitions (418 clubs) in 48.0s (2026-11-17, 0 duplicates, 0 empty columns)
Verified Prefill Run30 unique Premier League stars in 4.1s (2026-11-17, SUCCEEDED)
Valuation PrecisionExact integer EUR (marketValueEur, previousMarketValueEur, highestMarketValueEur, clubMarketValueEur, transferFeeEur) + formatted strings
Pricing ModelPay Per Event (PAY_PER_EVENT) — $1.80 / 1,000 results (FREE) down to $1.20 / 1,000 results (GOLD / PLATINUM / DIAMOND)
Export FormatsJSON, JSONL, CSV, Excel (.xlsx), HTML Table, XML, RSS, Parquet via API
AI & AutomationOfficial Apify MCP Server (https://mcp.apify.com?tools=logiover/transfermarkt-scraper), LangChain, CrewAI, n8n, Make, Zapier

Key Features & Extraction Modes

1. League & Competition Squads (mode: "competitions")

Crawl complete club squads across any combination of 54 built-in world football leagues — including the Premier League (GB1), LaLiga (ES1), Serie A (IT1), Bundesliga (L1), Ligue 1 (FR1), Liga Portugal (PO1), Eredivisie (NL1), Süper Lig (TR1), Brasileirão (BRA1), Major League Soccer (MLS1), Championship (GB2), Saudi Pro League (SA1), Argentine Liga Profesional (AR1N), Liga MX (MEX1), J1 League (JAP1), and K League 1 (KR1). Pass ["ALL"] in competitions to scan all 54 supported divisions (~914 clubs and ~24,500+ active players) automatically.

2. Global Most Valuable Players Leaderboard (mode: "top_players")

Extract Transfermarkt's flagship /spieler-statistik/wertvollstespieler/marktwertetop ranking of the highest-valued footballers in the world, enriched with full contract dates, agency representation, valuation deltas, club league standings, and career peak values.

3. Specific Club Squads (mode: "clubs")

Supply one or more Transfermarkt club IDs in clubIds (for example ["281", "418", "131", "11", "27"] for Manchester City, Real Madrid, FC Barcelona, Arsenal, and Bayern Munich) or club URLs in startUrls to pull full first-team rosters, shirt numbers, captaincy flags, joined dates, and individual player valuations.

4. Club & Player Transfer Histories (mode: "transfers")

Extract historical and upcoming transfers (arrivals and departures) for entire leagues (competitions), specific clubs (clubIds), or individual players (playerIds). Every transfer row includes exact numeric transferFeeEur, transferFeeFormatted, marketValueEur at the date of transfer, transferDate, transferSeason (e.g. 25/26), transferType (STANDARD, LOAN, etc.), sourceClubId / sourceClubName, and destinationClubId / destinationClubName.

5. Keyword Search & Direct URL Routing (mode: "search" & startUrls)

Search Transfermarkt by player name, club name, or competition keyword via queries (e.g. ["Jude Bellingham", "Sporting CP"]), or paste any mix of transfermarkt.com player, club, competition, or marktwertetop URLs into startUrls. Every discovered entity is automatically normalized into the exact same 46-column schema.

6. Built-In Scouting & Contract Intelligence Filters

Narrow results before saving (so you only pay for records matching your exact scouting criteria):

  • Tactical Position Group (positionGroup): Goalkeeper, Defender, Midfielder, or Striker.
  • Citizenship (nationalityFilter): Match country names ("Brazil", "France", "Norway") or 3-letter FIFA codes ("BRA", "FRA", "NOR").
  • Valuation Floor (minMarketValueEur): Keep only players valued at or above an integer EUR threshold (e.g. 15000000 for €15M+).
  • Age Window (ageMin / ageMax): Isolate U19, U21, or U23 prospects (ageMax: 21) or experienced veterans (ageMin: 30).
  • Expiring Contracts (contractExpiringYear): Surface upcoming free agents whose contracts expire in or before a target year (e.g. 2027).

12 High-Impact B2B, Scouting & AI Use Cases

  1. Club Recruitment & U21 Prospect Discovery: Filter 54 global leagues for U21 wingers, centre-backs, or defensive midfielders (ageMax: 21, minMarketValueEur: 1000000) to uncover undervalued talent in South America, Scandinavia, Eastern Europe, and Asia.
  2. Free-Agent & Bosman Contract Tracking: Query contractExpiringYear: 2027 across Europe's top 10 divisions to identify high-value players entering the final 6–12 months of their club deals.
  3. Player Agency Portfolio Mapping & Competitive Intelligence: Aggregate agentName and agentUrl across 12,000+ professionals to measure total client valuation under management for agencies like CAA Stellar, Gestifute, Wasserman, ROOF, and Rafaela Pimenta.
  4. Quantitative Sportsbook & xG Pricing Models: Feed squad-level clubMarketValueEur, marketValueEur, clubLeagueRank, and clubLeaguePoints into match-outcome, Asian handicap, and seasonal points-projection models.
  5. Valuation Momentum & Market Delta Analytics: Track marketValueEur vs previousMarketValueEur and marketValueDelta after each Transfermarkt seasonal valuation update to spot breakout risers before transfer windows open.
  6. Transfer Fee Benchmarking & M&A Club Due Diligence: Private equity groups and multi-club ownership (MCO) analysts benchmark squad asset value (clubMarketValueEur), squad age curves, and historical net transfer spend (transfers mode).
  7. Fantasy Football, Sorare & Gaming Databases: Keep player clubs, jersey numbers (shirtNumber), positions (positionShort), heights, preferred feet, and portraits (portraitUrl) synchronized across 900+ clubs.
  8. Sports Journalism & Broadcast Graphics Automation: Generate instant deadline-day rankings, nationality breakdowns, and league valuation comparisons exported directly to CSV or Google Sheets.
  9. Sponsorship & Brand Endorsement Valuation: Correlate player market value trajectories, age, nationality, and club tier to price athlete sponsorship deals objectively.
  10. AI Scouting Copilots via Model Context Protocol (MCP): Connect Claude Desktop, Cursor, or OpenAI Agents directly to logiover/transfermarkt-scraper so analysts can ask natural-language questions like "List all left-footed centre-backs under 23 in Ligue 1 and Eredivisie worth over €5M."
  11. Academy Pathway & Birthplace Demographics Research: Analyze placeOfBirth, countryOfBirth, and nationalityCode across top-flight rosters to map diaspora talent pipelines.
  12. Automated Data Warehouse Syncs: Schedule weekly runs via Apify Schedules + Webhooks to maintain a longitudinal time-series warehouse of global football valuations in Snowflake, BigQuery, or PostgreSQL.

Supported 54 World League Codes (competitions)

CodeCompetitionCountryCodeCompetitionCountry
GB1Premier LeagueEnglandCRO1SuperSport HNLCroatia
ES1LaLigaSpainSER1Super liga SrbijeSerbia
IT1Serie AItalyRO1SuperLigaRomania
L1BundesligaGermanyUKR1Premier LigaUkraine
FR1Ligue 1FranceUNG1Nemzeti BajnokságHungary
PO1Liga PortugalPortugalBU1efbet LigaBulgaria
NL1EredivisieNetherlandsISR1Ligat ha'AlIsrael
TR1Süper LigTürkiyeZYP1Protathlima CytaCyprus
BRA1Campeonato Brasileiro Série ABrazilUAE1UAE Pro LeagueUAE
MLS1Major League SoccerUSA / CanadaQSLQatar Stars LeagueQatar
GB2ChampionshipEnglandEGY1Egyptian Premier LeagueEgypt
SA1Saudi Pro LeagueSaudi ArabiaAUS1A-League MenAustralia
BE1Jupiler Pro LeagueBelgiumCOL1Liga DimayorColombia
AR1NTorneo Apertura / Liga ProfesionalArgentinaCLPDLiga de PrimeraChile
MEX1Liga MXMexicoURU1Liga AUFUruguay
RU1Premier LigaRussiaSL1Prva LigaSlovenia
A1BundesligaAustriaBOS1Premijer Liga BiHBosnia
SC1Scottish PremiershipScotlandES2LaLiga2Spain
C1Super LeagueSwitzerlandIT2Serie BItaly
DK1SuperligaDenmarkL22. BundesligaGermany
GR1Super League 1GreeceFR2Ligue 2France
PL1EkstraklasaPolandGB3League OneEngland
TS1Chance LigaCzechiaGB4League TwoEngland
JAP1J1 LeagueJapanNL2Keuken Kampioen DivisieNetherlands
KR1K League 1South KoreaPO2Liga Portugal 2Portugal
SE1AllsvenskanSwedenTR21.LigTürkiye
NO1EliteserienNorwayBRA2Campeonato Brasileiro Série BBrazil

Tip: Pass "competitions": ["ALL"] to automatically iterate through all 54 leagues in market-value priority order up to your maxResults limit!


9 Copy-Paste JSON Input Recipes

Recipe 1: Europe's "Big Five" Leagues Complete Player Database (~2,650 Players)

{
"mode": "competitions",
"competitions": ["GB1", "ES1", "IT1", "L1", "FR1"],
"sortBy": "marketValueDesc",
"maxResults": 3000
}

Recipe 2: Global 12,000+ Player Bulk Warehouse Sync (["ALL"])

{
"mode": "competitions",
"competitions": ["ALL"],
"sortBy": "marketValueDesc",
"maxResults": 12000
}

Recipe 3: Global Top 250 Most Valuable Footballers Leaderboard (marktwertetop)

{
"mode": "top_players",
"maxResults": 250
}

Recipe 4: U21 High-Potential Scouting Across South America & Iberian Leagues

{
"mode": "competitions",
"competitions": ["BRA1", "AR1N", "COL1", "URU1", "PO1", "ES1"],
"ageMax": 21,
"minMarketValueEur": 2000000,
"sortBy": "marketValueDesc",
"maxResults": 500
}

Recipe 5: Upcoming Free Agents (Contracts Expiring by 2027 Worth €10M+)

{
"mode": "competitions",
"competitions": ["GB1", "ES1", "IT1", "L1", "FR1", "NL1", "PO1", "TR1"],
"contractExpiringYear": 2027,
"minMarketValueEur": 10000000,
"sortBy": "marketValueDesc",
"maxResults": 400
}

Recipe 6: Specific Elite Club Rosters (Man City, Real Madrid, Barcelona, Arsenal, Bayern)

{
"mode": "clubs",
"clubIds": ["281", "418", "131", "11", "27"],
"sortBy": "marketValueDesc",
"maxResults": 200
}

Recipe 7: Premier League Club Transfer Arrivals & Departures (transfers Mode)

{
"mode": "transfers",
"competitions": ["GB1"],
"maxResults": 500
}

Recipe 8: Brazilian Strikers Across All World Leagues

{
"mode": "competitions",
"competitions": ["ALL"],
"positionGroup": "Striker",
"nationalityFilter": "BRA",
"minMarketValueEur": 1000000,
"sortBy": "marketValueDesc",
"maxResults": 500
}
{
"mode": "search",
"queries": ["Jude Bellingham", "Lamine Yamal"],
"startUrls": [
{ "url": "https://www.transfermarkt.com/super-lig/startseite/wettbewerb/TR1" },
{ "url": "https://www.transfermarkt.com/galatasaray/startseite/verein/141" }
],
"maxResults": 150
}

Full Input Reference

ParameterTypeDefault / PrefillDescription
modestring"competitions"Extraction mode: "competitions", "top_players", "clubs", "transfers", or "search".
competitionsstring[]["GB1"]Array of Transfermarkt league IDs (e.g. ["GB1", "ES1", "TR1"]) or ["ALL"] for all 54 world leagues.
clubIdsstring[][]Specific Transfermarkt club IDs (e.g. ["281", "418"]) for "clubs" or "transfers" mode.
playerIdsstring[][]Specific Transfermarkt player IDs (e.g. ["418560", "342229"]) to enrich directly or pull transfer history for.
queriesstring[][]Keyword search strings (player, club, or league names) resolved via Transfermarkt search.
startUrlsarray[]Direct transfermarkt.com competition, club, player, search, or marktwertetop URLs.
positionGroupstring"ALL"Filter players by "ALL", "Goalkeeper", "Defender", "Midfielder", or "Striker".
nationalityFilterstring""Country name (e.g. "France") or 3-letter FIFA code (e.g. "FRA"). Case-insensitive.
minMarketValueEurinteger0Minimum current player market value in EUR (e.g. 10000000 for €10M+).
ageMininteger0Minimum player age (0 = no minimum).
ageMaxinteger0Maximum player age (0 = no maximum; e.g. 21 for U21 prospects).
contractExpiringYearinteger0Only return players whose contractUntil year is <= contractExpiringYear (0 = disabled).
sortBystring"marketValueDesc"Sort order per league/batch: "marketValueDesc", "clubRankAsc", or "ageAsc".
maxResultsinteger200 (prefill 30)Maximum unique deduplicated rows to return (1 to 100,000).
proxyConfigurationobject{"useApifyProxy": true}Standard Apify Proxy settings or custom proxy URLs.

Complete Output Data Dictionary & Measured Fill Rates

Fill rates below were measured directly on our 12,000-row live Apify scale run (runId: cAQbbD2ba35kBRiC7 on 2026-11-17 across 23 competitions and 418 clubs — zero empty columns, lowest fill 86.8%):

FieldTypeMeasured Fill (12k Run)Description
idstring100.0%Unique deduplication identifier (playerId in player modes; tf_<transferId> in transfers mode).
playerIdstring100.0%Canonical Transfermarkt numeric player ID (e.g. "418560").
namestring100.0%Full player display name (e.g. "Erling Haaland").
firstNamestring100.0%Given name ("Erling").
lastNamestring100.0%Surname / family name ("Haaland").
shortNamestring100.0%Abbreviated broadcast name ("E. Haaland").
agenumber100.0%Current player age in years (26).
dateOfBirthstring100.0%ISO birth date (YYYY-MM-DD, e.g. "2000-07-21").
placeOfBirthstring | null92.3%Birth city or municipality ("Leeds").
countryOfBirthstring | null100.0%Country of birth ("England").
nationalitystring | null100.0%Primary sporting nationality ("Norway").
nationalityCodestring | null99.9%3-letter FIFA country code ("NOR").
heightMetersnumber | null96.6%Player height in meters (1.95).
preferredFootstring | null93.1%Stronger foot ("left", "right", or "both").
positionstring | null100.0%Specific tactical role ("Centre-Forward", "Defensive Midfield", "Centre-Back").
positionShortstring | null99.9%Short position code ("CF", "DM", "CB", "GK", "RW").
positionGroupstring | null100.0%Normalized line ("Goalkeeper", "Defender", "Midfielder", "Striker").
shirtNumbernumber | null98.5%Current squad jersey number (9).
isCaptainboolean100.0%Whether the player is club captain (true / false).
joinedClubDatestring | null100.0%ISO date joined current club ("2022-07-01").
contractUntilstring | null93.2%ISO contract expiration date ("2034-06-30").
agentNamestring | null90.2%Player agency or representative name ("Rafaela Pimenta", "CAA Stellar").
agentUrlstring | null86.8%Full Transfermarkt agency profile URL.
marketValueEurnumber | null96.8%Current market valuation as an exact integer in EUR (220000000).
marketValueFormattedstring | null96.8%Human-readable valuation string ("€220.00M").
marketValueUpdatedAtstring | null96.8%ISO date of latest valuation ("2026-07-22").
previousMarketValueEurnumber | null93.5%Prior valuation in integer EUR (200000000).
marketValueDeltastring | null93.5%Valuation change vs previous update ("+20.000.000 € (+10,00 %)" or "UNCHANGED").
highestMarketValueEurnumber | null96.8%Career-high market valuation in integer EUR (220000000).
highestMarketValueDatestring | null96.8%ISO date when career-high valuation was achieved.
clubIdstring | null100.0%Current Transfermarkt club ID ("281").
clubNamestring | null100.0%Current club full name ("Manchester City").
clubCodestring | null100.0%Club short code / abbreviation ("MCI").
clubCitystring | null100.0%Club home city ("Manchester").
clubMarketValueEurnumber | null100.0%Total combined squad valuation of the player's club in EUR (1498300000).
clubLeagueRanknumber | null100.0%Current domestic league table standing of the club (3).
clubLeaguePointsnumber | null100.0%Current domestic league points total (21).
clubLogoUrlstring | null100.0%High-resolution club crest PNG URL.
clubUrlstring | null100.0%Canonical Transfermarkt club page URL.
competitionIdstring | null100.0%Domestic league / competition code ("GB1").
competitionNamestring | null100.0%Domestic league name ("Premier League").
competitionCountrystring | null100.0%Domestic league country ("England").
competitionUrlstring | null100.0%Canonical Transfermarkt competition page URL.
portraitUrlstring | null95.4%High-resolution player portrait image URL.
urlstring100.0%Canonical Transfermarkt player profile URL (or transfer URL in transfers mode).
scrapedAtstring100.0%ISO-8601 UTC extraction timestamp.

Additional fields populated when mode: "transfers" is selected: transferFeeEur (number), transferFeeFormatted (string), transferDate (string), transferSeason (string), transferType (string), sourceClubId (string), sourceClubName (string), destinationClubId (string), and destinationClubName (string).


Real Live Output Sample (Unmasked Platform Output)

Captured verbatim from live Apify run QqLTnzdSQDQjFhDSJ (2026-11-17):

{
"id": "418560",
"playerId": "418560",
"name": "Erling Haaland",
"firstName": "Erling",
"lastName": "Haaland",
"shortName": "E. Haaland",
"age": 26,
"dateOfBirth": "2000-07-21",
"placeOfBirth": "Leeds",
"countryOfBirth": "England",
"nationality": "Norway",
"nationalityCode": "NOR",
"heightMeters": 1.95,
"preferredFoot": "left",
"position": "Centre-Forward",
"positionShort": "CF",
"positionGroup": "Striker",
"shirtNumber": 9,
"isCaptain": false,
"joinedClubDate": "2022-07-01",
"contractUntil": "2034-06-30",
"agentName": "Rafaela Pimenta",
"agentUrl": "https://www.transfermarkt.com/rafaela-pimenta/beraterfirma/berater/282",
"marketValueEur": 220000000,
"marketValueFormatted": "€220.00M",
"marketValueUpdatedAt": "2026-07-22",
"previousMarketValueEur": 200000000,
"marketValueDelta": "+20.000.000 € (+10,00 %)",
"highestMarketValueEur": 220000000,
"highestMarketValueDate": "2026-07-22",
"clubId": "281",
"clubName": "Manchester City",
"clubCode": "MCI",
"clubCity": "Manchester",
"clubMarketValueEur": 1498300000,
"clubLeagueRank": 3,
"clubLeaguePoints": 21,
"clubLogoUrl": "https://img.a.transfermarkt.technology/wappen/big/281.png?lm=1789459183",
"clubUrl": "https://www.transfermarkt.com/manchester-city/startseite/verein/281",
"competitionId": "GB1",
"competitionName": "Premier League",
"competitionCountry": "England",
"competitionUrl": "https://www.transfermarkt.com/premier-league/startseite/wettbewerb/GB1",
"portraitUrl": "https://img.a.transfermarkt.technology/portrait/big/418560-1788115885.jpg",
"url": "https://www.transfermarkt.com/erling-haaland/profil/spieler/418560",
"scrapedAt": "2026-11-17T11:36:27.307Z"
}

Measured Performance & Scale Proof (Verified 2026-11-17)

All benchmarks below were executed directly on Apify production containers on 2026-11-17:

Benchmark ProfileRun IDStatusUnique RowsDuplicatesEmpty ColumnsDurationPeak Memory
Prefill / Daily QC (GB1, Top 30)QqLTnzdSQDQjFhDSJSUCCEEDED30004.1s60 MB
Global Scale (["ALL"], 23 Leagues / 418 Clubs)cAQbbD2ba35kBRiC7SUCCEEDED12,0000048.0s92 MB
Max-Cost Budget Cap Proof ($0.05 Limit)DYIkokrx0hTU1PFuCSUCCEEDED31002.8s64 MB
  • Throughput: ~250 fully enriched player records per second (12,000 unique deduplicated players across 23 domestic leagues in 48.0s).
  • Reliability: 655 / 655 HTTP 200 responses (0 failed requests, 0 duplicates).

Pricing — What You Pay (Pay Per Event)

This Actor uses transparent Pay Per Event (PAY_PER_EVENT) pricing: you pay only per result (apify-default-dataset-item) delivered to your dataset, with zero additional run or subscription fees inside the Actor itself. Apify Store plan subscribers automatically receive steep volume discounts:

Apify Store PlanPrice per 1,000 ResultsPrice per Single ResultExample: 1,000 Premier League + LaLiga PlayersExample: 12,000 World Players
FREE$1.80$0.00180$1.80$21.60
BRONZE$1.60$0.00160$1.60$19.20
SILVER$1.40$0.00140$1.40$16.80
GOLD$1.20$0.00120$1.20$14.40
PLATINUM$1.20$0.00120$1.20$14.40
DIAMOND$1.20$0.00120$1.20$14.40

Controlling Your Spend ("Maximum cost per run")

You have two independent, exact spending controls on every run:

  1. maxResults input field: Caps the exact number of deduplicated rows saved.
  2. Apify "Maximum cost per run" (maxTotalChargeUsd): Set a hard dollar ceiling in the Apify Console UI or via ?maxTotalChargeUsd=0.50 in the API. Built-in runtime budget protection (_runtime_guard.js) checks your remaining allowance before every dataset write and exits cleanly with SUCCEEDED status, preserving every record collected up to your dollar limit!

AI Agents & Official Apify MCP Server Integration

Transfermarkt Scraper is AI agent & MCP ready out of the box via the official Apify Model Context Protocol server. Connect Claude Desktop, Cursor, Windsurf, OpenAI Agents SDK, or custom MCP clients in 30 seconds:

Claude Desktop / Cursor mcp.json Configuration

{
"mcpServers": {
"transfermarkt-scraper": {
"url": "https://mcp.apify.com?tools=logiover/transfermarkt-scraper",
"headers": {
"Authorization": "Bearer YOUR_APIFY_API_TOKEN"
}
}
}
}

Once connected, your AI agent can autonomously invoke logiover/transfermarkt-scraper to answer live scouting, valuation, and contract prompts with verified structured data.


API & Workflow Integrations (Node.js, Python, cURL, Make, n8n, Zapier)

Node.js (apify-client)

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_API_TOKEN });
const run = await client.actor('logiover/transfermarkt-scraper').call({
mode: 'competitions',
competitions: ['GB1', 'ES1'],
ageMax: 23,
minMarketValueEur: 15000000,
sortBy: 'marketValueDesc',
maxResults: 200,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(`Extracted ${items.length} U23 stars:`, items[0]);

Python (apify-client)

import os
from apify_client import ApifyClient
client = ApifyClient(os.environ["APIFY_API_TOKEN"])
run = client.actor("logiover/transfermarkt-scraper").call(
run_input={
"mode": "competitions",
"competitions": ["GB1", "ES1", "IT1", "L1", "FR1"],
"contractExpiringYear": 2027,
"minMarketValueEur": 10000000,
"maxResults": 500,
}
)
items = client.dataset(run["defaultDatasetId"]).list_items().items
print(f"Loaded {len(items)} expiring-contract players")

cURL (Synchronous Run + JSON Dataset Output)

curl -X POST "https://api.apify.com/v2/acts/logiover~transfermarkt-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_API_TOKEN&maxTotalChargeUsd=1.00" \
-H "Content-Type: application/json" \
-d '{
"mode": "competitions",
"competitions": ["GB1"],
"maxResults": 50
}'

n8n / Make.com / Zapier No-Code Pipelines

  • n8n: Add the official Apify node -> select Run an Actor -> enter logiover/transfermarkt-scraper -> follow with Get Dataset Items -> push directly to Postgres, Airtable, Notion, or Slack scouting alerts.
  • Make.com: Use Apify -> Run an Actor (set Run synchronously = Yes) + Apify -> Get Dataset Items to populate weekly Google Sheets valuation dashboards.
  • Zapier: Trigger New Actor Run Finished for logiover/transfermarkt-scraper and route CSV/Excel exports to email, HubSpot, or BigQuery.

Troubleshooting & Best Practices

  • Getting 0 results with strict filters: Check whether minMarketValueEur (remember 10000000 = €10M, not €10k!), ageMax, nationalityFilter, or contractExpiringYear are mutually exclusive for the selected league. Relax one filter at a time or inspect the SUMMARY record in the Run's default Key-Value Store (filteredOut count).
  • Scraping more than 600 players: Either pass multiple league codes in competitions (e.g. ["GB1", "ES1", "IT1", "L1", "FR1"]) or pass ["ALL"] to automatically traverse all 54 world leagues (~24,500+ active squad players).
  • FIFA Nationality Codes vs Country Names: nationalityFilter accepts both full English country names ("Argentina", "Netherlands", "Türkiye") and 3-letter FIFA codes ("ARG", "NED", "TUR").
  • Support & Feedback: Encountered an edge case or want an additional competition code added? Open a ticket on Actor Issues for fast engineering support, and if this Actor saves your team hours of manual scouting, a quick rating on Actor Reviews helps keep updates shipping!

Frequently Asked Questions (FAQ)

How do I scrape Transfermarkt without an API key?

Transfermarkt does not offer an open self-serve public API key to general developers. Simply run logiover/transfermarkt-scraper on Apify with league codes (["GB1"]), club IDs, search keywords, or URLs — no external credentials, browser cookies, or logins are needed.

How are Transfermarkt market values formatted in the dataset?

Every player record provides both an exact integer in Euros (marketValueEur, e.g. 220000000) ready for SQL SUM()/AVG() queries and machine learning models, and a display string (marketValueFormatted, e.g. "€220.00M"), alongside previousMarketValueEur, marketValueDelta, and highestMarketValueEur.

How many leagues and players can this Transfermarkt scraper extract in one run?

Built-in world league discovery covers 54 domestic competitions (~914 clubs and ~24,500+ active first-team players). In our verified 2026-11-17 benchmark, extracting 12,000 unique deduplicated players across 23 leagues completed in 48.0 seconds.

Does the Actor deduplicate players automatically?

Yes. Every player record is strictly deduplicated by Transfermarkt playerId (id) using synchronous in-memory reservation before dataset writes, guaranteeing zero duplicate players even when combining search queries, startUrls, and multi-league crawls.

Can I export Transfermarkt data directly to Excel, CSV, or Google Sheets?

Yes. Every Apify run dataset provides one-click downloads and REST API endpoints for Excel (.xlsx), CSV, JSON, JSONL, XML, and Parquet, and connects natively to Google Sheets via Make, Zapier, or Apify's Google Drive integration.

How do I find upcoming free agents with expiring contracts?

Set contractExpiringYear to your target year (for example 2027) and combine it with minMarketValueEur (e.g. 5000000). Only players whose contractUntil date falls in or before 2027 and who meet your valuation floor will be saved to your dataset.

Does the output include player agents and representation agencies?

Yes. Both agentName (90.2% fill rate across 12,000 global players) and agentUrl (full link to the agency's Transfermarkt profile) are extracted automatically for every player who has a verified or listed representative.

Can I extract historical transfer fees and loan moves?

Yes. Switch mode to "transfers" and pass competitions (for all clubs in a league), clubIds (for specific clubs), or playerIds (for individual career transfer histories). Each record includes transferFeeEur, transferFeeFormatted, transferDate, transferSeason, transferType, sourceClubName, and destinationClubName.

What happens if I set a "Maximum cost per run" budget limit?

The Actor integrates directly with Apify's Pay-Per-Event charging manager. When your run reaches your configured dollar ceiling (maxTotalChargeUsd), the Actor flushes buffered items up to your exact allowance, writes a SUMMARY object to the Key-Value Store, and exits cleanly with SUCCEEDED status — never ABORTED.

Do filtered-out players count toward my Pay-Per-Event bill?

No. Filtering (positionGroup, nationalityFilter, minMarketValueEur, ageMin, ageMax, contractExpiringYear) happens before Actor.pushData(), so you are only charged for matching records actually written to your dataset.

Can I pass direct Transfermarkt URLs from my browser?

Yes. Paste any transfermarkt.com competition (/wettbewerb/GB1), club (/verein/281), player (/spieler/418560), marktwertetop, or search URL into startUrls — the Actor parses the entity identifiers and enriches them automatically.

Are club league standings included on every player row?

Yes. When crawling competitions or enriching clubs, each player row carries clubMarketValueEur, clubLeagueRank (current table position), and clubLeaguePoints, saving you from joining separate league-table datasets.

How fast is the default prefill / test run?

With default prefill settings (competitions: ["GB1"], maxResults: 30), the Actor completes in ~4 seconds on Apify and returns the top 30 highest-valued Premier League players.

Can I use this Actor with Claude, Cursor, LangChain, or CrewAI?

Yes. Add https://mcp.apify.com?tools=logiover/transfermarkt-scraper to any MCP-compatible AI client so your agent can query live player valuations, squad lists, and expiring contracts on demand.

How often should I schedule runs to track market value changes?

Most analytics and scouting teams schedule weekly runs for squad/standing updates and daily runs during the January and Summer transfer windows (mode: "transfers" and mode: "competitions").

Where is run diagnostic metadata stored?

Every run writes a structured SUMMARY JSON object to the run's default Key-Value Store containing exact counts for pushed, duplicatesSkipped, filteredOut, competitionsProcessed, clubsProcessed, apiRequests, and durationSecs.