v42

latestOpenAPI 3.1.0CC-BY-NC-SA-4.0raw.githubusercontent.com2025-03-1271142.7 KB
Stations

Get a list of train stations

Returns a paginated and searchable list of all train stations.

get/stations

Query parameters

pageinteger

The page number to return

limitinteger

The number of items to return per page

coordinatesstring

The latitude and longitude of the user's location, to narrow down the search results to sites within a proximity of this location.

searchstring
Example:Milano Centrale

A search term to filter the list of stations by name or address.

countrystring iso-country-code

Filter stations by country code

Response

OK

Example response

{
  "data": [
    {
      "id": "efdbb9d1-02c2-4bc3-afb7-6788d8782b1e",
      "name": "Berlin Hauptbahnhof",
      "address": "Invalidenstraße 10557 Berlin, Germany",
      "country_code": "DE",
      "timezone": "Europe/Berlin"
    }
  ]
}
All 8 operations