# VIN Decoder API: Make, Model, Year, Specs & Recalls (`tudorlane/vin-decoder`) Actor

Decode any 17-character VIN: check digit, make, model, year, trim, body, engine, fuel, plant, plus open NHTSA safety recalls for the model. Free US government data, batch-friendly.

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

## Pricing

$2.00 / 1,000 vin decodes

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## 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

## VIN Decoder API: Make, Model, Year, Specs & Recalls

### Use when…

- You need make, model, year, specs or recalls from a vehicle VIN.
- An insurance, marketplace or fleet agent must decode VINs in bulk.
- You want structured vehicle data from official-style VIN decoding, not a full history check.

Price: $0.002 per vin decode

### Try this input

Copy-paste this JSON as the Actor input (it matches a successful run / the default schema):

```json
{
  "requests": [
    {
      "vin": "1HGCM82633A004352"
    },
    {
      "vin": "5YJ3E1EA2KF317000"
    },
    {
      "vin": "WVWZZZ1KZAW000000",
      "recalls": false
    }
  ]
}
```

### Sample output (real run 2026-10-26)

One dataset item, shortened:

```json
{
  "vin": "WVWZZZ1KZAW000000",
  "check_digit_valid": false,
  "expected_check_digit": "9",
  "check_digit_required": false,
  "wmi": "WVW",
  "region": "Europe",
  "serial": "000000",
  "make": "VOLKSWAGEN",
  "model": null,
  "year": "2010",
  "trim": null,
  "series": null,
  "…": "+20 more keys"
}
```

Turn a VIN into a clean vehicle record for dealer, insurance, fleet and marketplace agents.

- ISO 3779 check digit (flags typos and fake VINs on North American VINs)
- Make, model, year, trim, series, body, doors, drive, transmission
- Engine: cylinders, litres, HP, fuel, electrification
- Manufacturer and plant city/country, GVWR
- Safety recalls for the make/model/year (NHTSA), with remedy text
- Best coverage for US-market vehicles; European VINs return make, year and plant

### Quick start

Leave the default input (it is prefilled) and click **Start**:

```json
{"requests": [{"vin": "1HGCM82633A004352"}, {"vin": "5YJ3E1EA2KF317000"}, {"vin": "WVWZZZ1KZAW000000", "recalls": false}]}
```

Send many items in one run (cheaper and faster than one run each). Settings outside `requests` apply to every item.

### Sample output (real run, 26 Oct 2026, default input)

| vin | check_digit_valid | make | model | year | trim | fuel | plant_country | recall_count |
|---|---|---|---|---|---|---|---|---|
| 1HGCM82633A004352 | true | HONDA | Accord | 2003 | EX-V6 | Gasoline | UNITED STATES (USA) | 24 |
| 5YJ3E1EA2KF317000 | true | TESLA | Model 3 | 2019 | | Electric | UNITED STATES (USA) | 22 |
| WVWZZZ1KZAW000000 | false (not required outside North America) | VOLKSWAGEN | | 2010 | | | GERMANY | (recalls off) |

Each row also has body, doors, drive, transmission, engine details, manufacturer, plant city, GVWR, NHTSA notes and a `recalls` list with remedy text.

### Use cases

- Fill in vehicle details from a VIN on dealer or marketplace listings.
- Check for open safety recall campaigns before buying or insuring a car.
- Spot mistyped or fake North American VINs with the check digit.
- Enrich fleet or insurance records in bulk.

### Pricing

Pay per event: **$0.002 per vin decode** (one vin decoded). Rows with errors are not charged. No subscription.

### FAQ

**Do I need an API key?** No. It uses free NHTSA data.

**Does it work for UK and European cars?** Partly: you get make, year and plant, but model and specs are often empty.

**Are recalls for my exact car?** They are for the make, model and year. Check with the manufacturer whether a recall was already fixed on a given car.

### Limits & failure modes

- Best coverage is for US-market vehicles; European VINs usually return only make, year and plant.
- Recalls come from NHTSA (US) and do not include UK DVSA recalls.
- It does not give vehicle history, owners, mileage or accident records.
- The check digit is only required on North American VINs, so `false` on a European VIN is normal.
- Invalid check digits or non-ISO VINs return an error / incomplete decode.
- Recalls and rich specs depend on upstream coverage; some VINs decode make/model only.

### Output

One dataset row per request. Errors come back as a row with `error` set, so a batch never fails because of one bad item.

### Use from AI agents (MCP)

Add it to any MCP client via `https://mcp.apify.com?actors=tudorlane/vin-decoder`, or call the Apify API / run-sync endpoint.

### Sources and licences

NHTSA vPIC and NHTSA Recalls API (US government, public domain).

# Actor input Schema

## `requests` (type: `array`):

Each item: {"vin": "1HGCM82633A004352"} or a VIN string. Optional: model_year, recalls (default true). Max 2000. Errors are not charged.

## Actor input object example

```json
{
  "requests": [
    {
      "vin": "1HGCM82633A004352"
    },
    {
      "vin": "5YJ3E1EA2KF317000"
    },
    {
      "vin": "WVWZZZ1KZAW000000",
      "recalls": false
    }
  ]
}
```

# Actor output Schema

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

One item per request.

## `dataset` (type: `string`):

No description

# 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 = {
    "requests": [
        {
            "vin": "1HGCM82633A004352"
        },
        {
            "vin": "5YJ3E1EA2KF317000"
        },
        {
            "vin": "WVWZZZ1KZAW000000",
            "recalls": false
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("tudorlane/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 = { "requests": [
        { "vin": "1HGCM82633A004352" },
        { "vin": "5YJ3E1EA2KF317000" },
        {
            "vin": "WVWZZZ1KZAW000000",
            "recalls": False,
        },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("tudorlane/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 '{
  "requests": [
    {
      "vin": "1HGCM82633A004352"
    },
    {
      "vin": "5YJ3E1EA2KF317000"
    },
    {
      "vin": "WVWZZZ1KZAW000000",
      "recalls": false
    }
  ]
}' |
apify call tudorlane/vin-decoder --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tudorlane/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/Y8cZRVcFzFvFnV2Py/builds/5b1OFwEdFkRxPgiCB/openapi.json
