# /cars/listings/search

`POST /api/cars/listings/search`

Price: 5 credits

Search Cars.com vehicle listings with the full filter set: stock type (new/used/CPO), make, model and trim, postal code and radius, price range, model-year range, maximum mileage, body style, vehicle size, cab type, door and cylinder counts, exterior and interior color, fuel type, transmission, drivetrain, deal rating, seller type, dealer-verified condition, CPO program, convenience/entertainment/exterior/safety/seating features, lifestyle, awards, vehicle history, EV range and charge time, and free-text keyword. Sort by best match, price, mileage, year, distance, best deal or recency. Returns listing cards with vehicle summary, price, mileage, photos and seller.

## How to use it

Search Cars.com listings. makes are enum slugs (e.g. 'honda'); models are make-model slugs (e.g. 'honda-accord') and need makes set too. Filter by stock_type, zip+radius_miles, price_min/price_max, year_min/year_max, mileage_max, body_styles, fuel_types, transmissions, drivetrains, exterior/interior colors, deal_ratings, seller_types, cpo_programs, convenience/entertainment/exterior/safety/seating features, lifestyles, awards, vehicle_history, ev_range_min, charge_time_max and keyword. count is required.

## Parameters

- `access-token` (string, required)

## Request body

- `timeout` (integer) — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)
- `stock_type` (string, nullable) — New / Used / CPO stock type (one of: "new_cpo", "new", "used", "cpo")
- `makes` (array) — Vehicle makes (default: []; one of: "ac", "acura", "alfa_romeo", "am_general", "american_motors", "aston_martin", "auburn", "audi", "austin_healey", "avanti_motors", "bentley", "bmw", "bricklin", "bugatti", "buick", "cadillac", "chevrolet", "chrysler", "cord", "daewoo", "datsun", "delorean", "desoto", "detomaso", "dodge", "edsel", "excalibur", "ferrari", "fiat", "fisker", "ford", "genesis", "geo", "gmc", "honda", "hudson", "hummer", "hyundai", "ineos", "infiniti", "international", "isuzu", "jaguar", "jeep", "jensen", "kaiser", "karma", "kia", "koenigsegg", "lamborghini", "land_rover", "lexus", "lincoln", "lotus", "lucid", "maserati", "maybach", "mazda", "mclaren", "mercedes_benz", "mercury", "mg", "mini", "mitsubishi", "morgan", "nash", "nissan", "oldsmobile", "packard", "pagani", "panoz", "plymouth", "polestar", "pontiac", "porsche", "qvale", "ram", "rivian", "rolls_royce", "saab", "saleen", "saturn", "scion", "smart", "studebaker", "subaru", "sunbeam", "suzuki", "tesla", "toyota", "triumph", "vinfast", "volkswagen", "volvo", "willys")
- `models` (array) — Model slugs in make-model form (e.g. 'honda-accord'); set makes too (default: [])
- `trims` (array) — Trim slugs (requires makes/models to be set) (default: [])
- `zip` (string, nullable) — Postal code to search around (minLength: 3)
- `radius_miles` (integer, nullable) — Search radius around the postal code, in miles (min: 1)
- `price_min` (integer, nullable) — Minimum list price (USD) (min: 0)
- `price_max` (integer, nullable) — Maximum list price (USD) (min: 0)
- `year_min` (integer, nullable) — Minimum model year (min: 1900)
- `year_max` (integer, nullable) — Maximum model year (min: 1900)
- `mileage_max` (integer, nullable) — Maximum mileage (miles) (min: 0)
- `body_styles` (array) — Body styles (default: []; one of: "suv", "truck", "sedan", "hatchback", "coupe", "passenger_van", "cargo_van", "convertible", "minivan", "wagon")
- `sizes` (array) — Vehicle sizes (default: []; one of: "full_size", "mid_size", "compact", "subcompact")
- `cab_types` (array) — Truck cab types (default: []; one of: "crew_cab", "extended_cab", "regular_cab")
- `door_counts` (array) — Door counts (default: []; one of: "2", "3", "4", "5", "6", "8", "0")
- `cylinder_counts` (array) — Engine cylinder counts (default: []; one of: "3", "4", "5", "6", "8", "10", "12", "0")
- `exterior_colors` (array) — Exterior colors (default: []; one of: "beige", "black", "blue", "brown", "gold", "gray", "green", "orange", "pink", "purple", "red", "silver", "white", "yellow")
- `interior_colors` (array) — Interior colors (default: []; one of: "beige", "black", "blue", "brown", "gold", "gray", "green", "orange", "pink", "purple", "red", "silver", "white", "yellow")
- `fuel_types` (array) — Fuel types (default: []; one of: "compressed_natural_gas", "diesel", "e85_flex_fuel", "electric", "gasoline", "hybrid", "hydrogen_fuel_cell", "plug_in_hybrid")
- `transmissions` (array) — Transmission types (default: []; one of: "automanual", "automatic", "cvt", "manual", "unknown")
- `drivetrains` (array) — Drivetrain types (default: []; one of: "all_wheel_drive", "four_wheel_drive", "front_wheel_drive", "rear_wheel_drive", "unknown")
- `deal_ratings` (array) — Deal ratings (default: []; one of: "great", "good", "fair")
- `seller_types` (array) — Seller types (default: []; one of: "dealership", "online_seller", "private_seller")
- `conditions` (array) — Dealer-verified condition filters (default: []; one of: "has_report")
- `cpo_programs` (array) — Manufacturer CPO programs (default: []; one of: "acura_precision_certified", "acura_precision_certified_ev", "aston_martin", "bentley", "bmw", "cadillac", "carbravo", "carbravo_bravobudget", "ferrari", "ford_blue", "ford_blue_advantage_ev", "ford_gold", "genesis", "honda_true_certified", "hondatrue_certified_ev", "hyundai", "infiniti", "infiniti_certified_pre_owned_select", "kia", "kia_lite", "lexus", "lincoln", "mazda", "mercedes_benz", "mitsubishi", "nissan", "nissan_certified_select", "polestar", "porsche", "rolls_royce", "subaru", "toyota", "volkswagen", "volvo")
- `convenience_features` (array) — Convenience features (default: []; one of: "adaptive_cruise_control", "automatic_parking", "autopilot", "cooled_seats", "heated_seats", "heated_steering_wheel", "keyless_entry", "keyless_start", "navigation_system", "power-folding_mirrors", "power_liftgate", "remote_start", "wheelchair_accessible")
- `entertainment_features` (array) — Entertainment features (default: []; one of: "android_auto", "apple_carplay", "bluetooth", "cd_player", "dvd_player", "homelink", "premium_sound_system", "rear_seat_entertaiment", "satellite_radio", "usb_port", "wifi_hotspot")
- `exterior_features` (array) — Exterior features (default: []; one of: "alloy_wheels", "roof_rack", "sunroof_moonroof", "tow_hitch", "tow_hooks")
- `safety_features` (array) — Safety features (default: []; one of: "automatic_emergency_braking", "backup_camera", "blind_spot_monitor", "brake_assist", "led_headlights", "lane_departure_warning", "rain-sensing-wipers", "rear_cross_traffic_alert", "stability_control")
- `seating_features` (array) — Seating features (default: []; one of: "leather_seats", "memory_seat", "third_row_seating")
- `lifestyles` (array) — Lifestyle categories (default: []; one of: "enthusiast", "family_friendly", "luxury", "off_road", "sporty")
- `awards` (array) — Award badges (default: []; one of: "ami", "best_of")
- `vehicle_history` (array) — Vehicle history requirements (default: []; one of: "no_accidents", "clean_title", "one_owner", "personal_use")
- `ev_range_min` (integer, nullable) — Minimum EV total range (miles) (min: 0)
- `charge_time_max` (string, nullable) — Maximum EV charge time on 240V (hours) (one of: "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19")
- `keyword` (string, nullable) — Free-text keyword (matches VIN, stock number, text)
- `only_with_photos` (boolean) — Only listings that have photos (default: false)
- `include_shippable` (boolean) — Include listings shippable from outside the area (default: true)
- `sort` (string) — Sort order (default: "best_match"; one of: "best_match", "price_low", "price_high", "mileage_low", "mileage_high", "distance", "best_deal", "year_new", "year_old", "newest_listed", "oldest_listed")
- `count` (integer, required) — Max number of results to return (min: 1)

