Skip to content

Get pokeathlon stat

GET
/api/v2/pokeathlon-stat/{id}/
const url = 'https://pokeapi.co/api/v2/pokeathlon-stat/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);
}

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.

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
affecting_natures
required

A detail of natures which affect this Pokéathlon stat positively or negatively.

object
increase
required

A list of natures and how they change the referenced Pokéathlon stat.

Array<object>
object
max_change
required

The maximum amount of change to the referenced Pokéathlon stat.

integer
>= -2 <= 2
nature
required

The nature causing the change.

object
name
required

The name of the referenced resource.

string
<= 200 characters
url
required

The URL of the referenced resource.

string format: uri
decrease
required

A list of natures and how they change the referenced Pokéathlon stat.

Array<object>
object
max_change
required

The maximum amount of change to the referenced Pokéathlon stat.

integer
>= -2 <= 2
nature
required

The nature causing the change.

object
name
required

The name of the referenced resource.

string
<= 200 characters
url
required

The URL of the referenced resource.

string format: uri
names
required

The name of this resource listed in different languages.

Array<object>
object
name
required

The localized name for an API resource in a specific language.

string
<= 200 characters
language
required

The language this name is in.

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": "speed",
"affecting_natures": {
"increase": [
{
"max_change": 2,
"nature": {
"name": "timid",
"url": "https://pokeapi.co/api/v2/nature/5/"
}
},
{
"max_change": 2,
"nature": {
"name": "lonely",
"url": "https://pokeapi.co/api/v2/nature/6/"
}
}
],
"decrease": [
{
"max_change": -1,
"nature": {
"name": "hardy",
"url": "https://pokeapi.co/api/v2/nature/1/"
}
},
{
"max_change": -2,
"nature": {
"name": "bold",
"url": "https://pokeapi.co/api/v2/nature/2/"
}
}
]
},
"names": [
{
"name": "Speed",
"language": {
"name": "en",
"url": "https://pokeapi.co/api/v2/language/9/"
}
}
]
}