The total distance of this route, expressed in meters (value
) and as text
.
The textual value uses the unit
system specified with the unit parameter of the original request, or the origin's region.
The length of time it takes to travel this route, expressed in seconds (the value
field) and as text
.
The textual representation is localized according to the query's language
parameter.
The length of time it takes to travel this route, based on current and historical traffic conditions.
See the traffic_model
request parameter for the options you can use to request that the returned value is
optimistic
, pessimistic
, or a best-guess
estimate. The duration is expressed in seconds (the value
field) and as text
.
The textual representation is localized according to the query's language
parameter.
The duration in traffic is returned only if all of the following are true:
departure_time
parameter.mode
parameter is set to driving
.If present, contains the total fare (that is, the total ticket costs) on this route. This property is only returned for transit requests and only for transit providers where fare information is available.
possible status codes
The information about each origin-destination pairing is returned in an
element
entry.