getCars
The main endpoint. Search the whole catalogue by any combination of filters, or fetch cars you already know with id/ids. Every car is returned with its complete specification sheet attached, so no second call is needed. Each row also carries its own make, model, generation, body and engine context. At least one filter, or an id, is required. The total number of matches is returned in the X-Total-Count response header. Requires a paid plan (Premium).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "getCars"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | A car handle from a previous search, e.g. car_e71ff3416a. Safe to store: it is derived from the car's identity and survives data refreshes. | |
| ids | No | Comma-separated car handles, at most 50. Request order is preserved and a handle matching nothing is returned as null. | |
| body | No | Body style. One of Sedan, Coupe, Convertible, Wagon, Hatchback, Liftback, SUV, MPV, Van, Pickup. | |
| fuel | No | Fuel type. | |
| make | No | Manufacturer, as a word. Case and punctuation are ignored, so bmw, BMW and Bmw all resolve. | |
| sort | No | Sort order. | |
| year | No | Cars in production in this year. A filter, not a starting point. | |
| badge | No | Model designation, e.g. 320d. Spacing and case are ignored. | |
| doors | No | Number of doors. | |
| drive | No | Driven wheels. | |
| limit | No | How many results to return, between 1 and 100. Default 10 -- each car carries a full specification sheet of roughly 2 KB. A value outside the range is rejected rather than silently clamped. | |
| model | No | Model, as a word. '3 Series', '3-series' and '3series' all resolve. | |
| offset | No | Number of results to skip, for pagination. Default 0. | |
| max_year | No | Cars in production in or before this year. | |
| min_year | No | Cars still in production in or after this year. | |
| cylinders | No | Number of cylinders. | |
| generation | No | Generation, as a word, e.g. e90 or 'E90/E91/E92/E93'. Optional -- nothing requires going through a generation. | |
| engine_code | No | Manufacturer engine code. | |
| chassis_code | No | Filter to one chassis code, e.g. E91. Matches anything whose chassis_codes contains it. | |
| max_power_hp | No | Maximum engine power in horsepower. | |
| min_power_hp | No | Minimum engine power in horsepower. | |
| transmission | No | Transmission type. |