API reference

History

Last updated:

What happened to a unit, one kind of event per route, every item with its source

GET/v2/vin/{vin}/operatorssince 2026-10-27

Every carrier this unit was observed running under

One item per day a federal roadside inspection or crash report put a motor carrier on this unit, most recent first, each naming the carrier by US DOT number and linking to it. An observed association on a dated record, not ownership: a leased unit is operated by a carrier that does not own it. `expand=detail` adds the inspection or crash record and the carrier as it stands on the register. Costs 3 credits when there is at least one item, 0 when there is none.

Path parameters

vinstringrequired

17-character VIN

Query parameters

expandstringoptional

detail

limitintegeroptional

Page size

cursorstringoptional

page.nextCursor from the previous page

curl "https://api.cardog.app/v2/vin/2T3R1RFV7MW180266/operators?expand=detail" \
  -H "x-api-key: $CARDOG_API_KEY" \
  -H "Cardog-Version: 2026-10-26"

Response

200VinOperators
vinstring
itemsobject[]

Most recent first

idstring

The fact's content-derived id; stable across reads

observedAtstring

When it was true in the world: YYYY-MM-DD, or YYYY when the record carries only the year (New York crash reports)

sourcestring

Who asserted it, as a source ref: "gov:fmcsa"

valueobject
dotNumberinteger

US DOT number of the motor carrier operating the unit that day

refstring

"org:usdot/{dotNumber}"

detailobject | nulloptional

Present with expand=detail; null when the record behind the fact is no longer served

type"fmcsa.inspection" | "fmcsa.crash"

The federal record that put the carrier on the unit: a roadside inspection or a crash report

documentstring | null

That record, as a document ref: "document:inspection/…" or "document:crash/…"

carrierobject | null

The carrier on the register; null when the DOT number is not on it

dotNumberinteger
refstring

"org:usdot/{dotNumber}"

legalNamestring | null
dbaNamestring | null

Trade name, when the carrier filed one

domicileobject
operation"interstate" | "intrastate-hazmat" | "intrastate" | "unknown"

The carrier's operating classification on its filing: "interstate" (A), "intrastate-hazmat" (B), "intrastate" (C), or "unknown".

powerUnitsinteger | null

Declared power units on the latest filing

linksobject

carrier: the full read. vehicles: the fleet walk.

pageobject
limitinteger
nextCursorstring | null

Pass as cursor for the next page; null on the last page

linksobjectoptional

identity: the unit's identity card. One link per other history route for this VIN (operators, crashes), never the route itself. carriers: the carrier search from this VIN, which also finds the carriers a towed unit ran under.

Example response

4 keys
"response": {
"vin": "3HSDZAPR3KN125464",
"items": [
0: {5 items},
1: {5 items},
2: {5 items},
3: {5 items},
4: {5 items},
5: {5 items},
6: {5 items},
7: {5 items},
8: {5 items},
9: {5 items},
10: {5 items}
],
"page": {
"limit": 100,
"nextCursor": null
},
"links": {
"identity": "/v2/vin/3HSDZAPR3KN125464",
"crashes": "/v2/vin/3HSDZAPR3KN125464/crashes",
"carriers": "/v2/carriers?q=3HSDZAPR3KN125464"
}
}

Errors400401402429500every non-2xx body is the error envelope

GET/v2/vin/{vin}/crashessince 2026-11-19

Every crash on record for this unit

One item per crash report that names this VIN, most recent first: US federal crash reports (FMCSA: US DOT-regulated commercial vehicles, dated to the day) and New York State crash reports (every reportable crash in the state, dated to the year, since a New York report carries no day). Each item names the report as a document ref. `expand=detail` adds the report as it was filed, typed by `detail.type`: `fmcsa.crash` (state, report number, injuries, fatalities, tow-away, vehicles involved, and the carrier operating the unit) or `nydmv.crash` (year, injuries, fatalities). Counts on the report, never rates. No items is not evidence the vehicle was never in a crash. Costs 3 credits when there is at least one item, 0 when there is none.

Path parameters

vinstringrequired

17-character VIN

Query parameters

expandstringoptional

detail

limitintegeroptional

Page size

cursorstringoptional

page.nextCursor from the previous page

curl "https://api.cardog.app/v2/vin/2T3R1RFV7MW180266/crashes?expand=detail" \
  -H "x-api-key: $CARDOG_API_KEY" \
  -H "Cardog-Version: 2026-10-26"

Response

200VinCrashes
vinstring
itemsobject[]

Most recent first

idstring

The fact's content-derived id; stable across reads

observedAtstring

When it was true in the world: YYYY-MM-DD, or YYYY when the record carries only the year (New York crash reports)

sourcestring

Who asserted it, as a source ref: "gov:fmcsa"

valueobject
refstring

The crash report for this unit, as a document ref: "document:crash/…"

detailobjectoptional

Present with expand=detail; null when the record behind the fact is no longer served

pageobject
limitinteger
nextCursorstring | null

Pass as cursor for the next page; null on the last page

linksobjectoptional

identity: the unit's identity card. One link per other history route for this VIN (operators, crashes), never the route itself. carriers: the carrier search from this VIN, which also finds the carriers a towed unit ran under.

Example response

4 keys
"response": {
"vin": "3HSDZAPR3KN125464",
"items": [
0: {5 items}
],
"page": {
"limit": 100,
"nextCursor": null
},
"links": {
"identity": "/v2/vin/3HSDZAPR3KN125464",
"operators": "/v2/vin/3HSDZAPR3KN125464/operators",
"carriers": "/v2/carriers?q=3HSDZAPR3KN125464"
}
}

Errors400401402429500every 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/history.md