---
title: "Migrate from Vehicle Databases"
description: "Evaluate CarsXE Specifications for Advanced VIN Decode v2 when migrating from Vehicle Databases."
canonical_url: "https://docs.carsxe.com/docs/guides/migrate/vehicle-databases"
markdown_url: "https://docs.carsxe.com/docs/guides/migrate/vehicle-databases.md"
last_updated: "1980-01-01"
x_farming_labs_generated_preamble: true
agent:
  task: "Compare a Vehicle Databases lookup for Advanced VIN Decode v2 with CarsXE Specifications."
  outcome: "The CarsXE request returns HTTP 200 on the documented sample VIN and the application reads the mapped fields."
  appliesTo:
    version:
      - "Vehicle Databases Advanced VIN Decode v2 and CarsXE Specifications at /specs"
  prerequisites:
    - "Credentials for Vehicle Databases and CarsXE, plus a representative 17-character VIN."
  verification:
    - "The documented sample returns a BMW 5-Series with model year \"2012\"."
    - "Compare both providers on the same VIN and verify application handling for an HTTP 404 or an absent field."
  failureModes:
    - symptom: "CarsXE returns HTTP 401 or rejects the VIN."
      resolution: "Check the key and the endpoint's required query parameters. Treat an HTTP 404 as a missing lookup result."
    - symptom: "Required fields go missing or error and latency thresholds are exceeded during rollout."
      resolution: "Route the affected workflow back to Vehicle Databases and confirm the original client can serve requests."
---

# Migrate from Vehicle Databases
URL: /docs/guides/migrate/vehicle-databases
LLM index: /llms.txt
Description: Evaluate CarsXE Specifications for Advanced VIN Decode v2 when migrating from Vehicle Databases.
Related: /docs/guides/migrate, /docs/products/specifications, /docs/guides/errors

<!-- farming-labs:agent-contract:start -->
## Agent Contract

Task: Compare a Vehicle Databases lookup for Advanced VIN Decode v2 with CarsXE Specifications.
Outcome: The CarsXE request returns HTTP 200 on the documented sample VIN and the application reads the mapped fields.

### Applies To

- Version: `Vehicle Databases Advanced VIN Decode v2 and CarsXE Specifications at /specs`

### Prerequisites

- Credentials for Vehicle Databases and CarsXE, plus a representative 17-character VIN.

### Verification

- The documented sample returns a BMW 5-Series with model year "2012".
- Compare both providers on the same VIN and verify application handling for an HTTP 404 or an absent field.

### Failure Modes

- CarsXE returns HTTP 401 or rejects the VIN. — Recovery: Check the key and the endpoint's required query parameters. Treat an HTTP 404 as a missing lookup result.
- Required fields go missing or error and latency thresholds are exceeded during rollout. — Recovery: Route the affected workflow back to Vehicle Databases and confirm the original client can serve requests.
<!-- farming-labs:agent-contract:end -->

Use this guide to evaluate CarsXE for **Advanced VIN Decode v2**. Advanced VIN Decode contains more than vehicle identity. Review any workflows that depend on detailed equipment, package codes, or warranty values separately. [CarsXE comparison](https://carsxe.com/alternatives/vehicle-databases-api)

## Prerequisites

- Keep your existing Vehicle Databases access for the comparison and rollback.
- [Get a CarsXE API key](/docs/get-started#api-keys). Confirm coverage and plan availability for [Specifications](/docs/products/specifications). Keep keys server-side and redact them from request logs.
- Choose representative VINs from your inventory and compare data only where your agreements allow it.

## Before and after

**Vehicle Databases**. `GET https://api.vehicledatabases.com/advanced-vin-decode/v2/{vin}` with the `x-authkey` header. Use an API key with Advanced VIN Decode v2 access. The provider's public example reports a 2006 Dodge Stratus SXT in `data`. The v1 response uses different nesting, so use your v2 parser in this comparison. [Vehicle Databases Advanced VIN Decode documentation](https://vehicledatabases.com/docs/api-documentation/advanced-vin-decode)

```bash
curl 'https://api.vehicledatabases.com/advanced-vin-decode/v2/1B3AL46XX6N227698' \
  --header "x-authkey: ${VEHICLE_DATABASES_API_KEY}"
```

**CarsXE**. Call `GET /specs` with `key` and the 17-character `vin` in the query. Set `CARSXE_API_KEY` to your key and run the documented sample.

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

The documented sample returns a BMW 5-Series with model year `"2012"`. See the [complete CarsXE response example](/docs/products/specifications#example). Repeat both providers' requests on the same VIN to verify coverage.

## Map the response fields

| Required data | Vehicle Databases | CarsXE | Migration change |
| --- | --- | --- | --- |
| Decode result | `status` (string) and `data` (object) | HTTP status and `success` (boolean) | Check both HTTP status and the success flag before reading fields. |
| Model year and identity | `data.year` (number) and `data.make`, `data.model`, `data.trim` (strings in the example) | `attributes.year`, `make`, `model`, `trim` (strings when present) | Normalize type and trim labels, and allow absent values. |
| Maintenance, parts and repair data | Maintenance and repair records | No corresponding records in `/specs` | **Unsupported in this workflow.** Keep the source for service schedules and parts or repair estimates. |

Read model year, make, and model from `attributes`. Treat absent or blank fields as unknown. Use the status code before parsing results. Check input on `400`, credentials on `401`, and preserve a separate no-data state for `404`. Compare your vendor's usage limits with [CarsXE rate limits and quotas](/docs/guides/rate-limits).

## Cut over production traffic

1. Test vehicles with multiple trim variants and VINs from the markets you serve. Check that unit-bearing strings are parsed before comparing dimensions or weight.
2. Compare normalized records side by side. Include a no-data case, missing fields, and a rejected request before switching any traffic.
3. Start with a small share of traffic and monitor errors, no-data rates, latency, and usage. Keep the old client and rollback path ready until the results meet your thresholds.

## Sitemap

See the full [sitemap](/sitemap.md) for all pages.
Docs-scoped sitemap: [/docs/sitemap.md](/docs/sitemap.md).
Well-known sitemap: [/.well-known/sitemap.md](/.well-known/sitemap.md).
