CarGurus Search API

GET   /api/v1/search?engine=cargurus_search

The CarGurus Search API returns the used and new car listings CarGurus shows for a search around a US ZIP code. Each car comes with its price, CarGurus' deal rating against its estimate of the car's market value, mileage, model year, trim, VIN, fuel, transmission, drivetrain, colours, fuel economy, history highlights, delivery options, dealer and location. The filters block lists the makes, models, trims, dealers, options and other values the search accepts back, each with CarGurus' count.

API Parameters

Search Query

  • Name
    make
    Required
    Optional
    Description

    Parameter defines the vehicle makes to search, comma-separated, such as toyota or bmw,audi, each up to 60 characters. It takes any CarGurus make name, such as those listed in the make group of filters, or a slug such as land-rover. An unknown make returns an error naming the closest CarGurus makes.

  • Name
    model
    Required
    Optional
    Description

    Parameter defines the vehicle models to search, comma-separated, such as rav4 or 3 Series, each up to 60 characters. It requires make, and each name is matched within the listed makes, as listed in the model group of filters. A name two listed makes share searches both. A listed make that none of the models or model ids belongs to is searched in full, so make=bmw,audi with model=a4 returns every BMW and the Audi A4. An unknown model returns an error naming the closest CarGurus models.

  • Name
    model_id
    Required
    Optional
    Description

    Parameter defines CarGurus model ids to search, comma-separated, each up to 6 digits, such as the model_id of a result. It requires make, and each id must be a model of a listed make.

  • Name
    trim
    Required
    Optional
    Description

    Parameter defines the trims to search, comma-separated, such as 330i xDrive AWD, each up to 60 characters. Trims are case-sensitive: spell them as listed in the trim group of filters or a result's trim. A trim given only in another case returns an error quoting CarGurus' spelling, or no results when that spelling has no cars in the search. An unknown trim, or one with no cars near zip, returns an error naming up to 3 of the closest trims with cars in the search, or no results when none has. It requires make and a model, from model or model_id. With several models, each trim narrows the models that list it, and a model that lists none of the trims is searched in full. Send a trim from filters with its option's make and model_id to search only the cars it counts. make, model, model_id and trim together select at most 150 CarGurus models and trims, and trims too long together for one CarGurus search return an error.

Geographic Location

  • Name
    zip
    Required
    Required
    Description

    Parameter defines the 5-digit US ZIP code to search around, such as 10001. A ZIP code CarGurus cannot place returns an error.

  • Name
    radius
    Required
    Optional
    Description

    Parameter defines the distance around zip in miles, from 1 to 500, or all for the whole country. The default parameter is 50.

  • Name
    include_delivery
    Required
    Optional
    Description

    Parameter defines whether cars of dealers farther away that can be shipped or transferred near zip are included, true or false. The default parameter is true.

Sorting

  • Name
    sort_by
    Required
    Optional
    Description

    Parameter defines the result order. Paid placements, marked is_promoted, can keep their own slots in any order and can repeat a car listed on another page. Options are:

    • best_match - CarGurus' default order
    • best_deal - best deals first, used cars only
    • price_asc - lowest price first
    • price_desc - highest price first
    • mileage_asc - lowest mileage first
    • mileage_desc - highest mileage first
    • distance - closest to zip first
    • model_year_desc - newest model year first
    • model_year_asc - oldest model year first
    • newest - most recently listed first
    • oldest - longest listed first
    The default parameter is best_match.

