{
  "data": {
    "id": "nQlJYNty5jyRLA3xt",
    "actId": "VaidHZxlS5hKJn5dT",
    "userId": "zq8lKbpLzTjGDayPC",
    "startedAt": "2026-12-03T18:01:03.422Z",
    "finishedAt": "2026-12-03T18:01:21.546Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CLI"
    },
    "inputSchema": "{\n  \"title\": \"World Rugby Scraper Input\",\n  \"description\": \"Fetch official World Rugby rankings (current or historical), match results and fixtures, full match details, national team profiles, the team directory, or competition standings.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"title\": \"Mode\",\n      \"type\": \"string\",\n      \"description\": \"What to fetch: rankings, matches, matchDetails, teamProfile, teams (directory), or standings.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"rankings\",\n        \"matches\",\n        \"matchDetails\",\n        \"teamProfile\",\n        \"teams\",\n        \"standings\"\n      ],\n      \"enumTitles\": [\n        \"World rankings (men's / women's)\",\n        \"Match results & fixtures\",\n        \"Match details (lineups, scorers, stats)\",\n        \"Team profile (by ID or name)\",\n        \"Team directory (browse clubs and nations)\",\n        \"Competition standings (series or tournament pools)\"\n      ],\n      \"default\": \"rankings\",\n      \"prefill\": \"rankings\"\n    },\n    \"gender\": {\n      \"title\": \"Gender\",\n      \"type\": \"string\",\n      \"description\": \"Which rankings/matches to fetch (mode=rankings, mode=matches). Also disambiguates `teamNames` when a country fields both a men's and a women's team of the same name (mode=teamProfile).\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"men\",\n        \"women\",\n        \"both\"\n      ],\n      \"enumTitles\": [\n        \"Men's\",\n        \"Women's\",\n        \"Both\"\n      ],\n      \"default\": \"men\",\n      \"prefill\": \"men\"\n    },\n    \"rankingDate\": {\n      \"title\": \"Ranking date (mode=rankings)\",\n      \"type\": \"string\",\n      \"description\": \"Historical ranking snapshot date, `YYYY-MM-DD`. Leave blank for the current rankings. World Rugby snaps to the nearest real ranking-update date to the one given (not always on/before it). The actual date used is always returned in the `rankingDate` output field.\",\n      \"editor\": \"textfield\"\n    },\n    \"matchStatus\": {\n      \"title\": \"Match status (mode=matches)\",\n      \"type\": \"string\",\n      \"description\": \"Filter matches by status. `live` returns matches currently in progress (first half, half-time, or second half).\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"all\",\n        \"completed\",\n        \"upcoming\",\n        \"live\"\n      ],\n      \"enumTitles\": [\n        \"All\",\n        \"Completed only\",\n        \"Upcoming only\",\n        \"Live only\"\n      ],\n      \"default\": \"all\",\n      \"prefill\": \"all\"\n    },\n    \"includeSevens\": {\n      \"title\": \"Include Rugby Sevens (mode=matches)\",\n      \"type\": \"boolean\",\n      \"description\": \"Also include Rugby Sevens matches in addition to full XVs (15-a-side). Default only returns 15s.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"dateFrom\": {\n      \"title\": \"Date from (mode=matches)\",\n      \"type\": \"string\",\n      \"description\": \"Start of match date range, `YYYY-MM-DD`. Defaults to 30 days ago when no event IDs are given.\",\n      \"editor\": \"textfield\"\n    },\n    \"dateTo\": {\n      \"title\": \"Date to (mode=matches)\",\n      \"type\": \"string\",\n      \"description\": \"End of match date range, `YYYY-MM-DD`. Defaults to 30 days ahead when no event IDs are given.\",\n      \"editor\": \"textfield\"\n    },\n    \"teamNameContains\": {\n      \"title\": \"Team name contains (mode=matches / teams)\",\n      \"type\": \"string\",\n      \"description\": \"Only keep matches where either team's name contains this text (case-insensitive), or only keep team-directory rows whose name/country contains it. E.g. `Fiji`.\",\n      \"editor\": \"textfield\"\n    },\n    \"competitionContains\": {\n      \"title\": \"Competition contains (mode=matches)\",\n      \"type\": \"string\",\n      \"description\": \"Only keep matches whose competition/tournament name contains this text (case-insensitive), e.g. `Six Nations`.\",\n      \"editor\": \"textfield\"\n    },\n    \"eventIds\": {\n      \"title\": \"Event IDs (mode=matches / standings)\",\n      \"type\": \"array\",\n      \"description\": \"World Rugby event/competition IDs (numeric or UUID), e.g. `1893` for Men's Rugby World Cup 2023 or the Dubai SVNS event ID. In matches mode this filters results server-side; in standings mode it fetches each event's pool tables. Combine with `gender` and `includeSevens` in matches mode.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"matchTeamIds\": {\n      \"title\": \"Filter by team IDs (mode=matches)\",\n      \"type\": \"array\",\n      \"description\": \"Only return matches involving these World Rugby team IDs (numeric or UUID). E.g. `39` for South Africa.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"matchIds\": {\n      \"title\": \"Match IDs or URLs (mode=matchDetails)\",\n      \"type\": \"array\",\n      \"description\": \"World Rugby match IDs or full match page URLs, e.g. `28813` or `https://www.world.rugby/match/28813`. Returns lineups, scoring plays, cards, officials, weather, team stats, and optional player stats.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"includePlayerStats\": {\n      \"title\": \"Include player stats (mode=matchDetails)\",\n      \"type\": \"boolean\",\n      \"description\": \"Add a per-player stats array to each match-detail row. This makes each record much larger; leave off unless you need player-level metrics.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"teamIds\": {\n      \"title\": \"Team IDs (mode=teamProfile)\",\n      \"type\": \"array\",\n      \"description\": \"World Rugby team IDs, numeric or UUID (see `teamId` in rankings/matches output), e.g. `39` for South Africa.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"teamNames\": {\n      \"title\": \"National team names (mode=teamProfile)\",\n      \"type\": \"array\",\n      \"description\": \"National team names to resolve automatically against the current men's + women's 15s rankings, e.g. `New Zealand`, `Fiji`. For club, province, or sevens teams use Team IDs or the `teams` directory mode.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": [\n        \"New Zealand\"\n      ]\n    },\n    \"teamType\": {\n      \"title\": \"Team type (mode=teams)\",\n      \"type\": \"string\",\n      \"description\": \"Filter the team directory by team type.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"all\",\n        \"Country\",\n        \"Club\",\n        \"Province\",\n        \"Representative\",\n        \"Invitational\",\n        \"U20\",\n        \"County\",\n        \"Combined\",\n        \"U19\",\n        \"SuperProvince\",\n        \"U21\",\n        \"ProvincialAcademy\"\n      ],\n      \"enumTitles\": [\n        \"All types\",\n        \"Country\",\n        \"Club\",\n        \"Province\",\n        \"Representative\",\n        \"Invitational\",\n        \"U20\",\n        \"County\",\n        \"Combined\",\n        \"U19\",\n        \"SuperProvince\",\n        \"U21\",\n        \"Provincial Academy\"\n      ],\n      \"default\": \"all\",\n      \"prefill\": \"all\"\n    },\n    \"teamSport\": {\n      \"title\": \"Team sport (mode=teams)\",\n      \"type\": \"string\",\n      \"description\": \"Filter the team directory by sport/discipline code.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"all\",\n        \"mru\",\n        \"wru\",\n        \"mrs\",\n        \"wrs\",\n        \"jmu\",\n        \"jwu\",\n        \"mjs\",\n        \"wjs\"\n      ],\n      \"enumTitles\": [\n        \"All sports\",\n        \"Men's 15s\",\n        \"Women's 15s\",\n        \"Men's Sevens\",\n        \"Women's Sevens\",\n        \"Men's U20 15s\",\n        \"Women's U20 15s\",\n        \"Men's U20 Sevens\",\n        \"Women's U20 Sevens\"\n      ],\n      \"default\": \"all\",\n      \"prefill\": \"all\"\n    },\n    \"teamCountryCode\": {\n      \"title\": \"Team country code (mode=teams)\",\n      \"type\": \"string\",\n      \"description\": \"Filter the team directory by ISO 3166-1 alpha-3 country code, e.g. `ZAF`, `NZL`, `FRA`.\",\n      \"editor\": \"textfield\"\n    },\n    \"seriesIds\": {\n      \"title\": \"Series IDs (mode=standings)\",\n      \"type\": \"array\",\n      \"description\": \"World Rugby series IDs (numeric or UUID) whose season standings to fetch. Series are things like `HSBC SVNS 3 2027 - MRS`. Use `seriesNames` if you do not know the ID.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"seriesNames\": {\n      \"title\": \"Series name contains (mode=standings)\",\n      \"type\": \"array\",\n      \"description\": \"Case-insensitive substrings matched against the current series list, e.g. `HSBC SVNS 2027`, `Six Nations`, or `*` for every series with standings.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"maxItems\": {\n      \"title\": \"Max items\",\n      \"type\": \"integer\",\n      \"description\": \"Hard cap on emitted records.\",\n      \"minimum\": 1,\n      \"maximum\": 10000,\n      \"default\": 50,\n      \"prefill\": 50\n    }\n  },\n  \"required\": [\n    \"mode\"\n  ]\n}",
    "readme": "# World Rugby Rankings & Results Scraper\n\nScrape **World Rugby** (world.rugby) — the official global governing body's rankings, match and competition data. Get current or historical men's and women's world rankings, match results and fixtures across international and club rugby, full match details (lineups, scorers, cards, officials, stats), national team profiles, a 4,700+ team directory, and series or tournament standings including HSBC SVNS.\n\nHTTP-only via World Rugby's public data API. No auth, no proxy, no login.\n\n## What this actor does\n\n- **Six modes:** `rankings`, `matches`, `matchDetails`, `teamProfile`, `teams`, `standings`\n- **World rankings:** men's and women's, current or any historical date\n- **Match results & fixtures:** completed results, upcoming fixtures and live matches; XVs and Sevens; international and club rugby\n- **Match details:** starting lineups and replacements, scorers, cards, officials, team stats, optional player stats\n- **Team profiles:** identity, Rugby World Cup history, current ranking, career best/worst ranking and number of ranked matches\n- **Team directory:** browse 4,742 national, club, provincial and invitational teams by sport/type/country/name\n- **Standings:** season tables for any series (including HSBC SVNS) or pool tables for any tournament event\n- **Filters:** gender, date range, match status, event IDs, team IDs, team name, competition name\n- **Empty fields are omitted** — every record only contains fields that were actually available for that team/match\n\n## Output: rankings (mode = `rankings`)\n\n- `teamId` — World Rugby team ID\n- `teamName`, `teamAbbreviation`, `countryCode`\n- `gender` — `men` or `women`\n- `rank`, `ratingPoints`\n- `previousRank`, `previousRatingPoints` — from the prior ranking update\n- `rankChange` — positive = moved up, negative = moved down\n- `rankingDate` — the actual ranking-update date the snapshot reflects\n- `sourceUrl`\n- `recordType: \"ranking\"`, `scrapedAt`\n\n## Output: matches (mode = `matches`)\n\n- `matchId`, `competition`, `eventPhase` (e.g. `Final`, `Quarter-final`), `matchDescription` (e.g. `Match 48`)\n- `gender`, `discipline` (`fifteens` or `sevens`)\n- `matchDate`, `matchDateTimeUtc`\n- `status` — `completed`, `upcoming`, `live` (match currently in progress), or `cancelled`\n- `homeTeam`, `awayTeam`, `homeTeamId`, `awayTeamId`\n- `homeScore`, `awayScore` — present once available\n- `winner` — team name or `Draw` (completed matches only)\n- `venueName`, `venueCity`, `venueCountry`\n- `attendance` — reported crowd figure, when World Rugby publishes one\n- `sourceUrl`\n- `recordType: \"match\"`, `scrapedAt`\n\n## Output: match details (mode = `matchDetails`)\n\nEverything from `matches`, plus:\n\n- `matchAltId`, `rankingsWeight`\n- `homeLineup` / `awayLineup` — player ID, name, shirt number, position, position label, order, `isCaptain`, `isReplacement`\n- `scoringPlays` — minute, team, team ID, player, player ID, type (Try / Conversion / Penalty / Drop goal) and points\n- `cards` — minute, team, player, `yellow` or `red`\n- `officials` — role, name and country (referee, assistant referees, TMO, FPRO)\n- `teamStats` — home/away team metrics (carries, tackles, possession, territory, set pieces, etc.)\n- `playerStats` — optional per-player metrics when `includePlayerStats: true`\n- `weather` — conditions, min/max temperature, wind and pitch when published\n\n## Output: team profile (mode = `teamProfile`)\n\n- `teamId`, `teamName`, `teamAbbreviation`\n- `country`, `countryCode`, `teamType` (`Country` / `Club` / `Province` / `Invitational` / …), `sport` (World Rugby's internal sport code)\n- `rwcBestFinish`, `rwcBestFinishYears`\n- `rwcFinishHistory` — map of Rugby World Cup year → finish (e.g. `\"2023\": \"winner\"`)\n- `currentRank`, `currentRatingPoints`, `currentRankDate`, `gender` — when the team appears in the current 15s rankings\n- `careerBestRank`, `careerBestRatingPoints`, `careerBestRankDate`\n- `careerWorstRank`, `careerWorstRatingPoints`, `careerWorstRankDate`\n- `matchesRanked` — number of ranked matches in World Rugby's history for the team\n- `sourceUrl`\n- `recordType: \"team\"`, `scrapedAt`\n\n## Output: team directory (mode = `teams`)\n\n- `teamId`, `teamName`, `teamAbbreviation`\n- `country`, `countryCode`, `teamType`, `sport`\n- `sourceUrl`\n- `recordType: \"team\"`, `scrapedAt`\n\n## Output: standings (mode = `standings`)\n\n- `teamId`, `teamName`, `teamAbbreviation`, `countryCode`\n- `rank` — omitted when the table has no published position yet\n- `standingType` — `series` (season table) or `event` (pool/tournament table)\n- `competition` — series or event name\n- `season`, `table` (e.g. `Overall`, `Northern Hemisphere`, `Pool A`)\n- `seriesId` or `eventId`\n- `played`, `won`, `drawn`, `lost`, `pointsFor`, `pointsAgainst`, `triesFor`, `triesAgainst`, `bonusPoints`, `points`\n- `eventPoints` — per-event points array for season series\n- `sourceUrl`\n- `recordType: \"standing\"`, `scrapedAt`\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `rankings` | `rankings` / `matches` / `matchDetails` / `teamProfile` / `teams` / `standings` |\n| `gender` | string | `men` | `men` / `women` / `both` (mode=rankings, mode=matches) |\n| `rankingDate` | string | – | Historical snapshot date `YYYY-MM-DD` (mode=rankings) |\n| `matchStatus` | string | `all` | `all` / `completed` / `upcoming` / `live` (mode=matches) |\n| `includeSevens` | boolean | `false` | Also include Rugby Sevens matches (mode=matches) |\n| `dateFrom` | string | – | Match date range start `YYYY-MM-DD`; defaults to 30 days ago when no event IDs are given (mode=matches) |\n| `dateTo` | string | – | Match date range end `YYYY-MM-DD`; defaults to 30 days ahead when no event IDs are given (mode=matches) |\n| `teamNameContains` | string | – | Filter matches by team-name substring, or filter team-directory rows by name/country (mode=matches / teams) |\n| `competitionContains` | string | – | Filter matches by competition-name substring (mode=matches) |\n| `eventIds` | array | – | Event/competition IDs for matches or standings (mode=matches / standings) |\n| `matchTeamIds` | array | – | Only matches involving these team IDs (mode=matches) |\n| `matchIds` | array | – | Match IDs or match page URLs (mode=matchDetails) |\n| `includePlayerStats` | boolean | `false` | Add per-player stats to match-detail rows (mode=matchDetails) |\n| `teamIds` | array | – | Team IDs, numeric or UUID (mode=teamProfile) |\n| `teamNames` | array | – | National team names, resolved via current 15s rankings (mode=teamProfile); prefilled with `[\"New Zealand\"]` for the platform's daily test run |\n| `teamType` | string | `all` | Team-directory type filter (mode=teams) |\n| `teamSport` | string | `all` | Team-directory sport code filter (mode=teams) |\n| `teamCountryCode` | string | – | ISO 3166-1 alpha-3 country code filter (mode=teams) |\n| `seriesIds` | array | – | Series IDs for season standings (mode=standings) |\n| `seriesNames` | array | – | Series-name substrings, or `*` for all series (mode=standings) |\n| `maxItems` | int | `50` | Hard cap on emitted records (1–10,000) |\n\n### Example: current men's world rankings\n\n```json\n{\n  \"mode\": \"rankings\",\n  \"gender\": \"men\",\n  \"maxItems\": 50\n}\n```\n\n### Example: historical women's rankings snapshot\n\n```json\n{\n  \"mode\": \"rankings\",\n  \"gender\": \"women\",\n  \"rankingDate\": \"2023-08-01\",\n  \"maxItems\": 50\n}\n```\n\n### Example: completed Six Nations results\n\n```json\n{\n  \"mode\": \"matches\",\n  \"gender\": \"men\",\n  \"matchStatus\": \"completed\",\n  \"competitionContains\": \"Six Nations\",\n  \"dateFrom\": \"2026-01-01\",\n  \"dateTo\": \"2026-04-01\",\n  \"maxItems\": 50\n}\n```\n\n### Example: every World Cup 2023 match (server-side event filter)\n\n```json\n{\n  \"mode\": \"matches\",\n  \"gender\": \"men\",\n  \"eventIds\": [\"1893\"],\n  \"maxItems\": 100\n}\n```\n\n### Example: full detail for one match\n\n```json\n{\n  \"mode\": \"matchDetails\",\n  \"matchIds\": [\"28813\"],\n  \"includePlayerStats\": true,\n  \"maxItems\": 1\n}\n```\n\n### Example: national team profiles\n\n```json\n{\n  \"mode\": \"teamProfile\",\n  \"teamNames\": [\"New Zealand\", \"South Africa\", \"Fiji\"],\n  \"maxItems\": 20\n}\n```\n\n### Example: club team directory in South Africa\n\n```json\n{\n  \"mode\": \"teams\",\n  \"teamSport\": \"mru\",\n  \"teamType\": \"Club\",\n  \"teamCountryCode\": \"ZAF\",\n  \"maxItems\": 100\n}\n```\n\n### Example: HSBC SVNS 2027 season standings\n\n```json\n{\n  \"mode\": \"standings\",\n  \"seriesNames\": [\"HSBC SVNS 2027\"],\n  \"maxItems\": 100\n}\n```\n\n### Example: tournament pool tables\n\n```json\n{\n  \"mode\": \"standings\",\n  \"eventIds\": [\"46294cf5-dee3-4234-957a-dbe1f08049f2\"],\n  \"maxItems\": 100\n}\n```\n\n## Use cases\n\n- **Sports media** — auto-publish weekly ranking movements, results and tables\n- **Betting & fantasy sports** — feed official rankings, results, lineups and scoring plays into models\n- **Fan platforms & apps** — power a rugby results/rankings/standings widget\n- **Sports analytics** — build historical ranking-trend datasets by date, match-detail datasets and team directories\n- **Research** — study national teams' World Cup history and ranking careers\n\n## FAQ\n\n**What is the data source?**\nWorld Rugby's own public rankings, fixtures and tournament data (world.rugby), the sport's official global governing body.\n\n**How far back does historical ranking data go?**\nWorld Rugby's ranking system was introduced in 2003, but the public API backing this actor's historical snapshots has a different floor per gender: men's rankings only go back to around 2020-09, while women's rankings go back further, to around 2016-02. Requesting an earlier date than either floor returns the nearest (earliest) date that has data — confirmed live: requesting `rankingDate=2015-01-01` with `gender=men` returns the `2020-09-21` snapshot, while the same request with `gender=women` returns the `2016-02-08` snapshot instead. The actual date used is always returned in the `rankingDate` output field, so you can detect a clamp.\n\n**Can I get a range of historical rankings in one run?**\nThe upstream API accepts one ranking date per request, so this actor returns one snapshot per run. To build a history, run it once per date. There is no official list of update dates, and the API snaps a requested date to the nearest real update, so a sampled range would not be an exact official history.\n\n**Does `matches` mode cover club rugby too, not just internationals?**\nYes — `matches` returns any match on World Rugby's calendar in the date range, including major club competitions (e.g. Top 14, United Rugby Championship) alongside international Tests.\n\n**Why don't some matches have a score?**\nUpcoming/fixture matches haven't been played yet, so `homeScore`/`awayScore`/`winner` are omitted until the match is completed.\n\n**Why do some match-detail rows lack lineups, cards or stats?**\nWorld Rugby does not publish complete detail for every fixture — notably some recent, minor or club matches. Those fields are omitted rather than filled with placeholders. Scoring plays, lineups and stats are present for the large majority of international and major club matches.\n\n**Where are the sevens rankings?**\nWorld Rugby publishes the men's/women's 15s world rankings as a ranked table; its sevens competitions are published as HSBC SVNS series and tournament standings instead. Use `mode=standings` with `seriesNames: [\"HSBC SVNS\"]` (or an event ID) for the official sevens tables. The old `mrs`/`wrs` ranking endpoints return HTTP 400 and are not available.\n\n**How do I find a team's `teamId` for `teamProfile` or `matchTeamIds`?**\nRun `rankings`, `matches` or `teams` first — every record includes `teamId` (and `homeTeamId`/`awayTeamId`). For national teams you can also pass the team's name via `teamNames`.\n\n**How do I find an event ID or series ID?**\nEvent IDs appear in `matches` mode only when you supply them; use the World Rugby fixtures page to identify the competition, or use `competitionContains` / `seriesNames` instead. Series IDs are optional — `seriesNames` resolves them for you.\n\n**Is this affiliated with World Rugby?**\nNo — this is an independent, third-party actor built on World Rugby's publicly accessible data feed.\n\n**What does `matchStatus: \"live\"` return?**\nMatches currently being played — first half, half-time, or second half — with real-time scores. This is a small, transient set (usually 0-5 matches at any given moment); it will often be empty outside an active match window.\n\n**Are there rate limits?**\nThe actor uses polite delays between requests. A 10,000-record cap keeps runs predictable; for larger historical pulls split by date range, event or team. Very large `matches` runs may take longer because results are paginated 100 at a time.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "world-rugby-rankings-and-results-scraper",
      "title": "World Rugby Rankings & Results Scraper",
      "description": "Scrape World Rugby rankings, teams, matches and standings. Get team ranking careers, match details, SVNS tables, optional player stats and historical results with filters and pagination.",
      "version": "2.0",
      "buildTag": "latest",
      "dockerfile": "../Dockerfile",
      "readme": "# World Rugby Rankings & Results Scraper\n\nScrape **World Rugby** (world.rugby) — the official global governing body's rankings, match and competition data. Get current or historical men's and women's world rankings, match results and fixtures across international and club rugby, full match details (lineups, scorers, cards, officials, stats), national team profiles, a 4,700+ team directory, and series or tournament standings including HSBC SVNS.\n\nHTTP-only via World Rugby's public data API. No auth, no proxy, no login.\n\n## What this actor does\n\n- **Six modes:** `rankings`, `matches`, `matchDetails`, `teamProfile`, `teams`, `standings`\n- **World rankings:** men's and women's, current or any historical date\n- **Match results & fixtures:** completed results, upcoming fixtures and live matches; XVs and Sevens; international and club rugby\n- **Match details:** starting lineups and replacements, scorers, cards, officials, team stats, optional player stats\n- **Team profiles:** identity, Rugby World Cup history, current ranking, career best/worst ranking and number of ranked matches\n- **Team directory:** browse 4,742 national, club, provincial and invitational teams by sport/type/country/name\n- **Standings:** season tables for any series (including HSBC SVNS) or pool tables for any tournament event\n- **Filters:** gender, date range, match status, event IDs, team IDs, team name, competition name\n- **Empty fields are omitted** — every record only contains fields that were actually available for that team/match\n\n## Output: rankings (mode = `rankings`)\n\n- `teamId` — World Rugby team ID\n- `teamName`, `teamAbbreviation`, `countryCode`\n- `gender` — `men` or `women`\n- `rank`, `ratingPoints`\n- `previousRank`, `previousRatingPoints` — from the prior ranking update\n- `rankChange` — positive = moved up, negative = moved down\n- `rankingDate` — the actual ranking-update date the snapshot reflects\n- `sourceUrl`\n- `recordType: \"ranking\"`, `scrapedAt`\n\n## Output: matches (mode = `matches`)\n\n- `matchId`, `competition`, `eventPhase` (e.g. `Final`, `Quarter-final`), `matchDescription` (e.g. `Match 48`)\n- `gender`, `discipline` (`fifteens` or `sevens`)\n- `matchDate`, `matchDateTimeUtc`\n- `status` — `completed`, `upcoming`, `live` (match currently in progress), or `cancelled`\n- `homeTeam`, `awayTeam`, `homeTeamId`, `awayTeamId`\n- `homeScore`, `awayScore` — present once available\n- `winner` — team name or `Draw` (completed matches only)\n- `venueName`, `venueCity`, `venueCountry`\n- `attendance` — reported crowd figure, when World Rugby publishes one\n- `sourceUrl`\n- `recordType: \"match\"`, `scrapedAt`\n\n## Output: match details (mode = `matchDetails`)\n\nEverything from `matches`, plus:\n\n- `matchAltId`, `rankingsWeight`\n- `homeLineup` / `awayLineup` — player ID, name, shirt number, position, position label, order, `isCaptain`, `isReplacement`\n- `scoringPlays` — minute, team, team ID, player, player ID, type (Try / Conversion / Penalty / Drop goal) and points\n- `cards` — minute, team, player, `yellow` or `red`\n- `officials` — role, name and country (referee, assistant referees, TMO, FPRO)\n- `teamStats` — home/away team metrics (carries, tackles, possession, territory, set pieces, etc.)\n- `playerStats` — optional per-player metrics when `includePlayerStats: true`\n- `weather` — conditions, min/max temperature, wind and pitch when published\n\n## Output: team profile (mode = `teamProfile`)\n\n- `teamId`, `teamName`, `teamAbbreviation`\n- `country`, `countryCode`, `teamType` (`Country` / `Club` / `Province` / `Invitational` / …), `sport` (World Rugby's internal sport code)\n- `rwcBestFinish`, `rwcBestFinishYears`\n- `rwcFinishHistory` — map of Rugby World Cup year → finish (e.g. `\"2023\": \"winner\"`)\n- `currentRank`, `currentRatingPoints`, `currentRankDate`, `gender` — when the team appears in the current 15s rankings\n- `careerBestRank`, `careerBestRatingPoints`, `careerBestRankDate`\n- `careerWorstRank`, `careerWorstRatingPoints`, `careerWorstRankDate`\n- `matchesRanked` — number of ranked matches in World Rugby's history for the team\n- `sourceUrl`\n- `recordType: \"team\"`, `scrapedAt`\n\n## Output: team directory (mode = `teams`)\n\n- `teamId`, `teamName`, `teamAbbreviation`\n- `country`, `countryCode`, `teamType`, `sport`\n- `sourceUrl`\n- `recordType: \"team\"`, `scrapedAt`\n\n## Output: standings (mode = `standings`)\n\n- `teamId`, `teamName`, `teamAbbreviation`, `countryCode`\n- `rank` — omitted when the table has no published position yet\n- `standingType` — `series` (season table) or `event` (pool/tournament table)\n- `competition` — series or event name\n- `season`, `table` (e.g. `Overall`, `Northern Hemisphere`, `Pool A`)\n- `seriesId` or `eventId`\n- `played`, `won`, `drawn`, `lost`, `pointsFor`, `pointsAgainst`, `triesFor`, `triesAgainst`, `bonusPoints`, `points`\n- `eventPoints` — per-event points array for season series\n- `sourceUrl`\n- `recordType: \"standing\"`, `scrapedAt`\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `rankings` | `rankings` / `matches` / `matchDetails` / `teamProfile` / `teams` / `standings` |\n| `gender` | string | `men` | `men` / `women` / `both` (mode=rankings, mode=matches) |\n| `rankingDate` | string | – | Historical snapshot date `YYYY-MM-DD` (mode=rankings) |\n| `matchStatus` | string | `all` | `all` / `completed` / `upcoming` / `live` (mode=matches) |\n| `includeSevens` | boolean | `false` | Also include Rugby Sevens matches (mode=matches) |\n| `dateFrom` | string | – | Match date range start `YYYY-MM-DD`; defaults to 30 days ago when no event IDs are given (mode=matches) |\n| `dateTo` | string | – | Match date range end `YYYY-MM-DD`; defaults to 30 days ahead when no event IDs are given (mode=matches) |\n| `teamNameContains` | string | – | Filter matches by team-name substring, or filter team-directory rows by name/country (mode=matches / teams) |\n| `competitionContains` | string | – | Filter matches by competition-name substring (mode=matches) |\n| `eventIds` | array | – | Event/competition IDs for matches or standings (mode=matches / standings) |\n| `matchTeamIds` | array | – | Only matches involving these team IDs (mode=matches) |\n| `matchIds` | array | – | Match IDs or match page URLs (mode=matchDetails) |\n| `includePlayerStats` | boolean | `false` | Add per-player stats to match-detail rows (mode=matchDetails) |\n| `teamIds` | array | – | Team IDs, numeric or UUID (mode=teamProfile) |\n| `teamNames` | array | – | National team names, resolved via current 15s rankings (mode=teamProfile); prefilled with `[\"New Zealand\"]` for the platform's daily test run |\n| `teamType` | string | `all` | Team-directory type filter (mode=teams) |\n| `teamSport` | string | `all` | Team-directory sport code filter (mode=teams) |\n| `teamCountryCode` | string | – | ISO 3166-1 alpha-3 country code filter (mode=teams) |\n| `seriesIds` | array | – | Series IDs for season standings (mode=standings) |\n| `seriesNames` | array | – | Series-name substrings, or `*` for all series (mode=standings) |\n| `maxItems` | int | `50` | Hard cap on emitted records (1–10,000) |\n\n### Example: current men's world rankings\n\n```json\n{\n  \"mode\": \"rankings\",\n  \"gender\": \"men\",\n  \"maxItems\": 50\n}\n```\n\n### Example: historical women's rankings snapshot\n\n```json\n{\n  \"mode\": \"rankings\",\n  \"gender\": \"women\",\n  \"rankingDate\": \"2023-08-01\",\n  \"maxItems\": 50\n}\n```\n\n### Example: completed Six Nations results\n\n```json\n{\n  \"mode\": \"matches\",\n  \"gender\": \"men\",\n  \"matchStatus\": \"completed\",\n  \"competitionContains\": \"Six Nations\",\n  \"dateFrom\": \"2026-01-01\",\n  \"dateTo\": \"2026-04-01\",\n  \"maxItems\": 50\n}\n```\n\n### Example: every World Cup 2023 match (server-side event filter)\n\n```json\n{\n  \"mode\": \"matches\",\n  \"gender\": \"men\",\n  \"eventIds\": [\"1893\"],\n  \"maxItems\": 100\n}\n```\n\n### Example: full detail for one match\n\n```json\n{\n  \"mode\": \"matchDetails\",\n  \"matchIds\": [\"28813\"],\n  \"includePlayerStats\": true,\n  \"maxItems\": 1\n}\n```\n\n### Example: national team profiles\n\n```json\n{\n  \"mode\": \"teamProfile\",\n  \"teamNames\": [\"New Zealand\", \"South Africa\", \"Fiji\"],\n  \"maxItems\": 20\n}\n```\n\n### Example: club team directory in South Africa\n\n```json\n{\n  \"mode\": \"teams\",\n  \"teamSport\": \"mru\",\n  \"teamType\": \"Club\",\n  \"teamCountryCode\": \"ZAF\",\n  \"maxItems\": 100\n}\n```\n\n### Example: HSBC SVNS 2027 season standings\n\n```json\n{\n  \"mode\": \"standings\",\n  \"seriesNames\": [\"HSBC SVNS 2027\"],\n  \"maxItems\": 100\n}\n```\n\n### Example: tournament pool tables\n\n```json\n{\n  \"mode\": \"standings\",\n  \"eventIds\": [\"46294cf5-dee3-4234-957a-dbe1f08049f2\"],\n  \"maxItems\": 100\n}\n```\n\n## Use cases\n\n- **Sports media** — auto-publish weekly ranking movements, results and tables\n- **Betting & fantasy sports** — feed official rankings, results, lineups and scoring plays into models\n- **Fan platforms & apps** — power a rugby results/rankings/standings widget\n- **Sports analytics** — build historical ranking-trend datasets by date, match-detail datasets and team directories\n- **Research** — study national teams' World Cup history and ranking careers\n\n## FAQ\n\n**What is the data source?**\nWorld Rugby's own public rankings, fixtures and tournament data (world.rugby), the sport's official global governing body.\n\n**How far back does historical ranking data go?**\nWorld Rugby's ranking system was introduced in 2003, but the public API backing this actor's historical snapshots has a different floor per gender: men's rankings only go back to around 2020-09, while women's rankings go back further, to around 2016-02. Requesting an earlier date than either floor returns the nearest (earliest) date that has data — confirmed live: requesting `rankingDate=2015-01-01` with `gender=men` returns the `2020-09-21` snapshot, while the same request with `gender=women` returns the `2016-02-08` snapshot instead. The actual date used is always returned in the `rankingDate` output field, so you can detect a clamp.\n\n**Can I get a range of historical rankings in one run?**\nThe upstream API accepts one ranking date per request, so this actor returns one snapshot per run. To build a history, run it once per date. There is no official list of update dates, and the API snaps a requested date to the nearest real update, so a sampled range would not be an exact official history.\n\n**Does `matches` mode cover club rugby too, not just internationals?**\nYes — `matches` returns any match on World Rugby's calendar in the date range, including major club competitions (e.g. Top 14, United Rugby Championship) alongside international Tests.\n\n**Why don't some matches have a score?**\nUpcoming/fixture matches haven't been played yet, so `homeScore`/`awayScore`/`winner` are omitted until the match is completed.\n\n**Why do some match-detail rows lack lineups, cards or stats?**\nWorld Rugby does not publish complete detail for every fixture — notably some recent, minor or club matches. Those fields are omitted rather than filled with placeholders. Scoring plays, lineups and stats are present for the large majority of international and major club matches.\n\n**Where are the sevens rankings?**\nWorld Rugby publishes the men's/women's 15s world rankings as a ranked table; its sevens competitions are published as HSBC SVNS series and tournament standings instead. Use `mode=standings` with `seriesNames: [\"HSBC SVNS\"]` (or an event ID) for the official sevens tables. The old `mrs`/`wrs` ranking endpoints return HTTP 400 and are not available.\n\n**How do I find a team's `teamId` for `teamProfile` or `matchTeamIds`?**\nRun `rankings`, `matches` or `teams` first — every record includes `teamId` (and `homeTeamId`/`awayTeamId`). For national teams you can also pass the team's name via `teamNames`.\n\n**How do I find an event ID or series ID?**\nEvent IDs appear in `matches` mode only when you supply them; use the World Rugby fixtures page to identify the competition, or use `competitionContains` / `seriesNames` instead. Series IDs are optional — `seriesNames` resolves them for you.\n\n**Is this affiliated with World Rugby?**\nNo — this is an independent, third-party actor built on World Rugby's publicly accessible data feed.\n\n**What does `matchStatus: \"live\"` return?**\nMatches currently being played — first half, half-time, or second half — with real-time scores. This is a small, transient set (usually 0-5 matches at any given moment); it will often be empty outside an active match window.\n\n**Are there rate limits?**\nThe actor uses polite delays between requests. A 10,000-record cap keeps runs predictable; for larger historical pulls split by date range, event or team. Very large `matches` runs may take longer because results are paginated 100 at a time.\n",
      "input": {
        "title": "World Rugby Scraper Input",
        "description": "Fetch official World Rugby rankings (current or historical), match results and fixtures, full match details, national team profiles, the team directory, or competition standings.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "title": "Mode",
            "type": "string",
            "description": "What to fetch: rankings, matches, matchDetails, teamProfile, teams (directory), or standings.",
            "editor": "select",
            "enum": [
              "rankings",
              "matches",
              "matchDetails",
              "teamProfile",
              "teams",
              "standings"
            ],
            "enumTitles": [
              "World rankings (men's / women's)",
              "Match results & fixtures",
              "Match details (lineups, scorers, stats)",
              "Team profile (by ID or name)",
              "Team directory (browse clubs and nations)",
              "Competition standings (series or tournament pools)"
            ],
            "default": "rankings",
            "prefill": "rankings"
          },
          "gender": {
            "title": "Gender",
            "type": "string",
            "description": "Which rankings/matches to fetch (mode=rankings, mode=matches). Also disambiguates `teamNames` when a country fields both a men's and a women's team of the same name (mode=teamProfile).",
            "editor": "select",
            "enum": [
              "men",
              "women",
              "both"
            ],
            "enumTitles": [
              "Men's",
              "Women's",
              "Both"
            ],
            "default": "men",
            "prefill": "men"
          },
          "rankingDate": {
            "title": "Ranking date (mode=rankings)",
            "type": "string",
            "description": "Historical ranking snapshot date, `YYYY-MM-DD`. Leave blank for the current rankings. World Rugby snaps to the nearest real ranking-update date to the one given (not always on/before it). The actual date used is always returned in the `rankingDate` output field.",
            "editor": "textfield"
          },
          "matchStatus": {
            "title": "Match status (mode=matches)",
            "type": "string",
            "description": "Filter matches by status. `live` returns matches currently in progress (first half, half-time, or second half).",
            "editor": "select",
            "enum": [
              "all",
              "completed",
              "upcoming",
              "live"
            ],
            "enumTitles": [
              "All",
              "Completed only",
              "Upcoming only",
              "Live only"
            ],
            "default": "all",
            "prefill": "all"
          },
          "includeSevens": {
            "title": "Include Rugby Sevens (mode=matches)",
            "type": "boolean",
            "description": "Also include Rugby Sevens matches in addition to full XVs (15-a-side). Default only returns 15s.",
            "default": false,
            "prefill": false
          },
          "dateFrom": {
            "title": "Date from (mode=matches)",
            "type": "string",
            "description": "Start of match date range, `YYYY-MM-DD`. Defaults to 30 days ago when no event IDs are given.",
            "editor": "textfield"
          },
          "dateTo": {
            "title": "Date to (mode=matches)",
            "type": "string",
            "description": "End of match date range, `YYYY-MM-DD`. Defaults to 30 days ahead when no event IDs are given.",
            "editor": "textfield"
          },
          "teamNameContains": {
            "title": "Team name contains (mode=matches / teams)",
            "type": "string",
            "description": "Only keep matches where either team's name contains this text (case-insensitive), or only keep team-directory rows whose name/country contains it. E.g. `Fiji`.",
            "editor": "textfield"
          },
          "competitionContains": {
            "title": "Competition contains (mode=matches)",
            "type": "string",
            "description": "Only keep matches whose competition/tournament name contains this text (case-insensitive), e.g. `Six Nations`.",
            "editor": "textfield"
          },
          "eventIds": {
            "title": "Event IDs (mode=matches / standings)",
            "type": "array",
            "description": "World Rugby event/competition IDs (numeric or UUID), e.g. `1893` for Men's Rugby World Cup 2023 or the Dubai SVNS event ID. In matches mode this filters results server-side; in standings mode it fetches each event's pool tables. Combine with `gender` and `includeSevens` in matches mode.",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "matchTeamIds": {
            "title": "Filter by team IDs (mode=matches)",
            "type": "array",
            "description": "Only return matches involving these World Rugby team IDs (numeric or UUID). E.g. `39` for South Africa.",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "matchIds": {
            "title": "Match IDs or URLs (mode=matchDetails)",
            "type": "array",
            "description": "World Rugby match IDs or full match page URLs, e.g. `28813` or `https://www.world.rugby/match/28813`. Returns lineups, scoring plays, cards, officials, weather, team stats, and optional player stats.",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "includePlayerStats": {
            "title": "Include player stats (mode=matchDetails)",
            "type": "boolean",
            "description": "Add a per-player stats array to each match-detail row. This makes each record much larger; leave off unless you need player-level metrics.",
            "default": false,
            "prefill": false
          },
          "teamIds": {
            "title": "Team IDs (mode=teamProfile)",
            "type": "array",
            "description": "World Rugby team IDs, numeric or UUID (see `teamId` in rankings/matches output), e.g. `39` for South Africa.",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "teamNames": {
            "title": "National team names (mode=teamProfile)",
            "type": "array",
            "description": "National team names to resolve automatically against the current men's + women's 15s rankings, e.g. `New Zealand`, `Fiji`. For club, province, or sevens teams use Team IDs or the `teams` directory mode.",
            "editor": "stringList",
            "default": [],
            "prefill": [
              "New Zealand"
            ]
          },
          "teamType": {
            "title": "Team type (mode=teams)",
            "type": "string",
            "description": "Filter the team directory by team type.",
            "editor": "select",
            "enum": [
              "all",
              "Country",
              "Club",
              "Province",
              "Representative",
              "Invitational",
              "U20",
              "County",
              "Combined",
              "U19",
              "SuperProvince",
              "U21",
              "ProvincialAcademy"
            ],
            "enumTitles": [
              "All types",
              "Country",
              "Club",
              "Province",
              "Representative",
              "Invitational",
              "U20",
              "County",
              "Combined",
              "U19",
              "SuperProvince",
              "U21",
              "Provincial Academy"
            ],
            "default": "all",
            "prefill": "all"
          },
          "teamSport": {
            "title": "Team sport (mode=teams)",
            "type": "string",
            "description": "Filter the team directory by sport/discipline code.",
            "editor": "select",
            "enum": [
              "all",
              "mru",
              "wru",
              "mrs",
              "wrs",
              "jmu",
              "jwu",
              "mjs",
              "wjs"
            ],
            "enumTitles": [
              "All sports",
              "Men's 15s",
              "Women's 15s",
              "Men's Sevens",
              "Women's Sevens",
              "Men's U20 15s",
              "Women's U20 15s",
              "Men's U20 Sevens",
              "Women's U20 Sevens"
            ],
            "default": "all",
            "prefill": "all"
          },
          "teamCountryCode": {
            "title": "Team country code (mode=teams)",
            "type": "string",
            "description": "Filter the team directory by ISO 3166-1 alpha-3 country code, e.g. `ZAF`, `NZL`, `FRA`.",
            "editor": "textfield"
          },
          "seriesIds": {
            "title": "Series IDs (mode=standings)",
            "type": "array",
            "description": "World Rugby series IDs (numeric or UUID) whose season standings to fetch. Series are things like `HSBC SVNS 3 2027 - MRS`. Use `seriesNames` if you do not know the ID.",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "seriesNames": {
            "title": "Series name contains (mode=standings)",
            "type": "array",
            "description": "Case-insensitive substrings matched against the current series list, e.g. `HSBC SVNS 2027`, `Six Nations`, or `*` for every series with standings.",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "maxItems": {
            "title": "Max items",
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "minimum": 1,
            "maximum": 10000,
            "default": 50,
            "prefill": 50
          }
        },
        "required": [
          "mode"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "World Rugby Rankings & Results Scraper Output",
        "description": "Dataset of World Rugby rankings, match results and fixtures, full match details, team profiles/directory rows, or competition standings.",
        "properties": {
          "rugbyData": {
            "type": "string",
            "title": "World Rugby data",
            "description": "Dataset containing all scraped World Rugby rankings, matches, match details, teams, and standings.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "overview": {
              "title": "Rugby data",
              "transformation": {
                "fields": [
                  "recordType",
                  "competition",
                  "season",
                  "table",
                  "teamName",
                  "gender",
                  "rank",
                  "ratingPoints",
                  "points",
                  "homeTeam",
                  "awayTeam",
                  "homeScore",
                  "awayScore",
                  "matchDate",
                  "status"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            }
          }
        }
      },
      "environmentVariables": {}
    },
    "buildNumber": "2.0.1",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "2.0"
    }
  }
}