Search and rank vehicles by metric
Search and rank vehicles by a performance or efficiency metric. Supports filtering by year, make, model, body type, fuel type, drive type, and transmission. For electrified vehicles, horsepower and torque use total system output when available. Fuel economy supports combined values from all available test cycles and MPGe for EVs. Requires credit access; charged at the published vehicle search rate.
Request
- Base URL: https://api.carstat.app
- URL: https://api.carstat.app/v1/specs/search
- Auth: HTTP bearer
Query parameters
Metric to rank by
Sort order. Defaults to desc for horsepower/torque/mpg/max_speed/cargo, asc for acceleration/curb_weight
Number of results (default 10, max 25)
Filter by an exact confirmed production year. A missing final production year is not assumed to mean ongoing production.
Minimum confirmed production year (inclusive)
Maximum confirmed production year (inclusive)
Filter by manufacturer (case-insensitive)
Filter by model name (case-insensitive)
Filter by body type (e.g. 'sedan', 'suv', 'hatchback'). Matches vehicles where body_type is the given value or an array containing it (e.g. filtering 'suv' matches both ['suv'] and ['suv', 'crossover']).
Filter by fuel type — matches vehicles whose fuel_type array contains the value (e.g. 'petrol', 'diesel', 'electric', 'ethanol_e85')
Filter by drive type (e.g. 'fwd', 'rwd', 'awd')
Filter by transmission type. Electric vehicles generally have no transmission value; use fuel_type=electric to find them.
Response
successful search
Example response
{
"metric": "horsepower"
}Changes
No recorded changes to this operation across all 1 revision of this API.