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
- Base URLhttps://api.bnsf.com:6443
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
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.