Larkspur Motors · A car dealership
Trade-in appraisal, priced from the market
An estimate online, a walk-around on the lot, a firm offer from the desk.

About an hour, or 5 minutes to clone and run.You need Node 20 or later and pnpm, a Cardog API key, some Next.jsClone the finished appgit clone https://github.com/cardog-ai/example-trade-in-appraisal.gitRead the build guide
The flow
Larkspur Motors, step by step
What a person does in the finished app, in order.
Website estimate
VIN, kilometres and condition
Walk-around
A priced checklist on the lot
Desk sheet
Comparables, sticker, recalls and the math
Firm offer
The customer answers in their account
Larkspur Motors
An appraisal sheet the desk can stand behind
Retail anchor, kilometres, reconditioning and pack add up to the offer.

From the walk-around
Tires, rims and lights priced on the lot.
The market
Asking prices for the model year, the middle half in spruce.
Suggested offer
The sum of every line above it.
Built on the Cardog SDK
5 calls, one server file
Every call runs on the server through @cardog/api. The key never reaches the browser.
cardog.v2.vin.getByVin(vin)
Decodes the trade to year, make, model and trim, and the refs the other calls take.
cardog.v2.quotes.getByRef(modelYearRef)
Asking-price quartiles from live listings, for the estimate and the market bar.
cardog.v2.listings.search({ filters })
Live listings of the same model near the store: the comparables.
cardog.v2.vin.windowSticker(vin)
The factory window sticker when one is held, to confirm the build.
cardog.v2.recalls.entity(modelYearRef)
Recalls issued for the model and year, on the desk sheet.
Build it yourself
Eleven steps, from an empty folder to a deployed container.