Skip to content

Get pokedex

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

A Pokédex is a handheld electronic encyclopedia device; one which is capable of recording and retaining information of the various Pokémon in a given region with the exception of the national dex and some smaller dexes related to portions of a region. 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
is_main_series

Whether or not this Pokédex originated in the main series of the video games.

boolean
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
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
pokemon_entries
required

A list of Pokémon catalogued in this Pokédex and their indexes.

Array<object>
object
entry_number
required

The index of this Pokémon species entry within the Pokédex.

integer
pokemon_species
required

The Pokémon species being encountered.

object
name
required

The name of the referenced resource.

string
<= 200 characters
url
required

The URL of the referenced resource.

string format: uri
region
required

The region this Pokédex catalogues Pokémon for.

One of:
object
name
required

The name of the referenced resource.

string
<= 200 characters
url
required

The URL of the referenced resource.

string format: uri
version_groups
required

A list of version groups this Pokédex is relevant to.

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": "national",
"is_main_series": true,
"descriptions": [
{
"description": "Entire National dex",
"language": {
"name": "en",
"url": "https://pokeapi.co/api/v2/language/9/"
}
}
],
"names": [
{
"name": "National",
"language": {
"name": "en",
"url": "https://pokeapi.co/api/v2/language/9/"
}
}
],
"pokemon_entries": [
{
"entry_number": 1,
"pokemon_species": {
"name": "bulbasaur",
"url": "https://pokeapi.co/api/v2/pokemon-species/1/"
}
},
{
"entry_number": 2,
"pokemon_species": {
"name": "ivysaur",
"url": "https://pokeapi.co/api/v2/pokemon-species/2/"
}
}
],
"region": null,
"version_groups": []
}