API reference
Listings
Last updated:
Ref-native listing search, counts, facets
- GET
/v2/listings/searchSearch listings — ref filters + spec filters - GET
/v2/listings/countCount matching listings (distinct VINs) - GET
/v2/listings/facetsFacets over the filtered set — (ref, name, count) buckets - GET
/v2/listings/id/{id}One listing by id - GET
/v2/listings/vin/{vin}Listing detail by VIN — listing + variant + full canonical spec, one query
/v2/listings/searchsince 2026-07-30Search listings — ref filters + spec filters
Filters are entity refs, checked for grammar and then registry membership — an unknown ref returns a 400 naming it, never a silent fuzzy match. Sort: `?sort=<field>&order=<asc|desc>`.
Query parameters
makestring[]optionalMake ref, repeatable — e.g. "make:mini"
modelstring[]optionalModel ref, repeatable — e.g. "model:mini/hardtop"
nanostring[]optionalNano ref (fungible build grain), repeatable — e.g. "nano:5TDGSKFCRS"
bodyStylestring[]optionalBody-style ref, repeatable — e.g. "body-style:sedan-saloon"
fuelTypestring[]optionalFuel-type ref, repeatable — e.g. "fuel-type:electric"
driveTypestring[]optionalDrive-type ref, repeatable — e.g. "drive-type:awd-all-wheel-drive"
transmissionstring[]optionalTransmission ref, repeatable — e.g. "transmission:automatic"
electrificationstring[]optionalElectrification-level ref, repeatable — e.g. "electrification-level:bev-battery-electric-vehicle"
vehicleTypestring[]optionalVehicle-type ref, repeatable — e.g. "vehicle-type:passenger-car"
trimstring[]optionalFree-text trim (dealer-entered, no domain), repeatable
sellerstring[]optionalSeller id, repeatable
exteriorColorstring[]optionalNormalized exterior color, repeatable
interiorColorstring[]optionalNormalized interior color, repeatable
year.minintegeroptionalModel year lower bound
year.maxintegeroptionalModel year upper bound
price.minnumberoptionalPrice lower bound
price.maxnumberoptionalPrice upper bound
odometer.minnumberoptionalOdometer lower bound
odometer.maxnumberoptionalOdometer upper bound
latnumberoptionalLatitude (with lng + radius)
lngnumberoptionalLongitude (with lat + radius)
radiusnumberoptionalRadius in km (with lat + lng)
verifiedbooleanoptionalVerified-only gate (defaults true)
createdAfterstring (date-time)optionalFreshness floor on listing creation
updatedAfterstring (date-time)optionalFreshness floor on listing update
spec.{attributeId}stringoptionalCanonical spec filter, dynamic keys: numeric attributes take spec.{id}.min/.max (e.g. spec.fuelEconomyCombined.min=35); availability attributes repeat tri-state values (spec.heatedSeatsFront=standard). Attribute ids come from GET /v2/specs/catalog; unknown ids 400 with the id named.
pageintegeroptionalPage number
limitintegeroptionalPage size, 1 to 250; a larger value is refused with 400
sortstringoptionalSort field
order"asc" | "desc"optionalSort order
curl "https://api.cardog.app/v2/listings/search?make=make:tesla&year.min=2022&limit=5" \
-H "x-api-key: $CARDOG_API_KEY" \
-H "Cardog-Version: 2026-10-26"Response
200ListingSearchlistingsobject[]idstringvinstringpricenumbercurrencystringoptionalodometernumber | nulloptionalyearintegermakestringmodelstringtrimstring | nulloptionalmakeRefstring | nulloptionalmodelRefstring | nulloptionalnanostring | nulloptionalmediaobject[]optionalpaginationobjectpageintegerlimitintegersortobjectoptionalfieldstringoptionalorderstringoptionalfiltersobjectidsstring[]optionalmakesstring[]optionalmodelsstring[]optionalnanosstring[]optionalbodyStylesstring[]optionalfuelTypesstring[]optionaldriveTypesstring[]optionaltransmissionsstring[]optionalelectrificationLevelsstring[]optionalvehicleTypesstring[]optionaltrimsstring[]optionalsaleTypesstring[]optionalsellersstring[]optionalyearobjectoptionalminnumberoptionalmaxnumberoptionalpriceobjectoptionalminnumberoptionalmaxnumberoptionalodometerobjectoptionalminnumberoptionalmaxnumberoptionalcylindersobjectoptionalminnumberoptionalmaxnumberoptionaldoorsobjectoptionalminnumberoptionalmaxnumberoptionalexteriorColorsstring[]optionalinteriorColorsstring[]optionallocationobjectoptionallatnumberlngnumberradiusnumberverifiedbooleanoptionalcreatedAfterstring (date-time)optionalupdatedAfterstring (date-time)optionalspecobjectoptionalSpec filters keyed by attribute id (see GET /v2/specs/catalog). Numeric attributes take a {min, max} range; equipment attributes take availability values ("standard", "optional", "unavailable"). Example: {"fuelEconomyCombined": {"min": 35}, "heatedSeatsFront": ["standard"]}
Example response
4 keysErrors400401402429500every non-2xx body is the error envelope
/v2/listings/countsince 2026-07-30Count matching listings (distinct VINs)
Query parameters
makestring[]optionalMake ref, repeatable — e.g. "make:mini"
modelstring[]optionalModel ref, repeatable — e.g. "model:mini/hardtop"
nanostring[]optionalNano ref (fungible build grain), repeatable — e.g. "nano:5TDGSKFCRS"
bodyStylestring[]optionalBody-style ref, repeatable — e.g. "body-style:sedan-saloon"
fuelTypestring[]optionalFuel-type ref, repeatable — e.g. "fuel-type:electric"
driveTypestring[]optionalDrive-type ref, repeatable — e.g. "drive-type:awd-all-wheel-drive"
transmissionstring[]optionalTransmission ref, repeatable — e.g. "transmission:automatic"
electrificationstring[]optionalElectrification-level ref, repeatable — e.g. "electrification-level:bev-battery-electric-vehicle"
vehicleTypestring[]optionalVehicle-type ref, repeatable — e.g. "vehicle-type:passenger-car"
trimstring[]optionalFree-text trim (dealer-entered, no domain), repeatable
sellerstring[]optionalSeller id, repeatable
exteriorColorstring[]optionalNormalized exterior color, repeatable
interiorColorstring[]optionalNormalized interior color, repeatable
year.minintegeroptionalModel year lower bound
year.maxintegeroptionalModel year upper bound
price.minnumberoptionalPrice lower bound
price.maxnumberoptionalPrice upper bound
odometer.minnumberoptionalOdometer lower bound
odometer.maxnumberoptionalOdometer upper bound
latnumberoptionalLatitude (with lng + radius)
lngnumberoptionalLongitude (with lat + radius)
radiusnumberoptionalRadius in km (with lat + lng)
verifiedbooleanoptionalVerified-only gate (defaults true)
createdAfterstring (date-time)optionalFreshness floor on listing creation
updatedAfterstring (date-time)optionalFreshness floor on listing update
spec.{attributeId}stringoptionalCanonical spec filter, dynamic keys: numeric attributes take spec.{id}.min/.max (e.g. spec.fuelEconomyCombined.min=35); availability attributes repeat tri-state values (spec.heatedSeatsFront=standard). Attribute ids come from GET /v2/specs/catalog; unknown ids 400 with the id named.
curl "https://api.cardog.app/v2/listings/count?make=make:tesla" \
-H "x-api-key: $CARDOG_API_KEY" \
-H "Cardog-Version: 2026-10-26"Response
200ListingCountcountintegercountIsApproximatebooleanoptionalfiltersobjectidsstring[]optionalmakesstring[]optionalmodelsstring[]optionalnanosstring[]optionalbodyStylesstring[]optionalfuelTypesstring[]optionaldriveTypesstring[]optionaltransmissionsstring[]optionalelectrificationLevelsstring[]optionalvehicleTypesstring[]optionaltrimsstring[]optionalsaleTypesstring[]optionalsellersstring[]optionalyearobjectoptionalminnumberoptionalmaxnumberoptionalpriceobjectoptionalminnumberoptionalmaxnumberoptionalodometerobjectoptionalminnumberoptionalmaxnumberoptionalcylindersobjectoptionalminnumberoptionalmaxnumberoptionaldoorsobjectoptionalminnumberoptionalmaxnumberoptionalexteriorColorsstring[]optionalinteriorColorsstring[]optionallocationobjectoptionallatnumberlngnumberradiusnumberverifiedbooleanoptionalcreatedAfterstring (date-time)optionalupdatedAfterstring (date-time)optionalspecobjectoptionalSpec filters keyed by attribute id (see GET /v2/specs/catalog). Numeric attributes take a {min, max} range; equipment attributes take availability values ("standard", "optional", "unavailable"). Example: {"fuelEconomyCombined": {"min": 35}, "heatedSeatsFront": ["standard"]}
Example response
3 keysErrors400401402429500every non-2xx body is the error envelope
/v2/listings/facetssince 2026-07-30Facets over the filtered set — (ref, name, count) buckets
Query parameters
makestring[]optionalMake ref, repeatable — e.g. "make:mini"
modelstring[]optionalModel ref, repeatable — e.g. "model:mini/hardtop"
nanostring[]optionalNano ref (fungible build grain), repeatable — e.g. "nano:5TDGSKFCRS"
bodyStylestring[]optionalBody-style ref, repeatable — e.g. "body-style:sedan-saloon"
fuelTypestring[]optionalFuel-type ref, repeatable — e.g. "fuel-type:electric"
driveTypestring[]optionalDrive-type ref, repeatable — e.g. "drive-type:awd-all-wheel-drive"
transmissionstring[]optionalTransmission ref, repeatable — e.g. "transmission:automatic"
electrificationstring[]optionalElectrification-level ref, repeatable — e.g. "electrification-level:bev-battery-electric-vehicle"
vehicleTypestring[]optionalVehicle-type ref, repeatable — e.g. "vehicle-type:passenger-car"
trimstring[]optionalFree-text trim (dealer-entered, no domain), repeatable
sellerstring[]optionalSeller id, repeatable
exteriorColorstring[]optionalNormalized exterior color, repeatable
interiorColorstring[]optionalNormalized interior color, repeatable
year.minintegeroptionalModel year lower bound
year.maxintegeroptionalModel year upper bound
price.minnumberoptionalPrice lower bound
price.maxnumberoptionalPrice upper bound
odometer.minnumberoptionalOdometer lower bound
odometer.maxnumberoptionalOdometer upper bound
latnumberoptionalLatitude (with lng + radius)
lngnumberoptionalLongitude (with lat + radius)
radiusnumberoptionalRadius in km (with lat + lng)
verifiedbooleanoptionalVerified-only gate (defaults true)
createdAfterstring (date-time)optionalFreshness floor on listing creation
updatedAfterstring (date-time)optionalFreshness floor on listing update
spec.{attributeId}stringoptionalCanonical spec filter, dynamic keys: numeric attributes take spec.{id}.min/.max (e.g. spec.fuelEconomyCombined.min=35); availability attributes repeat tri-state values (spec.heatedSeatsFront=standard). Attribute ids come from GET /v2/specs/catalog; unknown ids 400 with the id named.
curl "https://api.cardog.app/v2/listings/facets?make=make:tesla" \
-H "x-api-key: $CARDOG_API_KEY" \
-H "Cardog-Version: 2026-10-26"Response
200ListingFacetsmakesobject[]refstringnamestringcountintegerparentRefstringoptionalmodelsobject[]refstringnamestringcountintegerparentRefstringoptionalbodyStylesobject[]refstringnamestringcountintegerparentRefstringoptionalfuelTypesobject[]refstringnamestringcountintegerparentRefstringoptionaldriveTypesobject[]refstringnamestringcountintegerparentRefstringoptionaltransmissionsobject[]refstringnamestringcountintegerparentRefstringoptionalelectrificationLevelsobject[]refstringnamestringcountintegerparentRefstringoptionalvehicleTypesobject[]refstringnamestringcountintegerparentRefstringoptionalexteriorColorsobject[]refstringnamestringcountintegerparentRefstringoptionalsaleTypesobject[]refstringnamestringcountintegerparentRefstringoptionalyearsobjectoptionalminnumbermaxnumberpricesobjectoptionalminnumbermaxnumberodometerobjectoptionalminnumbermaxnumberpriceHistogramobject[]optionalminnumbermaxnumbercountnumberfeatureFacetsobject[]optionalidstringnamestringcategory"tech" | "comfort" | "safety" | "ev"countintegerspecRangesobjectoptionalfeatureFacetsAreApproximatebooleanoptionaltotalCountintegertotalCountIsApproximatebooleanoptionalExample response
19 keysErrors400401402429500every non-2xx body is the error envelope
/v2/listings/id/{id}since 2026-07-30One listing by id
Path parameters
idstringrequiredListing id
curl "https://api.cardog.app/v2/listings/id/$LISTING_ID" \
-H "x-api-key: $CARDOG_API_KEY" \
-H "Cardog-Version: 2026-10-26"Response
200ListingDetailidstringvinstringpricenumbercurrencystringoptionalodometernumber | nulloptionalyearintegermakestringmodelstringtrimstring | nulloptionalmakeRefstring | nulloptionalmodelRefstring | nulloptionalnanostring | nulloptionalmediaobject[]optionalvariantobject | nullidstringtrimstring | nulloptionalstyleNamestring | nulloptionalregionstring | nulloptionalyearinteger | nulloptionalmsrpnumber | nulloptionalspecobject | nullExample response
63 keysErrors400401404429500every non-2xx body is the error envelope
/v2/listings/vin/{vin}since 2026-07-30Listing detail by VIN — listing + variant + full canonical spec, one query
Path parameters
vinstringrequired17-character VIN
curl "https://api.cardog.app/v2/listings/vin/2T3R1RFV7MW180266" \
-H "x-api-key: $CARDOG_API_KEY" \
-H "Cardog-Version: 2026-10-26"Response
200ListingDetailidstringvinstringpricenumbercurrencystringoptionalodometernumber | nulloptionalyearintegermakestringmodelstringtrimstring | nulloptionalmakeRefstring | nulloptionalmodelRefstring | nulloptionalnanostring | nulloptionalmediaobject[]optionalvariantobject | nullidstringtrimstring | nulloptionalstyleNamestring | nulloptionalregionstring | nulloptionalyearinteger | nulloptionalmsrpnumber | nulloptionalspecobject | nullExample response
63 keysErrors400401404429500every non-2xx body is the error envelope
Generated from the contract. Machine-readable spec: GET https://api.cardog.app/v2/openapi.json · markdown twin: /docs/reference/listings.md
Was this helpful?