Transfermarkt Scraper

ENDPOINTS
GET/matches/statistics

Match Statistics

Possession, shots, passes, tackles, corners, fouls and cards for both teams.

QUERY PARAMS

Transfermarkt match ID or any transfermarkt.com match report URL.

Examples:

  • ID: 4361261
  • URL: https://www.transfermarkt.com/spielbericht/index/spielbericht/4361261
{
  "id": 4361261,
  "link": "https://www.transfermarkt.com/spielbericht/index/spielbericht/4361261",
  "competition": {
    "id": "GB1",
    "name": "Premier League",
    "link": "https://www.transfermarkt.com/premier-league/startseite/wettbewerb/GB1",
    "logo": "https://img.a.transfermarkt.technology/logo/medium/gb1.png?lm=1789377131",
    "country": {
      "id": 189,
      "name": "England",
      "code": "ENG"
    },
    "confederation": {
      "id": 6,
      "name": "UEFA"
    },
    "tier": "First Tier",
    "is_tournament": false
  },
  "date": "2024-08-16",
  "result": "1:0",
  "home": {
    "club": {
      "id": 985,
      "name": "Manchester United",
      "short_name": "Man Utd",
      "link": "https://www.transfermarkt.com/manchester-united/startseite/verein/985",
      "crest": "https://img.a.transfermarkt.technology/wappen/big/985.png?lm=1789459227",
      "country": {
        "id": 189,
        "name": "England",
        "code": "ENG"
      },
      "is_national_team": false
    },
    "statistics": {
      "possession_percent": 55.4,
      "formation": "4231",
      "goals": 1,
      "assists": 1,
      "shots": 14,
      "shots_on_target": 5,
      "shots_off_target": 7,
      "shots_blocked": 2,
      "passes": 482,
      "passes_completed": 408,
      "tackles": 21,
      "tackles_won": 14,
      "clearances": 20,
      "saves": 2,
      "offsides": 3,
      "clean_sheets": 1,
      "corners": 7,
      "corners_conceded": 8,
      "goal_kicks": 6,
      "throw_ins": 15,
      "fouls_committed": 12,
      "fouls_suffered": 10,
      "penalties_won": 0,
      "penalties_conceded": 0,
      "yellow_cards": 2,
      "second_yellow_cards": 0,
      "red_cards": 0,
      "substitutions": 5
    }
  },
  "away": {
    "club": {
      "id": 931,
      "name": "Fulham FC",
      "short_name": "Fulham",
      "link": "https://www.transfermarkt.com/fulham-fc/startseite/verein/931",
      "crest": "https://img.a.transfermarkt.technology/wappen/big/931.png?lm=1789459221",
      "country": {
        "id": 189,
        "name": "England",
        "code": "ENG"
      },
      "is_national_team": false
    },
    "statistics": {
      "possession_percent": 44.6,
      "formation": "4231",
      "goals": 0,
      "assists": 0,
      "shots": 10,
      "shots_on_target": 2,
      "shots_off_target": 4,
      "shots_blocked": 4,
      "passes": 384,
      "passes_completed": 306,
      "tackles": 24,
      "tackles_won": 17,
      "clearances": 19,
      "saves": 4,
      "offsides": 1,
      "clean_sheets": 0,
      "corners": 8,
      "corners_conceded": 7,
      "goal_kicks": 10,
      "throw_ins": 15,
      "fouls_committed": 10,
      "fouls_suffered": 11,
      "penalties_won": 0,
      "penalties_conceded": 0,
      "yellow_cards": 3,
      "second_yellow_cards": 0,
      "red_cards": 0,
      "substitutions": 5
    }
  }
}