Get Models (GET)
Retrieves a list of models for a vehicle provided the make and year.
http://api2.carmd.com/v2.0/decode?make=make&year=year
Example
http://api2.carmd.com/v2.0/decode?make=Toyota&year=2011
URL Parameters
Field | Type | Notes |
make | string | Required. The make of a vehicle. As shown in the Get Make API. |
year | string | Required. The year of a vehicle. As shown in the Get Year API. |
Response
{
"message": {
"code": 0,
"message": "OK",
"credentials": "Valid",
"version": "v2.0.0",
"account": "Free",
"method": "Get Models",
"action": "GET",
"counter": 259
},
"data": [
"4Runner",
"Avalon",
"Camry",
"Corolla",
"Corolla Matrix",
"FJ Cruiser",
"Highlander",
"Land Cruiser",
"Prius",
"RAV4",
"Sequoia",
"Sienna",
"Tacoma",
"Tundra",
"Venza",
"Yaris"
]
}
Field | Type | Notes |
message | Message | |
data | list<string> | A list of models for that vehicle make and year. |
Message object
Field | Type | Notes |
code | string | Message code. |
message | string | Ok or Failed. |
credentials | string | Valid or Invalid. |
version | string | v2.0.0 |
account | string | Free or Premium |
method | string | Name of the API called |
action | string | returns a GET, POST, PUT, DELETE |
counter | integer | Counter for this request. Increments by one for every request made. This is only important for free users who have a limited number of API requests. |
Jupiter, for it is with warfare that this instruction com mences do my homework