Cars API

The Cars API provides detailed information on thousands of vehicle models from over a hundred automakers.

Available endpoints:

  • /v1/carmakes - Get a list of all car manufacturers
  • /v1/carmodels - Get all models for a specific manufacturer
  • /v1/cartrims - Get all trims for a specific make and model
  • /v1/cardetails - Get detailed specifications for a specific make, model, and trim
  • /v1/cars (deprecated) - Get detailed car information by various parameters

For electric vehicle (EV)-specific data, see the Electric Vehicle API.

(4.2)

From 9,240 users

2,100+

Applications using this API

API Status

Online - All Systems Operational

API Response Times

Average
P50
P75
P90
P95
313ms349ms361ms703ms967ms

Didn't find what you were looking for? Suggest an improvement


/v1/carmakes GET

Business, Professional, or annual subscriptions only

https://api.api-ninjas.com/v1/carmakes

Returns a list of all car makes (manufacturers).

Parameters

  • year  optional

    Filter manufacturers by year (e.g. 2018).

Headers

  • X-Api-Key  required

    API Key associated with your account.

Response

Returns an array of car makes as strings (for example "Audi", "Toyota").

Sample Request Live Demo!

Try this API endpoint with all available parameters in our API playground

https://api.api-ninjas.com/v1/carmakes

Headers

X-Api-KeyLog in or sign up to get your API Key

Sample Response

JSON

/v1/carmodels GET

Business, Professional, or annual subscriptions only

https://api.api-ninjas.com/v1/carmodels

Returns a list of all car models for a given make (manufacturer). Use the /v1/carmakes endpoint to get the list of makes.

Parameters

  • make  required

    Vehicle manufacturer (e.g. audi).

  • year  optional

    Vehicle model year (e.g. 2018).

Headers

  • X-Api-Key  required

    API Key associated with your account.

Response

Returns an array of car model names as strings (for example "A4", "A4 Allroad").

Sample Request Live Demo!

make

Try this API endpoint with all available parameters in our API playground

https://api.api-ninjas.com/v1/carmodels?make=Audi

Headers

X-Api-KeyLog in or sign up to get your API Key

Sample Response

JSON

/v1/cartrims GET

Business, Professional, or annual subscriptions only

https://api.api-ninjas.com/v1/cartrims

Returns a list of all car trims for a given make and model.

Parameters

  • make  required

    Vehicle manufacturer (e.g. audi).

  • model  required

    Vehicle model (e.g. a4). You can find the list of models by calling the /v1/carmodels endpoint.

  • limit  optional

    How many results to return. Must be between 1 and 100. Default is 30.

  • offset  optional

    Number of results to skip. Used for pagination. Default is 0.

Headers

  • X-Api-Key  required

    API Key associated with your account.

Response

Returns an array of car trim objects. Each object contains:

  • make

    Manufacturer name (for example Audi).

  • model

    Model name (for example A4).

  • generation

    Generation description (for example 1 generation (B5)).

  • generation_year_begin

    First production year of this generation as a string.

  • generation_year_end

    Last production year of this generation as a string (may be null).

  • serie

    Body style / series (for example Sedan, Avant wagon 5-doors).

  • trim

    Trim name (for example 1.6 AT (101 hp)).

  • trim_start_production_year

    First production year for this trim (number or null).

  • trim_end_production_year

    Last production year for this trim (number or null).

  • car_type

    High-level type of vehicle (for example car).

Sample Request Live Demo!

make
model

Try this API endpoint with all available parameters in our API playground

https://api.api-ninjas.com/v1/cartrims?make=Audi&model=A4

Headers

X-Api-KeyLog in or sign up to get your API Key

Sample Response

JSON

/v1/cardetails GET

Business, Professional, or annual subscriptions only

https://api.api-ninjas.com/v1/cardetails

Returns detailed specifications matching a given make, model, and trim combination.

Parameters

  • make  required

    Vehicle manufacturer (e.g. audi).

  • model  required

    Vehicle model (e.g. a4). You can find the list of models by calling the /v1/carmodels endpoint.

  • trim  required

    Vehicle trim (e.g. 1.6 AT (101 hp)). You can find the list of trims by calling the /v1/cartrims endpoint.

Headers

  • X-Api-Key  required

    API Key associated with your account.

Response

Returns an array of detailed car objects. Each object contains top-level fields such as:

  • make

    Manufacturer name (for example Audi).

  • model

    Model name (for example A4).

  • trim

    Trim identifier (for example 1.6 AT (101 hp)).

  • start_production_year

    First production year for this trim.

  • end_production_year

    Last production year for this trim (may be null).

  • specifications

    An object containing detailed specifications such as engine power, fuel consumption, dimensions, weight, seating capacity, and many other attributes (see sample response).

Sample Request Live Demo!

make
model
trim

Try this API endpoint with all available parameters in our API playground

https://api.api-ninjas.com/v1/cardetails?make=Audi&model=A4&trim=1.6%20AT%20(101%20hp)

Headers

X-Api-KeyLog in or sign up to get your API Key

Sample Response

JSON

/v1/cars GETDeprecated

https://api.api-ninjas.com/v1/cars

Get car data from given parameters. Returns a list of car models (and their information) that satisfy the parameters.

Parameters

  • make  required

    Vehicle manufacturer (e.g. audi).

  • model  required

    Vehicle model (e.g. a4). You can find the list of models by calling the /v1/carmodels endpoint.

  • trim  required

    Vehicle trim (e.g. 1.6 AT (101 hp)). You can find the list of trims by calling the /v1/cartrims endpoint.

Headers

  • X-Api-Key  required

    API Key associated with your account.

Sample Request Live Demo!

make
model

Try this API endpoint with all available parameters in our API playground

https://api.api-ninjas.com/v1/cars?make=Audi&model=A4

Headers

X-Api-KeyLog in or sign up to get your API Key

Sample Response

JSON