# Bulk VIN Decoder & Recall Checker (NHTSA) - Make, Model, Year (`kotablue-tools/nhtsa-vin-decoder`) Actor

Bulk VIN decoder with NHTSA recall check: decode thousands of VINs to make, model, year, trim, body, engine, fuel, transmission, plant and GVWR from the public NHTSA vPIC API, plus recall campaigns per vehicle. Invalid and repeated VINs are free.

- **URL**: https://apify.com/kotablue-tools/nhtsa-vin-decoder.md
- **Developed by:** [KotaBlue Toolsmith](https://apify.com/kotablue-tools) (community)
- **Categories:** Developer tools, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Bulk VIN Decoder & Recall Checker (NHTSA): Make, Model, Year

**Paste a list of Vehicle Identification Numbers and get one clean, spreadsheet-ready row per VIN: make, model, model year, trim, body class, vehicle type, doors, fuel type, electrification, engine, transmission, plant, manufacturer, GVWR class and the NHTSA safety recall campaigns for that vehicle line.**

Up to 10,000 VINs per run from the free, official NHTSA vPIC and recalls APIs. No API key, code, browser, scraping or login needed.

### What does this VIN decoder do?

- **Decodes VINs in bulk.** It sends 50 VINs per NHTSA vPIC `DecodeVINValuesBatch` call and paces requests politely at about 1 per second.
- **Checks NHTSA recalls** (on by default). It looks up recall campaigns once per unique make / model / model year, so a fleet of 500 identical vans needs only one recall lookup. Each campaign has its number, report date, component, park-it warnings and, optionally, NHTSA's full text.
- **Validates VINs locally.**
  - A VIN must be 17 characters and can't contain I, O or Q. Wrong-length VINs, VINs with those letters, and VINs with other bad characters come back as `INVALID` rows with a plain-English message. They are never sent to NHTSA.
  - The **check digit** (position 9) is computed locally. A mismatch is reported as a warning (`checkDigitValid: false`) rather than an error, because VINs from outside North America may not use the check digit.
- **Removes duplicates.** A repeated VIN is output again as a `REPEAT` row with the same data, without another NHTSA request.
- **Gives flat, spreadsheet-ready output.** One row per input VIN, in input order. Export to CSV, Excel or JSON, or call the Actor through the Apify API.

### Who is this for?

- **Used-car dealers and auctions.** Decode trade-ins and auction lists to confirm year, make, model, trim and engine before pricing.
- **Fleet managers and leasing companies.** Turn a fleet VIN list into a clean asset register and see which vehicle lines have NHTSA recall campaigns.
- **Insurers and claims teams.** Check that the vehicle on a policy or claim matches what the VIN decodes to.
- **Auto lenders and BHPH dealers.** Verify collateral details at origination and flag `INVALID` or check-digit-mismatch VINs for review.
- **Marketplaces and listing QA teams.** Validate seller-entered VINs in bulk and compare decoded make, model and year with what the listing claims.
- **Parts sellers and repair shops.** Get engine model, displacement, cylinders and transmission for customer VINs to pick the right parts.
- **Recall and compliance researchers.** Pull recall campaigns, report dates and components for a list of vehicle lines.
- **Data and analytics teams.** Enrich VIN columns in registration, telematics or sales data with make, model, year and fuel type.

### How to use it

1. Open the Actor and paste VINs into **VINs**, one per line. Spaces and dashes are ignored, and case doesn't matter.
2. Leave **Check NHTSA recalls** on to add recall campaigns, or turn it off for a decode-only run.
3. Leave **Include full recall text** on for NHTSA's summary, consequence, remedy and notes, or turn it off for compact output (campaign number, date, component and park warnings only).
4. Click **Start**.
5. Open the **Output** tab, filter on `status`, `checkDigitValid` or `recallCount`, and export as CSV, Excel or JSON.
6. Schedule the Actor or call it from the Apify API.

### Input

| Field | Description |
|---|---|
| `vins` | List of VINs, one per line. Spaces and dashes are ignored, and case doesn't matter. Max 10,000 per run. |
| `includeRecalls` | Look up NHTSA recall campaigns for each decoded make / model / year. Default **on**. |
| `includeRecallDetails` | Include NHTSA's summary, consequence, remedy and notes text for each recall. Default **on**. Turn it off for compact output. |

Example input (the input of the cloud run shown below; the third VIN has a deliberate `I` typo):

```json
{
  "vins": [
    "1HGCM82633A004352",
    "5YJ3E1EA7KF317000",
    "1HGCM8263IA004352"
  ],
  "includeRecalls": true,
  "includeRecallDetails": true
}
```

### Output

Each input VIN gives one dataset row. Fields:

`input, vin, checkDigitValid, message, status, make, model, modelYear, trim, series, bodyClass, vehicleType, doors, driveType, fuelType, fuelTypeSecondary, electrificationLevel, engineCylinders, engineDisplacementL, engineHP, engineModel, engineConfiguration, transmission, transmissionStyle, transmissionSpeeds, plantCountry, plantState, plantCity, manufacturer, gvwr, errorCode, errorText, additionalErrorText, suggestedVin, recallCount, recallsNote, recalls, retrievedAt`

Below are real rows from a cloud run on Nov 3, 2026 with the example input above. Recall counts are as of that date.

A decode with a check digit warning. NHTSA still decodes it, so it is `DECODED_WITH_WARNINGS`. Only the first of its 22 recall campaigns is shown, without the long `summary`, `remedy` and `notes` text:

```json
{
  "input": "5YJ3E1EA7KF317000",
  "vin": "5YJ3E1EA7KF317000",
  "checkDigitValid": false,
  "message": "Check digit (position 9) is 7, expected 2. Required for North American VINs; other markets may not use it, or the VIN has a typo.",
  "status": "DECODED_WITH_WARNINGS",
  "make": "TESLA",
  "model": "Model 3",
  "modelYear": 2019,
  "trim": null,
  "series": null,
  "bodyClass": "Sedan/Saloon",
  "vehicleType": "PASSENGER CAR",
  "doors": 4,
  "driveType": null,
  "fuelType": "Electric",
  "fuelTypeSecondary": null,
  "electrificationLevel": "BEV (Battery Electric Vehicle)",
  "engineCylinders": null,
  "engineDisplacementL": null,
  "engineHP": null,
  "engineModel": null,
  "engineConfiguration": null,
  "transmission": "Automatic, 1-speed",
  "transmissionStyle": "Automatic",
  "transmissionSpeeds": 1,
  "plantCountry": "UNITED STATES (USA)",
  "plantState": "CALIFORNIA",
  "plantCity": "FREMONT",
  "manufacturer": "TESLA, INC.",
  "gvwr": "Class 1C: 4,001 - 5,000 lb (1,814 - 2,268 kg)",
  "errorCode": "1",
  "errorText": "1 - Check Digit (9th position) does not calculate properly",
  "additionalErrorText": null,
  "suggestedVin": null,
  "recallCount": 22,
  "recalls": [
    {
      "campaignNumber": "22V037000",
      "reportReceivedDate": "2022-01-27",
      "component": "ELECTRICAL SYSTEM:ADAS:AUTONOMOUS/SELF DRIVING:SOFTWARE",
      "consequence": "Failing to stop at a stop sign can increase the risk of a crash.",
      "parkIt": false,
      "parkOutside": false,
      "overTheAirUpdate": true
    }
  ],
  "recallsNote": null,
  "retrievedAt": "2026-11-03T10:09:57.584Z"
}
```

The first VIN, `1HGCM82633A004352`, decoded cleanly (`status` `DECODED`, `errorCode` `"0"`) as a 2003 HONDA Accord EX-V6 Coupe with a 3 L V-Shaped 6-cylinder engine (J30A4, 240 HP) and an `Automatic, 5-speed` transmission, built in MARYSVILLE, OHIO, with `recallCount` 24.

The third VIN, `1HGCM8263IA004352`, came back as `INVALID` with the message *"VINs never contain the letters I, O or Q (found I); check for 1/0 typos."* and was not sent to NHTSA.

Possible `status` values:

- **DECODED**: NHTSA decoded the VIN cleanly (vPIC error code 0).
- **DECODED_WITH_WARNINGS**: NHTSA decoded the make and other fields but reported warnings, such as a check digit mismatch or some positions it couldn't decode. See `errorCode` and `errorText`.
- **NOT_DECODED**: the VIN is valid in format, but NHTSA returned no make.
- **INVALID**: wrong length or illegal characters, caught locally.
- **REPEAT**: the same VIN appeared earlier in this run.
- **ERROR**: the NHTSA request failed after retries.

A run summary (counts of decoded, invalid, repeated and errored VINs, check digit warnings, recall lookups and unique recall campaigns) is saved as `OUTPUT` in the run's key-value store.

### About recalls

Recall campaigns are looked up by **make, model and model year**, using NHTSA's `recallsByVehicle` API. That means they show the recalls issued for that vehicle line. They **don't** prove that a particular VIN is affected or still unrepaired, because some campaigns cover only certain build dates or plants. To confirm whether a specific vehicle has an open recall, use NHTSA's VIN lookup at nhtsa.gov/recalls or ask the manufacturer.

### Pricing

- **This Actor is currently free to use.** There is no Actor fee; you only use your normal Apify platform credits for compute (the 3-VIN cloud run above, with recalls, used so little that it showed as $0.000).

### Limits and performance

- Up to 10,000 VINs per run. Extra VINs are skipped with a warning in the log.
- 50 VINs per vPIC request and one recall lookup per unique make / model / model year, each paced at about 1 request per second per NHTSA host.
- Default memory is 128 MB; it uses no browser and needs no proxy (the run above peaked at about 57 MB and took 3 seconds).
- NHTSA asks that very large batch jobs run off-peak (evenings US Eastern time or weekends).
- HTTP 429 (honouring `retry-after`), 5xx errors and timeouts are retried with backoff. If a batch still fails, its VINs come back as `ERROR` rows and the run continues. If a recall lookup fails, the row keeps its decoded data and `recallsNote` explains why recalls are missing.

### Data source and disclaimer

Vehicle data comes from the **NHTSA Product Information Catalog and Vehicle Listing (vPIC) API** and the **NHTSA recalls API**. Both are free public services of the US National Highway Traffic Safety Administration. This Actor is **independent and is not affiliated with, endorsed by, or sponsored by NHTSA** or the US Department of Transportation.

The following fields are computed by this Actor, not by NHTSA:

- `status`
- `checkDigitValid`
- `message`
- `transmission` (combined text)
- the rounded `engineDisplacementL`
- the ISO-formatted `reportReceivedDate`
- the per-make/model/year recall matching
- all summary counts

As NHTSA notes, a missing decoded value means NHTSA has no data for that field. It doesn't mean the vehicle lacks the feature. NHTSA's decoding is most complete for model year 1995 and later. Coverage is lower for 1980–1994, and vPIC has no data before 1980.

### FAQ

**How do I decode a list of VINs to make, model and year?**
Paste the VINs into **VINs** and run, then export the dataset as CSV or Excel. Each `DECODED` row has `make`, `model` and `modelYear`.

**Can it decode VINs from Europe or Asia?**
Partly. vPIC covers manufacturers that registered vehicles for sale in the US, so non-US-market VINs may come back with only some fields filled in, or as `NOT_DECODED`.

**Why do I see a check digit warning on a real VIN?**
The check digit is mandatory for North American VINs. Vehicles built for other markets may not use it. A mismatch on a US vehicle usually means there's a typo.

**Does a recall in the output mean my vehicle is affected?**
Not necessarily. Recalls are matched by make, model and model year, not by VIN. To check a specific vehicle for an open, unrepaired recall, use NHTSA's VIN lookup at nhtsa.gov/recalls or ask the manufacturer.

**Why are some fields empty?**
NHTSA has no data for that field for this VIN. Electric vehicles, for example, have no engine cylinders.

**How fresh is the data?**
Each run calls the NHTSA APIs live, and every row carries `retrievedAt`. Re-run the Actor to pick up recall campaigns filed since your last run.

**Which export formats are supported? Can I use the API?**
Any format Apify datasets support, including CSV, Excel, JSON, JSONL, XML and HTML. You can also start runs from the Apify API or client libraries, schedule them, or connect them to Make, Zapier, n8n or webhooks.

**Is this an official NHTSA service?**
No. It is an independent tool that reads the public NHTSA APIs. Confirm critical results with NHTSA or the manufacturer before relying on them.

### Related tools

Other free tools for public official data from the same publisher:

- [ISIN / CUSIP / Ticker to FIGI + LEI Mapper](https://apify.com/kotablue-tools/figi-lei-identifier-mapper): map ISIN, CUSIP, SEDOL, ticker or FIGI identifiers to OpenFIGI and GLEIF LEI records.
- [LEI Lookup & LEI Renewal Checker (GLEIF)](https://apify.com/kotablue-tools/gleif-lei-renewal-checker): bulk LEI status, next renewal date and lapsed-LEI flags from the GLEIF register.
- [SEC EDGAR Company Lookup](https://apify.com/kotablue-tools/sec-edgar-company-lookup): tickers or CIKs to CIK, EIN, SIC code, addresses and the latest 10-K, 10-Q and 8-K filings.
- [ClinicalTrials.gov NCT Lookup](https://apify.com/kotablue-tools/clinicaltrials-study-status-checker): bulk trial status, sponsor portfolios and a results-due estimate for lists of NCT numbers.

# Actor input Schema

## `vins` (type: `array`):

One 17-character Vehicle Identification Number per line (spaces and dashes are ignored, case doesn't matter). Wrong-length VINs and VINs with I, O or Q are flagged INVALID for free; repeated VINs are output as REPEAT for free. Max 10,000 per run.

## `includeRecalls` (type: `boolean`):

Look up NHTSA safety recall campaigns for each decoded vehicle's make, model and model year (one lookup per unique make/model/year, so large fleets of the same model stay fast). Recalls are model-level, not proof that a specific VIN is affected or still unrepaired.

## `includeRecallDetails` (type: `boolean`):

If on, each recall includes NHTSA's summary, consequence, remedy and notes. Turn off for a compact output with campaign number, date, component and park-it flags only.

## Actor input object example

```json
{
  "vins": [
    "1HGCM82633A004352",
    "5YJ3E1EA7KF317000",
    "1FTFW1ET5DFC10312"
  ],
  "includeRecalls": true,
  "includeRecallDetails": true
}
```

# Actor output Schema

## `results` (type: `string`):

One row per input VIN with status, make, model, model year, trim, body, engine, fuel, transmission, plant, GVWR, vPIC error codes and recall campaigns.

## `summary` (type: `string`):

Counts of decoded, invalid, not-decoded, repeated and errored VINs, check-digit warnings and recall lookups.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "vins": [
        "1HGCM82633A004352",
        "5YJ3E1EA7KF317000",
        "1FTFW1ET5DFC10312"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("kotablue-tools/nhtsa-vin-decoder").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "vins": [
        "1HGCM82633A004352",
        "5YJ3E1EA7KF317000",
        "1FTFW1ET5DFC10312",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("kotablue-tools/nhtsa-vin-decoder").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "vins": [
    "1HGCM82633A004352",
    "5YJ3E1EA7KF317000",
    "1FTFW1ET5DFC10312"
  ]
}' |
apify call kotablue-tools/nhtsa-vin-decoder --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kotablue-tools/nhtsa-vin-decoder"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/mkFgyNvdxpkdXkMAM/builds/98KXz4235DNjUPl35/openapi.json
