# API-Rugby

> Follow rugby with API-Rugby: games and results with the score by half and while they are played, standings, team season statistics, head-to-head records and bookmakers' pre-match odds, for more than 140 leagues and cups, from the Top 14, the Premiership and the United Rugby Championship to Super Rugby, the Six Nations, the Champions Cup and the World Cup. Needs an API-SPORTS key; the free plan allows 100 requests a day.

App · Sports · 15 actions. Web page: https://docs.lodol.com/docs/integrations/api-rugby

## Actions

### Find leagues and cups

Find rugby competitions by name, country, season or type, each with its ID, logo, country and every season on file with its dates. With no filter it lists all of them.

**Inputs**

- League (`league_id`, text): Optional. Only this competition. Pick one from the list, or pass a league ID such as 16 for the Top 14.
- Search (`search`, text): Optional. Only names containing this, at least 3 characters.
- Country (`country`, text): Optional. Only this country, by name as the list gives it, such as France, New-Zealand or South-Africa.
- Season (`season`, number): Optional. Only this season, as the four-digit year it starts in, such as 2024 for 2024-25. The free plan reads the 2022 to 2024 seasons. From 1900 to 2100.
- Type (`league_type`, text): Optional. Only leagues, or only cups. One of: `league`, `cup`.

**Outputs**

- `count` (number): How many came back.
- `leagues` (list): The competitions.

**Example output**

```json
{
  "count": 1,
  "leagues": [
    {
      "country": {
        "code": "FR",
        "flag": "https://media.api-sports.io/flags/fr.svg",
        "id": 7,
        "name": "France"
      },
      "current_season": {
        "current": true,
        "end": "2027-06-05",
        "season": 2026,
        "start": "2026-09-05"
      },
      "id": 16,
      "logo": "https://media.api-sports.io/rugby/leagues/16.png",
      "name": "Top 14",
      "seasons": [
        {
          "current": false,
          "end": "2025-06-28",
          "season": 2024,
          "start": "2024-09-07"
        },
        {
          "current": false,
          "end": "2026-06-27",
          "season": 2025,
          "start": "2025-09-06"
        },
        {
          "current": true,
          "end": "2027-06-05",
          "season": 2026,
          "start": "2026-09-05"
        }
      ],
      "type": "League"
    }
  ]
}
```

### Find teams

Find teams by name, by league and season, by country or by ID, each with its logo, country, the year it was founded, its ground and whether it is a national side.

**Inputs**

- Team ID (`team_id`, text): Optional. Only this team, by ID, such as 107 for Stade Toulousain.
- Search (`search`, text): Optional. Only names containing this, at least 3 characters.
- League (`league_id`, text): Optional. Only this competition; needs a season too. Pick one from the list, or pass a league ID such as 16 for the Top 14.
- Season (`season`, number): Optional. Only this season, as the four-digit year it starts in, such as 2024 for 2024-25. The free plan reads the 2022 to 2024 seasons. From 1900 to 2100.
- Country (`country`, text): Optional. Only this country, by name as the list gives it, such as France, New-Zealand or South-Africa.

**Outputs**

- `count` (number): How many came back.
- `teams` (list): The teams.

**Example output**

```json
{
  "count": 2,
  "teams": [
    {
      "arena": {
        "capacity": 34694,
        "location": "Bordeaux, France",
        "name": "Stade Chaban-delmas"
      },
      "country": {
        "code": "FR",
        "flag": "https://media.api-sports.io/flags/fr.svg",
        "id": 7,
        "name": "France"
      },
      "founded": 2006,
      "id": 96,
      "logo": "https://media.api-sports.io/rugby/teams/96.png",
      "name": "Bordeaux Begles",
      "national": false
    },
    {
      "arena": {
        "capacity": 19500,
        "location": "Toulouse, France",
        "name": "Stade Ernest-wallon"
      },
      "country": {
        "code": "FR",
        "flag": "https://media.api-sports.io/flags/fr.svg",
        "id": 7,
        "name": "France"
      },
      "founded": 1907,
      "id": 107,
      "logo": "https://media.api-sports.io/rugby/teams/107.png",
      "name": "Stade Toulousain",
      "national": true
    }
  ]
}
```

