GET/api/v2/pokemon-habitat/{id}/

Get a Pokémon habitat

Retrieves a Pokémon habitat, which describes terrain where Pokémon can be found or an area designated for rare or legendary Pokémon. Use id to select a habitat and view its localized names and associated Pokémon species.

1 parameter
idstringrequired
The identifier of the Pokémon habitat to retrieve; you can provide it as a string or an integer.

1 status code
200Returns a Pokémon habitat object with its identifier, name, localized names, and associated Pokémon species.
idintegerrequired
namestringrequired
namesarray<object>required
pokemon_speciesarray<object>required

Error handling

The id path parameter can be a string or an integer and must identify an existing Pokémon habitat.