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.
idstringrequired
The identifier of the Pokémon habitat to retrieve; you can provide it as a string or an integer.
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.