Api documentation

Api documentation

Get years with styles for a Car Make/Model

Spec Model/Year
 
 
v3
 
 

Sample Request 1

Get the list of model years and their styles and trims for all new Honda Civics.

By default, the endpoint returns the first 10 styles without a connection with year if the pagination isn’t defined.

For example:

  1. Honda civic 2020 contains 7 styles
  2. Honda civic 2019 contains 15 styles.
  3. In this case the endpoint will return 7 styles for 2020 and 3 styles for 2019.
  4. In order to return more styles, please define pagination via pageNum and pageSize query parameters.

URL

https://api.edmunds.com/api/vehicle/v3/honda/civic/years?fmt=json&api_key={api key}

Response

{
  "years": [
    {
      "id": 200442557,
      "year": 2013,
      "states": [
        "USED"
      ]
    }
  ]
}