### Get a game

Get one game by ID: its start time, round, status, the score (the running score while it is played) and each period's points.

**Inputs**

- Game ID (`game_id`, text, required): The game's ID, such as 49688. List games returns them.
- Time zone (`timezone`, text): Optional. Give dates and times in this time zone, such as Europe/Paris or Pacific/Auckland. UTC when left empty.

**Outputs**

- `country` (object): A country, or a region such as Europe or World for international competitions.
- `date` (text): When it starts, with the time zone's offset (ISO 8601).
- `id` (number): The game's ID.
- `league` (object): The competition, and the season this is from.
- `periods` (object): The points in each part of the game, which add up to the score. Null for a part not played, while the game is played, and in competitions the API keeps no periods for.
- `scores` (object): Each side's points, extra time included. Null before kickoff; while the game is played, the points so far.
- `status` (object): Where the game stands.
- `teams` (object): Both sides.
- `time` (text): Its start time, HH:MM, in that time zone.
- `timestamp` (number): When it starts, as a Unix timestamp.
- `timezone` (text): The time zone date and time are given in.
- `week` (text): The round: a number such as 17 in a league, or a cup round such as Quarter-finals or Final. Null when the API has none.

**Example output**

```json
{
  "country": {
    "code": "FR",
    "flag": "https://media.api-sports.io/flags/fr.svg",
    "id": 7,
    "name": "France"
  },
  "date": "2025-06-28T19:05:00+00:00",
  "id": 49688,
  "league": {
    "id": 16,
    "logo": "https://media.api-sports.io/rugby/leagues/16.png",
    "name": "Top 14",
    "season": 2024,
    "type": "League"
  },
  "periods": {
    "first": {
      "away": 16,
      "home": 20
    },
    "overtime": {
      "away": 0,
      "home": 6
    },
    "second": {
      "away": 17,
      "home": 13
    },
    "second_overtime": {
      "away": null,
      "home": null
    }
  },
  "scores": {
    "away": 33,
    "home": 39
  },
  "status": {
    "long": "After Extra Time",
    "short": "AET"
  },
  "teams": {
    "away": {
      "id": 96,
      "logo": "https://media.api-sports.io/rugby/teams/96.png",
      "name": "Bordeaux Begles"
    },
    "home": {
      "id": 107,
      "logo": "https://media.api-sports.io/rugby/teams/107.png",
      "name": "Stade Toulousain"
    }
  },
  "time": "19:05",
  "timestamp": 1751137500,
  "timezone": "UTC",
  "week": "Final"
}
```

### Get account status

See the connected key's API-Rugby plan, when it renews, and how many of today's requests are used and left. It is free: it never counts against the day.

**Inputs**: None.

**Outputs**

- `active` (true/false): True while the subscription is active.
- `daily_limit` (number): Requests allowed a day.
- `plan` (text): The plan, such as Free.
- `requests_remaining` (number): Requests left today; the day starts at midnight UTC.
- `requests_today` (number): Requests used today.
- `subscription_end` (text): When the plan renews or ends.

**Example output**

```json
{
  "active": true,
  "daily_limit": 100,
  "plan": "Free",
  "requests_remaining": 88,
  "requests_today": 12,
  "subscription_end": "2027-10-01T00:00:00+00:00"
}
```

### Get pre-match odds

Get bookmakers' pre-match odds for a game, or for a league's games in a season, optionally from one bookmaker or for one bet type. Odds appear 1 to 7 days before a game, are updated once a day and are kept for 7 days after it.

**Inputs**

- Game ID (`game_id`, text): Optional. Only this game's odds. Set this, or a league and a season.
- League (`league_id`, text): Optional. Only this competition; needs a season too. Pick one from the list, or pass a league ID such as 16 for the Top 14.
- Season (`season`, number): Optional. Only this season, as the four-digit year it starts in, such as 2024 for 2024-25. The free plan reads the 2022 to 2024 seasons. From 1900 to 2100.
- Bookmaker (`bookmaker_id`, text): Optional. Only this bookmaker's odds. Pick one from the list.
- Bet type (`bet_id`, text): Optional. Only this kind of bet, such as 3Way Result. Pick one from the list.

