Skip to content

Get move meta category

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

Very general categories that loosely group move effects.

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

The description of this resource listed in different languages.

Array<object>
object
description

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

string
<= 2000 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
moves
required

A list of moves that fall into this category.

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": "ailment",
"descriptions": [
{
"description": "No damage; inflicts status ailment",
"language": {
"name": "en",
"url": "https://pokeapi.co/api/v2/language/9/"
}
}
],
"moves": [
{
"name": "sing",
"url": "https://pokeapi.co/api/v2/move/47/"
},
{
"name": "supersonic",
"url": "https://pokeapi.co/api/v2/move/48/"
}
]
}