POST /api/cargurus/listings/search
Price: 20 credits
Search CarGurus car listings by make (one or more, required) and optionally model (by name, within a single make) with the full filter set: inventory type (used/new/certified), location and radius, price range, mileage range, model year range, body style, fuel type, transmission, drivetrain, engine, exterior and interior color, number of seats, deal rating, vehicle history (clean title, single owner, no accidents, ...), minimum NHTSA safety rating, seller type, minimum dealer rating, specific dealers, maximum days on market, minimum fuel economy and toggles for photos, price drops, financing, dealer-fee-inclusive pricing and hiding salvage or fleet vehicles. Sort by best match, best deal, price, mileage, distance, model year or listing age. Returns listing cards with price, IMV, deal rating, vehicle summary and seller.
Search CarGurus car listings. makes is required (at least one). models (by name, e.g. ['RAV4']) is optional and requires exactly one make. Filter by stock_type, zip+distance, price_min/price_max, mileage_min/mileage_max, year_min/year_max, body_types, fuel_types, transmissions, drivetrains, engines, exterior/interior colors, seats, deal_ratings, vehicle_history, nhtsa_safety_min, seller_types, dealer_rating_min, seller_ids, days_on_market_max, mpg_min and boolean toggles. Sort by best_match/best_deal/price/mileage/distance/year/listing age. count is required.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)makes array required — Vehicle makes to search (one of: "acura", "alfa_romeo", "am_general", "amc", "aston_martin", "auburn", "audi", "austin", "austin_healey", "bentley", "bmw", "bugatti", "buick", "cadillac", "caterham", "chevrolet", "chrysler", "citroen", "daewoo", "daihatsu", "datsun", "de_tomaso", "delorean", "desoto", "dodge", "durant", "eagle", "edsel", "excalibur", "ferrari", "fiat", "fisker", "ford", "freightliner", "genesis", "geo", "ghia", "gmc", "graham", "honda", "hudson", "hummer", "hyundai", "ineos", "infiniti", "intermeccanica", "international_harvester", "isuzu", "jaguar", "jeep", "jensen", "kaiser", "karma", "kia", "koenigsegg", "lada", "lamborghini", "lancia", "land_rover", "lexus", "lincoln", "lotus", "lucid", "maserati", "maybach", "mazda", "mclaren", "mercedes_benz", "mercury", "mg", "mini", "mitsubishi", "mobility_ventures", "morgan", "morris", "nash", "nissan", "oldsmobile", "overland", "packard", "pagani", "paige", "panoz", "peerless", "peugeot", "pininfarina", "plymouth", "polestar", "pontiac", "porsche", "qvale", "ram", "renault", "rivian", "rolls_royce", "rover", "saab", "saturn", "scion", "shelby", "smart", "ssc", "studebaker", "subaru", "sunbeam", "suzuki", "tesla", "toyota", "triumph", "vinfast", "volkswagen", "volvo", "vpg", "white", "willys"; minItems: 1)models array — Model names to restrict to (e.g. 'RAV4', 'Camry'); requires exactly one make (default: [])stock_type string — Inventory type (default: "used"; one of: "used", "new", "certified", "third_party_certified")zip string nullable — Postal code to search around (best-effort) (minLength: 3)distance integer — Search radius in miles around the location (default: 50000; min: 1; max: 50000)price_min integer nullable — Minimum price (USD) (min: 0)price_max integer nullable — Maximum price (USD) (min: 0)mileage_min integer nullable — Minimum mileage (miles) (min: 0)mileage_max integer nullable — Maximum mileage (miles) (min: 0)year_min integer nullable — Minimum model year (min: 1900)year_max integer nullable — Maximum model year (min: 1900)body_types array — Body styles to include (default: []; one of: "coupe", "convertible", "hatchback", "minivan", "pickup_truck", "sedan", "suv", "van", "wagon")fuel_types array — Fuel types to include (default: []; one of: "diesel", "electric", "gasoline", "hybrid", "cng", "flex_fuel", "biodiesel", "propane", "fuel_cell")transmissions array — Transmission types to include (default: []; one of: "AUTOMATIC", "MANUAL")drivetrains array — Drivetrain types to include (default: []; one of: "FOUR_WHEEL_DRIVE", "FOUR_BY_TWO", "REAR_WHEEL_DRIVE", "ALL_WHEEL_DRIVE", "FRONT_WHEEL_DRIVE")engines array — Engine configurations to include (default: []; one of: "I4", "I5", "I6", "V6", "V8", "V12")exterior_colors array — Exterior colors to include (default: []; one of: "BLACK", "WHITE", "GRAY", "SILVER", "BLUE", "RED", "GREEN", "BROWN", "GOLD", "ORANGE", "YELLOW", "PURPLE", "TEAL", "PINK", "UNKNOWN")interior_colors array — Interior colors to include (default: []; one of: "BLACK", "WHITE", "GRAY", "SILVER", "BLUE", "RED", "GREEN", "BROWN", "GOLD", "ORANGE", "YELLOW", "PURPLE", "TEAL", "PINK", "UNKNOWN")seats array — Number of seats (default: []; one of: "TWO", "FOUR", "FIVE", "SIX", "SEVEN", "AT_LEAST_EIGHT")deal_ratings array — Deal ratings to include (default: []; one of: "great_deal", "good_deal", "fair_deal", "high_price", "overpriced", "no_price_analysis", "uncertain")vehicle_history array — Vehicle history requirements (default: []; one of: "CLEAN_TITLE", "SINGLE_OWNER", "NON_FLEET", "LEMON_FREE", "NO_THEFT_HISTORY", "UNDAMAGED_FRAME", "NON_SALVAGE")nhtsa_safety_min string nullable — Minimum NHTSA overall safety rating (one of: "3", "4", "5")seller_types array — Seller types to include (default: []; one of: "FRANCHISE_DEALER", "PAYING_DEALER")dealer_rating_min string nullable — Minimum average dealer rating (one of: "ONE_STAR_AND_MORE", "TWO_STAR_AND_MORE", "THREE_STAR_AND_MORE", "FOUR_STAR_AND_MORE", "FIVE_STAR")seller_ids array — Restrict to specific dealer ids (default: [])days_on_market_max integer nullable — Maximum days on market (min: 0)mpg_min integer nullable — Minimum combined fuel economy (MPG) (min: 0)only_with_photos boolean — Only listings that have photos (default: false)only_price_drops boolean — Only listings with a recent price drop (default: false)only_with_financing boolean — Only listings with online financing (default: false)only_fees_included boolean — Only listings that include dealer fees in the price (default: false)hide_salvage boolean — Hide listings with a salvage history (default: false)hide_fleet boolean — Hide fleet (rental or corporate) vehicles (default: false)sort string — Sort order (default: "best_match"; one of: "best_match", "best_deal", "price_low", "price_high", "mileage_low", "mileage_high", "distance", "year_new", "year_old", "newest_listed", "oldest_listed")count integer required — Max number of results to return (min: 1)@type string (default: "CargurusListing")id string requiredurl string nullablevin string nullablemake string nullablemodel string nullableyear integer nullabletrim string nullablebody_type string nullableprice number nullabletotal_price number nullableimv number nullabledeal_rating string nullabledeal_score number nullablemileage number nullabledrivetrain string nullabletransmission string nullableengine string nullabledoors integer nullableexterior_color string nullableinterior_color string nullablefuel_type string nullablecity_mpg number nullablehighway_mpg number nullablecombined_mpg number nullableev_battery object nullable@type string (default: "CargurusEvBattery")capacity_kwh number nullablerange_mi number nullablecharge_time_240v_hr number nullableis_cpo boolean (default: false)is_new boolean (default: false)safety_rating integer nullabledays_on_market integer nullabledistance number nullablestock_number string nullableprice_drop number nullableoriginal_price number nullableimage string nullableimage_count integer nullableoptions array (default: [])seller_id string nullableseller_name string nullableseller_city string nullableseller_state string nullable422 — The request body did not validate Check the fields against this schema. A URN with the wrong prefix is the most common cause.408 — The request ran past its time limit 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 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 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 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 Wait at least 30 seconds, then retry.X-Error — Error message text (present only on error)X-Request-ID — Unique request identifierX-Execution-Time — Execution time in secondsX-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.