Skip to content

Get gender

GET
/api/v2/gender/{id}/
const url = 'https://pokeapi.co/api/v2/gender/1/';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}

Genders were introduced in Generation II for the purposes of breeding Pokémon but can also result in visual differences or even different evolutionary lines. Check out Bulbapedia for greater detail.

id
required
string

This parameter can be a string or an integer.

Examples

Example1
Terminal window
1
Media typeapplication/json
object
id
required

The identifier for this resource.

integer
name
required

The name for this resource.

string
<= 200 characters
pokemon_species_details
required

A list of Pokémon species that can be this gender and how likely it is that they will be.

Array<object>
object
rate
required

The chance of this Pokémon being female, in eighths; or -1 for genderless.

integer
pokemon_species
required

A Pokémon species that can be the referenced gender.

object
name
required

The name of the referenced resource.

string
<= 200 characters
url
required

The URL of the referenced resource.

string format: uri
required_for_evolution
required

A list of Pokémon species that required this gender in order for a Pokémon to evolve into them.

Array<object>
object
name
required

The name of the referenced resource.

string
<= 200 characters
url
required

The URL of the referenced resource.

string format: uri

Example

Terminal window
{
"id": 1,
"name": "female",
"pokemon_species_details": [
{
"rate": 1,
"pokemon_species": {
"name": "bulbasaur",
"url": "https://pokeapi.co/api/v2/pokemon-species/1/"
}
},
{
"rate": 1,
"pokemon_species": {
"name": "ivysaur",
"url": "https://pokeapi.co/api/v2/pokemon-species/2/"
}
}
],
"required_for_evolution": [
{
"name": "wormadam",
"url": "https://pokeapi.co/api/v2/pokemon-species/413/"
},
{
"name": "vespiquen",
"url": "https://pokeapi.co/api/v2/pokemon-species/416/"
}
]
}