Vehicle listing with make, model, year, specifications, pricing, condition, and features. Used for car rental platforms, vehicle sales, and automotive marketplaces.
https://api.mockly.codes/cars?page=1&limit=10&count=10Configure your request and click Send Request to see the response here.
/carsGet a collection of cars
/travel/cars/cars/:idGet a single car by ID
/travel/cars/:id/cars/metaGet resource metadata and schema
/travel/cars/metaThe search feature allows you to filter results by searching for text across all or specific fields. Choose between ?q= or ?search= parameter names.
Search across all text fields:
GET https://api.mockly.codes/cars?q=laptopGET https://api.mockly.codes/cars?q=laptop&search_fields=name,descriptionsearch_fields, all text fields are searched// Get 10 cars
fetch('https://api.mockly.codes/cars?count=10')
.then(res => res.json())
.then(data => console.log(data));import requests
response = requests.get(
'https://api.mockly.codes/cars?count=10'
)
data = response.json()curl "https://api.mockly.codes/cars?count=10"fetch('https://api.mockly.codes/cars?nocache=true')idintegerUnique identifier for the car
random_intmakestringCar manufacturer or brand (e.g., Toyota, BMW, Ford)
car_makemodelstringCar model name
car_modelyearintegerManufacturing year of the car
car_yearcolorstringExterior color of the car
colorvinstringVehicle Identification Number (VIN)
vintypestringCar type or category (e.g., Sedan, SUV, Hatchback, Convertible)
car_typefuel_typestringFuel type (e.g., Gasoline, Diesel, Electric, Hybrid)
fuel_typetransmissionstringTransmission type (e.g., Manual, Automatic, CVT)
transmissionmileageintegerTotal mileage or odometer reading in kilometers or miles
mileagepricenumberCar price or rental rate
car_pricecurrencystringISO currency code for the price (e.g., USD, EUR, GBP)
currencyconditionstringCar condition (e.g., new, used, excellent, good, fair)
conditionfeaturesarrayArray of car features (e.g., GPS, Bluetooth, Sunroof, Leather Seats)
car_featuresimagestringURL to the car's main image
image_urluricountintegerNumber of items to return (default: 10, max: 100)
seedintegerSeed for reproducible data generation
nocachebooleanBypass cache and generate fresh data on every request