datasets_vehicle_listings_search
Search vehicle listings dataset. Searches the crawled used-vehicle listings index. source enum: carmax, autotrader, carsdotcom.
Instructions
Search vehicle listings dataset. Searches the crawled used-vehicle listings index. source enum: carmax, autotrader, carsdotcom. CarMax's own national inventory is fully enumerable (re-crawled on a standing schedule); Autotrader/Cars.com coverage is a best-effort zip-code sweep, not exhaustive, and their rows approximate city/state from the searched area rather than the seller's exact location. seller_type enum: retailer, dealer, private (not populated for every row -- see the dataset markdown). Sort enum: relevance, recently_updated, newly_listed, price_asc, price_desc, mileage_asc, mileage_desc, year_desc, year_asc. Billing: this search costs 1 credit per record returned, with a minimum of 2 (an empty result costs 2, a full page of 100 costs 100).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Full-text query over make, model and trim, max 256 characters | |
| vin | No | Exact VIN filter. Best-effort: not guaranteed on every listing | |
| make | No | Exact make filter (e.g. Honda, Toyota), max 128 characters | |
| page | No | Page number, defaults to 1 | |
| sort | No | Sort enum: relevance, recently_updated, newly_listed, price_asc, price_desc, mileage_asc, mileage_desc, year_desc, year_asc | |
| trim | No | Exact trim filter, max 128 characters | |
| model | No | Exact model filter (e.g. Civic), max 128 characters | |
| state | No | Exact US state abbreviation filter (e.g. CA), max 8 characters | |
| run_id | No | Exact crawl run-id filter, max 128 characters | |
| source | No | Exact source marketplace filter: carmax, autotrader, carsdotcom | |
| max_year | No | Maximum model year | |
| min_year | No | Minimum model year | |
| fuel_type | No | Exact fuel type filter (e.g. Gas, Hybrid, Electric), max 128 characters | |
| max_price | No | Maximum price in US dollars | |
| min_price | No | Minimum price in US dollars | |
| page_size | No | Page size, defaults to 20 and maxes at 100; page * page_size must be <= 10000 | |
| body_style | No | Exact body style filter (e.g. Sedan, SUV), max 128 characters | |
| drive_type | No | Exact drivetrain filter, max 128 characters | |
| max_mileage | No | Maximum odometer mileage | |
| seller_type | No | Exact seller type filter: retailer, dealer, private | |
| transmission | No | Exact transmission filter, max 128 characters | |
| is_price_reduced | No | Filter for listings currently marked down from a previous price |