Cars
carsAPI Ninjas cars: vehicle specifications by make, model, year, or fuel type. Returns a list of { make, model, year, fuel_type, cylinders, transmission, drive, city_mpg, highway_mpg, class }. Example: cars({ make: "toyota", model: "camry", year: 2020 }).
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"make": "toyota",
"year": 2020,
"model": "camry"
},
"name": "cars"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| make | No | Vehicle manufacturer, e.g. 'toyota', 'ford' | |
| year | No | Model year, e.g. 2020 | |
| limit | No | Max results to return (default 5, max 50) | |
| model | No | Vehicle model, e.g. 'camry', 'mustang' | |
| _apiKey | No | Optional — your own API Ninjas key for higher limits; omit to use the shared Pipeworx key. | |
| fuel_type | No | Fuel type, e.g. 'gas', 'diesel', 'electricity' |