Skip to main content
POST
/
api
/
cargurus
/
listings
/
search
/cargurus/listings/search
curl --request POST \
  --url https://api.anysite.io/api/cargurus/listings/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "makes": [],
  "count": 2,
  "timeout": 300,
  "models": [],
  "stock_type": "used",
  "zip": "<string>",
  "distance": 50000,
  "price_min": 1,
  "price_max": 1,
  "mileage_min": 1,
  "mileage_max": 1,
  "year_min": 1901,
  "year_max": 1901,
  "body_types": [],
  "fuel_types": [],
  "transmissions": [],
  "drivetrains": [],
  "engines": [],
  "exterior_colors": [],
  "interior_colors": [],
  "seats": [],
  "deal_ratings": [],
  "vehicle_history": [],
  "seller_types": [],
  "seller_ids": [],
  "days_on_market_max": 1,
  "mpg_min": 1,
  "only_with_photos": false,
  "only_price_drops": false,
  "only_with_financing": false,
  "only_fees_included": false,
  "hide_salvage": false,
  "hide_fleet": false,
  "sort": "best_match"
}
'
[
  {
    "id": "<string>",
    "@type": "CargurusListing",
    "url": "<string>",
    "vin": "<string>",
    "make": "<string>",
    "model": "<string>",
    "year": 123,
    "trim": "<string>",
    "body_type": "<string>",
    "price": 123,
    "total_price": 123,
    "imv": 123,
    "deal_rating": "<string>",
    "deal_score": 123,
    "mileage": 123,
    "drivetrain": "<string>",
    "transmission": "<string>",
    "engine": "<string>",
    "doors": 123,
    "exterior_color": "<string>",
    "interior_color": "<string>",
    "fuel_type": "<string>",
    "city_mpg": 123,
    "highway_mpg": 123,
    "combined_mpg": 123,
    "ev_battery": {
      "@type": "CargurusEvBattery",
      "capacity_kwh": 123,
      "range_mi": 123,
      "charge_time_240v_hr": 123
    },
    "is_cpo": false,
    "is_new": false,
    "safety_rating": 123,
    "days_on_market": 123,
    "distance": 123,
    "stock_number": "<string>",
    "price_drop": 123,
    "original_price": 123,
    "image": "<string>",
    "image_count": 123,
    "options": [],
    "seller_id": "<string>",
    "seller_name": "<string>",
    "seller_city": "<string>",
    "seller_state": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
makes
enum<string>[]
required

Vehicle makes to search

Minimum array length: 1
Available options:
acura,
alfa_romeo,
am_general,
amc,
aston_martin,
auburn,
audi,
austin,
austin_healey,
bentley,
bmw,
bugatti,
buick,
cadillac,
caterham,
chevrolet,
chrysler,
citroen,
daewoo,
daihatsu,
datsun,
de_tomaso,
delorean,
desoto,
dodge,
durant,
eagle,
edsel,
excalibur,
ferrari,
fiat,
fisker,
ford,
freightliner,
genesis,
geo,
ghia,
gmc,
graham,
honda,
hudson,
hummer,
hyundai,
ineos,
infiniti,
intermeccanica,
international_harvester,
isuzu,
jaguar,
jeep,
jensen,
kaiser,
karma,
kia,
koenigsegg,
lada,
lamborghini,
lancia,
land_rover,
lexus,
lincoln,
lotus,
lucid,
maserati,
maybach,
mazda,
mclaren,
mercedes_benz,
mercury,
mg,
mini,
mitsubishi,
mobility_ventures,
morgan,
morris,
nash,
nissan,
oldsmobile,
overland,
packard,
pagani,
paige,
panoz,
peerless,
peugeot,
pininfarina,
plymouth,
polestar,
pontiac,
porsche,
qvale,
ram,
renault,
rivian,
rolls_royce,
rover,
saab,
saturn,
scion,
shelby,
smart,
ssc,
studebaker,
subaru,
sunbeam,
suzuki,
tesla,
toyota,
triumph,
vinfast,
volkswagen,
volvo,
vpg,
white,
willys
count
integer
required

Max number of results to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
models
string[]

Model names to restrict to (e.g. 'RAV4', 'Camry'); requires exactly one make

stock_type
enum<string>
default:used

Inventory type

Available options:
used,
new,
certified,
third_party_certified
zip
string | null

Postal code to search around (best-effort)

Minimum string length: 3
distance
integer
default:50000

Search radius in miles around the location

Required range: 1 <= x <= 50000
price_min
integer | null

Minimum price (USD)

Required range: x >= 0
price_max
integer | null

Maximum price (USD)

Required range: x >= 0
mileage_min
integer | null

Minimum mileage (miles)

Required range: x >= 0
mileage_max
integer | null

Maximum mileage (miles)

Required range: x >= 0
year_min
integer | null

Minimum model year

Required range: x >= 1900
year_max
integer | null

Maximum model year

Required range: x >= 1900
body_types
enum<string>[]

Body styles to include

Available options:
coupe,
convertible,
hatchback,
minivan,
pickup_truck,
sedan,
suv,
van,
wagon
fuel_types
enum<string>[]

Fuel types to include

Available options:
diesel,
electric,
gasoline,
hybrid,
cng,
flex_fuel,
biodiesel,
propane,
fuel_cell
transmissions
enum<string>[]

Transmission types to include

Available options:
AUTOMATIC,
MANUAL
drivetrains
enum<string>[]

Drivetrain types to include

Available options:
FOUR_WHEEL_DRIVE,
FOUR_BY_TWO,
REAR_WHEEL_DRIVE,
ALL_WHEEL_DRIVE,
FRONT_WHEEL_DRIVE
engines
enum<string>[]

Engine configurations to include

Available options:
I4,
I5,
I6,
V6,
V8,
V12
exterior_colors
enum<string>[]

Exterior colors to include

Available options:
BLACK,
WHITE,
GRAY,
SILVER,
BLUE,
RED,
GREEN,
BROWN,
GOLD,
ORANGE,
YELLOW,
PURPLE,
TEAL,
PINK,
UNKNOWN
interior_colors
enum<string>[]

Interior colors to include

Available options:
BLACK,
WHITE,
GRAY,
SILVER,
BLUE,
RED,
GREEN,
BROWN,
GOLD,
ORANGE,
YELLOW,
PURPLE,
TEAL,
PINK,
UNKNOWN
seats
enum<string>[]

Number of seats

Available options:
TWO,
FOUR,
FIVE,
SIX,
SEVEN,
AT_LEAST_EIGHT
deal_ratings
enum<string>[]

Deal ratings to include

Available options:
great_deal,
good_deal,
fair_deal,
high_price,
overpriced,
no_price_analysis,
uncertain
vehicle_history
enum<string>[]

Vehicle history requirements

Available options:
CLEAN_TITLE,
SINGLE_OWNER,
NON_FLEET,
LEMON_FREE,
NO_THEFT_HISTORY,
UNDAMAGED_FRAME,
NON_SALVAGE
nhtsa_safety_min
enum<string> | null

Minimum NHTSA overall safety rating

Available options:
3,
4,
5
seller_types
enum<string>[]

Seller types to include

Available options:
FRANCHISE_DEALER,
PAYING_DEALER
dealer_rating_min
enum<string> | null

Minimum average dealer rating

Available options:
ONE_STAR_AND_MORE,
TWO_STAR_AND_MORE,
THREE_STAR_AND_MORE,
FOUR_STAR_AND_MORE,
FIVE_STAR
seller_ids
string[]

Restrict to specific dealer ids

days_on_market_max
integer | null

Maximum days on market

Required range: x >= 0
mpg_min
integer | null

Minimum combined fuel economy (MPG)

Required range: x >= 0
only_with_photos
boolean
default:false

Only listings that have photos

only_price_drops
boolean
default:false

Only listings with a recent price drop

only_with_financing
boolean
default:false

Only listings with online financing

only_fees_included
boolean
default:false

Only listings that include dealer fees in the price

hide_salvage
boolean
default:false

Hide listings with a salvage history

hide_fleet
boolean
default:false

Hide fleet (rental or corporate) vehicles

sort
enum<string>
default:best_match

Sort order

Available options:
best_match,
best_deal,
price_low,
price_high,
mileage_low,
mileage_high,
distance,
year_new,
year_old,
newest_listed,
oldest_listed

Response

Successful Response

id
string
required
@type
string
default:CargurusListing
url
string | null
vin
string | null
make
string | null
model
string | null
year
integer | null
trim
string | null
body_type
string | null
price
number | null
total_price
number | null
imv
number | null
deal_rating
string | null
deal_score
number | null
mileage
number | null
drivetrain
string | null
transmission
string | null
engine
string | null
doors
integer | null
exterior_color
string | null
interior_color
string | null
fuel_type
string | null
city_mpg
number | null
highway_mpg
number | null
combined_mpg
number | null
ev_battery
object
is_cpo
boolean
default:false
is_new
boolean
default:false
safety_rating
integer | null
days_on_market
integer | null
distance
number | null
stock_number
string | null
price_drop
number | null
original_price
number | null
image
string | null
image_count
integer | null
options
string[]
seller_id
string | null
seller_name
string | null
seller_city
string | null
seller_state
string | null