---
title: "Migrate from CarAPI.app"
description: "Evaluate CarsXE Specifications for VIN specifications when migrating from CarAPI.app."
canonical_url: "https://docs.carsxe.com/docs/guides/migrate/carapi-app"
markdown_url: "https://docs.carsxe.com/docs/guides/migrate/carapi-app.md"
last_updated: "1980-01-01"
x_farming_labs_generated_preamble: true
agent:
  task: "Compare a CarAPI.app lookup for VIN specifications with CarsXE Specifications."
  outcome: "The CarsXE request returns HTTP 200 on the documented sample VIN and the application reads the mapped fields."
  prerequisites:
    - "Credentials for CarAPI.app 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 CarAPI.app and confirm the original client can serve requests."
---

# Migrate from CarAPI.app
URL: /docs/guides/migrate/carapi-app
LLM index: /llms.txt
Description: Evaluate CarsXE Specifications for VIN specifications when migrating from CarAPI.app.
Related: /docs/guides/migrate, /docs/products/specifications, /docs/guides/errors

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

Task: Compare a CarAPI.app lookup for VIN specifications with CarsXE Specifications.
Outcome: The CarsXE request returns HTTP 200 on the documented sample VIN and the application reads the mapped fields.

### Prerequisites

- Credentials for CarAPI.app 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 CarAPI.app and confirm the original client can serve requests.
<!-- farming-labs:agent-contract:end -->

Use this guide to evaluate CarsXE for **VIN specifications**. This guide covers the CarAPI.app VIN endpoint. Its paginated catalog and bulk data feeds are different workflows. [CarsXE comparison](https://carsxe.com/alternatives/carapi)

## Prerequisites

- Keep your existing CarAPI.app 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

**CarAPI.app**. `GET https://carapi.app/api/vin/{vin}`. Use the demo VIN without a token or a Bearer JWT for your licensed integration. For a smoke test, request the documented demo VIN `1GTG6CEN0L1139305`. The demo returned a 2020 GMC Canyon SLE with numeric `year`, string identity fields, a `specs` object, and a `trims` array. [CarAPI.app VIN Decoder reference](https://carapi.app/api?doctype=redoc)

```bash
curl 'https://carapi.app/api/vin/1GTG6CEN0L1139305'
```

**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 | CarAPI.app | CarsXE | Migration change |
| --- | --- | --- | --- |
| Model year | `year` (number) | `attributes.year` (string when present) | Parse a year after checking for a four-digit string. |
| Make, model, trim | `make`, `model`, `trim` (strings) | `attributes.make`, `attributes.model`, `attributes.trim` (strings when present) | Compare normalized labels. A returned trim can be ambiguous. |
| Catalog joins | `trims[]` and provider trim IDs | `attributes.trim` (display text when present) | **Unsupported ID mapping.** Preserve your own catalog IDs and keep ambiguity handling. |

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. Include a VIN with multiple candidate trims. Verify that your application preserves an unknown or ambiguous trim instead of assigning the first result.
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).
