# Vehicle Taxes & Fees API

> Retrieves all applicable taxes and fees for a vehicle sale based on its VIN and location.

Taxes & Fees returns the taxes and fees on a vehicle sale by VIN and ZIP code: state, county, city and district sales tax, title, registration, DMV and documentation fees, and the total. Send GET /taxes/{vin} with your API key. It is available on the Scale plan at $0.005 per call.

## Endpoint

`GET https://api.auto.dev/taxes/{vin}`

- `vin` (path): 17-character Vehicle Identification Number (letters and digits, excluding I, O, and Q). Format: `[A-HJ-NPR-Z0-9]{17}`.
- `price` (query, optional): Sale price in US dollars.
- `zip` (query, optional): ZIP code for location-specific taxes and fees.
- `docFee` (query, optional): Dealer documentation fee.
- `tradeIn` (query, optional): Trade-in value.
- `rate` (query, optional): Finance rate.
- `downPayment` (query, optional): Down payment.
- `months` (query, optional): Loan term in months.

Authenticate with `Authorization: Bearer <key>`, `?apiKey=<key>` or `X-API-Key: <key>`.

```sh
curl "https://api.auto.dev/taxes/WP0AF2A99KS165242?price=25000&zip=33132&docFee=200&tradeIn=15000" \
  -H "Authorization: Bearer $AUTODEV_API_KEY"
```

## What it returns

- Total taxes and fees
- State, county, city and district sales tax
- Title and registration fees
- DMV fees
- Documentation fee

Response:

```json
{
  "vehicle": {
    "vin": "WP0AF2A99KS165242",
    "year": "2019",
    "make": "Porsche",
    "model": "911"
  },
  "criteria": {
    "price": 25000,
    "zip": "33132",
    "docFee": 200,
    "tradeIn": "15000"
  },
  "totalTaxesAndFees": 1260.75,
  "taxes": {
    "citySalesTax": 0,
    "combinedSalesTax": 700,
    "countySalesTax": 100,
    "districtSalesTax": 0,
    "stateSalesTax": 600,
    "gasGuzzlerTax": 0
  },
  "fees": {
    "titleFee": 85.25,
    "registrationFee": 247.5,
    "dmvFee": 28,
    "combinedFees": 560.75,
    "docFee": 200,
    "dmvFees": {
      "License Plate Fee": 28
    }
  }
}
```

## Pricing

- Free: not available on this plan, 5 requests per second
- Growth: not available on this plan, 10 requests per second
- Scale: $0.005 per call, 50 requests per second

## Use it from an AI agent

Hosted MCP server (recommended): https://mcp.auto.dev/mcp, named `auto-dev`. Sign-in is OAuth on first use, so agents never handle an API key.

- Claude Code: `claude mcp add --transport http auto-dev https://mcp.auto.dev/mcp`. Then run /mcp in Claude Code and choose Authenticate for auto-dev.
- Claude Desktop: In Settings, open Connectors, choose Add Custom Connector, name it auto-dev and paste https://mcp.auto.dev/mcp, then sign in
- Cursor (~/.cursor/mcp.json): `{"mcpServers":{"auto-dev":{"url":"https://mcp.auto.dev/mcp"}}}`. Restart Cursor. Sign-in opens on the first tool call.
- VS Code (.vscode/mcp.json): `{"servers":{"auto-dev":{"type":"http","url":"https://mcp.auto.dev/mcp"}}}`. For Copilot agent mode, VS Code 1.99 or later. Sign-in opens on first use.
- Windsurf (~/.codeium/windsurf/mcp_config.json): `{"mcpServers":{"auto-dev":{"serverUrl":"https://mcp.auto.dev/mcp"}}}`. Restart Windsurf. Sign-in opens on the first tool call.
- Grok Bot: send `Add a custom MCP server called auto-dev at https://mcp.auto.dev/mcp`. Confirm, then choose Authorize and sign in. Type @auto-dev in a chat to use it.
- Muse: send `Connect Auto.dev`. Or open Settings, then Connectors, and choose Connect next to Auto.dev. Sign in when asked.
- ChatGPT and dots: At chatgpt.com/plugins, choose + and Add custom MCP server, paste https://mcp.auto.dev/mcp and choose OAuth, then Create as a plugin. Your dot uses the same plugin

Or install the `auto` CLI, the local MCP server (`auto --mcp`) and the JavaScript SDK in one package:

```sh
npm install -g @auto.dev/sdk
auto login
auto mcp install
```

- Agent skill: `npx skills add drivly/auto-dev-skill`

This API is the `auto_taxes` MCP tool. From the terminal: `auto taxes WP0AF2A99KS165242 --price 25000 --zip 33132 --doc-fee 200 --trade-in 15000`

## Questions

### What does the Taxes & Fees API return?

Total taxes and fees, state, county, city and district sales tax, title and registration fees, DMV fees, documentation fee. Every response is JSON from `https://api.auto.dev/taxes/{vin}`.

### How much does the Taxes & Fees API cost?

Taxes & Fees is available from the Scale plan. It costs $0.005 per call on Scale, on top of the plan's subscription.

### How do I call the Taxes & Fees API?

Send `GET /taxes/{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 Taxes & Fees?

Rate limits follow your plan: 5 requests per second on Free, 10 on Growth and 50 on Scale. Taxes & Fees needs Scale or above.

### Can AI agents use the Taxes & Fees 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_taxes` 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`.

## Related APIs

- [Interest Rates](https://www.auto.dev/interest-rates.md): Real-time automotive financing rates and lending information.
- [Vehicle Payments](https://www.auto.dev/vehicle-payments.md): Calculate monthly payments, financing options, and payment estimates.
- [Total Cost of Ownership](https://www.auto.dev/total-cost-ownership.md): Comprehensive ownership costs including depreciation, maintenance, and operating expenses.

## References

- Docs: https://docs.auto.dev/v2/products/taxes-fees
- OpenAPI: https://www.auto.dev/openapi.json (JSON), https://www.auto.dev/openapi.yaml (YAML)
- llms.txt: https://www.auto.dev/llms.txt
- Pricing: https://www.auto.dev/pricing
- Sign up: https://www.auto.dev/signin?redirectUrl=%2Fonboarding
