API reference
VIN
Last updated:
Identity: VIN → refs, grains, links
- GET
/v2/vin/{vin}Decode a VIN to its graph identity - POST
/v2/vin/batchBatch decode (metered per VIN) - GET
/v2/vin/{vin}/instrumentVIN → market instrument bridge - GET
/v2/vin/{vin}/recallsRecalls listed for a VIN's model year - GET
/v2/vin/{vin}/window-stickerThe factory window sticker (Monroney label) for a VIN - GET
/v2/window-sticker/{sha}The window sticker PDF, through the signed link a read returns - GET
/v2/vin/{vin}/listingsListing detail for a VIN (listing + vehicle + canonical spec)
/v2/vin/{vin}since 2026-07-30Decode a VIN to its graph identity
Identity card: display names + entity refs + nano/squish grains + links to instrument, recalls, and listings. **Profiles.** `?profile=vpic` returns NHTSA vPIC's `DecodeVinValues` envelope (`Count`, `Message`, `SearchCriteria`, `Results[]` with vPIC 4.10's 154 keys, every value a string, "" where there is nothing to say), so a vPIC caller migrates by changing the URL and sending a key. A malformed VIN is then a 200 row coded 6 or 400, as vPIC answers it, and is not billed; `format=json` and `modelyear` are accepted and ignored, any other `format` is a 400. Billing is the same as the identity call. What did not travel rides in response headers, because the body is vPIC's: `Cardog-Profile` (`vpic@<release>`), `Cardog-Profile-Keys-Sha256` (the pinned key list), `Cardog-Profile-Gaps` (keys Cardog can never fill at this release; the names are `VPIC_GAPS` in `@cardog/entities/profiles/vpic`) and `Cardog-Profile-Empty` (fillable keys that came back empty in this response).
Path parameters
vinstringrequired17-character VIN
Query parameters
profile"vpic"optionalAnswer in another organization's response shape instead of the identity card. vpic: NHTSA vPIC's DecodeVinValues envelope at the pinned release, unchanged in shape. Omit for the identity card.
curl "https://api.cardog.app/v2/vin/2T3R1RFV7MW180266" \
-H "x-api-key: $CARDOG_API_KEY" \
-H "Cardog-Version: 2026-10-26"Example response
12 keysErrors400401402429500every non-2xx body is the error envelope
/v2/vin/batchsince 2026-07-30Batch decode (metered per VIN)
N VINs = N metered units. Per-item outcomes: one bad VIN fails its own row, never the batch. With `profile=vpic` the response is vPIC's DecodeVINValuesBatch envelope: one `Results` row per VIN, in request order, a malformed VIN coded 6 or 400 in its own row. The body may then also be vPIC's own form, `application/x-www-form-urlencoded` with `data=VIN1;VIN2` (a `,modelyear` suffix on an entry is accepted and ignored), so a vPIC batch call migrates by changing the URL. Metering is unchanged.
Query parameters
profile"vpic"optionalAnswer in another organization's response shape instead of the identity card. vpic: NHTSA vPIC's DecodeVinValues envelope at the pinned release, unchanged in shape. Omit for the identity card.
Header parameters
Idempotency-KeystringoptionalAny string you choose, one per logical call (a UUID is enough). A retry with the same key and the same body within 24 hours returns the first response again and debits nothing, even if your credits have since run out: X-Credits-Rate is 0, Idempotent-Replayed is true and X-Idempotent-Original-Request-Id names the request that was billed. The same key with a different body or query string (for example ?profile=vpic) is a different request and runs fresh. Only a 2xx that was billed is stored, including a batch whose rows partly failed; to decode the failed rows again, send them in a new call with a new key. An error, or an answer that cost nothing, is never replayed. A call is billed once per key and body in those 24 hours. A retry sent while the first call is still running, or within about a minute of it, can run again instead of replaying: it returns a fresh answer without Idempotent-Replayed, and is not billed again. Its X-Credits-* headers are set before the retry is recognised, so they show the call's usual rate and source, but your balance is not reduced a second time. If the first call used the last of a free allowance, such a retry can be refused with 402 insufficient_credits; send it again with the same key once the first call has returned, and it replays. Keys are scoped to the API key that sent them.
Request body
VinBatchRequestvinsstring[]required1 to 1000 VINs. Billed per VIN: N VINs cost N units.
curl -X POST "https://api.cardog.app/v2/vin/batch" \
-H "x-api-key: $CARDOG_API_KEY" \
-H "Cardog-Version: 2026-10-26" \
-H "content-type: application/json" \
-d '{"vins":["2T3R1RFV7MW180266"]}'Example response
2 keysErrors400401402429500every non-2xx body is the error envelope
/v2/vin/{vin}/instrumentsince 2026-07-30VIN → market instrument bridge
Path parameters
vinstringrequired17-character VIN
curl "https://api.cardog.app/v2/vin/2T3R1RFV7MW180266/instrument" \
-H "x-api-key: $CARDOG_API_KEY" \
-H "Cardog-Version: 2026-10-26"Response
200VinInstrumentvinstringsquishRefstringConfiguration key ref (WMI + VDS + model year, plant-agnostic). Always present, since it is computed from the VIN alone.
mmyobject | nullThe model-year instrument. Null when the VIN has not yet been linked to a model year in the entity graph.
refstringModel-year entity ref, e.g. "model-year:honda/cr-v/2026"
labelstringDisplay label, e.g. "Honda CR-V 2026"
linksobjectoptionalRelated resources, keyed by relation name, each a server-relative path. Example: {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}
Example response
4 keysErrors400401402429500every non-2xx body is the error envelope
/v2/vin/{vin}/recallssince 2026-07-30Recalls listed for a VIN's model year
Path parameters
vinstringrequired17-character VIN
Query parameters
market"CA" | "US" | "AU" | "GB" | "JP" | "KR" | "CN" | "IL" | "all"optionalMarket of sale, ISO alpha-2, or all. recalls and total hold that market's authorities (CA: Transport Canada and ECCC). Never inferred from the VIN.
authoritystringoptionalComma list of authority codes (tc, eccc, nhtsa, au, dvsa, mlit, kr, il, ec, oem). Narrows recalls within the market; with market=all, picks across every market.
regime"safety" | "emissions" | "all"optionalsafety recalls, emissions notices, or all.
include"other"optionalother adds otherRecalls, the rows outside the market. Never counted in total.
curl "https://api.cardog.app/v2/vin/2T3R1RFV7MW180266/recalls" \
-H "x-api-key: $CARDOG_API_KEY" \
-H "Cardog-Version: 2026-10-26"Response
200RecallsVinvinstringmodelYearRefstring | nullEntity ref ({domain}:{key}) in the "model-year" domain. Example: "model-year:toyota/rav4/2021"
resolvedbooleanFalse when the VIN is neither in the vehicle graph nor decodable to a model year. recalls is then empty because nothing could be checked, not because the vehicle is clear.
source"observed" | "decoded"optionalHow the VIN was matched to a model year: 'observed' (the exact VIN is in the vehicle graph) or 'decoded' (the VIN decoder derived it). Campaigns match at the model-year level, not by serial number; absent when resolved is false.
market"CA" | "US" | "AU" | "GB" | "JP" | "KR" | "CN" | "IL" | "all"optionalThe market recalls and total are scoped to, as resolved from the request.
applicability"listed_for_model_year" | "vin_in_affected_range" | "confirmed_by_manufacturer"optionalThe finest applicability any row in recalls reached.
totalintegerRows in recalls: the market's authorities, after the authority and regime filters.
byRegimeobjectoptionalsafetyintegeremissionsintegerbyAuthorityobjectoptionalEvery authority with records for this model year, unfiltered.
recallsobject[]refstringEntity ref ({domain}:{key}) in the "recall" domain. Example: "recall:tc/2024-123"
authoritystringIssuing authority key: "tc" (Transport Canada), "eccc" (Environment and Climate Change Canada), "nhtsa", "au". Other values may be added.
authorityLabelstringDisplay label, e.g. "Transport Canada"
market"CA" | "US" | "AU" | "GB" | "JP" | "KR" | "CN" | "IL"optionalThe market the issuing authority belongs to (from the authority registry, never the VIN). Null for an authority with no market.
regime"safety" | "emissions"optionalsafety (a recall) or emissions (a notice of defect). Never counted together on a surface.
applicability"listed_for_model_year" | "vin_in_affected_range" | "confirmed_by_manufacturer"optionalHow the record reaches this vehicle. listed_for_model_year: the campaign names the model year; only the manufacturer confirms a VIN.
campaignNumberstringcomponentstring | nullThe authority's component text for the campaign's representative row. components lists every component the campaign names.
partsstring[]optionalPart refs the campaign names and pairs with a vehicle (GET /v2/parts/{ref} serves them, with the maker's store). Only parts the filing ties to a specific vehicle are listed; numbers a multi-vehicle campaign files without pairing are not.
componentsobject[]optionalEvery component the campaign names, each read onto the component: tree. An NHTSA campaign can name several.
refstring | nullThe component ref, e.g. "component:occupant-protection/airbags/frontal". A coarse ref names everything beneath it.
asPublishedstringThe authority's own component text, exactly as filed.
reading"placed" | "set" | "refused" | "unknown"placed: one ref. set: the text names several systems, one entry each. refused: names no component. unknown: not yet mapped.
defectSummarystring | nullconsequenceSummarystring | nullcorrectiveActionstring | nullrecallDatestring | nullDate the recall was issued (ISO date, YYYY-MM-DD)
notificationTypestring | nullunitsAffectedinteger | nullUnits affected by the whole campaign (the largest value across affects)
affectsobject[]Affected model years. When queried by entity, only that entity's model years are listed.
modelYearRefstringEntity ref ({domain}:{key}) in the "model-year" domain. Example: "model-year:toyota/rav4/2021"
yearintegerunitsAffectedinteger | nulllinksobjectoptionalRelated resources, keyed by relation name, each a server-relative path. Example: {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}
otherRecallsobject[]optionalRows outside the market, present only with include=other. Never counted in total.
refstringEntity ref ({domain}:{key}) in the "recall" domain. Example: "recall:tc/2024-123"
authoritystringIssuing authority key: "tc" (Transport Canada), "eccc" (Environment and Climate Change Canada), "nhtsa", "au". Other values may be added.
authorityLabelstringDisplay label, e.g. "Transport Canada"
market"CA" | "US" | "AU" | "GB" | "JP" | "KR" | "CN" | "IL"optionalThe market the issuing authority belongs to (from the authority registry, never the VIN). Null for an authority with no market.
regime"safety" | "emissions"optionalsafety (a recall) or emissions (a notice of defect). Never counted together on a surface.
applicability"listed_for_model_year" | "vin_in_affected_range" | "confirmed_by_manufacturer"optionalHow the record reaches this vehicle. listed_for_model_year: the campaign names the model year; only the manufacturer confirms a VIN.
campaignNumberstringcomponentstring | nullThe authority's component text for the campaign's representative row. components lists every component the campaign names.
partsstring[]optionalPart refs the campaign names and pairs with a vehicle (GET /v2/parts/{ref} serves them, with the maker's store). Only parts the filing ties to a specific vehicle are listed; numbers a multi-vehicle campaign files without pairing are not.
componentsobject[]optionalEvery component the campaign names, each read onto the component: tree. An NHTSA campaign can name several.
refstring | nullThe component ref, e.g. "component:occupant-protection/airbags/frontal". A coarse ref names everything beneath it.
asPublishedstringThe authority's own component text, exactly as filed.
reading"placed" | "set" | "refused" | "unknown"placed: one ref. set: the text names several systems, one entry each. refused: names no component. unknown: not yet mapped.
defectSummarystring | nullconsequenceSummarystring | nullcorrectiveActionstring | nullrecallDatestring | nullDate the recall was issued (ISO date, YYYY-MM-DD)
notificationTypestring | nullunitsAffectedinteger | nullUnits affected by the whole campaign (the largest value across affects)
affectsobject[]Affected model years. When queried by entity, only that entity's model years are listed.
modelYearRefstringEntity ref ({domain}:{key}) in the "model-year" domain. Example: "model-year:toyota/rav4/2021"
yearintegerunitsAffectedinteger | nulllinksobjectoptionalRelated resources, keyed by relation name, each a server-relative path. Example: {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}
asOfstringoptionalWhen the recall data was last updated (ISO 8601)
linksobjectoptionalRelated resources, keyed by relation name, each a server-relative path. Example: {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}
Example response
8 keysErrors400401402429500every non-2xx body is the error envelope
/v2/vin/{vin}/window-stickersince 2026-09-24The factory window sticker (Monroney label) for a VIN
The manufacturer's window sticker for this VIN, or a typed reason there is none. Absence is a 200 with `label: null` and `unavailable.reason`. Only `not_yet_harvested` is worth retrying; the other reasons are final. A found label costs 5 credits; absence costs 0. `HEAD` is a free existence check (204 or 404). `label.document.downloadUrl` is a signed link to the PDF, good for 24 hours; do not store it, request this read again for a fresh one.
Path parameters
vinstringrequired17-character VIN
curl "https://api.cardog.app/v2/vin/2T3R1RFV7MW180266/window-sticker" \
-H "x-api-key: $CARDOG_API_KEY" \
-H "Cardog-Version: 2026-10-26"Response
200WindowStickervinstringThe VIN, uppercased
labelobject | nullThe label we hold, or null
issuerstring | nullThe manufacturer that issued the label, e.g. "gm", "ford", "kia". null when we hold the label without a recorded issuer.
retrievedAtstringWhen we added the label (ISO 8601)
vinVerifiedbooleantrue when the VIN was read from inside the document itself. false means the label is filed under this VIN but the VIN could not be read from the file (some labels render it as an image or in an embedded font). Treat an unverified label as the manufacturer's answer, not as proof it is this vehicle's.
documentobjecturistringA stable identifier for this exact file, for citing it. The same file always has the same identifier. Not a fetchable address.
sha256stringSHA-256 of the label file
mediaType"application/pdf"downloadUrlstring (uri)A signed link to the PDF, good for 24 hours. It needs no credential and costs 0 credits, so it can be opened in a browser tab or handed to a viewer. Do not store it: keep the VIN and request this read again for a fresh one, billed as a held label. sha256 identifies the file.
unavailableobject | nullWhy there is no label. null when label is set.
reason"no_lane" | "lane_us_only" | "not_yet_harvested" | "issuer_has_no_record" | "pre_lane_model_year"Why there is no label, and what to do about it. "no_lane": we do not cover window stickers for this manufacturer. Do not retry. "lane_us_only": coverage for this manufacturer is US-sold vehicles only, and there is no label for this VIN. Do not retry. "issuer_has_no_record": the manufacturer has no label for this VIN. Do not retry soon. "pre_lane_model_year": the vehicle predates our coverage for its manufacturer. Do not retry. "not_yet_harvested": we do not hold this label yet. Retry later; HEAD polls for free.
issuerstring | nullThe manufacturer that would issue the label, when known
detailstringThe reason in a sentence, safe to show a user
linksobjectoptionalRelated resources, keyed by relation name, each a server-relative path. Example: {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}
Example response
4 keysErrors400401402429500every non-2xx body is the error envelope
/v2/window-sticker/{sha}no authsince 2026-09-24The window sticker PDF, through the signed link a read returns
The PDF behind `label.document.downloadUrl` from `GET /v2/vin/{vin}/window-sticker`. Open that link exactly as printed. It is signed and good for 24 hours; it needs no API key or session, and it costs 0 credits. The body is served inline, so a browser tab displays it. `HEAD` returns the headers only. A single `Range: bytes=N-M` is honoured with a 206. An invalid or expired link is 403 `forbidden`: request the VIN read again for a fresh link, billed as a held label. 404 when no document is held under that hash; 503 when the file could not be fetched right now, retry with backoff.
Path parameters
shastringrequiredThe document's SHA-256 (label.document.sha256 from the window-sticker read), 64 lowercase hex characters
Query parameters
expintegerrequiredUnix time (seconds) the link stops working: 24 hours from the read that printed it
sigstringrequiredThe link's signature. Part of the link as printed; not something a caller computes
curl "https://api.cardog.app/v2/window-sticker/3f1a000000000000000000000000000000000000000000000000000000000000?exp=%7Bexp%7D&sig=%7Bsig%7D"Response200application/pdfThe window sticker, as the manufacturer's service produced it
Errors400403404429500503every non-2xx body is the error envelope
/v2/vin/{vin}/listingssince 2026-07-30Listing detail for a VIN (listing + vehicle + canonical spec)
Path parameters
vinstringrequired17-character VIN
curl "https://api.cardog.app/v2/vin/2T3R1RFV7MW180266/listings" \
-H "x-api-key: $CARDOG_API_KEY" \
-H "Cardog-Version: 2026-10-26"Response
200ListingDetailidstringvinstringpricenumbercurrencystringoptionalodometernumber | nulloptionalyearintegermakestringmodelstringtrimstring | nulloptionalmakeRefstring | nulloptionalmodelRefstring | nulloptionalnanostring | nulloptionalmediaobject[]optionalvariantobject | nullidstringtrimstring | nulloptionalstyleNamestring | nulloptionalregionstring | nulloptionalyearinteger | nulloptionalmsrpnumber | nulloptionalspecobject | nullExample response
63 keysErrors400401402404429500every non-2xx body is the error envelope
Generated from the contract. Machine-readable spec: GET https://api.cardog.app/v2/openapi.json · markdown twin: /docs/reference/vin.md
Was this helpful?