Skip to main content

Freight Rail


PC*Miler*Rail generates routes and mileage between rail-served locations in the U.S., Canada and Mexico. Covering the complete North American railroad system, PC*Miler Rail provides the up-to-date information that rail owners, vendors and users need for accurate rate determination and negotiation, equipment management, rail car mileage auditing, and carrier selection. PC*Miler Rail’s rail network covers nearly 200,000 miles of rail line, as well as over 49,000 active freight stations, over 800 active rail carriers, and over 4,000 unique junction interchanges.

The rail network PC*Miler uses to generate routes is regularly updated with the latest data from Railinc Corp, as well as information provided directly by railroads throughout North America.

The Freight Rail API is a way of accessing PC*Miler Rail functionality over the internet using a RESTful interface.

What can you do with the Freight Rail API?

The API can be used to calculate rail routes and distances for applications such as freight rating, fuel surcharge computations, rail equipment usage monitoring, and more.

Resource URL

The Freight Rail API provides a direct way to access these services via HTTPS requests. Multiple versions of PC*Miler Rail are supported. The version number needs to be specified in the service request as in the examples below.{version}/Service.svc

Where {version} = release version Example:

For version 29.0,

For version 29.1,

Available versions: 21, 22.0, 22.1, 22.2, 22.3, 23.0, 23.1, 23.2, 24.0, 24.1, 25.0, 26.0, 27.0, 27.1, 27.2, 28.0, 28.1, 28.2, 29.0, 29.1, 30.0

Service Authentication

All requests to Freight Rail API must include a valid API Key. Contact Trimble Maps sales to obtain your API key.

For RESTful API calls, insert the API Key in the http Authorization header or append AuthToken={APIKey} to the query string.

Technical Support Hours: 9:00am - 5:00pm, Mon-Fri, Eastern Standard Time Phone: 1.800.377.6453, ext. 2 Email:

Last updated June 7, 2024.
API Endpoint: