Get the total number of new Toyota models.
https://api.edmunds.com/api/vehicle/v2/toyota/models/count?state=new&fmt=json&api_key={api key}
{
"modelsCount": 23
}
###Sample Request 2
Get the total number of new Toyota models and the breakdown of their model year counts.
https://api.edmunds.com/api/vehicle/v2/toyota/models/count?view=full&state=new&fmt=json&api_key={api key}
{
"modelsCount": 23,
"models": [
{
"yearsCount": 2,
"niceName": "sequoia"
},
{
"yearsCount": 1,
"niceName": "fjcruiser"
},
{
"yearsCount": 1,
"niceName": "priusplugin"
},
{
"yearsCount": 1,
"niceName": "matrix"
},
{
"yearsCount": 1,
"niceName": "tacoma"
},
{
"yearsCount": 1,
"niceName": "landcruiser"
},
{
"yearsCount": 2,
"niceName": "camry"
},
{
"yearsCount": 1,
"niceName": "rav4ev"
},
{
"yearsCount": 1,
"niceName": "sienna"
},
{
"yearsCount": 2,
"niceName": "yaris"
},
{
"yearsCount": 1,
"niceName": "priusc"
},
{
"yearsCount": 1,
"niceName": "rav4"
},
{
"yearsCount": 1,
"niceName": "corolla"
},
{
"yearsCount": 1,
"niceName": "highlanderhybrid"
},
{
"yearsCount": 1,
"niceName": "4runner"
},
{
"yearsCount": 1,
"niceName": "avalon"
},
{
"yearsCount": 1,
"niceName": "prius"
},
{
"yearsCount": 1,
"niceName": "tundra"
},
{
"yearsCount": 1,
"niceName": "highlander"
},
{
"yearsCount": 1,
"niceName": "priusv"
},
{
"yearsCount": 1,
"niceName": "venza"
},
{
"yearsCount": 2,
"niceName": "camryhybrid"
},
{
"yearsCount": 1,
"niceName": "avalonhybrid"
}
]
}