Transfermarkt Scraper

by curious_coder

Extract football data from Transfermarkt pages—like player values, club stats, and competition info—directly into JSON, CSV, Excel, or RSS feeds.

47,878 runs
2,690 users
Try This Actor

Opens on Apify.com

About Transfermarkt Scraper

Need to pull reliable football data straight from Transfermarkt? This scraper is what I use to get competition stats, club finances, or player market values without the manual copy-pasting. It works on almost any page—whether you're looking at league tables, transfer histories, or squad rosters. You tell it what data you need, and it extracts everything cleanly into structured formats. I typically download my results as JSON or CSV for analysis, but it also supports Excel, XML, and even RSS if you want to set up automatic updates. It's straightforward: point it at the page, configure your fields, and run it. The data comes out ready for your database, spreadsheet, or app, saving hours you'd otherwise spend collecting it by hand. Perfect for building football analytics dashboards, tracking player valuations over time, or comparing club performance across seasons. If you work with football data, this handles the tedious part so you can focus on the insights.

What does this actor do?

Transfermarkt Scraper is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

Transfermarkt Scraper

Scrapes sports data from transfermarkt.com. Provide a starting URL (like a player, club, or competition page), and the actor automatically identifies the page type and extracts the relevant structured data.

Key Features

  • Automatic Page Type Detection: Works with player, club, competition, and other page types. Just provide the start URL.
  • Simple Configuration: Primarily requires just the start URL, with a few optional parameters for control.
  • Comprehensive Crawling: Can follow links (crawlDepth) and pagination (pageDepth) to gather data beyond the initial page.
  • Structured Output: Returns clean, categorized JSON data ready for analysis.

How to Use

The scraper is designed for extracting data for analysis, such as:
* Scraping live scores and match statistics.
* Monitoring transfer activity and player valuations.
* Collecting historical game data for forecasting models.
* Building data-driven strategies for sports analytics.

Cost: Runs cost approximately 2.5 USD in platform credits per 1000 scraped results on the basic plan. Check your usage in the Apify Console under Settings -> Usage and Billing. For full pricing details, see the platform pricing page.

Tutorial: For a detailed guide, read the Transfermarkt scraper tutorial on the Apify blog.

Input Parameters

Configure the actor using these input fields:

  • startUrls (required): An array of one or more Transfermarkt URLs to begin scraping from.
  • parallels (optional, default: 1): Number of parallel crawler sessions.
  • crawlDepth (optional, default: 1): How many link levels deep to crawl from the start page(s). Set to 1 for the start page only.
  • pageDepth (optional, default: 99999): How many pagination pages to scrape. The default is effectively unlimited.

Input Example

{
  "startUrls": [
    { "url": "https://www.transfermarkt.com/lionel-messi/profil/spieler/28003" }
  ],
  "proxyConfig": { "useApifyProxy": true },
  "crawlDepth": 1,
  "pageDepth": 1
}

Output

Results are stored in an Apify Dataset. You can download them in JSON, CSV, XML, and other formats after the run completes.

Output Example (Player Page)

{
  "id": "28003",
  "url": "https://www.transfermarkt.com/lionel-messi/profil/spieler/28003",
  "type": "player",
  "Name in home country": "Lionel Andrés Messi Cuccitini",
  "Date of birth/Age": "Jun 24, 1987 (37)",
  "Place of birth": "Rosario",
  "Height": "1,70 m",
  "Citizenship": ["Argentina", "Spain"],
  "Position": "Attack - Right Winger",
  "Foot": "left",
  "Player agent": "Relatives",
  "Current club": "Inter Miami CF",
  "Joined": "Jul 15, 2023",
  "Contract expires": "Dec 31, 2025",
  "Outfitter": "adidas",
  "transfers": [
    {
      "Season": "23/24",
      "Date": "Jul 15, 2023",
      "Left": "Paris SG",
      "Joined": "Miami",
      "MV": "€35.00m",
      "Fee": "free transfer"
    }
  ]
}

Categories

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try Transfermarkt Scraper now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
curious_coder
Pricing
Paid
Total Runs
47,878
Active Users
2,690
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support