---
title: "Get inspection history for a VIN"
method: GET
path: "/v1/inspections/vin/{vin}"
---

# Get inspection history for a VIN

`GET /v1/inspections/vin/{vin}`

Look up the inspection history for a VIN. Returns the unique DOT numbers the VIN has been associated with (with last date seen on each), plus the unique FIPS-coded county locations where the VIN has been inspected. Capped at the 5,000 most-recent inspections; successful responses are edge-cached for 24h.

## Path parameters

- `vin` string, required

## Response `200`

VIN inspection history aggregated by DOT and location

- VinInspectionResponse
  - `vin` string
  - `inspection_count` integer
  - `sample_size` integer
  - `truncated` boolean — True when capped at 5,000 inspections; aggregations are over the returned sample.
  - `dot_numbers` VinDotAssociation[]
    - `dot_number` string
    - `last_seen` string, date
    - `inspection_count` integer
  - `locations` VinLocation[]
    - `fips` string
    - `state_fips` string
    - `county_fips` string
    - `county_name` string
    - `state_abbrev` string
    - `latitude` number
    - `longitude` number
    - `last_seen` string, date
    - `inspection_count` integer

## Other responses

- `401` — Invalid or missing API key
- `404` — Carrier does not exist
- `429` — Too many requests. Check X-RateLimit-Remaining and Retry-After headers.

---

[API](https://skmtc.net/runalphaloops/apis/alphaloops-fmcsa-carrier-data-api.md) · [All operations](https://skmtc.net/runalphaloops/apis/alphaloops-fmcsa-carrier-data-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/runalphaloops/alphaloops-fmcsa-carrier-data-api/revisions/dcfdb73e5778/schema)
