Skip to main content

Station locations

This endpoint takes in a 9-digit SPLC code and returns details about its associated freight rail station.

GET /poi/Station?splc={splc}

Resource URL

https://pcmrail.alk.com/REST/v{version}/Service.svc/poi/Station?splc={splc}

Path Parameter

Parameter Definition Data Type Required
version The version of PC*Miler Rail you want to use to retrieve a freight rail station location. See available versions.
string
Y

Request Parameters

Parameter Definition Data Type Required
splc The SPLC code for which you want to retrieve a freight rail station location.
string
Y

Sample Request

https://pcmrail.alk.com/REST/{version}/Service.svc/poi/Station?splc=522170000

Sample Response

{
  "GeocodeInfos": [
    {
      "StationName": "ABERDEEN",
      "State": null,
      "Railroad": null,
      "Latitude": 45465693,
      "Longitude": -98492062,
      "Stations": null,
      "SPLC": "522170000"
    }
  ]
}
Last updated June 7, 2024.
API Endpoint: