CarGurus Search API
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
toyotaorbmw,audi, each up to 60 characters. It takes any CarGurus make name, such as those listed in themakegroup offilters, or a slug such asland-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
rav4or3 Series, each up to 60 characters. It requiresmake, and each name is matched within the listed makes, as listed in themodelgroup offilters. 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, somake=bmw,audiwithmodel=a4returns 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_idof a result. It requiresmake, 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 thetrimgroup offiltersor a result'strim. 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 nearzip, returns an error naming up to 3 of the closest trims with cars in the search, or no results when none has. It requiresmakeand a model, frommodelormodel_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 fromfilterswith its option'smakeandmodel_idto search only the cars it counts.make,model,model_idandtrimtogether 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
zipin miles, from 1 to 500, orallfor the whole country. The default parameter is50.
-
- Name
-
include_delivery - Required
- Optional
- Description
-
Parameter defines whether cars of dealers farther away that can be shipped or transferred near
zipare included,trueorfalse. The default parameter istrue.
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 orderbest_deal- best deals first, used cars onlyprice_asc- lowest price firstprice_desc- highest price firstmileage_asc- lowest mileage firstmileage_desc- highest mileage firstdistance- closest tozipfirstmodel_year_desc- newest model year firstmodel_year_asc- oldest model year firstnewest- most recently listed firstoldest- longest listed first
best_match.
Filters
-
- Name
-
condition - Required
- Optional
- Description
-
Parameter defines the conditions to include, comma-separated, from
new,used,manufacturer_certifiedandthird_party_certified.usedincludes certified cars, andnewcannot be combined with another value. The default parameter isused.
-
- 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_includedistrue. 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_includedistrue. 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,hydrogenandlpg.hybridincludes plug-in hybrids.
-
- Name
-
transmission - Required
- Optional
- Description
-
Parameter defines the transmissions to include, comma-separated, from
automaticandmanual.
-
- Name
-
body_type - Required
- Optional
- Description
-
Parameter defines the body types to include, comma-separated, from
coupe,convertible,hatchback,van,pickup,sedan,suv,transporterandstation_wagon.vanis a minivan andtransportera full-size van.
-
- Name
-
drivetrain - Required
- Optional
- Description
-
Parameter defines the drivetrains to include, comma-separated, from
front,rear,all_wheel,four_wheelandfour_by_two.all_wheelis all-wheel drive, so sendall_wheel,four_wheelfor 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,pinkandteal.
-
- 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,pinkandteal.
-
- Name
-
price_level - Required
- Optional
- Description
-
Parameter defines the CarGurus deal ratings to include, comma-separated, from
top,good,fair,somewhat_expensive,expensiveandoutlier. CarGurus rates a used car's price against its own estimate of the car's market value, andoutlieris a price far from that estimate either way. It cannot be used withcondition=new.
-
- Name
-
features - Required
- Optional
- Description
-
Parameter defines CarGurus option names, comma-separated, such as
Sunroof/MoonrooforNavigation System, as listed in thefeaturesgroup offilters. 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.idof a result.
-
- Name
-
is_accident_free - Required
- Optional
- Description
-
Parameter set to
truelists cars whose history report shows no accidents. It cannot be used withcondition=new.
-
- Name
-
previous_owners_max - Required
- Optional
- Description
-
Parameter set to
1lists cars whose history report shows one owner. It cannot be used withcondition=new.
-
- Name
-
is_franchise_dealer - Required
- Optional
- Description
-
Parameter set to
truelists the cars of franchise dealers only.
-
- Name
-
is_price_reduced - Required
- Optional
- Description
-
Parameter set to
truelists 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_weeksandlast_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_keyauthenticates 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
trueto 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
https://www.searchapi.io/api/v1/search?engine=cargurus_search&make=toyota&model=rav4&trim=Adventure+AWD&zip=94103
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
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)
{
"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
}
}