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.
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
- Get a CarsXE account and API key. 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. CarsXE Specifications is deepest for US-market vehicles. Review its international fallback for non-US traffic. DataOne XML VIN Decoder v6 manual
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.
curl --get "${DATAONE_DECODER_URL}" \
--data-urlencode "client_id=${DATAONE_CLIENT_ID}" \
--data-urlencode "auth_code=${DATAONE_AUTH_CODE}" \
--data-urlencode 'vins=WBAFR7C57CC811956'<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.
curl --get 'https://api.carsxe.com/specs' \
--data-urlencode "key=${CARSXE_API_KEY}" \
--data-urlencode 'vin=WBAFR7C57CC811956'{
"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.
{
"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 · CarsXE errors
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.
Move a DataOne VIN identity lookup to CarsXE Specifications and review the differences in XML parsing, style selection, and installed equipment.