Cars.com

Search Cars.com vehicle listings

Searches Cars.com for new and used car listings, returning vehicle summaries (make, model, trim, year, mileage, exterior color, drivetrain, fuel type, pricing, seller, images) plus the total matching count.

get/carsdotcom/search

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/carsdotcom/search
  • Auth: API key in header x-api-key

Query parameters

zipstring

5-digit US ZIP code to search around

radiusinteger

Search radius in miles around zip

stock_type'new' | 'used' | 'cpo' | 'all'

Listing condition. Allowed values: new, used, cpo, all

pageinteger

1-indexed result page, defaults to 1. Cars.com returns 24 results per page

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "page": 1,
    "page_size": 24,
    "total_count": 10000,
    "vehicles": [
      {
        "body_style": "Hatchback",
        "drivetrain": "Front-wheel Drive",
        "exterior_color": "white",
        "fuel_type": "Hybrid",
        "listing_id": "a6ea5d6f-0395-4f9d-94d5-724c4d7414de",
        "make": "Lexus",
        "mileage": 63436,
        "model": "CT 200h",
        "price": 21992,
        "seller": {
          "dealer_name": "Lexus of Cerritos",
          "zip": "90703"
        },
        "stock_type": "Used",
        "trim": "Base",
        "url": "https://www.cars.com/vehicledetail/a6ea5d6f-0395-4f9d-94d5-724c4d7414de/",
        "vin": "JTHKD5BH9G2270550",
        "year": 2016
      }
    ]
  },
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.