---
title: "Migrate from DataOne Software"
description: "Move a DataOne VIN identity lookup to CarsXE Specifications and review the differences in XML parsing, style selection, and installed equipment."
canonical_url: "https://docs.carsxe.com/docs/guides/migrate/dataone"
markdown_url: "https://docs.carsxe.com/docs/guides/migrate/dataone.md"
last_updated: "1980-01-01"
x_farming_labs_generated_preamble: true
agent:
  task: "Move a DataOne VIN identity lookup to CarsXE Specifications."
  outcome: "The client receives HTTP 200 and builds its vehicle identity record from CarsXE JSON attributes."
  appliesTo:
    version:
      - "DataOne XML VIN Decoder v6 examples and CarsXE Specifications at /specs"
  prerequisites:
    - "The licensed DataOne decoder URL and credentials, a CarsXE API key, and representative VINs."
  verification:
    - "Run the public BMW sample and confirm the adapter maps year \"2012\", make \"BMW\", and model \"5-Series\"."
    - "Compare the same VINs with the licensed DataOne endpoint and check workflows that use DataOne style IDs."
  failureModes:
    - symptom: "DataOne reports vin_error or CarsXE returns HTTP 400 for a missing VIN."
      resolution: "Validate the input VIN and send it in the CarsXE vin query parameter. Treat CarsXE HTTP 404 as no data."
    - symptom: "Required identity fields are missing or a style-dependent workflow fails during rollout."
      resolution: "Route the affected workflow back to the DataOne client and restore its style mappings."
---

# Migrate from DataOne Software
URL: /docs/guides/migrate/dataone
LLM index: /llms.txt
Description: Move a DataOne VIN identity lookup to CarsXE Specifications and review the differences in XML parsing, style selection, and installed equipment.
Related: /docs/guides/migrate, /docs/products/specifications, /docs/guides/errors

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

Task: Move a DataOne VIN identity lookup to CarsXE Specifications.
Outcome: The client receives HTTP 200 and builds its vehicle identity record from CarsXE JSON attributes.

### Applies To

- Version: `DataOne XML VIN Decoder v6 examples and CarsXE Specifications at /specs`

### Prerequisites

- The licensed DataOne decoder URL and credentials, a CarsXE API key, and representative VINs.

### Verification

- Run the public BMW sample and confirm the adapter maps year "2012", make "BMW", and model "5-Series".
- Compare the same VINs with the licensed DataOne endpoint and check workflows that use DataOne style IDs.

### Failure Modes

- DataOne reports vin_error or CarsXE returns HTTP 400 for a missing VIN. — Recovery: Validate the input VIN and send it in the CarsXE vin query parameter. Treat CarsXE HTTP 404 as no data.
- Required identity fields are missing or a style-dependent workflow fails during rollout. — Recovery: Route the affected workflow back to the DataOne client and restore its style mappings.
<!-- farming-labs:agent-contract:end -->

Use this guide to migrate a VIN-based identity lookup from DataOne Software to CarsXE Specifications. The before example uses DataOne's publicly documented XML VIN Decoder v6. If your account uses an Advanced VIN Decoder API configuration, use the request and response contract from your DataOne client portal and apply the CarsXE mapping to your own identity fields. See the [DataOne comparison](https://carsxe.com/alternatives/dataone-software).

## Prerequisites