**Outputs**

- `count` (number): How many came back.
- `odds` (list): Each game's odds.

**Example output**

```json
{
  "count": 1,
  "odds": [
    {
      "bookmakers": [
        {
          "bets": [
            {
              "id": 1,
              "name": "3Way Result",
              "values": [
                {
                  "odd": 1.72,
                  "value": "Home"
                },
                {
                  "odd": 21.0,
                  "value": "Draw"
                },
                {
                  "odd": 2.2,
                  "value": "Away"
                }
              ]
            },
            {
              "id": 2,
              "name": "Home/Away",
              "values": [
                {
                  "odd": 1.61,
                  "value": "Home"
                },
                {
                  "odd": 2.2,
                  "value": "Away"
                }
              ]
            }
          ],
          "id": 4,
          "name": "Bet365"
        }
      ],
      "country": {
        "code": null,
        "flag": null,
        "id": 26,
        "name": "World"
      },
      "game_id": 53645,
      "league": {
        "id": 76,
        "logo": "https://media.api-sports.io/rugby/leagues/76.png",
        "name": "United Rugby Championship",
        "season": 2026,
        "type": "Cup"
      },
      "updated": "2026-10-02T13:20:05+00:00"
    }
  ]
}
```

### Get standings

Get a season's tables, such as the Top 14's one table or the Champions Cup's four pools: each team's place, games played, won, drawn and lost, points scored and conceded, table points, form and what the place leads to. Narrow to one team, stage or group.

**Inputs**

- League (`league_id`, text, required): The competition, such as 16 for the Top 14, 13 for the Premiership or 54 for the European Champions Cup. Pick one from the list, or pass a league ID from an earlier step.
- Season (`season`, number, required): The season, as the four-digit year it starts in, such as 2024 for 2024-25. The free plan reads the 2022 to 2024 seasons. From 1900 to 2100.
- Team ID (`team_id`, text): Optional. Only this team's line in each table it is in.
- Stage (`stage`, text): Optional. Only this stage, by name. List standings stages gives a season's stages.
- Group (`group`, text): Optional. Only this group, by name. List standings groups gives a season's groups, when the API names any.

**Outputs**

- `count` (number): How many came back.
- `standings` (list): The tables, in the API's order.

**Example output**

```json
{
  "count": 2,
  "standings": [
    {
      "country": {
        "code": null,
        "flag": null,
        "id": 25,
        "name": "Europe"
      },
      "group": null,
      "league": {
        "id": 54,
        "logo": "https://media.api-sports.io/rugby/leagues/54.png",
        "name": "European Rugby Champions Cup",
        "season": 2024,
        "type": "Cup"
      },
      "stage": null,
      "table": [
        {
          "description": "Playoffs",
          "form": "WWWWW",
          "games": {
            "draws": {
              "percentage": 0.0,
              "total": 0
            },
            "losses": {
              "percentage": 0.0,
              "total": 0
            },
            "played": 4,
            "wins": {
              "percentage": 100.0,
              "total": 4
            }
          },
          "points": 20,
          "points_against": 76,
          "points_for": 217,
          "position": 1,
          "team": {
            "id": 96,
            "logo": "https://media.api-sports.io/rugby/teams/96.png",
            "name": "Bordeaux Begles"
          }
        },
        {
          "description": "Playoffs",
          "form": "LWWWW",
          "games": {
            "draws": {
              "percentage": 0.0,
              "total": 0
            },
            "losses": {
              "percentage": 0.0,
              "total": 0
            },
            "played": 4,
            "wins": {
              "percentage": 100.0,
              "total": 4
            }
          },
          "points": 19,
          "points_against": 62,
          "points_for": 225,
          "position": 2,
          "team": {
            "id": 107,
            "logo": "https://media.api-sports.io/rugby/teams/107.png",
            "name": "Stade Toulousain"
          }
        }
      ]
    },
    {
      "country": {
        "code": null,
        "flag": null,
        "id": 25,
        "name": "Europe"
      },
      "group": null,
      "league": {
        "id": 54,
        "logo": "https://media.api-sports.io/rugby/leagues/54.png",
        "name": "European Rugby Champions Cup",
        "season": 2024,
        "type": "Cup"
      },
      "stage": null,
      "table": [
        {
          "description": "Playoffs",
          "form": "LWWWW",
          "games": {
            "draws": {
              "percentage": 0.0,
              "total": 0
            },
            "losses": {
              "percentage": 0.0,
              "total": 0
            },
            "played": 4,
            "wins": {
              "percentage": 100.0,
              "total": 4
            }
          },
          "points": 18,
          "points_against": 54,
          "points_for": 113,
          "position": 1,
          "team": {
            "id": 407,
            "logo": "https://media.api-sports.io/rugby/teams/407.png",
            "name": "Leinster"
          }
        },
        {
          "description": "Playoffs",
          "form": "LLLWW",
          "games": {
            "draws": {
              "percentage": 0.0,
              "total": 0
            },
            "losses": {
              "percentage": 50.0,
              "total": 2
            },
            "played": 4,
            "wins": {
              "percentage": 50.0,
              "total": 2
            }
          },
          "points": 11,
          "points_against": 75,
          "points_for": 98,
          "position": 2,
          "team": {
            "id": 100,
            "logo": "https://media.api-sports.io/rugby/teams/100.png",
            "name": "Stade Rochelais"
          }
        }
      ]
    }
  ]
}
```

