Docs

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

OutcomeAppropriate interpretation
Code returnedDisplay the code and its status.
Invalid formatAsk the user to correct the identifier.
Vehicle not recognisedAsk them to double-check it; do not claim definitive non-existence.
Vehicle found, paint missingExplain that no paint code is available.
Temporary failureKeep the reason; follow any returned retry guidance.
PendingContinue the original lookup workflow, without claiming success.

Paint response fields

FieldTypeMeaning
statusstringResult state; inspect alongside the HTTP status.
vehicleobjectPublic vehicle details; individual values may be null.
vehicle.yearstring, number or nullYear when available; do not require a numeric JSON type.
paintobject or nullPaint result, when present.
paint.codestring or nullPaint code; preserve leading zeros and punctuation.
paint.namestring or nullColour name, when available.
paint.code_statusstringidentified, inferred or unresolved_group; see paint code status.
paint.aliasesarray of stringsOther forms of the same paint code, not separate vehicle results.
paint.name_statusstringavailable, unavailable or conflict; see colour names.
paint.name_alternativesarray of stringsPossible colour names; present only when name_status is conflict.
paint.label_verifiedbooleanWhether the physical paint label has been checked; false is not a failed lookup.
validationobjectFormat and vehicle-recognition context.
validation.existencestringconfirmed, not_found, unconfirmed or validation-stage not_checked.
conflicting_raw_codesbooleantrue when more than one paint code is possible; check the paint label.
request_idstringLogical lookup reference, when present.
reason / detail / retryableoptionalMachine category, human explanation and retry guidance.
billingobjectSettlement 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. Keep aliases and 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 in paint.name.
  • conflict: more than one name is possible. paint.name may hold one of them or be null, and paint.name_alternatives lists the possibilities.
  • unavailable: no name is given and paint.name is null.

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.

On this page