Decode up to 1,000 VINs
Changed onDecodes up to 1,000 VINs in one call, each billed as one decode. You get one row per VIN, in the order you sent them; a bad VIN fails only its own row.
Request
- Base URLhttps://api.cardog.app
- Auth
- API key in header x-api-key
- or HTTP bearer
Query parameters
vpic answers in NHTSA vPIC's response shape, so code written for vPIC works unchanged; a malformed VIN is then answered the way vPIC answers it, and not billed. On batch, vPIC's form body (data=VIN1;VIN2) is accepted too. See the vPIC migration guide. Leave it out for the normal response.
Name the build as this market's maker does. With CA, a Hyundai Tucson the US sells as SEL comes back as Preferred, and trimMarket is CA. When the market has no name of its own on file, trim is the neutral name and trimMarket is null. Omit for the neutral, US-filed name. catalogueTrim and names (every market's name) are returned either way.
Headers
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
1 to 1000 VINs. Each is billed as one decode.
Response
One row per VIN, in the order sent
Changes
- info
added the new optional
queryrequest parametermarket - info
added the optional property
oneOf[#/components/schemas/VinBatchResponse]/results/items/anyOf[subschema #1]/identity/catalogueTrimto the response with the status - info
added the optional property
oneOf[#/components/schemas/VinBatchResponse]/results/items/anyOf[subschema #1]/identity/namesto the response with the status
2 more changes in this revision
- info