latestOpenAPI 3.0.02026-08-093414154.6 KB

5331e15a22af

Mileages

Search vehicle mileages

The demo dataset contains model years 2015 - 2020. To access years 1900 - today please purchase a Premium Subscription. You must include a valid JWT in the header once you have purchased a subscription otherwise you will continue to receive the demo dataset.

For complex queries you may use the json field to send an array of URL encoded JSON conditions, example:

[{"field": "combined_mpg", "op": ">=", "val": 20}, {"field": "combined_mpg", "op": "<=", "val": 30}]

JSON operators: =, !=, >, <, >=, <=, in, not in, like, not like, not null, and is null.

JSON search fields: year, make, model, series, submodel, trim, description, make_id, model_id, submodel_id, trim_id, fuel_tank_capacity, combined_mpg, epa_city_mpg, epa_highway_mpg, range_city, range_highway, epa_combined_mpg_electric, epa_city_mpg_electric, epa_highway_mpg_electric, range_electric, epa_kwh_100_mi_electric, epa_time_to_charge_hr_240v_electric, battery_capacity_electric, created, and modified.

get/api/mileages/v2

Query parameters

yearstring

Value

makestring

Value

modelstring

Value

seriesstring

Value

submodelstring

Value

trimstring

Like

descriptionstring

Like

make_idstring

Value

model_idstring

Value

submodel_idstring

Value

trim_idstring

Value

make_model_trim_idstring

Value

combined_mpgstring

Value

epa_city_mpgstring

Value

epa_highway_mpgstring

Value

range_citystring

Value

range_highwaystring

Value

jsonstring

JsonSearchFilter

Parameters

#/x-swagger-bake/components/parameters/paginatorPage — unresolved $ref
#/x-swagger-bake/components/parameters/paginatorLimit — unresolved $ref
#/x-swagger-bake/components/parameters/paginatorSort — unresolved $ref
#/x-swagger-bake/components/parameters/paginatorDirection — unresolved $ref

Response

GenericCollection required— unresolved $ref