Filters

  • Name
    condition
    Required
    Optional
    Description

    Parameter defines the conditions to include, comma-separated, from new, used, manufacturer_certified and third_party_certified. used includes certified cars, and new cannot be combined with another value. The default parameter is used.

  • Name
    price_min
    Required
    Optional
    Description

    Parameter defines the lowest price in US dollars, up to 10,000,000, before any delivery cost. It includes the dealer's fees only for cars whose has_dealer_fees_included is true. Cars listed without a price are left out.

  • Name
    price_max
    Required
    Optional
    Description

    Parameter defines the highest price in US dollars, up to 10,000,000, before any delivery cost. It includes the dealer's fees only for cars whose has_dealer_fees_included is true. Cars listed without a price are left out.

  • Name
    mileage_min
    Required
    Optional
    Description

    Parameter defines the lowest mileage in miles, up to 2,000,000.

  • Name
    mileage_max
    Required
    Optional
    Description

    Parameter defines the highest mileage in miles, up to 2,000,000.

  • Name
    model_year_min
    Required
    Optional
    Description

    Parameter defines the earliest model year, from 1900 to next year.

  • Name
    model_year_max
    Required
    Optional
    Description

    Parameter defines the latest model year, from 1900. A year past next year is searched as next year.

  • Name
    fuel_type
    Required
    Optional
    Description

    Parameter defines the fuel types to include, comma-separated, from petrol, diesel, electric, hybrid, flex_fuel, biodiesel, cng, hydrogen and lpg. hybrid includes plug-in hybrids.

  • Name
    transmission
    Required
    Optional
    Description

    Parameter defines the transmissions to include, comma-separated, from automatic and manual.

  • Name
    body_type
    Required
    Optional
    Description

    Parameter defines the body types to include, comma-separated, from coupe, convertible, hatchback, van, pickup, sedan, suv, transporter and station_wagon. van is a minivan and transporter a full-size van.

  • Name
    drivetrain
    Required
    Optional
    Description

    Parameter defines the drivetrains to include, comma-separated, from front, rear, all_wheel, four_wheel and four_by_two. all_wheel is all-wheel drive, so send all_wheel,four_wheel for every car that drives all four wheels.

  • Name
    color
    Required
    Optional
    Description

    Parameter defines the exterior colours to include, comma-separated, from black, white, grey, silver, blue, red, brown, green, yellow, orange, gold, violet, pink and teal.

  • Name
    interior_color
    Required
    Optional
    Description

    Parameter defines the interior colours to include, comma-separated, from black, white, grey, silver, blue, red, brown, green, yellow, orange, gold, violet, pink and teal.

  • Name
    price_level
    Required
    Optional
    Description

    Parameter defines the CarGurus deal ratings to include, comma-separated, from top, good, fair, somewhat_expensive, expensive and outlier. CarGurus rates a used car's price against its own estimate of the car's market value, and outlier is a price far from that estimate either way. It cannot be used with condition=new.

  • Name
    features
    Required
    Optional
    Description

    Parameter defines CarGurus option names, comma-separated, such as Sunroof/Moonroof or Navigation System, as listed in the features group of filters. A car must have all of them. An unknown name returns an error naming the closest CarGurus options.

  • Name
    seller_id
    Required
    Optional
    Description

    Parameter defines the CarGurus dealer id whose cars to list, up to 9 digits, such as the seller.id of a result.

  • Name
    is_accident_free
    Required
    Optional
    Description

    Parameter set to true lists cars whose history report shows no accidents. It cannot be used with condition=new.

  • Name
    previous_owners_max
    Required
    Optional
    Description

    Parameter set to 1 lists cars whose history report shows one owner. It cannot be used with condition=new.

  • Name
    is_franchise_dealer
    Required
    Optional
    Description

    Parameter set to true lists the cars of franchise dealers only.

  • Name
    is_price_reduced
    Required
    Optional
    Description

    Parameter set to true lists cars whose price has dropped.

  • Name
    time_period
    Required
    Optional
    Description

    Parameter defines how recently the car was listed, one of last_day, last_2_days, last_3_days, last_4_days, last_5_days, last_6_days, last_week, last_2_weeks and last_month.

Pagination

  • Name
    page
    Required
    Optional
    Description

    Parameter defines the page of results, from 1 to 400. The default parameter is 1.

Engine

  • Name
    engine
    Required
    Required
    Description

    Parameter defines an engine that will be used to retrieve real-time data. It must be set to cargurus_search.

API key

  • Name
    api_key
    Required
    Required
    Description

    The api_key authenticates your requests. Use it as a query parameter (https://www.searchapi.io/api/v1/search?api_key=YOUR_API_KEY) or in the Authorization header (Bearer YOUR_API_KEY).

Zero Data Retention

  • Name
    zero_retention
    Enterprise Only
    Enterprise Only
    Required
    Optional
    Description

    Set this parameter to true to disable all logging and persistent storage. No request parameters, HTML, or JSON responses are stored or logged. Suitable for high-compliance use cases. Debugging and support may be limited while enabled.

API Examples

Full Response

Full Response
GET
https://www.searchapi.io/api/v1/search?engine=cargurus_search&make=toyota&model=rav4&trim=Adventure+AWD&zip=94103
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "cargurus_search",
  "zip": "94103",
  "make": "toyota",
  "model": "rav4",
  "trim": "Adventure AWD"
}