## Response

### 200 — Successful Response

- `@type` (string) (default: "CarsListing")
- `id` (string, required)
- `url` (string, nullable)
- `vin` (string, nullable)
- `make` (string, nullable)
- `model` (string, nullable)
- `year` (integer, nullable)
- `trim` (string, nullable)
- `body_style` (string, nullable)
- `stock_type` (string, nullable)
- `is_cpo` (boolean) (default: false)
- `is_verified` (boolean) (default: false)
- `price` (number, nullable)
- `msrp` (number, nullable)
- `mileage` (number, nullable)
- `drivetrain` (string, nullable)
- `exterior_color` (string, nullable)
- `fuel_type` (string, nullable)
- `seller_id` (string, nullable)
- `seller_zip` (string, nullable)
- `financing_type` (string, nullable)
- `image` (string, nullable)
- `images` (array) (default: [])
- `image_count` (integer, nullable)
- `rank_enthusiast` (number, nullable)
- `rank_family_friendly` (number, nullable)
- `rank_luxury` (number, nullable)
- `rank_off_road` (number, nullable)
- `rank_sporty` (number, nullable)

## Errors

### 422 — Validation Error

The request body did not validate

What to do: Check the fields against this schema. A URN with the wrong prefix is the most common cause.

- `detail` (array)
  - `loc` (array, required)
  - `msg` (string, required)
  - `type` (string, required)
  - `input` (any)
  - `ctx` (object)

### 408

The request ran past its time limit

What to do: Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.

### 412

The entity was not found, or a precondition failed

What to do: Retrying will not help: either the entity does not exist, or the input points at a different one.

### 429

Too many requests: a rate limit or a usage window is exhausted

What to do: When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.

### 500

Something broke on our side

What to do: Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.

### 529

Rate limit reached, or the endpoint is overloaded

What to do: Wait at least 30 seconds, then retry.

## Response envelope

Success: Array of objects (may be empty if no results)

Error: Error may coexist with partial results if it occurs mid-execution. Check X-Error header and status code.

Every response carries these headers:

- `X-Error` — Error message text (present only on error)
- `X-Request-ID` — Unique request identifier
- `X-Execution-Time` — Execution time in seconds
- `X-Result-Count` — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.
- `X-Total-Available-Results` — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.
- `X-Warning` — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.
- `X-Retry-After` — Seconds to wait before retrying. Present only on 429.