### Get team statistics

Get a team's season in one competition: games played, won, drawn and lost at home, away and in all, with their percentages, and points scored and conceded in total and per game.

**Inputs**

- League (`league_id`, text, required): The competition, such as 16 for the Top 14, 13 for the Premiership or 54 for the European Champions Cup. Pick one from the list, or pass a league ID from an earlier step.
- Season (`season`, number, required): The season, as the four-digit year it starts in, such as 2024 for 2024-25. The free plan reads the 2022 to 2024 seasons. From 1900 to 2100.
- Team ID (`team_id`, text, required): The team's ID, such as 107 for Stade Toulousain. Find teams looks one up. A team's ID is the same in every competition.
- Up to date (`on_date`, date): Optional. Count only games up to this day. The free plan takes only yesterday, today or tomorrow.

**Outputs**

- `country` (object): A country, or a region such as Europe or World for international competitions.
- `games` (object): The team's record.
- `league` (object): The competition, and the season this is from.
- `points_against` (object): Points conceded.
- `points_for` (object): Points scored.
- `team` (object): A team.

**Example output**

```json
{
  "country": {
    "code": "FR",
    "flag": "https://media.api-sports.io/flags/fr.svg",
    "id": 7,
    "name": "France"
  },
  "games": {
    "draws": {
      "all": {
        "percentage": 3.57,
        "total": 1
      },
      "away": {
        "percentage": 7.69,
        "total": 1
      },
      "home": {
        "percentage": 0.0,
        "total": 0
      }
    },
    "losses": {
      "all": {
        "percentage": 25.0,
        "total": 7
      },
      "away": {
        "percentage": 38.46,
        "total": 5
      },
      "home": {
        "percentage": 13.33,
        "total": 2
      }
    },
    "played": {
      "all": 28,
      "away": 13,
      "home": 15
    },
    "wins": {
      "all": {
        "percentage": 71.43,
        "total": 20
      },
      "away": {
        "percentage": 53.85,
        "total": 7
      },
      "home": {
        "percentage": 86.67,
        "total": 13
      }
    }
  },
  "league": {
    "id": 16,
    "logo": "https://media.api-sports.io/rugby/leagues/16.png",
    "name": "Top 14",
    "season": 2024,
    "type": "League"
  },
  "points_against": {
    "average": {
      "all": 18.6,
      "away": 20.6,
      "home": 16.8
    },
    "total": {
      "all": 520,
      "away": 268,
      "home": 252
    }
  },
  "points_for": {
    "average": {
      "all": 34.4,
      "away": 26.5,
      "home": 41.2
    },
    "total": {
      "all": 962,
      "away": 344,
      "home": 618
    }
  },
  "team": {
    "id": 107,
    "logo": "https://media.api-sports.io/rugby/teams/107.png",
    "name": "Stade Toulousain"
  }
}
```

### List bet types

List the kinds of bet API-Rugby has odds for, such as 3Way Result, Asian Handicap or Over/Under, with the IDs the odds filter takes.