response = requests.get(url, params=params)
print(response.text)
Response
{
  "search_metadata": {
    "id": "search_SjagqO5wF5ZUh9XKWc1QQ5Eq",
    "status": "Success",
    "created_at": "2026-12-01T05:34:56Z",
    "request_time_taken": 2.94,
    "parsing_time_taken": 0.01,
    "total_time_taken": 2.95,
    "request_url": "https://www.cargurus.com/search?zip=94103&distance=50&makeModelTrimPaths=m7%2Fd306%2FAdventure+AWD&n...",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_SjagqO5wF5ZUh9XKWc1QQ5Eq.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_SjagqO5wF5ZUh9XKWc1QQ5Eq"
  },
  "search_parameters": {
    "engine": "cargurus_search",
    "radius": "50",
    "condition": "used",
    "include_delivery": "true",
    "sort_by": "best_match",
    "zip": "94103",
    "make": "toyota",
    "model": "rav4",
    "trim": "Adventure AWD"
  },
  "search_information": {
    "total_results": 31,
    "page": 1,
    "results_on_page": 18,
    "location_displayed": "San Francisco, CA"
  },
  "filters": [
    {
      "key": "make",
      "type": "Make/Model",
      "options": [
        {
          "text": "Acura",
          "value": "Acura"
        },
        "..."
      ]
    },
    "..."
  ],
  "organic_results": [
    {
      "position": 1,
      "id": "456300797",
      "title": "2019 Toyota RAV4",
      "link": "https://www.cargurus.com/details/456300797",
      "price": "$18,585",
      "extracted_price": 18585,
      "previous_price": "$19,535",
      "extracted_previous_price": 19535,
      "date_price_changed": "2026-11-27T16:53:45Z",
      "price_before_fees": "$18,500",
      "extracted_price_before_fees": 18500,
      "has_dealer_fees_included": true,
      "estimated_value": {
        "value": 19818
      },
      "currency": "USD",
      "price_level": "good",
      "price_level_label": "Good Deal",
      "days_on_market": 106,
      "make": "Toyota",
      "make_id": "7",
      "model": "RAV4",
      "model_id": "306",
      "trim": "Adventure AWD",
      "model_year": 2019,
      "vin": "2T3J1RFV1KW041549",
      "stock_number": "041549",
      "condition": "used",
      "mileage": "139,200 mi",
      "extracted_mileage": 139200,
      "mileage_unit": "mi",
      "fuel_type": "petrol",
      "fuel_type_label": "Gasoline",
      "transmission": "automatic",
      "transmission_label": "8-Speed Dual Clutch",
      "drivetrain": "all_wheel",
      "drivetrain_label": "All-Wheel Drive",
      "body_type": "suv",
      "body_type_label": "SUV / Crossover",
      "color": "blue",
      "color_label": "Blue",
      "manufacturer_color": "Blue",
      "interior_color": "grey",
      "interior_color_label": "Gray",
      "motor": "203 hp 2.5L I4",
      "power": "203 hp",
      "power_hp": 203,
      "doors": 4,
      "features": [
        "Sunroof/Moonroof",
        "Adaptive Cruise Control",
        "Alloy Wheels",
        "Bluetooth",
        "Backup Camera",
        "Blind Spot Monitoring"
      ],
      "is_accident_free": true,
      "safety_rating": 5,
      "extracted_distance": 28.226759,
      "distance_unit": "mi",
      "seller": {
        "id": "458313",
        "type": "dealer",
        "name": "Tracy Auto Network",
        "phones": [
          "+1 510-369-1112"
        ]
      },
      "location": {
        "zip": "94560",
        "city": "Newark",
        "state": "CA"
      },
      "thumbnail": "https://static.cargurus.com/images/forsale/2026/08/25/13/17/2019_toyota_rav4-pic-5967440128885569769...",
      "images_count": 10
    },
    "..."
  ],
  "pagination": {
    "current_page": 1,
    "next_page": 2
  }
}