---
title: "Get location"
method: GET
path: "/api/v2/location/{id}/"
tags: ["location"]
---

# Get location

`GET /api/v2/location/{id}/`

Locations that can be visited within the games. Locations make up sizable portions of regions, like cities or routes.

## Path parameters

- `id` string, required

## Response `200`

- LocationDetail
  - `id` integer, required
  - `name` string, required
  - `region` RegionSummary, required
    - `name` string, required
    - `url` string, uri, required
  - `names` LocationName[], required
    - `name` string, required
    - `language` LanguageSummary, required
      - `name` string, required
      - `url` string, uri, required
  - `game_indices` LocationGameIndex[], required
    - `game_index` integer, required
    - `generation` GenerationSummary, required
      - `name` string, required
      - `url` string, uri, required
  - `areas` LocationAreaSummary[], 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_location_retrieve` removed and replaced with `location_retrieve`
- **2025-05-30** `663217b1c9e4` — 1 info
  - api operation id `location_retrieve` removed and replaced with `api_v2_location_retrieve`
- **2025-02-04** `ad06aa7bf909` — 6 breaking
  - the `areas/items/name` response property's maxLength was increased from `100` to `200` for the response status `200`
  - the `game_indices/items/generation/name` response property's maxLength was increased from `100` to `200` for the response status `200`
  - 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`
  - …2 more
- **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/location/: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)
