{
  "data": {
    "id": "DMFFTBIoEP37qexw0",
    "actId": "szVT7XW87OZyZPdDG",
    "userId": "IYgBDiXtHOijAaUel",
    "startedAt": "2026-12-01T04:47:30.195Z",
    "finishedAt": "2026-12-01T04:47:43.964Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CI"
    },
    "inputSchema": "{\n  \"title\": \"FotMob Scraper Input\",\n  \"description\": \"Search FotMob's football database, browse leagues, tables and fixtures, or look up teams, matches and players by ID.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"title\": \"Mode\",\n      \"type\": \"string\",\n      \"description\": \"What to fetch.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"search\",\n        \"byLeague\",\n        \"standings\",\n        \"byTeam\",\n        \"byMatch\",\n        \"byPlayer\",\n        \"byDate\"\n      ],\n      \"enumTitles\": [\n        \"Search teams, players and matches\",\n        \"League overview (table + fixtures)\",\n        \"League standings\",\n        \"Team overview\",\n        \"Matches by ID\",\n        \"Players by ID\",\n        \"All matches on a date\"\n      ],\n      \"default\": \"search\",\n      \"prefill\": \"search\"\n    },\n    \"searchTerm\": {\n      \"title\": \"Search term (mode=search)\",\n      \"type\": \"string\",\n      \"description\": \"Team, player or league name (mode=search).\",\n      \"editor\": \"textfield\",\n      \"default\": \"manchester\",\n      \"prefill\": \"manchester\"\n    },\n    \"leagueId\": {\n      \"title\": \"League (mode=byLeague / standings)\",\n      \"type\": \"string\",\n      \"description\": \"League to fetch (mode=byLeague / standings).\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"47\",\n        \"42\",\n        \"87\",\n        \"54\",\n        \"55\",\n        \"77\",\n        \"73\",\n        \"53\",\n        \"132\",\n        \"50\",\n        \"130\",\n        \"147\",\n        \"135\",\n        \"112\",\n        \"57\",\n        \"61\",\n        \"120\",\n        \"86\",\n        \"113\",\n        \"176\",\n        \"108\",\n        \"109\",\n        \"48\",\n        \"71\",\n        \"74\",\n        \"143\",\n        \"144\",\n        \"122\",\n        \"141\",\n        \"161\"\n      ],\n      \"enumTitles\": [\n        \"Premier League\",\n        \"Champions League\",\n        \"LaLiga\",\n        \"Bundesliga\",\n        \"Serie A\",\n        \"World Cup\",\n        \"Europa League\",\n        \"Ligue 1\",\n        \"FA Cup\",\n        \"EURO\",\n        \"Major League Soccer\",\n        \"Serie C\",\n        \"Super League 1\",\n        \"Liga Profesional\",\n        \"Eredivisie\",\n        \"Liga Portugal\",\n        \"Super League\",\n        \"Serie B\",\n        \"A-League\",\n        \"1. liga\",\n        \"League One\",\n        \"League Two\",\n        \"Championship\",\n        \"Süper Lig\",\n        \"UEFA Super Cup\",\n        \"Suomen Cup\",\n        \"Allsvenskan\",\n        \"Saudi Pro League\",\n        \"Coppa Italia\",\n        \"Liga AUF Uruguaya\"\n      ],\n      \"default\": \"47\",\n      \"prefill\": \"47\"\n    },\n    \"season\": {\n      \"title\": \"Season (mode=byLeague / standings)\",\n      \"type\": \"string\",\n      \"description\": \"Season label like `2026/2027`; empty uses the league's current season (mode=byLeague / standings).\",\n      \"editor\": \"textfield\"\n    },\n    \"teamId\": {\n      \"title\": \"Team ID (mode=byTeam)\",\n      \"type\": \"string\",\n      \"description\": \"FotMob team ID, e.g. `8456` for Manchester City (mode=byTeam).\",\n      \"editor\": \"textfield\"\n    },\n    \"matchIds\": {\n      \"title\": \"Match IDs (mode=byMatch)\",\n      \"type\": \"array\",\n      \"description\": \"FotMob match IDs (mode=byMatch).\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"playerIds\": {\n      \"title\": \"Player IDs (mode=byPlayer)\",\n      \"type\": \"array\",\n      \"description\": \"FotMob player IDs (mode=byPlayer).\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"date\": {\n      \"title\": \"Date (mode=byDate)\",\n      \"type\": \"string\",\n      \"description\": \"Match date as YYYY-MM-DD (mode=byDate).\",\n      \"editor\": \"textfield\",\n      \"default\": \"2024-08-01\"\n    },\n    \"fromDate\": {\n      \"title\": \"From date (filter)\",\n      \"type\": \"string\",\n      \"description\": \"Keep only matches on or after this date (YYYY-MM-DD).\",\n      \"editor\": \"textfield\"\n    },\n    \"toDate\": {\n      \"title\": \"To date (filter)\",\n      \"type\": \"string\",\n      \"description\": \"Keep only matches on or before this date (YYYY-MM-DD).\",\n      \"editor\": \"textfield\"\n    },\n    \"containsKeyword\": {\n      \"title\": \"Keyword filter\",\n      \"type\": \"string\",\n      \"description\": \"Only keep records whose team / player / league name contains this text.\",\n      \"editor\": \"textfield\"\n    },\n    \"includeFixtures\": {\n      \"title\": \"Include fixtures\",\n      \"type\": \"boolean\",\n      \"description\": \"Also emit upcoming fixtures (mode=byLeague).\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"includeSquad\": {\n      \"title\": \"Include squad\",\n      \"type\": \"boolean\",\n      \"description\": \"Also emit squad members (mode=byTeam).\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"maxItems\": {\n      \"title\": \"Max items\",\n      \"type\": \"integer\",\n      \"description\": \"Hard cap on emitted records.\",\n      \"minimum\": 1,\n      \"maximum\": 1000,\n      \"default\": 50,\n      \"prefill\": 10\n    },\n    \"proxyConfiguration\": {\n      \"title\": \"Proxy configuration\",\n      \"type\": \"object\",\n      \"description\": \"Optional proxy (used automatically if the API blocks the datacenter IP).\",\n      \"editor\": \"proxy\",\n      \"prefill\": {\n        \"useApifyProxy\": false\n      }\n    }\n  },\n  \"required\": [\n    \"mode\"\n  ]\n}",
    "readme": "# FotMob Standings, Fixtures & Player Profile Extractor\n\nFotMob tracks live scores, league tables, and player stats for football competitions worldwide. This actor turns that data into structured records: search for a team, player, league, or match by name; pull a league's standings and fixtures; look up a team or player profile; or list every match played on a given day.\n\n## What this actor does\n\n- Searches FotMob's name index for teams, players, matches, or leagues matching a free-text term\n- Pulls a league's metadata, available seasons, full standings table, and (optionally) its upcoming fixtures in one go\n- Fetches a league's standings table on its own, for a specific or current season\n- Looks up a team's profile (next/last match, stadium, recent form) and, optionally, its full squad with per-player stats\n- Fetches exact matches or player profiles by FotMob ID, or every match played anywhere in the world on a given date\n- Leaves out any field FotMob doesn't report for that record rather than sending it empty\n\n## Output per record\n\nEvery record carries a `recordType` and a `scrapedAt` UTC timestamp. The fields present depend on the record type.\n\n**Suggestion** (`recordType: \"suggestion\"`, mode=search)\n- `suggestionType` — `team`, `player`, `match`, or `league`\n- Team suggestions: `teamId`, `teamName`, `teamShortName`, `leagueId`, `leagueName`, `countryCode`\n- Player suggestions: `playerId`, `playerName`, `teamId`, `teamName`, `position`, `isCoach`\n- Match suggestions: `matchId`, `homeTeam`, `awayTeam`, `homeScore`, `awayScore`, `matchDate`, `leagueId`, `leagueName`, `matchStatus`\n- League suggestions: `leagueId`, `leagueName`, `countryCode`, `countryName`\n- `sourceUrl`\n\n**League** (`recordType: \"league\"`, mode=byLeague)\n- `leagueId`, `leagueName`, `shortName`, `countryCode`\n- `selectedSeason`, `latestSeason`, `availableSeasons`\n- `leagueColor`, `seopath`, `sourceUrl`\n\n**Standings** (`recordType: \"standings\"`, modes=byLeague, standings)\n- `teamId`, `teamName`, `teamShortName`, `position`\n- `played`, `wins`, `draws`, `losses`, `goalDifference`, `points`, `deduction`\n- `scoresStr`, `qualColor`, `pageUrl`\n- `leagueId`, `leagueName`, `season`, `sourceUrl`\n\n**Fixture** (`recordType: \"fixture\"`, mode=byLeague with `includeFixtures`)\n- `matchId`, `homeTeam`, `awayTeam`, `homeTeamId`, `awayTeamId`, `homeScore`, `awayScore`\n- `round`, `utcTime`, `matchStatus`, `isStarted`, `isFinished`, `isCancelled`, `isAwarded`\n- `leagueId`, `leagueName`, `sourceUrl`\n\n**Match** (`recordType: \"match\"`, modes=byMatch, byDate)\n- `matchId`, `homeTeam`, `awayTeam`, `homeTeamId`, `awayTeamId`, `homeScore`, `awayScore`\n- `matchDate`, `utcTime`, `time`, `matchStatus`, `scoreStr`, `isStarted`, `isFinished`, `isCancelled`\n- `leagueId`, `leagueName`, `countryCode`, `pageUrl`, `sourceUrl`\n\n**Team** (`recordType: \"team\"`, mode=byTeam)\n- `teamId`, `teamName`, `teamShortName`, `countryCode`, `gender`, `latestSeason`, `seopath`\n- `nextMatchOpponent`, `nextMatchId`, `nextMatchUtcTime`, `nextMatchTournament`\n- `lastMatchOpponent`, `lastMatchId`, `lastMatchUtcTime`, `lastMatchTournament`\n- `stadiumName`, `stadiumCity`, `stadiumCapacity`, `teamForm`, `sourceUrl`\n\n**Squad member** (`recordType: \"squadMember\"`, mode=byTeam with `includeSquad`)\n- `playerId`, `playerName`, `teamId`, `position`, `positionIdsDesc`, `countryCode`, `countryName`\n- `shirtNumber`, `age`, `dateOfBirth`\n- `goals`, `assists`, `rating`, `yellowCards`, `redCards`, `sourceUrl`\n\n**Player** (`recordType: \"player\"`, mode=byPlayer)\n- `playerId`, `playerName`, `birthDate`, `contractEnd`, `gender`\n- `isCoach`, `isCaptain`, `onLoan`\n- `primaryTeamId`, `primaryTeamName`, `position`\n- `mainLeagueName`, `mainLeagueId`, plus one `mainLeague<Stat>` field per stat FotMob reports (e.g. `mainLeagueGoals`)\n- `injury`, `marketValue`, `marketValueCurrency`, `marketValueDate`, `sourceUrl`\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `search` | `search`, `byLeague`, `standings`, `byTeam`, `byMatch`, `byPlayer`, or `byDate` |\n| `searchTerm` | string | `manchester` | Team, player, or league name (mode=search) |\n| `leagueId` | string | `47` | League to fetch (modes=byLeague, standings); select list covers 30 major competitions |\n| `season` | string | – | Season label like `2026/2027`; empty uses the league's current season (modes=byLeague, standings) |\n| `teamId` | string | – | FotMob team ID, e.g. `8456` for Manchester City (mode=byTeam) |\n| `matchIds` | array | `[]` | FotMob match IDs (mode=byMatch) |\n| `playerIds` | array | `[]` | FotMob player IDs (mode=byPlayer) |\n| `date` | string | `2024-08-01` | Match date as `YYYY-MM-DD` (mode=byDate) |\n| `fromDate` | string | – | Keep only matches on or after this date (`YYYY-MM-DD`) |\n| `toDate` | string | – | Keep only matches on or before this date (`YYYY-MM-DD`) |\n| `containsKeyword` | string | – | Only keep records whose team/player/league name contains this text |\n| `includeFixtures` | boolean | `false` | Also emit upcoming fixtures (mode=byLeague) |\n| `includeSquad` | boolean | `false` | Also emit squad members (mode=byTeam) |\n| `maxItems` | integer | `50` | Maximum number of records to return (1-1000) |\n| `proxyConfiguration` | object | off | Optional proxy, used automatically if FotMob blocks the default connection |\n\n### Example: search for a team\n\n```json\n{\n    \"mode\": \"search\",\n    \"searchTerm\": \"manchester\",\n    \"maxItems\": 10\n}\n```\n\n### Example: Premier League table with upcoming fixtures\n\n```json\n{\n    \"mode\": \"byLeague\",\n    \"leagueId\": \"47\",\n    \"includeFixtures\": true,\n    \"maxItems\": 50\n}\n```\n\n### Example: a team's profile and full squad\n\n```json\n{\n    \"mode\": \"byTeam\",\n    \"teamId\": \"8456\",\n    \"includeSquad\": true,\n    \"maxItems\": 50\n}\n```\n\n### Example: every match on a given date\n\n```json\n{\n    \"mode\": \"byDate\",\n    \"date\": \"2024-08-01\",\n    \"maxItems\": 100\n}\n```\n\n## Use cases\n\n- **Live score dashboards** — pull `byDate` matches daily to track fixtures and results across every league at once\n- **League table tracking** — monitor standings for a competition across the season with `byLeague` or `standings`\n- **Squad and transfer research** — fetch a team's full squad with per-player stats, or a specific player's profile and market value\n- **Content and betting-adjacent research** — resolve names to FotMob IDs via `search` before fetching full detail records\n- **Historical season comparisons** — set `season` to pull a league's past-season standings alongside the current one\n\n## FAQ\n\n**What's the difference between `byLeague` and `standings`?** `byLeague` returns the league's own metadata record plus its standings and (optionally) fixtures in one run. `standings` skips the league metadata and fixtures and only emits the table rows — use it when you just need the table.\n\n**How do I find a `leagueId` or `teamId`?** Run `mode: \"search\"` with the competition or team name; the resulting `suggestion` record includes the matching `leagueId` or `teamId` you can reuse in other modes.\n\n**Why are some player stat fields different between players?** `mainLeague<Stat>` fields are generated from whatever stats FotMob reports for that player's primary league (e.g. goals, assists, rating), so the exact set of fields can vary by player and position.\n\n**Why is `includeSquad` separate from `byTeam`?** Fetching the full squad adds many extra records per team, so it's opt-in; leave it off when you only need the team's overview (next/last match, stadium, form).\n\n**Does `season` work for any league?** It only takes effect for `byLeague` and `standings`, and only if FotMob has data for that season under the given `leagueId`; leaving it empty returns the league's current season.\n\n**Why would a date return zero matches?** Some days genuinely have no scheduled matches in major leagues (off-season periods, international breaks); try a date with known fixtures if you need a non-empty result.\n\n**Is this affiliated with FotMob?** No. This actor reads FotMob's publicly accessible data and is not affiliated with, endorsed by, or sponsored by FotMob.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "fotmob-standings-fixtures-and-player-profile",
      "title": "FotMob Standings, Fixtures & Player Profile Extractor",
      "description": "Search FotMob for teams, players, leagues, and matches, then pull league standings and fixtures, team and squad profiles, player stats, or every match played on a given date.",
      "version": "1.0",
      "buildTag": "latest",
      "dockerfile": "./Dockerfile",
      "readme": "# FotMob Standings, Fixtures & Player Profile Extractor\n\nFotMob tracks live scores, league tables, and player stats for football competitions worldwide. This actor turns that data into structured records: search for a team, player, league, or match by name; pull a league's standings and fixtures; look up a team or player profile; or list every match played on a given day.\n\n## What this actor does\n\n- Searches FotMob's name index for teams, players, matches, or leagues matching a free-text term\n- Pulls a league's metadata, available seasons, full standings table, and (optionally) its upcoming fixtures in one go\n- Fetches a league's standings table on its own, for a specific or current season\n- Looks up a team's profile (next/last match, stadium, recent form) and, optionally, its full squad with per-player stats\n- Fetches exact matches or player profiles by FotMob ID, or every match played anywhere in the world on a given date\n- Leaves out any field FotMob doesn't report for that record rather than sending it empty\n\n## Output per record\n\nEvery record carries a `recordType` and a `scrapedAt` UTC timestamp. The fields present depend on the record type.\n\n**Suggestion** (`recordType: \"suggestion\"`, mode=search)\n- `suggestionType` — `team`, `player`, `match`, or `league`\n- Team suggestions: `teamId`, `teamName`, `teamShortName`, `leagueId`, `leagueName`, `countryCode`\n- Player suggestions: `playerId`, `playerName`, `teamId`, `teamName`, `position`, `isCoach`\n- Match suggestions: `matchId`, `homeTeam`, `awayTeam`, `homeScore`, `awayScore`, `matchDate`, `leagueId`, `leagueName`, `matchStatus`\n- League suggestions: `leagueId`, `leagueName`, `countryCode`, `countryName`\n- `sourceUrl`\n\n**League** (`recordType: \"league\"`, mode=byLeague)\n- `leagueId`, `leagueName`, `shortName`, `countryCode`\n- `selectedSeason`, `latestSeason`, `availableSeasons`\n- `leagueColor`, `seopath`, `sourceUrl`\n\n**Standings** (`recordType: \"standings\"`, modes=byLeague, standings)\n- `teamId`, `teamName`, `teamShortName`, `position`\n- `played`, `wins`, `draws`, `losses`, `goalDifference`, `points`, `deduction`\n- `scoresStr`, `qualColor`, `pageUrl`\n- `leagueId`, `leagueName`, `season`, `sourceUrl`\n\n**Fixture** (`recordType: \"fixture\"`, mode=byLeague with `includeFixtures`)\n- `matchId`, `homeTeam`, `awayTeam`, `homeTeamId`, `awayTeamId`, `homeScore`, `awayScore`\n- `round`, `utcTime`, `matchStatus`, `isStarted`, `isFinished`, `isCancelled`, `isAwarded`\n- `leagueId`, `leagueName`, `sourceUrl`\n\n**Match** (`recordType: \"match\"`, modes=byMatch, byDate)\n- `matchId`, `homeTeam`, `awayTeam`, `homeTeamId`, `awayTeamId`, `homeScore`, `awayScore`\n- `matchDate`, `utcTime`, `time`, `matchStatus`, `scoreStr`, `isStarted`, `isFinished`, `isCancelled`\n- `leagueId`, `leagueName`, `countryCode`, `pageUrl`, `sourceUrl`\n\n**Team** (`recordType: \"team\"`, mode=byTeam)\n- `teamId`, `teamName`, `teamShortName`, `countryCode`, `gender`, `latestSeason`, `seopath`\n- `nextMatchOpponent`, `nextMatchId`, `nextMatchUtcTime`, `nextMatchTournament`\n- `lastMatchOpponent`, `lastMatchId`, `lastMatchUtcTime`, `lastMatchTournament`\n- `stadiumName`, `stadiumCity`, `stadiumCapacity`, `teamForm`, `sourceUrl`\n\n**Squad member** (`recordType: \"squadMember\"`, mode=byTeam with `includeSquad`)\n- `playerId`, `playerName`, `teamId`, `position`, `positionIdsDesc`, `countryCode`, `countryName`\n- `shirtNumber`, `age`, `dateOfBirth`\n- `goals`, `assists`, `rating`, `yellowCards`, `redCards`, `sourceUrl`\n\n**Player** (`recordType: \"player\"`, mode=byPlayer)\n- `playerId`, `playerName`, `birthDate`, `contractEnd`, `gender`\n- `isCoach`, `isCaptain`, `onLoan`\n- `primaryTeamId`, `primaryTeamName`, `position`\n- `mainLeagueName`, `mainLeagueId`, plus one `mainLeague<Stat>` field per stat FotMob reports (e.g. `mainLeagueGoals`)\n- `injury`, `marketValue`, `marketValueCurrency`, `marketValueDate`, `sourceUrl`\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `search` | `search`, `byLeague`, `standings`, `byTeam`, `byMatch`, `byPlayer`, or `byDate` |\n| `searchTerm` | string | `manchester` | Team, player, or league name (mode=search) |\n| `leagueId` | string | `47` | League to fetch (modes=byLeague, standings); select list covers 30 major competitions |\n| `season` | string | – | Season label like `2026/2027`; empty uses the league's current season (modes=byLeague, standings) |\n| `teamId` | string | – | FotMob team ID, e.g. `8456` for Manchester City (mode=byTeam) |\n| `matchIds` | array | `[]` | FotMob match IDs (mode=byMatch) |\n| `playerIds` | array | `[]` | FotMob player IDs (mode=byPlayer) |\n| `date` | string | `2024-08-01` | Match date as `YYYY-MM-DD` (mode=byDate) |\n| `fromDate` | string | – | Keep only matches on or after this date (`YYYY-MM-DD`) |\n| `toDate` | string | – | Keep only matches on or before this date (`YYYY-MM-DD`) |\n| `containsKeyword` | string | – | Only keep records whose team/player/league name contains this text |\n| `includeFixtures` | boolean | `false` | Also emit upcoming fixtures (mode=byLeague) |\n| `includeSquad` | boolean | `false` | Also emit squad members (mode=byTeam) |\n| `maxItems` | integer | `50` | Maximum number of records to return (1-1000) |\n| `proxyConfiguration` | object | off | Optional proxy, used automatically if FotMob blocks the default connection |\n\n### Example: search for a team\n\n```json\n{\n    \"mode\": \"search\",\n    \"searchTerm\": \"manchester\",\n    \"maxItems\": 10\n}\n```\n\n### Example: Premier League table with upcoming fixtures\n\n```json\n{\n    \"mode\": \"byLeague\",\n    \"leagueId\": \"47\",\n    \"includeFixtures\": true,\n    \"maxItems\": 50\n}\n```\n\n### Example: a team's profile and full squad\n\n```json\n{\n    \"mode\": \"byTeam\",\n    \"teamId\": \"8456\",\n    \"includeSquad\": true,\n    \"maxItems\": 50\n}\n```\n\n### Example: every match on a given date\n\n```json\n{\n    \"mode\": \"byDate\",\n    \"date\": \"2024-08-01\",\n    \"maxItems\": 100\n}\n```\n\n## Use cases\n\n- **Live score dashboards** — pull `byDate` matches daily to track fixtures and results across every league at once\n- **League table tracking** — monitor standings for a competition across the season with `byLeague` or `standings`\n- **Squad and transfer research** — fetch a team's full squad with per-player stats, or a specific player's profile and market value\n- **Content and betting-adjacent research** — resolve names to FotMob IDs via `search` before fetching full detail records\n- **Historical season comparisons** — set `season` to pull a league's past-season standings alongside the current one\n\n## FAQ\n\n**What's the difference between `byLeague` and `standings`?** `byLeague` returns the league's own metadata record plus its standings and (optionally) fixtures in one run. `standings` skips the league metadata and fixtures and only emits the table rows — use it when you just need the table.\n\n**How do I find a `leagueId` or `teamId`?** Run `mode: \"search\"` with the competition or team name; the resulting `suggestion` record includes the matching `leagueId` or `teamId` you can reuse in other modes.\n\n**Why are some player stat fields different between players?** `mainLeague<Stat>` fields are generated from whatever stats FotMob reports for that player's primary league (e.g. goals, assists, rating), so the exact set of fields can vary by player and position.\n\n**Why is `includeSquad` separate from `byTeam`?** Fetching the full squad adds many extra records per team, so it's opt-in; leave it off when you only need the team's overview (next/last match, stadium, form).\n\n**Does `season` work for any league?** It only takes effect for `byLeague` and `standings`, and only if FotMob has data for that season under the given `leagueId`; leaving it empty returns the league's current season.\n\n**Why would a date return zero matches?** Some days genuinely have no scheduled matches in major leagues (off-season periods, international breaks); try a date with known fixtures if you need a non-empty result.\n\n**Is this affiliated with FotMob?** No. This actor reads FotMob's publicly accessible data and is not affiliated with, endorsed by, or sponsored by FotMob.\n",
      "input": {
        "title": "FotMob Scraper Input",
        "description": "Search FotMob's football database, browse leagues, tables and fixtures, or look up teams, matches and players by ID.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "title": "Mode",
            "type": "string",
            "description": "What to fetch.",
            "editor": "select",
            "enum": [
              "search",
              "byLeague",
              "standings",
              "byTeam",
              "byMatch",
              "byPlayer",
              "byDate"
            ],
            "enumTitles": [
              "Search teams, players and matches",
              "League overview (table + fixtures)",
              "League standings",
              "Team overview",
              "Matches by ID",
              "Players by ID",
              "All matches on a date"
            ],
            "default": "search",
            "prefill": "search"
          },
          "searchTerm": {
            "title": "Search term (mode=search)",
            "type": "string",
            "description": "Team, player or league name (mode=search).",
            "editor": "textfield",
            "default": "manchester",
            "prefill": "manchester"
          },
          "leagueId": {
            "title": "League (mode=byLeague / standings)",
            "type": "string",
            "description": "League to fetch (mode=byLeague / standings).",
            "editor": "select",
            "enum": [
              "47",
              "42",
              "87",
              "54",
              "55",
              "77",
              "73",
              "53",
              "132",
              "50",
              "130",
              "147",
              "135",
              "112",
              "57",
              "61",
              "120",
              "86",
              "113",
              "176",
              "108",
              "109",
              "48",
              "71",
              "74",
              "143",
              "144",
              "122",
              "141",
              "161"
            ],
            "enumTitles": [
              "Premier League",
              "Champions League",
              "LaLiga",
              "Bundesliga",
              "Serie A",
              "World Cup",
              "Europa League",
              "Ligue 1",
              "FA Cup",
              "EURO",
              "Major League Soccer",
              "Serie C",
              "Super League 1",
              "Liga Profesional",
              "Eredivisie",
              "Liga Portugal",
              "Super League",
              "Serie B",
              "A-League",
              "1. liga",
              "League One",
              "League Two",
              "Championship",
              "Süper Lig",
              "UEFA Super Cup",
              "Suomen Cup",
              "Allsvenskan",
              "Saudi Pro League",
              "Coppa Italia",
              "Liga AUF Uruguaya"
            ],
            "default": "47",
            "prefill": "47"
          },
          "season": {
            "title": "Season (mode=byLeague / standings)",
            "type": "string",
            "description": "Season label like `2026/2027`; empty uses the league's current season (mode=byLeague / standings).",
            "editor": "textfield"
          },
          "teamId": {
            "title": "Team ID (mode=byTeam)",
            "type": "string",
            "description": "FotMob team ID, e.g. `8456` for Manchester City (mode=byTeam).",
            "editor": "textfield"
          },
          "matchIds": {
            "title": "Match IDs (mode=byMatch)",
            "type": "array",
            "description": "FotMob match IDs (mode=byMatch).",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "playerIds": {
            "title": "Player IDs (mode=byPlayer)",
            "type": "array",
            "description": "FotMob player IDs (mode=byPlayer).",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "date": {
            "title": "Date (mode=byDate)",
            "type": "string",
            "description": "Match date as YYYY-MM-DD (mode=byDate).",
            "editor": "textfield",
            "default": "2024-08-01"
          },
          "fromDate": {
            "title": "From date (filter)",
            "type": "string",
            "description": "Keep only matches on or after this date (YYYY-MM-DD).",
            "editor": "textfield"
          },
          "toDate": {
            "title": "To date (filter)",
            "type": "string",
            "description": "Keep only matches on or before this date (YYYY-MM-DD).",
            "editor": "textfield"
          },
          "containsKeyword": {
            "title": "Keyword filter",
            "type": "string",
            "description": "Only keep records whose team / player / league name contains this text.",
            "editor": "textfield"
          },
          "includeFixtures": {
            "title": "Include fixtures",
            "type": "boolean",
            "description": "Also emit upcoming fixtures (mode=byLeague).",
            "default": false,
            "prefill": false
          },
          "includeSquad": {
            "title": "Include squad",
            "type": "boolean",
            "description": "Also emit squad members (mode=byTeam).",
            "default": false,
            "prefill": false
          },
          "maxItems": {
            "title": "Max items",
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "minimum": 1,
            "maximum": 1000,
            "default": 50,
            "prefill": 10
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional proxy (used automatically if the API blocks the datacenter IP).",
            "editor": "proxy",
            "prefill": {
              "useApifyProxy": false
            }
          }
        },
        "required": [
          "mode"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "FotMob Standings, Fixtures & Player Profile Extractor Output",
        "description": "Dataset of FotMob records — suggestions, league standings, fixtures, matches, teams, squad members, or players, depending on the mode used.",
        "properties": {
          "matches": {
            "type": "string",
            "title": "FotMob records",
            "description": "Dataset containing all scraped FotMob records.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "overview": {
              "title": "FotMob",
              "transformation": {
                "fields": [
                  "name",
                  "leagueName",
                  "statusText",
                  "homeTeam",
                  "awayTeam",
                  "fotmobUrl"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            }
          }
        }
      },
      "environmentVariables": {}
    },
    "buildNumber": "1.0.1",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.0"
    }
  }
}