Auto.dev

Taxes & Fees API

Calculate all applicable taxes and fees for vehicle sales based on VIN, location, and transaction details

Retrieve comprehensive tax and fee calculations for vehicle sales transactions. This API provides accurate, location-specific tax rates and government fees, ensuring compliance with local regulations and transparent pricing for both dealers and consumers.

Endpoint

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

View in Browser

https://api.auto.dev/taxes/19UDE2F31MA000428?zip=94020&price=25000&docFee=200

Parameters

Path Parameters

PropTypeDefault
vin
string
-

Query Parameters

PropTypeDefault
price?
number
-
zip?
string
-
docFee?
number
-
tradeIn?
number
-
rate?
number
-
downPayment?
number
-
months?
number
-

Example Request

curl -X GET "https://api.auto.dev/taxes/19UDE2F31MA000428?zip=94020&price=25000&docFee=200" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response Structure

Example Response

{
  "vehicle": {
    "vin": "19UDE2F31MA000428",
    "year": 2021,
    "make": "Acura",
    "model": "ILX"
  },
  "criteria": {
    "price": "85000",
    "zip": "90210",
    "docFee": 200,
    "tradeIn": 0
  },
  "totalTaxesAndFees": 9585.5,
  "taxes": {
    "citySalesTax": 637.5,
    "combinedSalesTax": 8500,
    "countySalesTax": 212.5,
    "districtSalesTax": 2550,
    "stateSalesTax": 5100,
    "gasGuzzlerTax": 0
  },
  "fees": {
    "titleFee": 23,
    "registrationFee": 65,
    "dmvFee": 797.5,
    "combinedFees": 1085.5,
    "docFee": 200,
    "dmvFees": {
      "Air Quality Fee": 6,
      "Alternative Fuel/Technology Fee": 3,
      "Auto theft deterrence/DUI fee": 2,
      "Fingerprint ID Fee": 1,
      "Highway Patrol Fee": 29,
      "Reflectorized license plate fee": 1,
      "Service Authority for Freeway Emergencies fee": 1,
      "Smog Abatement Fee": 12,
      "Transfer Fee": 15,
      "Transportation Improvement Fee": 175,
      "Vehicle License Fee": 552.5
    }
  }
}

Use Cases

  • Dealership Sales Calculator: Build accurate "out-the-door" pricing for customers including all taxes and fees
  • Multi-State Comparison: Compare total registration costs across different states for purchase optimization
  • Financing Integration: Calculate accurate amounts to finance including all applicable taxes and fees

Error Responses

Invalid Request

{
  "status": 400,
  "error": "Oops! Something went wrong while fetching your taxes.",
  "code": "INVALID_REQUEST",
  "path": "/taxes/WP0AF2A99KS165242?zip=12345",
  "requestId": "b2c3d4e5f6g7h8i9",
  "suggestion": "Please check zip code: 12345"
}

Invalid VIN

{
  "status": 400,
  "error": "VIN must be exactly 17 characters containing only letters and numbers (excluding I, O, Q)",
  "code": "INVALID_VIN_FORMAT",
  "path": "/taxes/123Invalid",
  "requestId": "a1b2c3d4e5f6g7h8"
}

VIN Not Found

{
  "status": 404,
  "error": "No vehicle data found for the provided VIN",
  "code": "VIN_NOT_FOUND",
  "path": "/taxes/WP0AF2A99KS165242",
  "requestId": "c3d4e5f6g7h8i9j0"
}

Interactive API Reference

Ready to test this endpoint? Use our interactive API playground to make live requests and see real responses.

Try Taxes & Fees API

Test this endpoint with your API key and explore live responses

Plan Availability

  • Starter: ❌ Not available
  • Growth: ❌ Not available
  • Scale: ✅ Available

See pricing for plan details and signup.

Was this API reference helpful?