**Inputs**

- Search (`search`, text): Optional. Only names containing this, at least 3 characters.

**Outputs**

- `bets` (list): The bet types.
- `count` (number): How many came back.

**Example output**

```json
{
  "bets": [
    {
      "id": 1,
      "name": "3Way Result"
    },
    {
      "id": 2,
      "name": "Home/Away"
    }
  ],
  "count": 2
}
```

### List bookmakers

List the bookmakers API-Rugby has odds from, with the IDs the odds filter takes. These IDs are API-Rugby's own: the same bookmaker can have another ID in another API-SPORTS API.

**Inputs**

- Search (`search`, text): Optional. Only names containing this, at least 3 characters.

**Outputs**

- `bookmakers` (list): The bookmakers.
- `count` (number): How many came back.

**Example output**

```json
{
  "bookmakers": [
    {
      "id": 4,
      "name": "Bet365"
    },
    {
      "id": 9,
      "name": "Pinnacle"
    }
  ],
  "count": 2
}
```

### List countries

List the countries and regions that have rugby competitions in API-Rugby, each with its ID, code and flag. The names are what the Country filters take.

**Inputs**

- Search (`search`, text): Optional. Only names containing this, at least 3 characters.
- Country code (`code`, text): Optional. Only the country with this two-letter code, such as FR, NZ or ZA.

**Outputs**

- `count` (number): How many came back.
- `countries` (list): The countries.

**Example output**

```json
{
  "count": 2,
  "countries": [
    {
      "code": "FR",
      "flag": "https://media.api-sports.io/flags/fr.svg",
      "id": 7,
      "name": "France"
    },
    {
      "code": null,
      "flag": null,
      "id": 26,
      "name": "World"
    }
  ]
}
```

### List games

List games and results by day, by league and season, or by team and season, each with its start time, round, status, the score (the running score while it is played) and each period's points.

**Inputs**

- Date (`on_date`, date): Optional. Only games on this day, in the time zone chosen below. The free plan takes only yesterday, today or tomorrow.
- League (`league_id`, text): Optional. Only this competition; needs a season too. Pick one from the list, or pass a league ID such as 16 for the Top 14.
- Season (`season`, number): Optional. Only this season, as the four-digit year it starts in, such as 2024 for 2024-25. The free plan reads the 2022 to 2024 seasons. From 1900 to 2100.
- Team ID (`team_id`, text): Optional. Only this team's games, by ID, such as 107 for Stade Toulousain; needs a season too.
- Time zone (`timezone`, text): Optional. Give dates and times in this time zone, such as Europe/Paris or Pacific/Auckland. UTC when left empty.

**Outputs**

- `count` (number): How many came back.
- `games` (list): The games, in the order given.

**Example output**

```json
{
  "count": 2,
  "games": [
    {
      "country": {
        "code": "FR",
        "flag": "https://media.api-sports.io/flags/fr.svg",
        "id": 7,
        "name": "France"
      },
      "date": "2025-06-28T19:05:00+00:00",
      "id": 49688,
      "league": {
        "id": 16,
        "logo": "https://media.api-sports.io/rugby/leagues/16.png",
        "name": "Top 14",
        "season": 2024,
        "type": "League"
      },
      "periods": {
        "first": {
          "away": 16,
          "home": 20
        },
        "overtime": {
          "away": 0,
          "home": 6
        },
        "second": {
          "away": 17,
          "home": 13
        },
        "second_overtime": {
          "away": null,
          "home": null
        }
      },
      "scores": {
        "away": 33,
        "home": 39
      },
      "status": {
        "long": "After Extra Time",
        "short": "AET"
      },
      "teams": {
        "away": {
          "id": 96,
          "logo": "https://media.api-sports.io/rugby/teams/96.png",
          "name": "Bordeaux Begles"
        },
        "home": {
          "id": 107,
          "logo": "https://media.api-sports.io/rugby/teams/107.png",
          "name": "Stade Toulousain"
        }
      },
      "time": "19:05",
      "timestamp": 1751137500,
      "timezone": "UTC",
      "week": "Final"
    },
    {
      "country": {
        "code": "FR",
        "flag": "https://media.api-sports.io/flags/fr.svg",
        "id": 7,
        "name": "France"
      },
      "date": "2024-09-08T19:05:00+00:00",
      "id": 45923,
      "league": {
        "id": 16,
        "logo": "https://media.api-sports.io/rugby/leagues/16.png",
        "name": "Top 14",
        "season": 2024,
        "type": "League"
      },
      "periods": {
        "first": {
          "away": 23,
          "home": 6
        },
        "overtime": {
          "away": null,
          "home": null
        },
        "second": {
          "away": 20,
          "home": 12
        },
        "second_overtime": {
          "away": null,
          "home": null
        }
      },
      "scores": {
        "away": 43,
        "home": 18
      },
      "status": {
        "long": "Finished",
        "short": "FT"
      },
      "teams": {
        "away": {
          "id": 107,
          "logo": "https://media.api-sports.io/rugby/teams/107.png",
          "name": "Stade Toulousain"
        },
        "home": {
          "id": 123,
          "logo": "https://media.api-sports.io/rugby/teams/123.png",
          "name": "Vannes"
        }
      },
      "time": "19:05",
      "timestamp": 1725822300,
      "timezone": "UTC",
      "week": "1"
    }
  ]
}
```

