chassis

Read a chassis number from a photo

Changed on

Send a photo of the caution plate (the riveted plate under the hood or in the door jamb) or of the number stamped on the frame. You get back the chassis number, and links.chassis is the GET /v2/chassis/{chassis} call for it.

When a character is in doubt, read.confidence is low and readings lists the possible numbers, most likely first, for a person to confirm. A photo with no legible number is still a 200: read is null and refusal.reason says why (unreadable; vin when the plate shows a 17-character VIN; unsplit when the number was read but not where its hyphen goes).

Costs 2 credits when a number is read; a refusal costs 0. Answers are never cached.

post/v2/chassis/image

Request

  • Base URL
    https://api.cardog.app
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Headers

Idempotency-Key, string

Any string up to 255 characters, one per logical call (a UUID works). A retry with the same key and the same body within 24 hours returns the first response and is not billed again. The same key with a different body or query string runs as a new request. Keys are scoped to the API key that sent them. Every rule, including a retry sent while the first call is still running: Request ids and retries.

Request body

ChassisImageRequest required
image, string required

The photo as base64 (a data: URL prefix is accepted). JPEG, PNG or WebP, 10 MB at most, of the caution plate or the frame stamp.

Response

The number read, or why none was

ChassisImage required
read, object nullable required

The number read off the plate. Null when none was read; refusal then says why. Costs 2 credits when set.

refusal, object nullable required

Why no number was read. Null when read is set. A refusal costs 0 credits.

links, object

Paths to related endpoints, ready to request, e.g. {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}

Changes