decode_vin
COST: free (uses no OmniaAuto credits).
Decode a VIN into full specs: year, make, model, trim, body, drivetrain, engine and more. Works for any VIN, listed for sale or not; use get_vin for its live listing, price and listing_url. A malformed VIN returns error invalid_vin.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vin | Yes | 17-character VIN, letters and digits without I, O or Q; any case |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vin | No | ||
| make | No | ||
| note | No | ||
| trim | No | ||
| year | No | ||
| error | No | Set on a refusal, e.g. out_of_credits, not_found; result fields are then absent | |
| model | No | ||
| decode_ok | No | False when the VIN could not be decoded | |
| body_class | No | ||
| drive_type | No | ||
| credits_remaining | No | Credits left in the current period |