{
  "data": {
    "id": "3JoviiLtsUgJj1fRI",
    "actId": "qK3vNllolITWHfX52",
    "userId": "tnBVjt3CXmcUrEE3L",
    "startedAt": "2026-11-14T23:05:54.198Z",
    "finishedAt": "2026-11-14T23:05:58.114Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CLI"
    },
    "stats": {
      "durationMillis": 3844,
      "runTimeSecs": 3.844,
      "computeUnits": 0.004271111111111111,
      "imageSizeBytes": 320548864
    },
    "options": {
      "useCache": true,
      "betaPackages": false,
      "memoryMbytes": 4096,
      "diskMbytes": 8192
    },
    "createdByOrganizationMemberUserId": "F2Aeb3gE2syjqz9xC",
    "exitCode": 0,
    "inputSchema": "{\n  \"title\": \"Esports Earnings Scraper Input\",\n  \"description\": \"Scrape EsportsEarnings.com: top players, top teams, top games by prize pool, or tournament results. No login or API key required.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"title\": \"Mode\",\n      \"type\": \"string\",\n      \"description\": \"What to fetch from Esports Earnings. Profile modes need the matching `playerIds`, `teamIds`, or `tournamentIds` list.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"topPlayers\",\n        \"topTeams\",\n        \"topGames\",\n        \"tournaments\",\n        \"topPlayersByCountry\",\n        \"topCountries\",\n        \"playerProfile\",\n        \"teamProfile\",\n        \"tournamentProfile\"\n      ],\n      \"enumTitles\": [\n        \"Top players by earnings\",\n        \"Top teams by earnings\",\n        \"Top games by total prize pool\",\n        \"Tournament results (overall, by game, or by year)\",\n        \"Top players by country\",\n        \"Country leaderboard by total prize money\",\n        \"Player profile (earnings by year/game/team)\",\n        \"Team profile (games, countries, top players)\",\n        \"Tournament profile (full prize distribution)\"\n      ],\n      \"default\": \"topPlayers\",\n      \"prefill\": \"topPlayers\"\n    },\n    \"game\": {\n      \"title\": \"Game (topPlayers, topTeams, tournaments)\",\n      \"type\": \"string\",\n      \"description\": \"Filter to a specific game. Leave blank on topPlayers/topTeams for cross-game rankings and on tournaments for the overall largest-prize-pools list. Use `gameCustom` for games not in this list.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"\",\n        \"231-dota-2\",\n        \"164-league-of-legends\",\n        \"371-heroes-of-the-storm\",\n        \"351-smite\",\n        \"531-mobile-legends-bang-bang\",\n        \"245-counter-strike-global-offensive\",\n        \"839-counter-strike-2\",\n        \"426-overwatch\",\n        \"792-overwatch-2\",\n        \"439-rainbow-six-siege\",\n        \"646-valorant\",\n        \"335-team-fortress-2\",\n        \"648-call-of-duty-warzone\",\n        \"639-call-of-duty-mobile\",\n        \"534-fortnite\",\n        \"566-apex-legends\",\n        \"598-free-fire\",\n        \"151-starcraft-ii\",\n        \"586-brawl-stars\",\n        \"464-clash-royale\",\n        \"507-clash-of-clans\",\n        \"409-rocket-league\",\n        \"558-super-smash-bros-ultimate\",\n        \"434-street-fighter-v\",\n        \"406-tekken-7\",\n        \"328-hearthstone\",\n        \"165-world-of-warcraft\",\n        \"525-osu\"\n      ],\n      \"enumTitles\": [\n        \"(none — overall / cross-game)\",\n        \"Dota 2\",\n        \"League of Legends\",\n        \"Heroes of the Storm\",\n        \"SMITE\",\n        \"Mobile Legends: Bang Bang\",\n        \"Counter-Strike: Global Offensive\",\n        \"Counter-Strike 2\",\n        \"Overwatch\",\n        \"Overwatch 2\",\n        \"Rainbow Six Siege\",\n        \"VALORANT\",\n        \"Team Fortress 2\",\n        \"Call of Duty: Warzone\",\n        \"Call of Duty Mobile\",\n        \"Fortnite\",\n        \"Apex Legends\",\n        \"Free Fire\",\n        \"StarCraft II\",\n        \"Brawl Stars\",\n        \"Clash Royale\",\n        \"Clash of Clans\",\n        \"Rocket League\",\n        \"Super Smash Bros. Ultimate\",\n        \"Street Fighter V\",\n        \"Tekken 7\",\n        \"Hearthstone\",\n        \"World of Warcraft\",\n        \"osu!\"\n      ],\n      \"default\": \"\",\n      \"prefill\": \"\"\n    },\n    \"country\": {\n      \"title\": \"Country (mode=topPlayersByCountry)\",\n      \"type\": \"string\",\n      \"description\": \"ISO 3166-1 alpha-2 country code. Returns that country's top-earning players, cross-game (esportsearnings.com's per-country breakdown page).\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"\",\n        \"cn\",\n        \"us\",\n        \"kr\",\n        \"ru\",\n        \"br\",\n        \"dk\",\n        \"fr\",\n        \"se\",\n        \"de\",\n        \"ca\",\n        \"gb\",\n        \"jp\",\n        \"ua\",\n        \"au\",\n        \"fi\",\n        \"pl\",\n        \"th\",\n        \"ph\",\n        \"my\",\n        \"tw\",\n        \"id\",\n        \"vn\",\n        \"nl\",\n        \"es\",\n        \"sa\",\n        \"tr\",\n        \"no\",\n        \"il\",\n        \"ar\",\n        \"mx\",\n        \"bg\",\n        \"jo\",\n        \"pe\",\n        \"it\",\n        \"ee\",\n        \"in\",\n        \"sg\",\n        \"pk\",\n        \"cz\",\n        \"kz\",\n        \"mn\",\n        \"at\",\n        \"sk\",\n        \"ro\",\n        \"be\",\n        \"pt\",\n        \"lb\",\n        \"by\",\n        \"hk\",\n        \"mk\",\n        \"rs\",\n        \"cl\",\n        \"ba\",\n        \"lv\",\n        \"ch\",\n        \"si\",\n        \"eg\",\n        \"gr\",\n        \"hu\",\n        \"nz\",\n        \"lt\",\n        \"za\",\n        \"am\",\n        \"ma\",\n        \"hr\",\n        \"mo\",\n        \"md\",\n        \"np\",\n        \"mm\",\n        \"kg\",\n        \"iq\",\n        \"ie\",\n        \"co\",\n        \"uz\",\n        \"do\",\n        \"uy\",\n        \"pr\",\n        \"ae\",\n        \"bo\",\n        \"ir\",\n        \"kh\",\n        \"dz\",\n        \"kw\",\n        \"cu\",\n        \"ge\",\n        \"az\",\n        \"gt\",\n        \"xk\",\n        \"sy\",\n        \"bh\",\n        \"me\",\n        \"ve\",\n        \"tn\",\n        \"la\",\n        \"ec\",\n        \"bd\",\n        \"to\",\n        \"is\",\n        \"ni\",\n        \"cr\",\n        \"ps\",\n        \"mt\",\n        \"sn\",\n        \"pa\",\n        \"al\",\n        \"lu\",\n        \"gi\",\n        \"qa\",\n        \"om\",\n        \"bn\",\n        \"hn\",\n        \"ye\",\n        \"af\",\n        \"py\",\n        \"ly\",\n        \"re\",\n        \"sv\",\n        \"lk\",\n        \"ng\",\n        \"cm\",\n        \"jm\",\n        \"um\",\n        \"et\",\n        \"mu\",\n        \"tt\",\n        \"pf\",\n        \"gl\",\n        \"mc\",\n        \"mv\",\n        \"ci\",\n        \"gh\",\n        \"fo\",\n        \"na\",\n        \"gp\",\n        \"gy\",\n        \"tm\",\n        \"sd\",\n        \"fj\",\n        \"an\",\n        \"sr\",\n        \"nc\",\n        \"im\",\n        \"je\",\n        \"tz\",\n        \"mg\",\n        \"zw\",\n        \"ax\",\n        \"gg\",\n        \"tj\",\n        \"cy\",\n        \"ke\",\n        \"mz\",\n        \"ht\",\n        \"as\",\n        \"zm\",\n        \"ao\",\n        \"gu\",\n        \"tg\",\n        \"ad\",\n        \"mr\",\n        \"bm\",\n        \"wf\",\n        \"ga\",\n        \"aw\",\n        \"tv\",\n        \"bw\",\n        \"mp\",\n        \"ne\",\n        \"bs\",\n        \"bz\",\n        \"dm\",\n        \"ug\",\n        \"so\",\n        \"vi\",\n        \"pw\",\n        \"nu\",\n        \"li\",\n        \"mf\",\n        \"ag\",\n        \"pg\",\n        \"kn\",\n        \"bl\"\n      ],\n      \"enumTitles\": [\n        \"(none — required for topPlayersByCountry)\",\n        \"China\",\n        \"United States\",\n        \"Korea\",\n        \"Russian Federation\",\n        \"Brazil\",\n        \"Denmark\",\n        \"France\",\n        \"Sweden\",\n        \"Germany\",\n        \"Canada\",\n        \"United Kingdom\",\n        \"Japan\",\n        \"Ukraine\",\n        \"Australia\",\n        \"Finland\",\n        \"Poland\",\n        \"Thailand\",\n        \"Philippines\",\n        \"Malaysia\",\n        \"Taiwan, Republic of China\",\n        \"Indonesia\",\n        \"Viet Nam\",\n        \"Netherlands\",\n        \"Spain\",\n        \"Saudi Arabia\",\n        \"Turkey\",\n        \"Norway\",\n        \"Israel\",\n        \"Argentina\",\n        \"Mexico\",\n        \"Bulgaria\",\n        \"Jordan\",\n        \"Peru\",\n        \"Italy\",\n        \"Estonia\",\n        \"India\",\n        \"Singapore\",\n        \"Pakistan\",\n        \"Czech Republic\",\n        \"Kazakhstan\",\n        \"Mongolia\",\n        \"Austria\",\n        \"Slovakia\",\n        \"Romania\",\n        \"Belgium\",\n        \"Portugal\",\n        \"Lebanon\",\n        \"Belarus\",\n        \"Hong Kong\",\n        \"North Macedonia\",\n        \"Serbia\",\n        \"Chile\",\n        \"Bosnia and Herzegovina\",\n        \"Latvia\",\n        \"Switzerland\",\n        \"Slovenia\",\n        \"Egypt\",\n        \"Greece\",\n        \"Hungary\",\n        \"New Zealand\",\n        \"Lithuania\",\n        \"South Africa\",\n        \"Armenia\",\n        \"Morocco\",\n        \"Croatia\",\n        \"Macao\",\n        \"Moldova\",\n        \"Nepal\",\n        \"Myanmar\",\n        \"Kyrgyzstan\",\n        \"Iraq\",\n        \"Ireland\",\n        \"Colombia\",\n        \"Uzbekistan\",\n        \"Dominican Republic\",\n        \"Uruguay\",\n        \"Puerto Rico\",\n        \"United Arab Emirates\",\n        \"Bolivia\",\n        \"Iran, Islamic Republic of\",\n        \"Cambodia\",\n        \"Algeria\",\n        \"Kuwait\",\n        \"Cuba\",\n        \"Georgia\",\n        \"Azerbaijan\",\n        \"Guatemala\",\n        \"Kosovo\",\n        \"Syrian Arab Republic\",\n        \"Bahrain\",\n        \"Montenegro\",\n        \"Venezuela\",\n        \"Tunisia\",\n        \"Laos\",\n        \"Ecuador\",\n        \"Bangladesh\",\n        \"Tonga\",\n        \"Iceland\",\n        \"Nicaragua\",\n        \"Costa Rica\",\n        \"Palestine, State of\",\n        \"Malta\",\n        \"Senegal\",\n        \"Panama\",\n        \"Albania\",\n        \"Luxembourg\",\n        \"Gibraltar\",\n        \"Qatar\",\n        \"Oman\",\n        \"Brunei Darussalam\",\n        \"Honduras\",\n        \"Yemen\",\n        \"Afghanistan\",\n        \"Paraguay\",\n        \"Libyan Arab Jamahiriya\",\n        \"Reunion\",\n        \"El Salvador\",\n        \"Sri Lanka\",\n        \"Nigeria\",\n        \"Cameroon\",\n        \"Jamaica\",\n        \"US Minor Outlying Islands\",\n        \"Ethiopia\",\n        \"Mauritius\",\n        \"Trinidad and Tobago\",\n        \"French Polynesia\",\n        \"Greenland\",\n        \"Monaco\",\n        \"Maldives\",\n        \"Côte D'Ivoire\",\n        \"Ghana\",\n        \"Faroe Islands\",\n        \"Namibia\",\n        \"Guadeloupe\",\n        \"Guyana\",\n        \"Turkmenistan\",\n        \"Sudan\",\n        \"Fiji\",\n        \"Netherlands Antilles\",\n        \"Suriname\",\n        \"New Caledonia\",\n        \"Isle of Man\",\n        \"Jersey\",\n        \"Tanzania\",\n        \"Madagascar\",\n        \"Zimbabwe\",\n        \"Åland Islands\",\n        \"Guernsey\",\n        \"Tajikistan\",\n        \"Cyprus\",\n        \"Kenya\",\n        \"Mozambique\",\n        \"Haiti\",\n        \"American Samoa\",\n        \"Zambia\",\n        \"Angola\",\n        \"Guam\",\n        \"Togo\",\n        \"Andorra\",\n        \"Mauritania\",\n        \"Bermuda\",\n        \"Wallis And Futuna\",\n        \"Gabon\",\n        \"Aruba\",\n        \"Tuvalu\",\n        \"Botswana\",\n        \"Northern Mariana Islands\",\n        \"Niger\",\n        \"Bahamas\",\n        \"Belize\",\n        \"Dominica\",\n        \"Uganda\",\n        \"Somalia\",\n        \"Virgin Islands, U.S.\",\n        \"Palau\",\n        \"Niue\",\n        \"Liechtenstein\",\n        \"Saint Martin\",\n        \"Antigua and Barbuda\",\n        \"Papua New Guinea\",\n        \"Saint Kitts and Nevis\",\n        \"Saint Barthélemy\"\n      ],\n      \"default\": \"\",\n      \"prefill\": \"us\"\n    },\n    \"gameCustom\": {\n      \"title\": \"Custom game ID-slug override\",\n      \"type\": \"string\",\n      \"description\": \"Any esportsearnings.com game in `{numericId}-{slug}` form (e.g. `654-arena-of-valor`), for games not in the `game` dropdown. Overrides `game` when set. Find the ID-slug in the game's esportsearnings.com URL.\",\n      \"editor\": \"textfield\"\n    },\n    \"year\": {\n      \"title\": \"Year (history rankings)\",\n      \"type\": \"integer\",\n      \"description\": \"Rank players/teams/games/countries or list tournaments for one year (1998 to today). Applies to topPlayers, topTeams, topGames, topCountries and tournaments. Ignored when a game filter is also set on topPlayers/topTeams/tournaments.\",\n      \"editor\": \"number\",\n      \"minimum\": 1998,\n      \"maximum\": 2100\n    },\n    \"month\": {\n      \"title\": \"Month (topPlayers with year)\",\n      \"type\": \"integer\",\n      \"description\": \"Optional month (1-12) for mode=topPlayers when `year` is set. Returns that month's player earnings ranking.\",\n      \"editor\": \"number\",\n      \"minimum\": 1,\n      \"maximum\": 12\n    },\n    \"playerIds\": {\n      \"title\": \"Player IDs, URLs, or ID-slug (playerProfile)\",\n      \"type\": \"array\",\n      \"description\": \"One or more players. Each entry can be a numeric player ID (e.g. 3304), an id-slug (e.g. 3304-n0tail-johan-sundstein), an esportsearnings.com player path, or a full URL.\",\n      \"editor\": \"stringList\",\n      \"items\": {\n        \"type\": \"string\"\n      },\n      \"placeholderValue\": \"3304-n0tail-johan-sundstein\"\n    },\n    \"teamIds\": {\n      \"title\": \"Team IDs, URLs, or ID-slug (teamProfile)\",\n      \"type\": \"array\",\n      \"description\": \"One or more teams. Each entry can be a numeric team ID (e.g. 102), an id-slug (e.g. 102-team-liquid), an esportsearnings.com team path, or a full URL.\",\n      \"editor\": \"stringList\",\n      \"items\": {\n        \"type\": \"string\"\n      },\n      \"placeholderValue\": \"102-team-liquid\"\n    },\n    \"tournamentIds\": {\n      \"title\": \"Tournament IDs, URLs, or ID-slug (tournamentProfile)\",\n      \"type\": \"array\",\n      \"description\": \"One or more tournaments. Each entry can be a numeric tournament ID (e.g. 49174), an id-slug, an esportsearnings.com tournament path, or a full URL.\",\n      \"editor\": \"stringList\",\n      \"items\": {\n        \"type\": \"string\"\n      },\n      \"placeholderValue\": \"49174-the-international-2021\"\n    },\n    \"maxItems\": {\n      \"title\": \"Max items\",\n      \"type\": \"integer\",\n      \"description\": \"Maximum number of records to return.\",\n      \"editor\": \"number\",\n      \"minimum\": 1,\n      \"maximum\": 1000,\n      \"default\": 30,\n      \"prefill\": 3\n    }\n  },\n  \"required\": [\n    \"mode\"\n  ]\n}",
    "readme": "# Esports Earnings Prize Money & Tournament Rankings\n\nEsportsEarnings.com tracks competitive-gaming prize money across hundreds of games, tens of thousands of tournaments and more than 100,000 players. This actor turns that catalog into structured records: career and year-by-year earnings rankings, the full country leaderboard, detail profiles for players and teams, and tournament prize distributions down to each placement, team and player.\n\n## What this actor does\n\n- **Nine modes:** `topPlayers`, `topTeams`, `topGames`, `tournaments`, `topPlayersByCountry`, `topCountries`, `playerProfile`, `teamProfile`, `tournamentProfile`\n- **Earnings rankings** for players and teams — overall, for one game, for one calendar year, or for one month\n- **Game and country rankings** — top games by prize pool and all 180+ countries by total prize money\n- **Tournament lists** — overall largest prize pools, largest tournament for a chosen game, or every tournament that ended in a chosen year\n- **Player profiles** — date of birth, world/country ranking, earnings by year, game and team, highest single prizes, and Champion/Runner-up/Semi-final counts\n- **Team profiles** — total prize money, tournament count, per-game earnings, country breakdown and top-earning players\n- **Tournament profiles** — location, dates, currency, full placement table (including tied ranks such as `5th-6th`), team rosters and prize-money-by-country\n- 28 popular games in a dropdown, plus a free-text override for any other tracked game; 182 countries in the country dropdown\n- Empty fields are omitted from every record\n\n## Modes and inputs\n\n| Mode | What it returns | Required inputs |\n|---|---|---|\n| `topPlayers` | Player earnings ranking | – |\n| `topTeams` | Team earnings ranking | – |\n| `topGames` | Games ranked by total prize money | – |\n| `tournaments` | Tournaments ranked by prize pool | – (a `game` narrows it to that game) |\n| `topPlayersByCountry` | Top 25 earners for one country | `country` |\n| `topCountries` | Country leaderboard by total prize money | – |\n| `playerProfile` | Detailed player profile | `playerIds` |\n| `teamProfile` | Detailed team profile | `teamIds` |\n| `tournamentProfile` | Tournament info + full prize distribution | `tournamentIds` |\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `topPlayers` | One of the nine modes above |\n| `game` | string | – | Filter to one game (dropdown of 28 popular titles). Leave blank for cross-game rankings and the overall tournament list. |\n| `gameCustom` | string | – | Any game in `{numericId}-{slug}` form (e.g. `654-arena-of-valor`). Overrides `game`. |\n| `year` | integer | – | History ranking year (1998–today) for `topPlayers`, `topTeams`, `topGames`, `topCountries` and `tournaments`. Ignored when a `game` filter is set. |\n| `month` | integer | – | Month 1–12 for `topPlayers` when `year` is set. |\n| `country` | string | – | ISO 3166-1 alpha-2 code (dropdown of 182 countries). Required for `topPlayersByCountry`. |\n| `playerIds` | array | – | Players for `playerProfile`: numeric ID, id-slug, path or full URL. |\n| `teamIds` | array | – | Teams for `teamProfile`: numeric ID, id-slug, path or full URL. |\n| `tournamentIds` | array | – | Tournaments for `tournamentProfile`: numeric ID, id-slug, path or full URL. |\n| `maxItems` | integer | `30` | Maximum records to return (1–1000). |\n\nProfile lists accept links copied straight from the browser, for example `https://www.esportsearnings.com/players/3304-n0tail-johan-sundstein`, `/players/3304-n0tail-johan-sundstein`, `3304-n0tail-johan-sundstein` or just `3304`.\n\n## Output per record type\n\n### Player (`recordType = \"player\"`)\n\nList modes: `rank`, `handle`, `realName`, `playerId`, `country`, `countryCode`, `totalEarningsUsd`, `highestPayingGame`, `highestPayingGameEarningsUsd`, `percentOfTotal`, `game` (game filter), `year`, `month`, `sourceUrl`.\n\n`playerProfile` adds: `dateOfBirth`, `age`, `worldRanking`, `countryRanking`, `tournamentCount`, `alternateIds`, `earningsByYear` (total/online/offline money, tournament count, % of total), `earningsByGame`, `earningsByTeam`, `highestPrizes` (date, placement, tournament, prize, game) and `topPlacements` (Champion / Runner-up / 3rd-Semis counts).\n\n### Team (`recordType = \"team\"`)\n\nList modes: `rank`, `teamName`, `teamId`, `totalEarningsUsd`, `tournamentCount`, `game` (game filter), `year`, `sourceUrl`.\n\n`teamProfile` adds: `games` (per-game earnings and % of team total), `countries` (prize money by player country) and `topPlayers` (handle, real name and earnings with the team).\n\n### Game (`recordType = \"game\"`)\n\n`rank`, `gameName`, `gameSlug`, `totalPrizeMoneyUsd`, `playerCount`, `tournamentCount`, `year`, `sourceUrl`.\n\n### Tournament (`recordType = \"tournament\"`)\n\nList modes: `rank`, `tournamentName`, `tournamentId`, `eventName`, `prizePoolUsd`, `teamCount`, `playerCount`, `teamplay`, `game`, `gameSlug`, `date` (year events), `year`, `sourceUrl`.\n\n`tournamentProfile` adds: `location`, `startDate`, `endDate`, `currencyCode`, `currencyName`, `placements` (rank text, prize, team and roster or individual player) and `countries` (prize money by country).\n\n### Country (`recordType = \"country\"`)\n\n`rank`, `country`, `countryCode`, `totalEarningsUsd`, `playerCount`, `topGame`, `topGameSlug`, `topGameEarningsUsd`, `percentOfTotal`, `year`, `sourceUrl`.\n\n## Examples\n\n### Top players overall\n\n```json\n{ \"mode\": \"topPlayers\", \"maxItems\": 50 }\n```\n\n### Top Dota 2 players\n\n```json\n{ \"mode\": \"topPlayers\", \"game\": \"231-dota-2\", \"maxItems\": 50 }\n```\n\n### The 2021 player earnings ranking\n\n```json\n{ \"mode\": \"topPlayers\", \"year\": 2021, \"maxItems\": 100 }\n```\n\n### January 2021 player ranking\n\n```json\n{ \"mode\": \"topPlayers\", \"year\": 2021, \"month\": 1, \"maxItems\": 100 }\n```\n\n### 2021 team and game rankings\n\n```json\n{ \"mode\": \"topTeams\", \"year\": 2021, \"maxItems\": 100 }\n```\n\n### Every tournament that ended in 2021\n\n```json\n{ \"mode\": \"tournaments\", \"year\": 2021, \"maxItems\": 500 }\n```\n\n### Largest Counter-Strike 2 tournaments\n\n```json\n{ \"mode\": \"tournaments\", \"game\": \"839-counter-strike-2\", \"maxItems\": 50 }\n```\n\n### Country leaderboard\n\n```json\n{ \"mode\": \"topCountries\", \"maxItems\": 50 }\n```\n\n### Top-earning Danish players\n\n```json\n{ \"mode\": \"topPlayersByCountry\", \"country\": \"dk\", \"maxItems\": 25 }\n```\n\n### Player profiles by URL and ID\n\n```json\n{\n  \"mode\": \"playerProfile\",\n  \"playerIds\": [\n    \"https://www.esportsearnings.com/players/3304-n0tail-johan-sundstein\",\n    \"15855-miposhka-yaroslav-naidenov\"\n  ]\n}\n```\n\n### A tournament's full prize distribution\n\n```json\n{ \"mode\": \"tournamentProfile\", \"tournamentIds\": [\"49174-the-international-2021\"] }\n```\n\n## Use cases\n\n- **Esports journalism** — automate top-earner tables, year-in-review leaderboards and tournament prize breakdowns\n- **Talent scouting and team management** — compare player earnings by year, game and team\n- **Sponsorship analytics** — find the highest-prize-pool games, teams and countries to target\n- **Fan platforms and fantasy esports** — power leaderboards and profile pages with live earnings data\n- **Market research** — track prize-money growth by year, game and region\n\n## Depth and limits\n\n- `topPlayers` overall: 1,000 players. `topTeams` overall: 500. Overall `tournaments`: 500.\n- Per-game lists: `topPlayers` and `tournaments` stop at 500; per-game `topTeams` depth varies with the game's team count (e.g. Dota 2: 283).\n- `topGames` overall: 100 games on the source's single page.\n- History: year/month `topPlayers` stop at 500. Year teams, games and countries are single pages (up to ~857 / 209 / 132 rows respectively). Year events is a single page too; `maxItems` caps the output at 1,000.\n- `topCountries`: all 183 ranked countries. `topPlayersByCountry`: the source's fixed top-25 page.\n- Profile modes fetch one page per target, so `maxItems` also caps how many targets are read.\n\nThe actor detects the source's repeated-last-page behaviour when a listing is exhausted and stops cleanly instead of emitting duplicates.\n\n## FAQ\n\n**What is the data source?**\nAll data comes from the public pages of [EsportsEarnings.com](https://www.esportsearnings.com), a long-running independent database of competitive-gaming tournament results and prize money.\n\n**Is this actor affiliated with Esports Earnings?**\nNo — this is an independent, third-party actor that reads publicly available pages. It is not affiliated with or endorsed by Esports Earnings.\n\n**How do I find a game's ID-slug?**\nOpen the game on esportsearnings.com and copy the last part of the URL: `esportsearnings.com/games/654-arena-of-valor` → `654-arena-of-valor`. The numeric prefix is required.\n\n**Why do some player records have `highestPayingGame` and others don't?**\nWhen no game filter is set, the list record shows each player's single highest-earning game. With a game filter, every record is already scoped to that game, so the field is omitted as redundant.\n\n**How is `totalEarningsUsd` calculated?**\nIt mirrors what the source displays: career earnings in US dollars, or the game-specific / year-specific total when a filter is set. Profile breakdowns use the same USD values the site computes.\n\n**Does a tournament profile include every placement?**\nYes — the parser walks every placement block, including tied ranks like `5th-6th` (one entry per team sharing that rank and prize) and individual events where the placement is a player rather than a team.\n\n**What about tournaments listed in another currency?**\nAll prize fields are normalised to US dollars. For tournaments listed in another currency (for example CNY), the actor uses the USD conversion the source displays next to the original amount.\n\n**How fresh is the data?**\nEvery run fetches live pages at request time; there is no caching.\n\n**Why are some profile fields missing on a few records?**\nSome teams have no roster table and some events have no country breakdown on the source page. Those fields are omitted rather than filled with placeholders.\n\n**Can I use the official EsportsEarnings API?**\nThere is an official API, but it needs a registered API key. This actor deliberately uses the public HTML so it works with no credentials and no setup.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "esports-earnings-prize-money-and-tournament",
      "title": "Esports Earnings Prize Money & Tournament Rankings",
      "description": "Pull esports prize-money data from EsportsEarnings.com: player, team and country earnings rankings, historical year/month leaderboards, tournament prize pools, and detailed player/team/tournament profiles with per-game, per-year and per-placement breakdowns.",
      "version": "1.0",
      "buildTag": "latest",
      "dockerfile": "./Dockerfile",
      "readme": "# Esports Earnings Prize Money & Tournament Rankings\n\nEsportsEarnings.com tracks competitive-gaming prize money across hundreds of games, tens of thousands of tournaments and more than 100,000 players. This actor turns that catalog into structured records: career and year-by-year earnings rankings, the full country leaderboard, detail profiles for players and teams, and tournament prize distributions down to each placement, team and player.\n\n## What this actor does\n\n- **Nine modes:** `topPlayers`, `topTeams`, `topGames`, `tournaments`, `topPlayersByCountry`, `topCountries`, `playerProfile`, `teamProfile`, `tournamentProfile`\n- **Earnings rankings** for players and teams — overall, for one game, for one calendar year, or for one month\n- **Game and country rankings** — top games by prize pool and all 180+ countries by total prize money\n- **Tournament lists** — overall largest prize pools, largest tournament for a chosen game, or every tournament that ended in a chosen year\n- **Player profiles** — date of birth, world/country ranking, earnings by year, game and team, highest single prizes, and Champion/Runner-up/Semi-final counts\n- **Team profiles** — total prize money, tournament count, per-game earnings, country breakdown and top-earning players\n- **Tournament profiles** — location, dates, currency, full placement table (including tied ranks such as `5th-6th`), team rosters and prize-money-by-country\n- 28 popular games in a dropdown, plus a free-text override for any other tracked game; 182 countries in the country dropdown\n- Empty fields are omitted from every record\n\n## Modes and inputs\n\n| Mode | What it returns | Required inputs |\n|---|---|---|\n| `topPlayers` | Player earnings ranking | – |\n| `topTeams` | Team earnings ranking | – |\n| `topGames` | Games ranked by total prize money | – |\n| `tournaments` | Tournaments ranked by prize pool | – (a `game` narrows it to that game) |\n| `topPlayersByCountry` | Top 25 earners for one country | `country` |\n| `topCountries` | Country leaderboard by total prize money | – |\n| `playerProfile` | Detailed player profile | `playerIds` |\n| `teamProfile` | Detailed team profile | `teamIds` |\n| `tournamentProfile` | Tournament info + full prize distribution | `tournamentIds` |\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `topPlayers` | One of the nine modes above |\n| `game` | string | – | Filter to one game (dropdown of 28 popular titles). Leave blank for cross-game rankings and the overall tournament list. |\n| `gameCustom` | string | – | Any game in `{numericId}-{slug}` form (e.g. `654-arena-of-valor`). Overrides `game`. |\n| `year` | integer | – | History ranking year (1998–today) for `topPlayers`, `topTeams`, `topGames`, `topCountries` and `tournaments`. Ignored when a `game` filter is set. |\n| `month` | integer | – | Month 1–12 for `topPlayers` when `year` is set. |\n| `country` | string | – | ISO 3166-1 alpha-2 code (dropdown of 182 countries). Required for `topPlayersByCountry`. |\n| `playerIds` | array | – | Players for `playerProfile`: numeric ID, id-slug, path or full URL. |\n| `teamIds` | array | – | Teams for `teamProfile`: numeric ID, id-slug, path or full URL. |\n| `tournamentIds` | array | – | Tournaments for `tournamentProfile`: numeric ID, id-slug, path or full URL. |\n| `maxItems` | integer | `30` | Maximum records to return (1–1000). |\n\nProfile lists accept links copied straight from the browser, for example `https://www.esportsearnings.com/players/3304-n0tail-johan-sundstein`, `/players/3304-n0tail-johan-sundstein`, `3304-n0tail-johan-sundstein` or just `3304`.\n\n## Output per record type\n\n### Player (`recordType = \"player\"`)\n\nList modes: `rank`, `handle`, `realName`, `playerId`, `country`, `countryCode`, `totalEarningsUsd`, `highestPayingGame`, `highestPayingGameEarningsUsd`, `percentOfTotal`, `game` (game filter), `year`, `month`, `sourceUrl`.\n\n`playerProfile` adds: `dateOfBirth`, `age`, `worldRanking`, `countryRanking`, `tournamentCount`, `alternateIds`, `earningsByYear` (total/online/offline money, tournament count, % of total), `earningsByGame`, `earningsByTeam`, `highestPrizes` (date, placement, tournament, prize, game) and `topPlacements` (Champion / Runner-up / 3rd-Semis counts).\n\n### Team (`recordType = \"team\"`)\n\nList modes: `rank`, `teamName`, `teamId`, `totalEarningsUsd`, `tournamentCount`, `game` (game filter), `year`, `sourceUrl`.\n\n`teamProfile` adds: `games` (per-game earnings and % of team total), `countries` (prize money by player country) and `topPlayers` (handle, real name and earnings with the team).\n\n### Game (`recordType = \"game\"`)\n\n`rank`, `gameName`, `gameSlug`, `totalPrizeMoneyUsd`, `playerCount`, `tournamentCount`, `year`, `sourceUrl`.\n\n### Tournament (`recordType = \"tournament\"`)\n\nList modes: `rank`, `tournamentName`, `tournamentId`, `eventName`, `prizePoolUsd`, `teamCount`, `playerCount`, `teamplay`, `game`, `gameSlug`, `date` (year events), `year`, `sourceUrl`.\n\n`tournamentProfile` adds: `location`, `startDate`, `endDate`, `currencyCode`, `currencyName`, `placements` (rank text, prize, team and roster or individual player) and `countries` (prize money by country).\n\n### Country (`recordType = \"country\"`)\n\n`rank`, `country`, `countryCode`, `totalEarningsUsd`, `playerCount`, `topGame`, `topGameSlug`, `topGameEarningsUsd`, `percentOfTotal`, `year`, `sourceUrl`.\n\n## Examples\n\n### Top players overall\n\n```json\n{ \"mode\": \"topPlayers\", \"maxItems\": 50 }\n```\n\n### Top Dota 2 players\n\n```json\n{ \"mode\": \"topPlayers\", \"game\": \"231-dota-2\", \"maxItems\": 50 }\n```\n\n### The 2021 player earnings ranking\n\n```json\n{ \"mode\": \"topPlayers\", \"year\": 2021, \"maxItems\": 100 }\n```\n\n### January 2021 player ranking\n\n```json\n{ \"mode\": \"topPlayers\", \"year\": 2021, \"month\": 1, \"maxItems\": 100 }\n```\n\n### 2021 team and game rankings\n\n```json\n{ \"mode\": \"topTeams\", \"year\": 2021, \"maxItems\": 100 }\n```\n\n### Every tournament that ended in 2021\n\n```json\n{ \"mode\": \"tournaments\", \"year\": 2021, \"maxItems\": 500 }\n```\n\n### Largest Counter-Strike 2 tournaments\n\n```json\n{ \"mode\": \"tournaments\", \"game\": \"839-counter-strike-2\", \"maxItems\": 50 }\n```\n\n### Country leaderboard\n\n```json\n{ \"mode\": \"topCountries\", \"maxItems\": 50 }\n```\n\n### Top-earning Danish players\n\n```json\n{ \"mode\": \"topPlayersByCountry\", \"country\": \"dk\", \"maxItems\": 25 }\n```\n\n### Player profiles by URL and ID\n\n```json\n{\n  \"mode\": \"playerProfile\",\n  \"playerIds\": [\n    \"https://www.esportsearnings.com/players/3304-n0tail-johan-sundstein\",\n    \"15855-miposhka-yaroslav-naidenov\"\n  ]\n}\n```\n\n### A tournament's full prize distribution\n\n```json\n{ \"mode\": \"tournamentProfile\", \"tournamentIds\": [\"49174-the-international-2021\"] }\n```\n\n## Use cases\n\n- **Esports journalism** — automate top-earner tables, year-in-review leaderboards and tournament prize breakdowns\n- **Talent scouting and team management** — compare player earnings by year, game and team\n- **Sponsorship analytics** — find the highest-prize-pool games, teams and countries to target\n- **Fan platforms and fantasy esports** — power leaderboards and profile pages with live earnings data\n- **Market research** — track prize-money growth by year, game and region\n\n## Depth and limits\n\n- `topPlayers` overall: 1,000 players. `topTeams` overall: 500. Overall `tournaments`: 500.\n- Per-game lists: `topPlayers` and `tournaments` stop at 500; per-game `topTeams` depth varies with the game's team count (e.g. Dota 2: 283).\n- `topGames` overall: 100 games on the source's single page.\n- History: year/month `topPlayers` stop at 500. Year teams, games and countries are single pages (up to ~857 / 209 / 132 rows respectively). Year events is a single page too; `maxItems` caps the output at 1,000.\n- `topCountries`: all 183 ranked countries. `topPlayersByCountry`: the source's fixed top-25 page.\n- Profile modes fetch one page per target, so `maxItems` also caps how many targets are read.\n\nThe actor detects the source's repeated-last-page behaviour when a listing is exhausted and stops cleanly instead of emitting duplicates.\n\n## FAQ\n\n**What is the data source?**\nAll data comes from the public pages of [EsportsEarnings.com](https://www.esportsearnings.com), a long-running independent database of competitive-gaming tournament results and prize money.\n\n**Is this actor affiliated with Esports Earnings?**\nNo — this is an independent, third-party actor that reads publicly available pages. It is not affiliated with or endorsed by Esports Earnings.\n\n**How do I find a game's ID-slug?**\nOpen the game on esportsearnings.com and copy the last part of the URL: `esportsearnings.com/games/654-arena-of-valor` → `654-arena-of-valor`. The numeric prefix is required.\n\n**Why do some player records have `highestPayingGame` and others don't?**\nWhen no game filter is set, the list record shows each player's single highest-earning game. With a game filter, every record is already scoped to that game, so the field is omitted as redundant.\n\n**How is `totalEarningsUsd` calculated?**\nIt mirrors what the source displays: career earnings in US dollars, or the game-specific / year-specific total when a filter is set. Profile breakdowns use the same USD values the site computes.\n\n**Does a tournament profile include every placement?**\nYes — the parser walks every placement block, including tied ranks like `5th-6th` (one entry per team sharing that rank and prize) and individual events where the placement is a player rather than a team.\n\n**What about tournaments listed in another currency?**\nAll prize fields are normalised to US dollars. For tournaments listed in another currency (for example CNY), the actor uses the USD conversion the source displays next to the original amount.\n\n**How fresh is the data?**\nEvery run fetches live pages at request time; there is no caching.\n\n**Why are some profile fields missing on a few records?**\nSome teams have no roster table and some events have no country breakdown on the source page. Those fields are omitted rather than filled with placeholders.\n\n**Can I use the official EsportsEarnings API?**\nThere is an official API, but it needs a registered API key. This actor deliberately uses the public HTML so it works with no credentials and no setup.\n",
      "input": {
        "title": "Esports Earnings Scraper Input",
        "description": "Scrape EsportsEarnings.com: top players, top teams, top games by prize pool, or tournament results. No login or API key required.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "title": "Mode",
            "type": "string",
            "description": "What to fetch from Esports Earnings. Profile modes need the matching `playerIds`, `teamIds`, or `tournamentIds` list.",
            "editor": "select",
            "enum": [
              "topPlayers",
              "topTeams",
              "topGames",
              "tournaments",
              "topPlayersByCountry",
              "topCountries",
              "playerProfile",
              "teamProfile",
              "tournamentProfile"
            ],
            "enumTitles": [
              "Top players by earnings",
              "Top teams by earnings",
              "Top games by total prize pool",
              "Tournament results (overall, by game, or by year)",
              "Top players by country",
              "Country leaderboard by total prize money",
              "Player profile (earnings by year/game/team)",
              "Team profile (games, countries, top players)",
              "Tournament profile (full prize distribution)"
            ],
            "default": "topPlayers",
            "prefill": "topPlayers"
          },
          "game": {
            "title": "Game (topPlayers, topTeams, tournaments)",
            "type": "string",
            "description": "Filter to a specific game. Leave blank on topPlayers/topTeams for cross-game rankings and on tournaments for the overall largest-prize-pools list. Use `gameCustom` for games not in this list.",
            "editor": "select",
            "enum": [
              "",
              "231-dota-2",
              "164-league-of-legends",
              "371-heroes-of-the-storm",
              "351-smite",
              "531-mobile-legends-bang-bang",
              "245-counter-strike-global-offensive",
              "839-counter-strike-2",
              "426-overwatch",
              "792-overwatch-2",
              "439-rainbow-six-siege",
              "646-valorant",
              "335-team-fortress-2",
              "648-call-of-duty-warzone",
              "639-call-of-duty-mobile",
              "534-fortnite",
              "566-apex-legends",
              "598-free-fire",
              "151-starcraft-ii",
              "586-brawl-stars",
              "464-clash-royale",
              "507-clash-of-clans",
              "409-rocket-league",
              "558-super-smash-bros-ultimate",
              "434-street-fighter-v",
              "406-tekken-7",
              "328-hearthstone",
              "165-world-of-warcraft",
              "525-osu"
            ],
            "enumTitles": [
              "(none — overall / cross-game)",
              "Dota 2",
              "League of Legends",
              "Heroes of the Storm",
              "SMITE",
              "Mobile Legends: Bang Bang",
              "Counter-Strike: Global Offensive",
              "Counter-Strike 2",
              "Overwatch",
              "Overwatch 2",
              "Rainbow Six Siege",
              "VALORANT",
              "Team Fortress 2",
              "Call of Duty: Warzone",
              "Call of Duty Mobile",
              "Fortnite",
              "Apex Legends",
              "Free Fire",
              "StarCraft II",
              "Brawl Stars",
              "Clash Royale",
              "Clash of Clans",
              "Rocket League",
              "Super Smash Bros. Ultimate",
              "Street Fighter V",
              "Tekken 7",
              "Hearthstone",
              "World of Warcraft",
              "osu!"
            ],
            "default": "",
            "prefill": ""
          },
          "country": {
            "title": "Country (mode=topPlayersByCountry)",
            "type": "string",
            "description": "ISO 3166-1 alpha-2 country code. Returns that country's top-earning players, cross-game (esportsearnings.com's per-country breakdown page).",
            "editor": "select",
            "enum": [
              "",
              "cn",
              "us",
              "kr",
              "ru",
              "br",
              "dk",
              "fr",
              "se",
              "de",
              "ca",
              "gb",
              "jp",
              "ua",
              "au",
              "fi",
              "pl",
              "th",
              "ph",
              "my",
              "tw",
              "id",
              "vn",
              "nl",
              "es",
              "sa",
              "tr",
              "no",
              "il",
              "ar",
              "mx",
              "bg",
              "jo",
              "pe",
              "it",
              "ee",
              "in",
              "sg",
              "pk",
              "cz",
              "kz",
              "mn",
              "at",
              "sk",
              "ro",
              "be",
              "pt",
              "lb",
              "by",
              "hk",
              "mk",
              "rs",
              "cl",
              "ba",
              "lv",
              "ch",
              "si",
              "eg",
              "gr",
              "hu",
              "nz",
              "lt",
              "za",
              "am",
              "ma",
              "hr",
              "mo",
              "md",
              "np",
              "mm",
              "kg",
              "iq",
              "ie",
              "co",
              "uz",
              "do",
              "uy",
              "pr",
              "ae",
              "bo",
              "ir",
              "kh",
              "dz",
              "kw",
              "cu",
              "ge",
              "az",
              "gt",
              "xk",
              "sy",
              "bh",
              "me",
              "ve",
              "tn",
              "la",
              "ec",
              "bd",
              "to",
              "is",
              "ni",
              "cr",
              "ps",
              "mt",
              "sn",
              "pa",
              "al",
              "lu",
              "gi",
              "qa",
              "om",
              "bn",
              "hn",
              "ye",
              "af",
              "py",
              "ly",
              "re",
              "sv",
              "lk",
              "ng",
              "cm",
              "jm",
              "um",
              "et",
              "mu",
              "tt",
              "pf",
              "gl",
              "mc",
              "mv",
              "ci",
              "gh",
              "fo",
              "na",
              "gp",
              "gy",
              "tm",
              "sd",
              "fj",
              "an",
              "sr",
              "nc",
              "im",
              "je",
              "tz",
              "mg",
              "zw",
              "ax",
              "gg",
              "tj",
              "cy",
              "ke",
              "mz",
              "ht",
              "as",
              "zm",
              "ao",
              "gu",
              "tg",
              "ad",
              "mr",
              "bm",
              "wf",
              "ga",
              "aw",
              "tv",
              "bw",
              "mp",
              "ne",
              "bs",
              "bz",
              "dm",
              "ug",
              "so",
              "vi",
              "pw",
              "nu",
              "li",
              "mf",
              "ag",
              "pg",
              "kn",
              "bl"
            ],
            "enumTitles": [
              "(none — required for topPlayersByCountry)",
              "China",
              "United States",
              "Korea",
              "Russian Federation",
              "Brazil",
              "Denmark",
              "France",
              "Sweden",
              "Germany",
              "Canada",
              "United Kingdom",
              "Japan",
              "Ukraine",
              "Australia",
              "Finland",
              "Poland",
              "Thailand",
              "Philippines",
              "Malaysia",
              "Taiwan, Republic of China",
              "Indonesia",
              "Viet Nam",
              "Netherlands",
              "Spain",
              "Saudi Arabia",
              "Turkey",
              "Norway",
              "Israel",
              "Argentina",
              "Mexico",
              "Bulgaria",
              "Jordan",
              "Peru",
              "Italy",
              "Estonia",
              "India",
              "Singapore",
              "Pakistan",
              "Czech Republic",
              "Kazakhstan",
              "Mongolia",
              "Austria",
              "Slovakia",
              "Romania",
              "Belgium",
              "Portugal",
              "Lebanon",
              "Belarus",
              "Hong Kong",
              "North Macedonia",
              "Serbia",
              "Chile",
              "Bosnia and Herzegovina",
              "Latvia",
              "Switzerland",
              "Slovenia",
              "Egypt",
              "Greece",
              "Hungary",
              "New Zealand",
              "Lithuania",
              "South Africa",
              "Armenia",
              "Morocco",
              "Croatia",
              "Macao",
              "Moldova",
              "Nepal",
              "Myanmar",
              "Kyrgyzstan",
              "Iraq",
              "Ireland",
              "Colombia",
              "Uzbekistan",
              "Dominican Republic",
              "Uruguay",
              "Puerto Rico",
              "United Arab Emirates",
              "Bolivia",
              "Iran, Islamic Republic of",
              "Cambodia",
              "Algeria",
              "Kuwait",
              "Cuba",
              "Georgia",
              "Azerbaijan",
              "Guatemala",
              "Kosovo",
              "Syrian Arab Republic",
              "Bahrain",
              "Montenegro",
              "Venezuela",
              "Tunisia",
              "Laos",
              "Ecuador",
              "Bangladesh",
              "Tonga",
              "Iceland",
              "Nicaragua",
              "Costa Rica",
              "Palestine, State of",
              "Malta",
              "Senegal",
              "Panama",
              "Albania",
              "Luxembourg",
              "Gibraltar",
              "Qatar",
              "Oman",
              "Brunei Darussalam",
              "Honduras",
              "Yemen",
              "Afghanistan",
              "Paraguay",
              "Libyan Arab Jamahiriya",
              "Reunion",
              "El Salvador",
              "Sri Lanka",
              "Nigeria",
              "Cameroon",
              "Jamaica",
              "US Minor Outlying Islands",
              "Ethiopia",
              "Mauritius",
              "Trinidad and Tobago",
              "French Polynesia",
              "Greenland",
              "Monaco",
              "Maldives",
              "Côte D'Ivoire",
              "Ghana",
              "Faroe Islands",
              "Namibia",
              "Guadeloupe",
              "Guyana",
              "Turkmenistan",
              "Sudan",
              "Fiji",
              "Netherlands Antilles",
              "Suriname",
              "New Caledonia",
              "Isle of Man",
              "Jersey",
              "Tanzania",
              "Madagascar",
              "Zimbabwe",
              "Åland Islands",
              "Guernsey",
              "Tajikistan",
              "Cyprus",
              "Kenya",
              "Mozambique",
              "Haiti",
              "American Samoa",
              "Zambia",
              "Angola",
              "Guam",
              "Togo",
              "Andorra",
              "Mauritania",
              "Bermuda",
              "Wallis And Futuna",
              "Gabon",
              "Aruba",
              "Tuvalu",
              "Botswana",
              "Northern Mariana Islands",
              "Niger",
              "Bahamas",
              "Belize",
              "Dominica",
              "Uganda",
              "Somalia",
              "Virgin Islands, U.S.",
              "Palau",
              "Niue",
              "Liechtenstein",
              "Saint Martin",
              "Antigua and Barbuda",
              "Papua New Guinea",
              "Saint Kitts and Nevis",
              "Saint Barthélemy"
            ],
            "default": "",
            "prefill": "us"
          },
          "gameCustom": {
            "title": "Custom game ID-slug override",
            "type": "string",
            "description": "Any esportsearnings.com game in `{numericId}-{slug}` form (e.g. `654-arena-of-valor`), for games not in the `game` dropdown. Overrides `game` when set. Find the ID-slug in the game's esportsearnings.com URL.",
            "editor": "textfield"
          },
          "year": {
            "title": "Year (history rankings)",
            "type": "integer",
            "description": "Rank players/teams/games/countries or list tournaments for one year (1998 to today). Applies to topPlayers, topTeams, topGames, topCountries and tournaments. Ignored when a game filter is also set on topPlayers/topTeams/tournaments.",
            "editor": "number",
            "minimum": 1998,
            "maximum": 2100
          },
          "month": {
            "title": "Month (topPlayers with year)",
            "type": "integer",
            "description": "Optional month (1-12) for mode=topPlayers when `year` is set. Returns that month's player earnings ranking.",
            "editor": "number",
            "minimum": 1,
            "maximum": 12
          },
          "playerIds": {
            "title": "Player IDs, URLs, or ID-slug (playerProfile)",
            "type": "array",
            "description": "One or more players. Each entry can be a numeric player ID (e.g. 3304), an id-slug (e.g. 3304-n0tail-johan-sundstein), an esportsearnings.com player path, or a full URL.",
            "editor": "stringList",
            "items": {
              "type": "string"
            },
            "placeholderValue": "3304-n0tail-johan-sundstein"
          },
          "teamIds": {
            "title": "Team IDs, URLs, or ID-slug (teamProfile)",
            "type": "array",
            "description": "One or more teams. Each entry can be a numeric team ID (e.g. 102), an id-slug (e.g. 102-team-liquid), an esportsearnings.com team path, or a full URL.",
            "editor": "stringList",
            "items": {
              "type": "string"
            },
            "placeholderValue": "102-team-liquid"
          },
          "tournamentIds": {
            "title": "Tournament IDs, URLs, or ID-slug (tournamentProfile)",
            "type": "array",
            "description": "One or more tournaments. Each entry can be a numeric tournament ID (e.g. 49174), an id-slug, an esportsearnings.com tournament path, or a full URL.",
            "editor": "stringList",
            "items": {
              "type": "string"
            },
            "placeholderValue": "49174-the-international-2021"
          },
          "maxItems": {
            "title": "Max items",
            "type": "integer",
            "description": "Maximum number of records to return.",
            "editor": "number",
            "minimum": 1,
            "maximum": 1000,
            "default": 30,
            "prefill": 3
          }
        },
        "required": [
          "mode"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "Esports Earnings Prize Money & Tournament Rankings Output",
        "description": "Esports prize-money data from EsportsEarnings.com — earnings rankings, historical leaderboards, and player/team/tournament profiles with prize breakdowns.",
        "properties": {
          "records": {
            "type": "string",
            "title": "Esports Earnings records",
            "description": "Dataset containing all scraped Esports Earnings players, teams, games, and tournaments.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "overview": {
              "title": "Earnings data",
              "transformation": {
                "fields": [
                  "recordType",
                  "handle",
                  "teamName",
                  "gameName",
                  "tournamentName",
                  "country",
                  "game",
                  "totalEarningsUsd",
                  "totalPrizeMoneyUsd",
                  "prizePoolUsd",
                  "tournamentCount",
                  "sourceUrl"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            }
          }
        }
      },
      "environmentVariables": {}
    },
    "buildNumber": "1.0.2",
    "imageDigest": "e2a8fcf576a4931eff866cd6de6bd4dbbd4900467b59439f978420e3e9e529ce",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.0"
    },
    "usage": {
      "ACTOR_COMPUTE_UNITS": 0.004271111111111111
    }
  }
}