# La Liga (Spain) Understat xG Player Stats

**Use case:** 

Extract Understat xG Player Stats data filtered by La Liga (Spain). Export structured results ready for analysis, lead generation, or research.

## Input

```json
{
  "league": "La_liga",
  "season": 2024,
  "maxItems": 10
}
```

## Output

```json
{
  "playerName": {
    "label": "⚽ Player",
    "format": "text"
  },
  "team": {
    "label": "🛡 Team",
    "format": "text"
  },
  "position": {
    "label": "📍 Pos",
    "format": "text"
  },
  "games": {
    "label": "🎮 GP",
    "format": "number"
  },
  "goals": {
    "label": "🥅 Goals",
    "format": "number"
  },
  "xG": {
    "label": "📈 xG",
    "format": "number"
  },
  "assists": {
    "label": "🅰 Assists",
    "format": "number"
  },
  "xA": {
    "label": "📈 xA",
    "format": "number"
  },
  "shots": {
    "label": "🎯 Shots",
    "format": "number"
  },
  "npxG": {
    "label": "📊 npxG",
    "format": "number"
  },
  "playerUrl": {
    "label": "🔗 URL",
    "format": "link"
  },
  "scrapedAt": {
    "label": "🕒 Scraped",
    "format": "date"
  },
  "error": {
    "label": "❌ Error",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Understat xG Player Stats Scraper](https://apify.com/parseforge/understat-xg-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/parseforge/understat-xg-scraper) to learn more, explore other use cases, and run it yourself.