Skip to content

Get types

GET
/api/v2/type/{id}/

Types are properties for Pokémon and their moves. Each type has three properties: which types of Pokémon it is super effective against, which types of Pokémon it is not very effective against, and which types of Pokémon it is completely ineffective against.

Authorizations

Parameters

Path Parameters

id
required
integer

A unique integer value identifying this type.

Responses

200

Serializer for the Type resource

object
id
required
integer
name
required
string
<= 100 characters
damage_relations
required
object
no_damage_to
required
Array<object>
object
name
required
string
flying
url
required
string format: uri
https://pokeapi.co/api/v2/type/3/
half_damage_to
required
Array<object>
object
name
required
string
bug
url
required
string format: uri
https://pokeapi.co/api/v2/type/7/
double_damage_to
required
Array<object>
object
name
required
string
poison
url
required
string format: uri
https://pokeapi.co/api/v2/type/4/
no_damage_from
required
Array<object>
object
name
required
string
electric
url
required
string format: uri
https://pokeapi.co/api/v2/type/13/
half_damage_from
required
Array<object>
object
name
required
string
poison
url
required
string format: uri
https://pokeapi.co/api/v2/type/4/
double_damage_from
required
Array<object>
object
name
required
string
water
url
required
string format: uri
https://pokeapi.co/api/v2/type/11/
past_damage_relations
required
Array<object>
object
generation
required
object
name
required
string
generation-v
url
required
string format: uri
https://pokeapi.co/api/v2/generation/5/
damage_relations
required
object
no_damage_to
required
Array<object>
object
name
required
string
flying
url
required
string format: uri
https://pokeapi.co/api/v2/type/3/
half_damage_to
required
Array<object>
object
name
required
string
bug
url
required
string format: uri
https://pokeapi.co/api/v2/type/7/
double_damage_to
required
Array<object>
object
name
required
string
poison
url
required
string format: uri
https://pokeapi.co/api/v2/type/4/
no_damage_from
required
Array<object>
object
name
required
string
electric
url
required
string format: uri
https://pokeapi.co/api/v2/type/13/
half_damage_from
required
Array<object>
object
name
required
string
poison
url
required
string format: uri
https://pokeapi.co/api/v2/type/4/
double_damage_from
required
Array<object>
object
name
required
string
water
url
required
string format: uri
https://pokeapi.co/api/v2/type/11/
game_indices
required
Array<object>
object
game_index
required
integer
>= -2147483648 <= 2147483647
generation
required
object
name
required
string
<= 100 characters
url
required
string format: uri
generation
required
object
name
required
string
<= 100 characters
url
required
string format: uri
move_damage_class
required
object
name
required
string
<= 100 characters
url
required
string format: uri
names
required
Array<object>
object
name
required
string
<= 100 characters
language
required
object
name
required
string
<= 100 characters
url
required
string format: uri
pokemon
required
Array<object>
object
slot
integer
1
pokemon
object
name

The name of the pokemon

string
sandshrew
url

The URL to get more information about the pokemon

string format: uri
https://pokeapi.co/api/v2/pokemon/27/
moves
required
Array<object>
object
name
required
string
<= 100 characters
url
required
string format: uri