### List head-to-head games

List the games two teams have played each other, in every season or only one league, season or day, with a count of each side's wins, the draws and each side's points across the finished ones.

**Inputs**

- First team ID (`first_team_id`, text, required): One of the two teams, by ID, such as 107 for Stade Toulousain. The summary counts its wins first.
- Second team ID (`second_team_id`, text, required): The other team, by ID, such as 96 for Bordeaux Begles.
- League (`league_id`, text): Optional. Only their games in this competition. Pick one from the list, or pass a league ID such as 16 for the Top 14.
- Season (`season`, number): Optional. Only this season, as the four-digit year it starts in, such as 2024 for 2024-25. The free plan reads the 2022 to 2024 seasons. From 1900 to 2100.
- Date (`on_date`, date): Optional. Only games on this day, in the time zone chosen below. The free plan takes only yesterday, today or tomorrow.
- Time zone (`timezone`, text): Optional. Give dates and times in this time zone, such as Europe/Paris or Pacific/Auckland. UTC when left empty.

**Outputs**

- `count` (number): How many came back.
- `games` (list): Their games, oldest first.
- `summary` (object): A count of the finished games among them, extra time included.

**Example output**

```json
{
  "count": 3,
  "games": [
    {
      "country": {
        "code": "FR",
        "flag": "https://media.api-sports.io/flags/fr.svg",
        "id": 7,
        "name": "France"
      },
      "date": "2024-09-29T19:05:00+00:00",
      "id": 45944,
      "league": {
        "id": 16,
        "logo": "https://media.api-sports.io/rugby/leagues/16.png",
        "name": "Top 14",
        "season": 2024,
        "type": "League"
      },
      "periods": {
        "first": {
          "away": 13,
          "home": 7
        },
        "overtime": {
          "away": null,
          "home": null
        },
        "second": {
          "away": 3,
          "home": 5
        },
        "second_overtime": {
          "away": null,
          "home": null
        }
      },
      "scores": {
        "away": 16,
        "home": 12
      },
      "status": {
        "long": "Finished",
        "short": "FT"
      },
      "teams": {
        "away": {
          "id": 96,
          "logo": "https://media.api-sports.io/rugby/teams/96.png",
          "name": "Bordeaux Begles"
        },
        "home": {
          "id": 107,
          "logo": "https://media.api-sports.io/rugby/teams/107.png",
          "name": "Stade Toulousain"
        }
      },
      "time": "19:05",
      "timestamp": 1727636700,
      "timezone": "UTC",
      "week": "4"
    },
    {
      "country": {
        "code": "FR",
        "flag": "https://media.api-sports.io/flags/fr.svg",
        "id": 7,
        "name": "France"
      },
      "date": "2025-03-23T20:05:00+00:00",
      "id": 46043,
      "league": {
        "id": 16,
        "logo": "https://media.api-sports.io/rugby/leagues/16.png",
        "name": "Top 14",
        "season": 2024,
        "type": "League"
      },
      "periods": {
        "first": {
          "away": 0,
          "home": 29
        },
        "overtime": {
          "away": null,
          "home": null
        },
        "second": {
          "away": 24,
          "home": 3
        },
        "second_overtime": {
          "away": null,
          "home": null
        }
      },
      "scores": {
        "away": 24,
        "home": 32
      },
      "status": {
        "long": "Finished",
        "short": "FT"
      },
      "teams": {
        "away": {
          "id": 107,
          "logo": "https://media.api-sports.io/rugby/teams/107.png",
          "name": "Stade Toulousain"
        },
        "home": {
          "id": 96,
          "logo": "https://media.api-sports.io/rugby/teams/96.png",
          "name": "Bordeaux Begles"
        }
      },
      "time": "20:05",
      "timestamp": 1742760300,
      "timezone": "UTC",
      "week": "19"
    },
    {
      "country": {
        "code": "FR",
        "flag": "https://media.api-sports.io/flags/fr.svg",
        "id": 7,
        "name": "France"
      },
      "date": "2025-06-28T19:05:00+00:00",
      "id": 49688,
      "league": {
        "id": 16,
        "logo": "https://media.api-sports.io/rugby/leagues/16.png",
        "name": "Top 14",
        "season": 2024,
        "type": "League"
      },
      "periods": {
        "first": {
          "away": 16,
          "home": 20
        },
        "overtime": {
          "away": 0,
          "home": 6
        },
        "second": {
          "away": 17,
          "home": 13
        },
        "second_overtime": {
          "away": null,
          "home": null
        }
      },
      "scores": {
        "away": 33,
        "home": 39
      },
      "status": {
        "long": "After Extra Time",
        "short": "AET"
      },
      "teams": {
        "away": {
          "id": 96,
          "logo": "https://media.api-sports.io/rugby/teams/96.png",
          "name": "Bordeaux Begles"
        },
        "home": {
          "id": 107,
          "logo": "https://media.api-sports.io/rugby/teams/107.png",
          "name": "Stade Toulousain"
        }
      },
      "time": "19:05",
      "timestamp": 1751137500,
      "timezone": "UTC",
      "week": "Final"
    }
  ],
  "summary": {
    "draws": 0,
    "first_team_points": 75,
    "first_team_wins": 1,
    "played": 3,
    "second_team_points": 81,
    "second_team_wins": 2
  }
}
```

