---
title: "Get pokemom habita"
method: GET
path: "/api/v2/pokemon-habitat/{id}/"
tags: ["pokemon"]
---

# Get pokemom habita

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

Habitats are generally different terrain Pokémon can be found in but can also be areas designated for rare or legendary Pokémon.

## Path parameters

- `id` string, required

## Response `200`

- PokemonHabitatDetail
  - `id` integer, required
  - `name` string, required
  - `names` PokemonHabitatName[], required
    - `name` string, required
    - `language` LanguageSummary, required
      - `name` string, required
      - `url` string, uri, required
  - `pokemon_species` PokemonSpeciesSummary[], required
    - `name` string, required
    - `url` string, uri, required

## Changes

- **2026-07-17** `dc32de6001cf` — 2 info
  - the endpoint scheme security `basicAuth` was removed from the API
  - the endpoint scheme security `cookieAuth` was removed from the API
- **2026-04-29** `650bc9dd2efe` — 1 info
  - api operation id `api_v2_pokemon_habitat_retrieve` removed and replaced with `pokemon_habitat_retrieve`
- **2025-05-30** `663217b1c9e4` — 1 info
  - api operation id `pokemon_habitat_retrieve` removed and replaced with `api_v2_pokemon_habitat_retrieve`
- **2025-02-04** `ad06aa7bf909` — 4 breaking
  - the `name` response property's maxLength was increased from `100` to `200` for the response status `200`
  - the `names/items/language/name` response property's maxLength was increased from `100` to `200` for the response status `200`
  - the `names/items/name` response property's maxLength was increased from `100` to `200` for the response status `200`
  - the `pokemon_species/items/name` response property's maxLength was increased from `100` to `200` for the response status `200`
- **2024-05-10** `88897cce8edf` — 1 info
  - for the `path` request parameter `id`, the type/format was generalized from `integer`/`` to `string`/``

[Full history](https://skmtc.dev/pokeapi/apis/poke-api/changes/api/v2/pokemon-habitat/:id/get.md)

---

[API](https://skmtc.dev/pokeapi/apis/poke-api.md) · [All operations](https://skmtc.dev/pokeapi/apis/poke-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pokeapi/poke-api/revisions/05e384460041/schema)
