Understanding a result
Distinguish paint found, no paint code, invalid format and temporary failure without guessing.
Request and JSON examples are under API reference. The tables below describe the documented response fields.
Paint code returned
A usable result contains the vehicle’s paint code. Keep the code exactly as returned, including meaningful leading zeros, letters and punctuation.
Keep code_status and label_verified with the code. A returned code is not a guarantee that a physical paint label or repainted panel has been checked.
Vehicle recognised, no paint returned
The vehicle can be identified even when no paint code is available. That does not mean the registration or VIN is invalid. Do not substitute a guessed code.
Identifier not recognised
A complete registration or VIN may not be recognised. That does not prove the vehicle never existed. Treat explicit format validation separately from a vehicle that is not found.
Lookup incomplete
The lookup stopped before it finished, so this is not a final answer. Trying again later may return a result, and the lookup was not charged. Display the returned message without turning it into “invalid vehicle” or “no such paint”.
Queued or pending
A pending message is not a paint result. Keep the original request and use the documented status/idempotency flow; starting repeated new lookups is not equivalent to checking the original lookup.
Practical handling
| Outcome | Appropriate interpretation |
|---|---|
| Code returned | Display the code and its status. |
| Invalid format | Ask the user to correct the identifier. |
| Vehicle not recognised | Ask them to double-check it; do not claim definitive non-existence. |
| Vehicle found, paint missing | Explain that no paint code is available. |
| Temporary failure | Keep the reason; follow any returned retry guidance. |
| Pending | Continue the original lookup workflow, without claiming success. |
Paint response fields
| Field | Type | Meaning |
|---|---|---|
status | string | Result state; inspect alongside the HTTP status. |
vehicle | object | Public vehicle details; individual values may be null. |
vehicle.year | string, number or null | Year when available; do not require a numeric JSON type. |
paint | object or null | Paint result, when present. |
paint.code | string or null | Paint code; preserve leading zeros and punctuation. |
paint.name | string or null | Colour name, when available. |
paint.code_status | string | identified, inferred or unresolved_group; see paint code status. |
paint.aliases | array of strings | Other forms of the same paint code, not separate vehicle results. |
paint.name_status | string | available, unavailable or conflict; see colour names. |
paint.name_alternatives | array of strings | Possible colour names; present only when name_status is conflict. |
paint.label_verified | boolean | Whether the physical paint label has been checked; false is not a failed lookup. |
validation | object | Format and vehicle-recognition context. |
validation.existence | string | confirmed, not_found, unconfirmed or validation-stage not_checked. |
conflicting_raw_codes | boolean | true when more than one paint code is possible; check the paint label. |
request_id | string | Logical lookup reference, when present. |
reason / detail / retryable | optional | Machine category, human explanation and retry guidance. |
billing | object | Settlement information, when present. |
Responses can contain other fields. Ignore any field that is not described here.
Paint code status
identified: the paint code for this vehicle.inferred: likely, but not confirmed for the individual vehicle. See inferred results.unresolved_group: more than one code is possible. Keepaliasesand check the paint label.
Billing fields
billable identifies a successful billable original result. charge_pence is the charge amount in pence; it can be zero for an included lookup. currency is GBP and included distinguishes included settlement. A completed replay does not charge again. Missing or failed results are not successful lookups, and inferred results are not billed. Use your account’s current commercial terms rather than hard-coding prices from an example.
VIN response difference
The VIN operation returns vehicle.vin; it does not return a paint object. Successful VIN and paint operations share the account allowance. Calling them separately can create separate successful operations.
Inferred results
When a result is inferred, its paint object includes the following status (excerpt):
{
"paint": {
"code_status": "inferred",
"label_verified": false
}
}This status means the code is likely but not confirmed for the individual vehicle. Do not remove it when displaying a code. Inferred results are not billed. A result with code_status: "unresolved_group" or conflicting_raw_codes: true does not give one confirmed code; show it with a prompt to check the paint label. Optional fields and code punctuation must be preserved.
Colour names
A paint code and its colour name are separate pieces of information. paint.name_status says whether a name is given:
available: a name is given inpaint.name.conflict: more than one name is possible.paint.namemay hold one of them or benull, andpaint.name_alternativeslists the possibilities.unavailable: no name is given andpaint.nameisnull.
A colour name never changes the code, its status, billing or label_verified, and it is not a mixing formula. Leading zeros in a code are significant.
