get
/api/v2/origin-destination/routes/{id}
Python SDK method:
client.origin_destination.route(id=job_id).results()

Get OD route analysis results

Returns paginated route rows for a completed OD route analysis job.

Altitude Help Center — getRouteAnalysis

Input Parameters

NameLocationTypeValuesDescriptionValue Required
idpathstring-Unique resource identifier.Y
pageTokenquerystring-Pagination token returned in the Link header of a previous response. Omit to fetch the first page.N

Success Responses

200 response: object

Paginated result data. When more pages are available, a Link: rel="next" header and Altitude-* pagination headers are included in the response.

NameTypeDescription
asOfDatestring (date)Reference date for the route row.
dailyJourneyCountAvgnumber (double)Average daily journey count.
destinationCodestringRaw destination zone code (e.g. county FIPS, ZIP code, custom zone ID).
destinationIdstringEncoded destination zone identifier for use in subsequent API requests.
destinationNamestringDestination zone description.
destinationPassThroughstringDestination pass-through flag or label.
destinationTypestringDestination zone type.
destination_iso_3166_2stringISO 3166-2 state/province code of the destination zone.
durationAtDestinationAvgnumber (double)Average duration at destination (minutes).
durationAtDestinationMednumber (double)Median duration at destination (minutes).
durationAtDestinationStdevnumber (double)Duration at destination standard deviation (minutes).
geographyobjectGeoJSON route geometry object.
idleDurationAvgnumber (double)Average idle duration (minutes).
idleDurationMednumber (double)Median idle duration (minutes).
idleDurationStdevnumber (double)Idle duration standard deviation (minutes).
interTripStopDurationAvgnumber (double)Average inter-trip stop duration (minutes).
interTripStopDurationMednumber (double)Median inter-trip stop duration (minutes).
interTripStopDurationStdevnumber (double)Inter-trip stop duration standard deviation (minutes).
journeyCountinteger (int64)Observed journey count.
journeyCountByIndustryarray<object>Journey count by industry.
journeyCountByVehicleClassarray<object>Journey count by vehicle class.
journeyCountByVocationarray<object>Journey count by vocation.
journeyCountPctOfTotalnumber (double)Journey count share of total.
journeyCountTotalinteger (int64)Total journey count.
journeyDistanceAvgnumber (double)Average journey distance (miles or kilometers, according to isMetric).
journeyDistanceMednumber (double)Median journey distance (miles or kilometers, according to isMetric).
journeyDistanceStdevnumber (double)Journey distance standard deviation (miles or kilometers, according to isMetric).
journeyDurationAvgnumber (double)Average journey duration (minutes).
journeyDurationMednumber (double)Median journey duration (minutes).
journeyDurationStdevnumber (double)Journey duration standard deviation (minutes).
journeyTripCountAvgnumber (double)Average trips per journey.
journeyTripCountMednumber (double)Median trips per journey.
journeyTripCountStdevnumber (double)Trips per journey standard deviation.
originCodestringRaw origin zone code (e.g. county FIPS, ZIP code, custom zone ID).
originIdstringEncoded origin zone identifier for use in subsequent API requests.
originNamestringOrigin zone description.
originPassThroughstringOrigin pass-through flag or label.
originTypestringOrigin zone type.
origin_iso_3166_2stringISO 3166-2 state/province code of the origin zone.
roadNameSequencestringRoad name sequence for the route.
routeIdstringRoute identifier.
runningSpeedAvgnumber (double)Average running speed (mph or km/h, according to isMetric).
runningSpeedMednumber (double)Median running speed (mph or km/h, according to isMetric).
runningSpeedStdevnumber (double)Running speed standard deviation (mph or km/h, according to isMetric).
segmentSequencestringSegment sequence for the route.
travelSpeedAvgnumber (double)Average travel speed (mph or km/h, according to isMetric).
travelSpeedMednumber (double)Median travel speed (mph or km/h, according to isMetric).
travelSpeedStdevnumber (double)Travel speed standard deviation (mph or km/h, according to isMetric).
variantsarray<object>Route variants.
zonePairIdstringOrigin-destination zone pair identifier.

Response Errors

HTTP Status CodeReason
400The request body or parameters are invalid.
401Authentication is required or the provided credentials are invalid.
403The authenticated user lacks permission to perform this operation.
404The requested resource does not exist.
409Result not yet ready. Poll the status monitor.
429The request rate limit has been exceeded.
500An unexpected server error occurred.