### List seasons

List the seasons API-Rugby has data for, oldest first, as the four-digit years the Season fields take. A season played across two years is named by the year it starts in.

**Inputs**: None.

**Outputs**

- `count` (number): How many came back.
- `seasons` (list): The seasons, oldest first.

**Example output**

```json
{
  "count": 5,
  "seasons": [
    2023,
    2024,
    2025,
    2026,
    2027
  ]
}
```

### List standings groups

List the groups a competition's season has, by the names Get standings takes as its Group. The Top 14 and the URC have none, and the Champions Cup's pools come unnamed.

**Inputs**

- League (`league_id`, text, required): The competition, such as 16 for the Top 14, 13 for the Premiership or 54 for the European Champions Cup. Pick one from the list, or pass a league ID from an earlier step.
- Season (`season`, number, required): The season, as the four-digit year it starts in, such as 2024 for 2024-25. The free plan reads the 2022 to 2024 seasons. From 1900 to 2100.

**Outputs**

- `count` (number): How many came back.
- `groups` (list): The groups, by name.

**Example output**

```json
{
  "count": 0,
  "groups": []
}
```

### List standings stages

List the stages of a competition's season that Get standings can narrow to, by name. The Top 14, the URC and the Champions Cup have none.

**Inputs**

- League (`league_id`, text, required): The competition, such as 16 for the Top 14, 13 for the Premiership or 54 for the European Champions Cup. Pick one from the list, or pass a league ID from an earlier step.
- Season (`season`, number, required): The season, as the four-digit year it starts in, such as 2024 for 2024-25. The free plan reads the 2022 to 2024 seasons. From 1900 to 2100.

**Outputs**

- `count` (number): How many came back.
- `stages` (list): The stages, by name.

**Example output**

```json
{
  "count": 0,
  "stages": []
}
```
