Skip to main content

State Miles (SM) Request and Response

The following are field parameters for a state miles request. The purpose of this request is to attain the state-by-state mileage information associated with a trip.

Request

State Miles Request Example 1

State Miles Request Example 2

Response

The following are field parameters for the state miles output. The PC will respond with the miles (or kilometers) for the stops indicated in the “SM” request. There will be 10 state miles returned for each record. If additional records are needed, an “M” in the “MORE” parameters field is used to indicate that there is more data to follow.

NOTES: A “CP” (city pair, point-to-point miles) response is always returned first for all three request types (MI, SM, and HS), and an “SR” (state miles) output record follows the “CP” response to an “HS” (highway system, detailed route information).

State Miles Response Example 1

State Miles Response Example 2

Last updated July 19, 2025.