---
title: "Get a list of train stations"
method: GET
path: "/stations"
tags: ["Stations"]
---

# Get a list of train stations

`GET /stations`

Returns a paginated and searchable list of all train stations.

## Query parameters

- `page` integer
- `limit` integer
- `coordinates` string
- `search` string
- `country` string, iso-country-code

## Response `200`

OK

- object — This is a generic request/response wrapper which contains both data and links which serve as hypermedia controls (HATEOAS).
  - `data` object[] — The wrapper for a collection is an array of objects.
    - `id` string, uuid, required — Unique identifier for the station.
    - `name` string, required — The name of the station
    - `address` string, required — The address of the station.
    - `country_code` string, iso-country-code, required — The country code of the station.
    - `timezone` string — The timezone of the station in the [IANA Time Zone Database format](https://www.iana.org/time-zones).
  - `links` object — Links to the next and previous pages of a paginated response.
    - `self` string, uri
    - `next` string, uri
    - `prev` string, uri

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `429` — Too Many Requests
- `500` — Internal Server Error

---

[API](https://skmtc.net/bump-sh-examples/apis/train-travel-api.md) · [All operations](https://skmtc.net/bump-sh-examples/apis/train-travel-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bump-sh-examples/train-travel-api/revisions/f98baa492089/schema)
