get
/api/v2/regional-travel-metrics/fuel-economy/{id}
Python SDK method:
client.rtm.fuel_economy(id=job_id).results()

Get fuel economy results

Returns paginated fuel economy rows for a completed fuel economy job. Each row represents aggregated fuel economy for one zone/vehicle-class combination.

Altitude Help Center — getFuelEconomy

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
categoryIndexinteger (int64)Identifier for the vehicle class category.
fuelEconomynumber (double)Calculated fuel economy (mpg or l/100km).
fuelEconomyByFuelTypearray<object>Array of objects representing the fuel economy for each fuel type.
fuelEconomyByVehicleYeararray<object>Array of objects representing the fuel economy for each vehicle year bucket.
iso_3166_2stringThe state ISO code of the returned zone.
schemeIdinteger (int64)Unique identifier for the vehicle class scheme. See Vehicle class schemas for more detailed information.
vehicleClassstringThe vehicle class for which the data is returned.
vehicleClassIdstringStable vehicle class identifier.
vehicleClassIndexinteger (int64)Unique identifier for the vehicle class.
zoneCodestringRaw zone code (e.g. county FIPS, ZIP code, custom zone ID).
zoneIdstringEncoded zone identifier for use in subsequent API requests.
zoneNamestringDescription of the zone when available. The value is based on the type of zone: 'State' — state name, 'County' — county name, 'City' — city name.
zoneTypestringThe zone type of the zone.

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.