Requests

Rail Mile Inquiry API – Mileage – Returns mileage for BNSF local and/or rule 11 shipments, up to 1000 at a time

post/v1/rail-miles

Request

Request body

effectiveDatestring date required

Shipment date to be considered for pulling the miles

stccstring required

7 digit STCC (Standard Transportation Commodity Code) number identifying a Commodity.

Example request

{
  "effectiveDate": "2025-10-12",
  "oDPairsList": [
    {
      "destinationCity": "HOUSTON",
      "destinationState": "TX",
      "originCity": "CHICAGO",
      "originState": "IL"
    }
  ],
  "stcc": "1111110"
}

Response

OK

The request has succeeded.

Example response

{
  "data": {
    "odPairsList": [
      {
        "originState": "IL",
        "originCity": "CHICAGO",
        "destinationState": "TX",
        "destinationCity": "HOUSTON",
        "originSPLC": "380000",
        "originFSAC": "66000",
        "originR260JCT": "CHGO",
        "destSPLC": "684800",
        "destFSAC": "35100",
        "destR260JCT": "HUSTN",
        "miles": "1257",
        "status": "200"
      }
    ],
    "status": "SUCCESS",
    "httpStatus": "200"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.