Financial
Total Cost of Ownership API
Estimated costs of owning a vehicle, including taxes, fees, and other expenses, based on a given VIN.
npm install -g @auto.dev/sdk{ "vehicle": { "vin": "1GYKPDRSXSZ102995", "year": 2025, "make": "Cadillac", "model": "XT6", "manufacturer": "General Motors LLC" }, "zip": "76548", "tco": { "total": { "federalTaxCredit": 0, "insurance": 8505, "maintenance": 6695, "repairs": 1881, "taxesAndFees": 4067, "financeInterest": 11134, "depreciation": 34660, "fuel": 10950, "tcoPrice": 77892, "averageCostPerMile": 1.04 }, "years": { "1": { "insurance": 1586, "maintenance": 546, "repairs": 0, "taxesAndFees": 3823, "financeInterest": 3814, "depreciation": 14166, "fuel": 2063, "tcoPrice": 25998, "averageCostPerMile": 1.04 }, "2": { "insurance": 1642, "maintenance": 918, "repairs": 0, "taxesAndFees": 61, "financeInterest": 3078, "depreciation": 5800, "fuel": 2124, "tcoPrice": 13623, "averageCostPerMile": 1.04 }, "3": { "insurance": 1699, "maintenance": 735, "repairs": 0, "taxesAndFees": 61, "financeInterest": 2286, "depreciation": 4739, "fuel": 2188, "tcoPrice": 11708, "averageCostPerMile": 1.04 }, "4": { "insurance": 1758, "maintenance": 2515, "repairs": 745, "taxesAndFees": 61, "financeInterest": 1436, "depreciation": 5313, "fuel": 2254, "tcoPrice": 14082, "averageCostPerMile": 1.04 }, "5": { "insurance": 1820, "maintenance": 1981, "repairs": 1136, "taxesAndFees": 61, "financeInterest": 520, "depreciation": 4642, "fuel": 2321, "tcoPrice": 12481, "averageCostPerMile": 1.04 } } }}In short
Total Cost of Ownership estimates what a vehicle will cost to own, by VIN and ZIP code, in total and year by year: depreciation, insurance, maintenance, repairs, fuel, finance interest, taxes and fees, and the average cost per mile. Send GET /tco/{vin} with your API key. It costs $0.06 per call on Growth, or $0.04 on Scale.
What it returns
- Five-year total
- Cost per year
- Depreciation
- Insurance, maintenance and repairs
- Fuel and finance interest
- Cost per mile
Hand this page to your agent
From a terminal, an agent or your code
The CLI, the MCP tools and the SDK return the data with API metadata stripped. Add --raw on the CLI, or raw: true in the SDK, for the full response.
In a terminal, after auto login. Add --json or --yaml to choose the format.
auto tco 1GYKPDRSXSZ102995 --zip 76548auto_tco, hosted or local, in any MCP client. Arguments are strings.
{ "vin": "1GYKPDRSXSZ102995", "zip": "76548" }TypeScript, from npm install @auto.dev/sdk. Every method resolves to { data, meta }.
import { AutoDev } from "@auto.dev/sdk"const auto = new AutoDev({ apiKey: process.env.AUTODEV_API_KEY }) const params = { zip: "76548" }const { data } = await auto.tco("1GYKPDRSXSZ102995", params)Request reference
One GET request with your API key. JSON comes back.
Endpoint
Path parameter
1 requiredvinstringrequired17-character Vehicle Identification Number (letters and digits, excluding I, O, and Q).
1GYKPDRSXSZ102995
Query parameters
2 optionalzipstringoptionalZIP code (auto-detected from the caller's location when omitted).
76548fromZipstringoptionalOrigin ZIP code.
60695
Authentication
Use any one- Header
Authorization: Bearer <key> - Header
X-API-Key: <key> - Query
?apiKey=<key>
Rate limits
Requests per second- 5Free
- 10Growth
- 50Scale
Total Cost of Ownership pricing
On Growth and Scale. Each call bills on top of the subscription.
Total Cost of Ownership questions
Have other questions? Check out our docs or .
What does the Total Cost of Ownership API return?
Five-year total, cost per year, depreciation, insurance, maintenance and repairs, fuel and finance interest, cost per mile. Every response is JSON from https://api.auto.dev/tco/{vin}.
How much does the Total Cost of Ownership API cost?
Total Cost of Ownership is available from the Growth plan. It costs $0.06 per call on Growth and $0.04 per call on Scale, on top of the plan's subscription.
How do I call the Total Cost of Ownership API?
Send GET /tco/{vin} to api.auto.dev with your API key as a Bearer token in the Authorization header, or as an apiKey query parameter. The path takes vin, the 17-character Vehicle Identification Number (letters and digits, excluding I, O, and Q).
What are the rate limits for Total Cost of Ownership?
Rate limits follow your plan: 5 requests per second on Free, 10 on Growth and 50 on Scale. Total Cost of Ownership needs Growth or above.
Can AI agents use the Total Cost of Ownership API?
Yes. Connect the hosted MCP server, https://mcp.auto.dev/mcp, and agents such as Claude Code and Cursor call it as the auto_tco tool, signing in with OAuth instead of an API key. Or run it locally: npm install -g @auto.dev/sdk, then auto login and auto mcp install.
Pairs well with
This VIN works on every other endpoint, so one lookup becomes a full record.