GET
/api/v2/pokemon-habitat/List Pokémon habitats
Lists Pokémon habitats, which describe terrain where Pokémon can be found or areas designated for rare or legendary Pokémon. Use limit and offset to page through results, or use q to filter by name; q is available only on local installations.
limitintegeroptional
Number of habitats to return per page.
offsetintegeroptional
Index of the first habitat to return.
qstringoptional
Case-insensitive filter applied to habitat names; available only on local installations.
200Returns a paginated response with the total count, links to the next and previous pages when available, and an array of habitat name and URL references.
countintegerrequired
nextstringoptional
previousstringoptional
resultsarray<object>required
Error handling
limit and offset are integer query parameters, and q is a string query applied case-insensitively to habitat names. The q filter is available only on local installations.