Skip to content

Get pokeathlon stat

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

Pokeathlon Stats are different attributes of a Pokémon’s performance in Pokéathlons. In Pokéathlons, competitions happen on different courses; one for each of the different Pokéathlon stats. See Bulbapedia for greater detail.

id
required
string

This parameter can be a string or an integer.

Media typeapplication/json
object
id
required
integer
name
required
string
<= 200 characters
affecting_natures
required
object
decrease
required
Array<object>
object
max_change
required
integer format: int32
<= -1
nature
required
object
name
required
string
url
required
string format: uri
increase
required
Array<object>
object
max_change
required
integer format: int32
>= 1
nature
required
object
name
required
string
url
required
string format: uri
names
required
Array<object>
object
name
required
string
<= 200 characters
language
required
object
name
required
string
<= 200 characters
url
required
string format: uri
Example
Terminal window
{
"affecting_natures": {
"decrease": [
{
"max_change": -1,
"nature": {
"name": "hardy",
"url": "https://pokeapi.co/api/v2/nature/1/"
}
}
],
"increase": [
{
"max_change": 2,
"nature": {
"name": "hardy",
"url": "https://pokeapi.co/api/v2/nature/1/"
}
}
]
}
}