- Keep your DataOne account and licensed packs available. For XML v6, use the HTTPS service URL and credentials issued to your account. DataOne provides current technical documentation through its client portal. [DataOne API access and documentation](https://www.dataonesoftware.com/faqs)
- [Get a CarsXE account and API key](/docs/get-started#api-keys). Confirm Specifications access, available credits or quota, and coverage for your US-market inventory. Keep credentials server-side and redact query strings and echoed keys in logs.
- Identify any workflow that requires OEM option codes, a verified as-built record, or a DataOne style ID. Keep those dependencies in place until you have validated an appropriate source for them.

## Choose the CarsXE endpoint

| Workflow | DataOne XML VIN Decoder v6 | CarsXE | Fit |
| --- | --- | --- | --- |
| Enrich a single VIN with identity and basic specs | `GET` your account's decoder URL with `client_id`, `auth_code`, and `vins` | `GET https://api.carsxe.com/specs` with `key` and one 17-character `vin` | **Partial match.** Core identity overlaps. XML style rows give way to JSON attributes with different field coverage. |
| Resolve an ambiguous VIN using a DataOne style ID or OEM model number | `style_ids`, `model_numbers`, and style results | `/specs` accepts the VIN | **Unsupported.** Preserve these keys and routing if your workflow depends on selecting an exact style. |
| Verify installed options, packages, or colors | Licensed OEM Build Data or Verified Records | Specifications may return equipment availability and color options | **Unsupported as a verification substitute.** Catalog options do not establish the build of a specific vehicle. |

DataOne XML v6 can take multiple VINs. CarsXE Specifications takes one VIN per request. If you fan out an existing batch, bound concurrency, handle each result separately, and budget for each lookup. Compare your DataOne account's request and pack limits with [CarsXE rate limits and quotas](/docs/guides/rate-limits). CarsXE Specifications is deepest for US-market vehicles. Review its [international fallback](/docs/products/specifications#regional-behavior) for non-US traffic. [DataOne XML VIN Decoder v6 manual](https://vin.dataonesoftware.com/hubfs/docs/techguide-xml-vin-decoder.pdf)

## Before and after

**DataOne.** Set `DATAONE_DECODER_URL`, `DATAONE_CLIENT_ID`, and `DATAONE_AUTH_CODE` from your XML v6 account. The XML below is an illustrative excerpt of the manual's single-style response shape. Packs and settings determine which elements your account returns.

```bash
curl --get "${DATAONE_DECODER_URL}" \
  --data-urlencode "client_id=${DATAONE_CLIENT_ID}" \
  --data-urlencode "auth_code=${DATAONE_AUTH_CODE}" \
  --data-urlencode 'vins=WBAFR7C57CC811956'
```

```xml
<decoded_vin_data>
  <vin_number value="WBAFR7C57CC811956">
    <available_vehicle_styles>
      <vehicle_style>
        <basic_data>
          <year>2012</year>
          <make>BMW</make>
          <model>5 Series</model>
          <trim>535i</trim>
        </basic_data>
      </vehicle_style>
    </available_vehicle_styles>
  </vin_number>
</decoded_vin_data>
```

**CarsXE.** Set `CARSXE_API_KEY` to the literal `YOUR_CARSXE_API_KEY` to inspect the public BMW sample. Then use your real key and VINs from your inventory on both sides.

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

```json
{
  "success": true,
  "attributes": {
    "year": "2012",
    "make": "BMW",
    "model": "5-Series",
    "trim": "535i",
    "drivetrain": "RWD"
  }
}
```

## Map the response fields

| Application field | DataOne XML v6 | CarsXE JSON | Migration change |
| --- | --- | --- | --- |
| Vehicle identifier | `vin_number/@value` (attribute text) | `input.vin` (string) | Associate each CarsXE result with the VIN you submitted. |
| Identity | `vehicle_style/basic_data/{year,make,model,trim}` (element text) | `attributes.{year,make,model,trim}` (strings when present) | Map into your existing identity model. Keep unknown trim and compare labels before catalog joins. |
| Drivetrain | `specifications/category/drive_type` (element text where enabled) | `attributes.drivetrain` (string when present) | **Partial match.** Normalize values before comparing. |
| Candidate styles and options | `vehicle_style/@style_id`, style rows and equipment elements | `attributes.style` is descriptive text and `equipment` is a keyed object when present | **Partial match.** A style label cannot replace a DataOne ID. Keep verified installed equipment separate from availability. |

## Adapt your client and test failures

In DataOne XML v6, check `decoder_error` before individual `vin_error` elements. For example, the manual documents `IV` in `vin_error/error_code` for an invalid VIN. In CarsXE, use HTTP status and the JSON response. Omitting `vin` from the CarsXE request returned HTTP `400` with this response.

```json
{
  "success": false,
  "message": "Missing vin (vehicle identification number)"
}
```

Replace the XML style reader with a JSON adapter for the identity fields. The example returns an empty result on HTTP `404`. If your workflow needs broader coverage, try the VIN once with `deepdata=1` before treating it as a miss. The deeper search adds latency. Keep validation, access, and usage failures separate. [Specifications errors](/docs/products/specifications#errors) · [CarsXE errors](/docs/guides/errors)

```js
async function getVehicleIdentity(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(10_000) });
  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 was unsuccessful");

  const { year, make, model, trim } = result.attributes ?? {};
  return {
    vin,
    year: year?.trim() || null,
    make: make?.trim() || null,
    model: model?.trim() || null,
    trim: trim?.trim() || null,
  };
}
```

## Cut over production traffic

- [ ] Compare both providers on the same VINs, including ambiguous styles, invalid inputs, and missing or sparse results.
- [ ] Confirm field completeness and verify that workflows requiring DataOne IDs or installed options still use the right source.
- [ ] Start with a small segment. Monitor status and no-data rates, completeness, p95 latency, and the credit impact of splitting batches.
- [ ] Keep the DataOne client, credentials, and style mappings available until CarsXE meets your rollout thresholds. Verify that switching back restores the old data path.

## 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).
