Skip to content

Pokémon Leagues Resource#

Get Pokémon League Names#

GET /league

Returns an array of Pokémon League names known to us.

Example Request#

1
2
3
curl -i -X GET \
  -H "User-Agent: BastionDiscordBot (https://bastionbot.org, v6.3)" \
  https://pokeapi.bastionbot.org/v1/league

Example Response#

1
2
3
4
5
6
7
8
9
[
  "Indigo League",
  "Johto League",
  "Hoenn League",
  "Sinnoh League",
  "Unova League",
  "Kalos League",
  "Orange League"
]

Get Pokémon League#

GET /league/{slug}

Returns a Pokémon League object containing the details about the league.

Example Request#

1
2
3
curl -i -X GET -H \
  "User-Agent: BastionDiscordBot (https://bastionbot.oorg, v6.3)" \
  https://pokeapi.bastionbot.org/v1/league/kalos

Example Response#

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
{
  "name": "Kalos League",
  "slug": "kalos",
  "region": "Kalos",
  "badgesRequired": 8,
  "badges": [
    "Bug Badge",
    "Cliff Badge",
    "Rumble Badge",
    "Plant Badge",
    "Voltage Badge",
    "Fairy Badge",
    "Psychic Badge",
    "Iceberg Badge"
  ]
}

Pokémon League Models#

Pokémon League Object#

Pokémon League Structure
Field Type Description
name string The name of Pokémon league
slug string The string used to identify this region.
region string The region in the Pokémon World where the league happens
badgesRequired integer The minimum number of Pokémon gym badges required to qualify for the Pokémon league
badges array of Pokémon badge names The minimum number of Pokémon gym badges required to qualify for the Pokémon league