
Vehicle finance
Vehicle Total Cost of Ownership API
What does the Vehicle Total Cost of Ownership API do?
Estimate depreciation, fuel or electricity, insurance, maintenance and registration for a vehicle by VIN, US ZIP code and annual mileage.
- Five-year projection by default
- Monthly average and cost breakdown
- Sources and assumptions for each component

Our benefits
Estimate the costs beyond the loan payment
Model an ownership period
Change the annual mileage and ownership period to compare scenarios for the same vehicle.
Price energy locally
Apply regional fuel prices or state residential electricity rates. Plug-in hybrids include both energy sources.
Compare vehicles
See the cost difference against a reference EV when a comparable model is available.
For developers and AI agents
Request a projection
Supply a VIN with a valid check digit, a US ZIP code and annual mileage. The response excerpt illustrates the five-year horizon.
- Coverage
- A projection requires a supported light-duty vehicle and a known MSRP. Ineligible vehicles return HTTP 422.
curl 'https://api.carsxe.com/v1/vehicle/tco?key=YOUR_API_KEY&vin=4T1BF1FK6HU280187&zip=20878&annual_miles=12000'{
"success": true,
"tco_summary": {
"years": 5
}
}Customer stories
Companies love building with CarsXE
How teams build on CarsXE vehicle data.

“
CarsXE offers MotorTango's customers accurate and reliable vehicle data across many makes and models. Their VIN decoder and specs API are second to none.
Andy Liakos
CTO, MotorTango

“
The API is super easy to work with...it's a damn good API. And trust me, I deal with a lot of third parties and you're the creme de la creme. It's great. Documentation is sound, the result sets are sound. I have nothing to say but, man, it's too easy to work with.
Alan Deitch
Senior Engineering Leader, SpotHero

“
When a customer calls a dealership, we know they have an open recall instantly. That changes what the call is worth. Our agents book the recall alongside whatever the customer originally called about, and the dealer captures service work that used to walk out the door unnoticed. CarsXE's recall data is what makes that possible on every call, at every rooftop we run.
Samee Khan
Founder & CEO, PAM

“
With their VIN decoder and images, we can accurately document what's needed to perform repairs and ADAS calibrations, and we do it much more efficiently — saving dozens of minutes on every single repair. The result is consistent, reliable service at scale for all of our customers, backed by data we trust. CarsXE has become a critical part of our workflow and our ability to grow.
Philip Brossy
Founder & CEO, ADAS Safe
Same key, more endpoints
Keep building from the vehicle record
Workflows
Not sure which APIs you need?
Paste your company's website and we'll suggest a step-by-step workflow built from real CarsXE APIs, with a link to the docs for each one.
FAQ
Frequently asked questions
Can't find the answer you're looking for? Reach out to our customer support team.

Get started
Add ownership costs to your calculator
Access and billing depend on your account configuration.

