Api documentation

Api documentation

Get a List of Car Model Years for a Specific Car Make/Model

Spec Model/Year
 
 
v3 v2
 
 

Sample Request 1

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

URL

  1. https://api.edmunds.com/api/vehicle/v2/honda/civic?fmt=json&state=new&api_key={api key}

Response

  1. {
  2. "years": [
  3. {
  4. "id": 200442557,
  5. "year": 2013,
  6. "styles": [
  7. {
  8. "id": 200443845,
  9. "name": "LX 2dr Coupe (1.8L 4cyl 5A)",
  10. "submodel": {
  11. "body": "Coupe",
  12. "modelName": "Civic Coupe",
  13. "niceName": "coupe"
  14. },
  15. "trim": "LX"
  16. },
  17. ...
  18. {
  19. "id": 200463193,
  20. "name": "HF PZEV 4dr Sedan (1.8L 4cyl 5A)",
  21. "submodel": {
  22. "body": "Sedan",
  23. "modelName": "Civic Sedan",
  24. "niceName": "sedan"
  25. },
  26. "trim": "HF PZEV"
  27. }
  28. ]
  29. }
  30. ]
  31. }

Sample Request 2

Get the list of model years and their styles and trims for all New Honda Civics with view=full

URL

  1. https://api.edmunds.com/api/vehicle/v2/honda/civic?fmt=json&view=full&state=new&api_key={api key}

Response

  1. {
  2. "id": 200442557,
  3. "name": "Civic",
  4. "niceName": "civic",
  5. "make": {
  6. "id": 200001444,
  7. "name": "Honda",
  8. "niceName": "honda"
  9. },
  10. "years": [
  11. {
  12. "id": 200442557,
  13. "year": 2013,
  14. "styles": [
  15. {
  16. "id": 200443845,
  17. "name": "LX 2dr Coupe (1.8L 4cyl 5A)",
  18. "submodel": {
  19. "body": "Coupe",
  20. "modelName": "Civic Coupe",
  21. "niceName": "coupe"
  22. },
  23. "trim": "LX",
  24. "states": [
  25. "USED",
  26. "NEW"
  27. ]
  28. },
  29. {
  30. "id": 200443846,
  31. "name": "LX 2dr Coupe (1.8L 4cyl 5M)",
  32. "submodel": {
  33. "body": "Coupe",
  34. "modelName": "Civic Coupe",
  35. "niceName": "coupe"
  36. },
  37. "trim": "LX",
  38. "states": [
  39. "USED",
  40. "NEW"
  41. ]
  42. },
  43. ...
  44. {
  45. "id": 200463193,
  46. "name": "HF PZEV 4dr Sedan (1.8L 4cyl 5A)",
  47. "submodel": {
  48. "body": "Sedan",
  49. "modelName": "Civic Sedan",
  50. "niceName": "sedan"
  51. },
  52. "trim": "HF PZEV",
  53. "states": [
  54. "USED",
  55. "NEW"
  56. ]
  57. }
  58. ],
  59. "states": [
  60. "USED",
  61. "NEW"
  62. ]
  63. }
  64. ],
  65. "states": [
  66. "USED",
  67. "NEW"
  68. ]
  69. }