{
  "data": {
    "id": "8aX3oYb7UO5hwgbAc",
    "actId": "bOf06lrZBrvLScmBg",
    "userId": "IYgBDiXtHOijAaUel",
    "startedAt": "2026-12-01T06:45:29.641Z",
    "finishedAt": "2026-12-01T06:45:41.496Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CI"
    },
    "inputSchema": "{\n  \"title\": \"Soccer Stats Scraper Input\",\n  \"description\": \"Scrape soccer teams, players, and match results from TheSportsDB free API.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"title\": \"Mode\",\n      \"description\": \"What data to fetch.\",\n      \"type\": \"string\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"teams\",\n        \"players\",\n        \"games\"\n      ],\n      \"enumTitles\": [\n        \"League Teams\",\n        \"Player Search\",\n        \"Season Games\"\n      ],\n      \"default\": \"teams\",\n      \"prefill\": \"teams\"\n    },\n    \"leagueId\": {\n      \"title\": \"League\",\n      \"description\": \"TheSportsDB league ID to fetch data from.\",\n      \"type\": \"string\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"4328\",\n        \"4329\",\n        \"4330\",\n        \"4331\",\n        \"4332\",\n        \"4333\",\n        \"4334\",\n        \"4335\",\n        \"4336\",\n        \"4337\"\n      ],\n      \"enumTitles\": [\n        \"English Premier League\",\n        \"English Championship\",\n        \"Scottish Premier League\",\n        \"German Bundesliga\",\n        \"Italian Serie A\",\n        \"Spanish La Liga\",\n        \"French Ligue 1\",\n        \"Dutch Eredivisie\",\n        \"Belgian Pro League\",\n        \"Turkish Süper Lig\"\n      ],\n      \"default\": \"4328\",\n      \"prefill\": \"4328\"\n    },\n    \"searchQuery\": {\n      \"title\": \"Search query\",\n      \"description\": \"Player name for players mode.\",\n      \"type\": \"string\",\n      \"editor\": \"textfield\",\n      \"default\": \"Harry Kane\",\n      \"prefill\": \"Harry Kane\"\n    },\n    \"season\": {\n      \"title\": \"Season\",\n      \"description\": \"Season year range for games mode.\",\n      \"type\": \"string\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"2022-2023\",\n        \"2023-2024\",\n        \"2024-2025\"\n      ],\n      \"enumTitles\": [\n        \"2022-2023\",\n        \"2023-2024\",\n        \"2024-2025\"\n      ],\n      \"default\": \"2024-2025\",\n      \"prefill\": \"2024-2025\"\n    },\n    \"maxItems\": {\n      \"title\": \"Max items\",\n      \"description\": \"Maximum records to return.\",\n      \"type\": \"integer\",\n      \"minimum\": 1,\n      \"maximum\": 200,\n      \"default\": 20,\n      \"prefill\": 20\n    }\n  },\n  \"required\": [\n    \"mode\"\n  ]\n}",
    "readme": "# European Soccer League Teams, Players & Results Lookup\n\nPull team rosters, player bios, and season match results for ten major European soccer leagues — Premier League, Championship, Scottish Premiership, Bundesliga, Serie A, La Liga, Ligue 1, Eredivisie, Belgian Pro League, and Süper Lig — from a public sports database. Choose a league and get its teams, search for a player by name, or list a full season's fixtures and results.\n\n## What this actor does\n\n- Lists every team in a chosen league, with city, stadium, founding year, and club website\n- Searches for a player by name and returns their team, nationality, position, and a short bio\n- Lists a league's games for a chosen season with final scores, venue, and status\n- Covers ten European leagues and three seasons (2022-2023 through 2024-2025) for the season-games lookup\n- Omits any field the source doesn't have for a given team, player, or match rather than sending it empty\n\n## Output per record\n\n**Team** (`recordType: \"soccer_team\"`, mode=teams)\n- `teamId`, `teamName`, `shortName`\n- `city`, `stadium`, `country`, `formedYear`\n- `website`, `logoUrl`, `teamUrl`\n\n**Player** (`recordType: \"soccer_player\"`, mode=players)\n- `playerId`, `playerName`, `team`, `nationality`, `position`\n- `height`, `weight`, `birthDate`\n- `description` — a short biography excerpt (up to 300 characters)\n- `imageUrl`, `profileUrl`\n\n**Game** (`recordType: \"soccer_game\"`, mode=games)\n- `eventId`, `eventName`, `homeTeam`, `awayTeam`, `homeScore`, `awayScore`\n- `season`, `matchDate`, `venue`, `status`, `eventUrl`\n\nEvery record also includes `scrapedAt`, an ISO 8601 timestamp of when it was collected.\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `teams` | `teams`, `players`, or `games` |\n| `leagueId` | string | `4328` | One of ten supported leagues (modes=teams, games); see examples below |\n| `searchQuery` | string | `Harry Kane` | Player name to search for (mode=players) |\n| `season` | string | `2024-2025` | Season to fetch, one of `2022-2023`, `2023-2024`, `2024-2025` (mode=games) |\n| `maxItems` | integer | `20` | Maximum number of records to return (1-200) |\n\n### Example: list Premier League teams\n\n```json\n{\n    \"mode\": \"teams\",\n    \"leagueId\": \"4328\",\n    \"maxItems\": 20\n}\n```\n\n### Example: search for a player\n\n```json\n{\n    \"mode\": \"players\",\n    \"searchQuery\": \"Erling Haaland\",\n    \"maxItems\": 5\n}\n```\n\n### Example: a season's La Liga results\n\n```json\n{\n    \"mode\": \"games\",\n    \"leagueId\": \"4335\",\n    \"season\": \"2023-2024\",\n    \"maxItems\": 100\n}\n```\n\n## Use cases\n\n- **League directory building** — pull every club in a league with its stadium and founding year for a reference dataset\n- **Player bio lookups** — grab nationality, position, and a short bio for a player you're writing about\n- **Season results archives** — collect a full season's match results for one of the ten covered leagues\n- **Fan content and quizzes** — combine team and player lookups to build trivia or profile content\n- **Cross-league comparisons** — repeat the `teams` or `games` lookup across different `leagueId` values to compare leagues\n\n## FAQ\n\n**Which leagues are supported?** English Premier League, English Championship, Scottish Premiership, German Bundesliga, Italian Serie A, Spanish La Liga, French Ligue 1, Dutch Eredivisie, Belgian Pro League, and Turkish Süper Lig — pick one via `leagueId` in `teams` or `games` mode.\n\n**Does `players` search restrict to one league?** No — it searches the source's full player index by name regardless of league, so a player from any covered or uncovered competition can appear if their name matches.\n\n**Why would `games` mode return nothing for a given season?** The source only has data for `2022-2023`, `2023-2024`, and `2024-2025`; a season outside that range, or a league/season combination with no recorded events, returns zero records.\n\n**Does this include live scores?** No — `games` mode returns whatever season results the source has on record; it is not a live-score feed for in-progress matches.\n\n**Why are some player fields like `height` or `weight` missing?** Those fields are only populated when the source has published them for that specific player; coverage varies by player and league.\n\n**Is this a betting-odds or advanced-stats tool?** No — it covers team rosters, player bios, and match results/scores only; it does not include expected goals, shot maps, or betting lines.\n\n**Is this affiliated with any of the covered leagues or clubs?** No. This actor reads data from a public sports database and is not affiliated with, endorsed by, or sponsored by any league, club, or federation named above.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "european-soccer-league-teams-players-and-results",
      "title": "European Soccer League Teams, Players & Results Lookup",
      "description": "List teams, search players, or pull a season's match results across ten major European soccer leagues, including club details, player bios, and final scores.",
      "version": "1.0",
      "buildTag": "latest",
      "dockerfile": "../Dockerfile",
      "readme": "# European Soccer League Teams, Players & Results Lookup\n\nPull team rosters, player bios, and season match results for ten major European soccer leagues — Premier League, Championship, Scottish Premiership, Bundesliga, Serie A, La Liga, Ligue 1, Eredivisie, Belgian Pro League, and Süper Lig — from a public sports database. Choose a league and get its teams, search for a player by name, or list a full season's fixtures and results.\n\n## What this actor does\n\n- Lists every team in a chosen league, with city, stadium, founding year, and club website\n- Searches for a player by name and returns their team, nationality, position, and a short bio\n- Lists a league's games for a chosen season with final scores, venue, and status\n- Covers ten European leagues and three seasons (2022-2023 through 2024-2025) for the season-games lookup\n- Omits any field the source doesn't have for a given team, player, or match rather than sending it empty\n\n## Output per record\n\n**Team** (`recordType: \"soccer_team\"`, mode=teams)\n- `teamId`, `teamName`, `shortName`\n- `city`, `stadium`, `country`, `formedYear`\n- `website`, `logoUrl`, `teamUrl`\n\n**Player** (`recordType: \"soccer_player\"`, mode=players)\n- `playerId`, `playerName`, `team`, `nationality`, `position`\n- `height`, `weight`, `birthDate`\n- `description` — a short biography excerpt (up to 300 characters)\n- `imageUrl`, `profileUrl`\n\n**Game** (`recordType: \"soccer_game\"`, mode=games)\n- `eventId`, `eventName`, `homeTeam`, `awayTeam`, `homeScore`, `awayScore`\n- `season`, `matchDate`, `venue`, `status`, `eventUrl`\n\nEvery record also includes `scrapedAt`, an ISO 8601 timestamp of when it was collected.\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `teams` | `teams`, `players`, or `games` |\n| `leagueId` | string | `4328` | One of ten supported leagues (modes=teams, games); see examples below |\n| `searchQuery` | string | `Harry Kane` | Player name to search for (mode=players) |\n| `season` | string | `2024-2025` | Season to fetch, one of `2022-2023`, `2023-2024`, `2024-2025` (mode=games) |\n| `maxItems` | integer | `20` | Maximum number of records to return (1-200) |\n\n### Example: list Premier League teams\n\n```json\n{\n    \"mode\": \"teams\",\n    \"leagueId\": \"4328\",\n    \"maxItems\": 20\n}\n```\n\n### Example: search for a player\n\n```json\n{\n    \"mode\": \"players\",\n    \"searchQuery\": \"Erling Haaland\",\n    \"maxItems\": 5\n}\n```\n\n### Example: a season's La Liga results\n\n```json\n{\n    \"mode\": \"games\",\n    \"leagueId\": \"4335\",\n    \"season\": \"2023-2024\",\n    \"maxItems\": 100\n}\n```\n\n## Use cases\n\n- **League directory building** — pull every club in a league with its stadium and founding year for a reference dataset\n- **Player bio lookups** — grab nationality, position, and a short bio for a player you're writing about\n- **Season results archives** — collect a full season's match results for one of the ten covered leagues\n- **Fan content and quizzes** — combine team and player lookups to build trivia or profile content\n- **Cross-league comparisons** — repeat the `teams` or `games` lookup across different `leagueId` values to compare leagues\n\n## FAQ\n\n**Which leagues are supported?** English Premier League, English Championship, Scottish Premiership, German Bundesliga, Italian Serie A, Spanish La Liga, French Ligue 1, Dutch Eredivisie, Belgian Pro League, and Turkish Süper Lig — pick one via `leagueId` in `teams` or `games` mode.\n\n**Does `players` search restrict to one league?** No — it searches the source's full player index by name regardless of league, so a player from any covered or uncovered competition can appear if their name matches.\n\n**Why would `games` mode return nothing for a given season?** The source only has data for `2022-2023`, `2023-2024`, and `2024-2025`; a season outside that range, or a league/season combination with no recorded events, returns zero records.\n\n**Does this include live scores?** No — `games` mode returns whatever season results the source has on record; it is not a live-score feed for in-progress matches.\n\n**Why are some player fields like `height` or `weight` missing?** Those fields are only populated when the source has published them for that specific player; coverage varies by player and league.\n\n**Is this a betting-odds or advanced-stats tool?** No — it covers team rosters, player bios, and match results/scores only; it does not include expected goals, shot maps, or betting lines.\n\n**Is this affiliated with any of the covered leagues or clubs?** No. This actor reads data from a public sports database and is not affiliated with, endorsed by, or sponsored by any league, club, or federation named above.\n",
      "input": {
        "title": "Soccer Stats Scraper Input",
        "description": "Scrape soccer teams, players, and match results from TheSportsDB free API.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "title": "Mode",
            "description": "What data to fetch.",
            "type": "string",
            "editor": "select",
            "enum": [
              "teams",
              "players",
              "games"
            ],
            "enumTitles": [
              "League Teams",
              "Player Search",
              "Season Games"
            ],
            "default": "teams",
            "prefill": "teams"
          },
          "leagueId": {
            "title": "League",
            "description": "TheSportsDB league ID to fetch data from.",
            "type": "string",
            "editor": "select",
            "enum": [
              "4328",
              "4329",
              "4330",
              "4331",
              "4332",
              "4333",
              "4334",
              "4335",
              "4336",
              "4337"
            ],
            "enumTitles": [
              "English Premier League",
              "English Championship",
              "Scottish Premier League",
              "German Bundesliga",
              "Italian Serie A",
              "Spanish La Liga",
              "French Ligue 1",
              "Dutch Eredivisie",
              "Belgian Pro League",
              "Turkish Süper Lig"
            ],
            "default": "4328",
            "prefill": "4328"
          },
          "searchQuery": {
            "title": "Search query",
            "description": "Player name for players mode.",
            "type": "string",
            "editor": "textfield",
            "default": "Harry Kane",
            "prefill": "Harry Kane"
          },
          "season": {
            "title": "Season",
            "description": "Season year range for games mode.",
            "type": "string",
            "editor": "select",
            "enum": [
              "2022-2023",
              "2023-2024",
              "2024-2025"
            ],
            "enumTitles": [
              "2022-2023",
              "2023-2024",
              "2024-2025"
            ],
            "default": "2024-2025",
            "prefill": "2024-2025"
          },
          "maxItems": {
            "title": "Max items",
            "description": "Maximum records to return.",
            "type": "integer",
            "minimum": 1,
            "maximum": 200,
            "default": 20,
            "prefill": 20
          }
        },
        "required": [
          "mode"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "European Soccer League Teams, Players & Results Lookup Output",
        "description": "Dataset of soccer teams, players, or season match results, depending on the mode used.",
        "properties": {
          "results": {
            "type": "string",
            "title": "Soccer records",
            "description": "Dataset containing all scraped teams, players, or game results.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "overview": {
              "title": "Soccer Stats Scraper",
              "transformation": {
                "fields": [
                  "teamName",
                  "playerName",
                  "eventName",
                  "homeTeam",
                  "awayTeam",
                  "matchDate"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            }
          }
        }
      },
      "environmentVariables": {}
    },
    "buildNumber": "1.0.1",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.0"
    }
  }
}