
Find cars, or fetch known cars by id. Always returns full specifications. Premium only.
GET/v2/cars
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "api-ninjas",
"path": "/v2/cars",
"method": "GET"
}'
$0.001per call
Every call costs the same.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
API-wide: 100% success · 450 ms median · 30 days
About this endpoint
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.
Query parameters
idstringA 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.idsstringComma-separated car handles, at most 50. Request order is preserved and a handle matching nothing is returned as null.makestringManufacturer, as a word. Case and punctuation are ignored, so bmw, BMW and Bmw all resolve.modelstringModel, as a word. '3 Series', '3-series' and '3series' all resolve.generationstringGeneration, as a word, e.g. e90 or 'E90/E91/E92/E93'. Optional -- nothing requires going through a generation.chassis_codestringFilter to one chassis code, e.g. E91. Matches anything whose chassis_codes contains it.bodystringBody style. One of Sedan, Coupe, Convertible, Wagon, Hatchback, Liftback, SUV, MPV, Van, Pickup. (Allowed: Sedan, Coupe, Convertible, Wagon, Hatchback, Liftback, SUV, MPV, Van, Pickup)doorsnumberNumber of doors.badgestringModel designation, e.g. 320d. Spacing and case are ignored.fuelstringFuel type. (Allowed: gasoline, diesel, electric, hybrid, plugin_hybrid, lpg, cng, hydrogen, ethanol)transmissionstringTransmission type. (Allowed: manual, automatic, cvt, dual_clutch, automated_manual, single_speed)drivestringDriven wheels. (Allowed: fwd, rwd, awd, 4wd)cylindersnumberNumber of cylinders.engine_codestringManufacturer engine code.min_power_hpnumberMinimum engine power in horsepower.max_power_hpnumberMaximum engine power in horsepower.min_yearnumberCars still in production in or after this year.max_yearnumberCars in production in or before this year.yearnumberCars in production in this year. A filter, not a starting point.sortstringSort order. (Allowed: power_hp, -power_hp, year, -year, name, make)limitnumberHow 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. (Default: 10)offsetnumberNumber of results to skip, for pagination. Default 0. (Default: 0)More from API Ninjas
- Get current stock priceGET/v1/stockprice$0.001 per callFixed
- Convert between IATA and ICAO airport codes. Premium only.GET/v1/airportconvert$0.001 per callFixed
- Get bank holidays for a given country and year.GET/v1/bankholidays$0.001 per callFixed
- Lookup bank information by BINGET/v2/bin$0.001 per callFixed
- Get balance sheet data for a specific company, period, and yearGET/v1/balancesheet$0.001 per callFixed
- List which fiscal periods have cash flow data for a company (premium)GET/v1/cashflowavailability$0.001 per callFixed
- Get historical Bitcoin price dataGET/v1/bitcoinhistorical$0.001 per callFixed
- Get historical OHLCV data for a cryptocurrencyGET/v1/cryptopricehistorical$0.001 per callFixed
- Get a Chuck Norris jokeGET/v1/chucknorris$0.001 per callFixed
- Get aircraft detailsGET/v1/aircraft$0.001 per callFixed
- List models for a manufacturer. Premium only.GET/v2/carmodels$0.001 per callFixed
- Get country data from given parameters.GET/v1/country$0.001 per callFixed