Api documentation

Api documentation

Get Total Count of Car Models for Specific Car Make

Spec: Model
 
 
v3 v2
 
 

Sample Request 1

Get the total number of new Toyota models.

URL

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

Response

  1. {
  2. "modelsCount": 23
  3. }

###Sample Request 2

Get the total number of new Toyota models and the breakdown of their model year counts.

URL

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

Response

  1. {
  2. "modelsCount": 23,
  3. "models": [
  4. {
  5. "yearsCount": 2,
  6. "niceName": "sequoia"
  7. },
  8. {
  9. "yearsCount": 1,
  10. "niceName": "fjcruiser"
  11. },
  12. {
  13. "yearsCount": 1,
  14. "niceName": "priusplugin"
  15. },
  16. {
  17. "yearsCount": 1,
  18. "niceName": "matrix"
  19. },
  20. {
  21. "yearsCount": 1,
  22. "niceName": "tacoma"
  23. },
  24. {
  25. "yearsCount": 1,
  26. "niceName": "landcruiser"
  27. },
  28. {
  29. "yearsCount": 2,
  30. "niceName": "camry"
  31. },
  32. {
  33. "yearsCount": 1,
  34. "niceName": "rav4ev"
  35. },
  36. {
  37. "yearsCount": 1,
  38. "niceName": "sienna"
  39. },
  40. {
  41. "yearsCount": 2,
  42. "niceName": "yaris"
  43. },
  44. {
  45. "yearsCount": 1,
  46. "niceName": "priusc"
  47. },
  48. {
  49. "yearsCount": 1,
  50. "niceName": "rav4"
  51. },
  52. {
  53. "yearsCount": 1,
  54. "niceName": "corolla"
  55. },
  56. {
  57. "yearsCount": 1,
  58. "niceName": "highlanderhybrid"
  59. },
  60. {
  61. "yearsCount": 1,
  62. "niceName": "4runner"
  63. },
  64. {
  65. "yearsCount": 1,
  66. "niceName": "avalon"
  67. },
  68. {
  69. "yearsCount": 1,
  70. "niceName": "prius"
  71. },
  72. {
  73. "yearsCount": 1,
  74. "niceName": "tundra"
  75. },
  76. {
  77. "yearsCount": 1,
  78. "niceName": "highlander"
  79. },
  80. {
  81. "yearsCount": 1,
  82. "niceName": "priusv"
  83. },
  84. {
  85. "yearsCount": 1,
  86. "niceName": "venza"
  87. },
  88. {
  89. "yearsCount": 2,
  90. "niceName": "camryhybrid"
  91. },
  92. {
  93. "yearsCount": 1,
  94. "niceName": "avalonhybrid"
  95. }
  96. ]
  97. }