---
title: "GET /locations"
method: GET
path: "/locations"
tags: ["Locations"]
---

# GET /locations

`GET /locations`

## Response `200`

OK

- object[]
  - `id` string, required
  - `code` string
  - `locationType` string
  - `name` string, required
  - `nonDiacriticName` string
  - `timezone` string
  - `language` string, nullable
  - `shortName` string, nullable
  - `aliases` union
    - unknown
    - string[]
  - `longitude` number, nullable
  - `latitude` number, nullable
  - `address` union
    - unknown
    - string[]
  - `countryCode` string, nullable
  - `connections` string[]
  - `parents` unknown

---

[API](https://skmtc.net/thetrainline/apis/trainline-desktop-api.md) · [All operations](https://skmtc.net/thetrainline/apis/trainline-desktop-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/thetrainline/trainline-desktop-api/revisions/45a894ec56f4/schema)
