CarsXECarsXE

Use this guide if your application submits a VIN to VinAudit's Specifications API to retrieve vehicle identity and specs. Run the two requests below, adapt your parser, and compare both providers on your own VINs before sending production traffic to CarsXE. See the VinAudit comparison for the broader product comparison.

Prerequisites

Choose the CarsXE endpoint

VinAudit workflowVinAudit requestCarsXE pathFit
Decode a VIN for identity and specsGET https://specifications.vinaudit.com/v3/specifications with key and vinGET https://api.carsxe.com/specs with key and a 17-character vinPartial match. Identity fields overlap. Coverage, field values, and equipment shape can differ. The example below covers this workflow.
Use a VinAudit trim or style ID as a lookup key/v3/specifications?id=… and IDs from /v3/selectionsNo input for these IDs on /specsUnsupported. Preserve the VIN or redesign the lookup around your own identifiers.
Look up specs without a VIN/v3/specifications with year, make, model, and optional trimEvaluate Year Make Model and YMM OptionsPartial match. These are separate workflows. The requests and response mappings below are for VIN input only.

VinAudit's optional include parameter selects response sections. Remove it when moving to /specs. Use Recalls or Vehicle Images if your application needs those datasets. Review their coverage and meaning independently. Stock images and recall records from a separate endpoint may serve a different purpose than the sections your VinAudit integration reads.

Vehicle history, market values, and plate lookups require independent migration and testing. Live listings feeds, five-year ownership-cost estimates, window stickers, and consumer-facing VinAudit history reports have no direct CarsXE equivalent. CarsXE's Vehicle History API is for B2B and internal use.

Before and after

Before with VinAudit

Set VINAUDIT_API_KEY to an active key and run the VinAudit VIN Decoder request. The excerpt below uses the vehicle identity from VinAudit's documented VIN example.

curl --get 'https://specifications.vinaudit.com/v3/specifications' \
  --data-urlencode "key=${VINAUDIT_API_KEY}" \
  --data-urlencode 'vin=1NXBR32E85Z505904' \
  --data-urlencode 'format=json' \
  --data-urlencode 'include=attributes'
{
  "success": true,
  "error": "",
  "attributes": {
    "year": "2005",
    "make": "Toyota",
    "model": "Corolla",
    "trim": "S"
  }
}

After with CarsXE

Set CARSXE_API_KEY to your CarsXE key. The BMW VIN below serves a public sample response. You can set the variable to the literal placeholder YOUR_CARSXE_API_KEY for this VIN to inspect the response shape. Then use your real key and a VIN from your inventory to verify account access and live coverage.

curl --get 'https://api.carsxe.com/specs' \
  --data-urlencode "key=${CARSXE_API_KEY}" \
  --data-urlencode 'vin=WBAFR7C57CC811956'

CarsXE returns HTTP 200. Response excerpt:

{
  "success": true,
  "attributes": {
    "year": "2012",
    "make": "BMW",
    "model": "5-Series",
    "trim": "535i",
    "drivetrain": "RWD",
    "engine_cylinders": ""
  },
  "equipment": {
    "abs_brakes": "Std.",
    "navigation_aid": "Opt."
  }
}

The examples use each provider's sample VIN. For side-by-side validation, replace the VIN in both requests with the same representative VIN.

Map the response fields

Application fieldVinAudit JSONCarsXE JSONMigration change
Vehicle identifierinput.vin (string) when requested by VINinput.vin (string)Carry the requested VIN through your application. Avoid persisting the entire input object because it can contain credentials.
Model year, make, model, trimattributes.year, make, model, trim (strings)Same paths and types where presentCompare spellings and trim labels before joining to a catalog. Parse a year only after checking it is a four-digit string.
Engine and drivetrainattributes.engine, engine_cylinders, drivetrain (strings)Same paths and types where presentPartial match. Names and units vary. A blank cylinder count remains unknown.
Equipmentequipment (array of objects with group, name, and availability or value)equipment (object keyed by feature, with string values)Partial match. Map features by key, for example abs_brakes: "Std.". Preserve optional and unknown states separately.
Colors and warrantiescolors and warranties (arrays of objects)colors[] with category and name, and warranties[] with type, miles, and months (strings where present)Partial match. Options vary by vehicle. Treat an absent section as unknown and normalize warranty units before comparing.
Vendor trim or style selectionselections.trims[], including vendor IDsNo matching ID fieldUnsupported. Use an application-owned catalog mapping if you need stable IDs.

For non-US-market or sparse results, verify the fields you need even when success is true. Starting December 19, 2026, the international fallback runs only when the request passes intl=true. A workflow that needs the full Specifications dataset should handle a possible 404 when the standard decode does not identify the vehicle. Individual fields can still be missing or blank in a successful response.

Adapt your client and test failures

VinAudit may send HTTP 200 with success: false. For example, sending the documented Corolla VIN with the literal placeholder key YOUR_VINAUDIT_API_KEY produces this response (excerpt):

{
  "success": false,
  "error": "api_not_enabled"
}

CarsXE uses HTTP status codes alongside the JSON body. Try the Corolla VIN with key=YOUR_CARSXE_API_KEY as a literal query value. Unlike the BMW sample, that VIN requires a real key, and the request returns HTTP 401:

{
  "success": false,
  "message": "User with this API key was not found or the API key is disabled"
}

Route VinAudit's no_data and CarsXE's 404 to your application's no-result state. Keep invalid input (invalid_vin or CarsXE validation errors), authentication and access errors, and usage limits separate. Check your VinAudit plan for its query allowance and throughput terms. On CarsXE, a quota-blocked request can return 429; an underfunded credit wallet can return 402. For retryable failures, see Errors and Rate Limits & Quotas.

If your existing parser iterates over VinAudit equipment rows, read the feature you need from the CarsXE equipment object instead. This Node.js example keeps the original VIN and normalizes a small subset into an application record.

async function decodeWithCarsXE(vin, key) {
  const url = new URL("https://api.carsxe.com/specs");
  url.search = new URLSearchParams({ key, vin }).toString();

  const response = await fetch(url, { signal: AbortSignal.timeout(5000) });
  if (response.status === 404) return null;

  if (!response.ok) {
    throw new Error(`CarsXE Specifications returned HTTP ${response.status}`);
  }

  const result = await response.json();
  if (result.success !== true) {
    throw new Error("CarsXE Specifications returned an unsuccessful response");
  }

  const attributes = result.attributes ?? {};
  const text = (value) =>
    typeof value === "string" ? value.trim() || null : null;

  const year = text(attributes.year);
  const abs = result.equipment?.abs_brakes;
  const absAvailability =
    { "Std.": "standard", "Opt.": "optional", "N/A": "not_applicable" }[abs] ?? null;

  return {
    vin,
    year: year && /^\d{4}$/.test(year) ? Number(year) : null,
    make: text(attributes.make),
    model: text(attributes.model),
    trim: text(attributes.trim),
    absAvailability,
  };
}

Set required-field rules where you consume this record. For instance, send a decode with missing make or model for review before using it to create an inventory item.

Cut over production traffic