# Get Player Stats by Season from Transfermarkt

**Use case:** 

Scrape football player statistics by season from Transfermarkt. Get goals, assists, appearances and minutes for any player and any season.

## Input

```json
{
  "scrapeType": "players",
  "items": [
    "Lionel Messi"
  ],
  "playersWithoutStatistics": false,
  "playerStatsSelection": "last_4",
  "proxyConfig": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "playerName": {
    "label": "Player Name",
    "format": "text"
  },
  "jerseyNumber": {
    "label": "Jersey Number",
    "format": "text"
  },
  "currentClub": {
    "label": "Club",
    "format": "text"
  },
  "playerLeague": {
    "label": "League",
    "format": "object"
  },
  "marketValue": {
    "label": "Market Value",
    "format": "text"
  },
  "arrivalDate": {
    "label": "Arrival Date",
    "format": "text"
  },
  "contractEnd": {
    "label": "Contract End",
    "format": "text"
  },
  "transferHistory": {
    "label": "Transfer History",
    "format": "array"
  },
  "trophies": {
    "label": "Trophies",
    "format": "array"
  },
  "playerDetails": {
    "label": "Player Details",
    "format": "object"
  },
  "playerStats": {
    "label": "Player Statistics",
    "format": "array"
  },
  "profileUrl": {
    "label": "Profile URL",
    "format": "link"
  }
}
```

## About this Actor

This example demonstrates how to use [Transfermarkt Scraper](https://apify.com/data_xplorer/transfermarkt-api-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/data_xplorer/transfermarkt-api-scraper) to learn more, explore other use cases, and run it yourself.