Station Location
Details about where a station is located
This endpoint returns the location details of a station. The information includes the various codes used to refer to the station and it's location on a map.
Please make certain you have read the Conditions of use before using this API.
The output of this endpoint is either a JSON object or null if no station exists for a specified 3Alpha/CRS code.
- name
- The stations name
- crs
- The 3Alpha/CRS code
- stanox
- nalcoo
- nlccheck
- caps
- tiplocs
- Array of tiploc codes for this station
- osgb
- Array of OSGB coordinates
- wgs84
- Array of Latitude/longitude coordinates
The osgb (Ordnance Surveu) and wgs84 (Latitude/Longitude) arrays show the coordinates of the station, based on a Tiploc. As a station can have more than one, the same goes for the coordinates.
- tiploc
- The tiploc of this location
- easting
- OSGB grid reference, X axis
- northing
- OSGB grid reference, Y axis
- longitude
- Longitude +ve degrees East, -ve degrees West
- latitude
- Latitude, +ve degrees North
$ curl -s http://api.area51.onl/rail/1/station/MDE/location | jq '.' { "name": "Maidstone East", "crs": "MDE", "stanox": 89403, "nalco": 511500, "nlccheck": "Q", "caps": 32, "tiplocs": [ "MSTONEE" ], "osgb": [ { "tiploc": "MSTONEE", "easting": 575949, "northing": 156206 } ], "wgs84": [ { "tiploc": "MSTONEE", "longitude": 0.520249, "latitude": 51.2776 } ] }