Scraper APICarGurus
cargurus.search
Used cars for sale on CarGurus near a US ZIP code, by make, model, price, year and mileage: price, CarGurus's market value and deal rating, VIN, specification and the dealer.
- Id
cargurus.search- Version
- 1
- Billed per
- request — 1 unit for a charged run
- Runs
- within one request
Start it with POST /v1/scrapers/cargurus.search/runs. How runs work is in Running a scraper; what a run costs is in Usage and units.
Inputs
The fields of input. A field that is not listed here is refused.
| Field | Type | Description |
|---|---|---|
ziprequired | string | The US ZIP code to search around, e.g. 60601.Limit: matches ^\d{5}$. |
make | string | The make as CarGurus names it, e.g. Honda, Land Rover, Mercedes-Benz. Empty: every make.Limit: at most 40 characters. |
model | string | The model as CarGurus names it, e.g. Civic, CR-V, F-150. Needs a make.Limit: at most 60 characters. |
radius | 10 | 25 | 50 | 75 | 100 | 150 | 200 | 500 | "nationwide" | How far from the ZIP code to search, in miles, or nationwide.Default: 50. |
price_min | integer | The lowest price, in US dollars.Limit: 0 to 10000000. |
price_max | integer | The highest price, in US dollars.Limit: 0 to 10000000. |
year_min | integer | The oldest model year.Limit: 1900 to 2100. |
year_max | integer | The newest model year.Limit: 1900 to 2100. |
mileage_max | integer | The highest mileage, in miles.Limit: 0 to 1000000. |
include_delivery | boolean | Also return cars further away that the seller offers to deliver. Off: only cars within the radius.Default: false. |
sort | "best_match" | "best_deal" | "price_low" | "price_high" | "mileage_low" | "mileage_high" | "distance" | "year_newest" | "year_oldest" | "newest_listing" | The order of the results, as the site offers them. Sponsored results come first in every order; a price order counts the dealer's fees.Default: "best_match". |
page | integer | The page of the results, from 1. A page holds about 22 cars.Limit: 1 to 100. Default: 1. |
Record fields
Every record of a run has these fields. A value that is not known is null — never an empty string and never 0.
| Field | Type | Notes |
|---|---|---|
listing_id | integer | CarGurus's id of the listing. |
url | string | The listing's page on cargurus.com. |
title | string | The year, make, model and trim, e.g. 2017 Honda Civic LX. |
sponsored | boolean | True for a result CarGurus places as featured, priority or highlighted (paid placement); such results come first whatever the order asked for. |
vin | string or null | The vehicle identification number. |
year | integer or null | The model year. |
make | string or null | The make, e.g. Honda. |
model | string or null | The model, e.g. Civic. |
trim | string or null | The trim, e.g. LX. |
body_style | string or null | The body style, e.g. Sedan, SUV / Crossover, Pickup Truck. |
price | number or null | The asking price before the dealer's fees, in US dollars. Null when the seller does not state one. |
total_price | number or null | The price with the dealer's stated fees, in US dollars: the price the result prints. Null where CarGurus shows none. |
market_price | number or null | CarGurus's estimate of the car's market value (its instant market value), in US dollars. |
deal_rating | string or null | CarGurus's rating of the price against that value: GREAT_PRICE, GOOD_PRICE, FAIR_PRICE, HIGH_PRICE, OVERPRICED, OUTLIER or NA. |
mileage | integer or null | The odometer reading, in miles. |
days_on_market | integer or null | How many days the car has been listed on CarGurus. |
exterior_color | string or null | The exterior colour, e.g. Black. |
interior_color | string or null | The interior colour. |
drivetrain | string or null | The drive, e.g. Front-Wheel Drive, All-Wheel Drive. |
engine | string or null | The engine, e.g. 158 hp 2L I4. |
transmission | string or null | The transmission, e.g. Automatic, Continuously Variable Transmission. |
fuel_type | string or null | The fuel, e.g. Gasoline, Hybrid, Electric. |
doors | string or null | The number of doors as printed, e.g. 4 doors. |
options | array of string | The options the result lists, e.g. Backup Camera, CarPlay. |
image | string or null | The listing's main photo. |
photo_count | integer or null | How many photos the listing has. |
stock_number | string or null | The dealer's stock number for the car. |
distance_miles | number or null | How far the seller is from the ZIP code searched, in miles. Beyond the radius only for a car offered for delivery. |
dealer_name | string or null | The selling dealer's name. Null for a private seller. |
dealer_phone | string or null | The dealer's phone number as the result gives it. Null for a private seller. |
dealer_city | string or null | The seller's town. |
dealer_state | string or null | The seller's state, as a two-letter code. |
dealer_postal_code | string or null | The seller's ZIP code. |
seller_type | string or null | DEALER or PRIVATE, as CarGurus marks the seller. |
fetched_at | string (date-time) | When the results were read, in UTC. |
Example request
# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/cargurus.search/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"zip":"60601","make":"Honda","model":"Civic","sort":"price_low"}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("cargurus.search", {
"zip": "60601",
"make": "Honda",
"model": "Civic",
"sort": "price_low",
})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("cargurus.search", {
zip: "60601",
make: "Honda",
model: "Civic",
sort: "price_low",
});
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "cargurus.search", map[string]any{"zip": "60601", "make": "Honda", "model": "Civic", "sort": "price_low"})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("cargurus.search", Map.of("zip", "60601", "make", "Honda", "model", "Civic", "sort", "price_low"));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run cargurus.search --input-json '{"zip":"60601","make":"Honda","model":"Civic","sort":"price_low"}'Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.
The body on its own:
{
"input": {
"zip": "60601",
"make": "Honda",
"model": "Civic",
"sort": "price_low"
}
}Example response
The run, once it has ended. A run that has not ended within wait comes back with 202 and the status queued or running.
{
"id": "run_841742f37553189ff9c27ba1",
"scraper_id": "cargurus.search",
"scraper_version": 1,
"status": "ok",
"reason": null,
"input": {
"zip": "60601",
"make": "Honda",
"model": "Civic",
"sort": "price_low"
},
"record_count": 1,
"units": 1,
"units_per_request": 1,
"units_per_record": null,
"units_per_page": null,
"diagnostics": {
"requests": 1,
"bytes": 259214,
"wall_ms": 885,
"facts": {}
},
"created_at": "2026-11-16T22:37:50.170950Z",
"started_at": "2026-11-16T22:37:50.178331Z",
"finished_at": "2026-11-16T22:37:51.066313Z"
}Its records, from GET /v1/runs/{id}/records. The record is a real one: this scraper's own parser read it from a page recorded from the site.
{
"records": [
{
"listing_id": 464285716,
"url": "https://www.cargurus.com/details/464285716",
"title": "2025 Honda Civic LX FWD",
"sponsored": true,
"vin": "2HGFE2F28SH604668",
"year": 2025,
"make": "Honda",
"model": "Civic",
"trim": "LX FWD",
"body_style": "Sedan",
"price": 21750,
"total_price": 22162,
"market_price": 22655,
"deal_rating": "GOOD_PRICE",
"mileage": 31730,
"days_on_market": 5,
"exterior_color": "Crystal Black Pearl",
"interior_color": "Black",
"drivetrain": "Front-Wheel Drive",
"engine": "150 hp 2L I4",
"transmission": "Continuously Variable Transmission",
"fuel_type": "Gasoline",
"doors": "4 doors",
"options": [
"Adaptive Cruise Control",
"Backup Camera",
"Android Auto"
],
"image": "https://static.cargurus.com/images/forsale/2026/11/14/06/45/2025_honda_civic-pic-862956209633179424-1024x768.jpeg",
"photo_count": null,
"stock_number": "PKC16377",
"distance_miles": 17.7,
"dealer_name": "Ed Napleton Acura Kia of Elmhurst",
"dealer_phone": "(708) 540-2815",
"dealer_city": "Elmhurst",
"dealer_state": "IL",
"dealer_postal_code": "60126",
"seller_type": "DEALER",
"fetched_at": "2026-11-19T18:07:39.632076Z"
}
],
"next_cursor": null
}What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with … [truncated].
- Shortened:
options: 4 items, the first 3 shown.
A run does not always end ok. Results and statuses lists every status and the reasons every scraper shares; the reasons of the CarGurus scrapers are in their own section there.