# VIN Decoder & Vehicle Data — NHTSA (`ponderable_hydrometer/vin-decoder`) Actor

Decode any VIN into make, model, year, engine, trim, body and plant — plus vehicle catalog (models by make/year) and recalls, complaints & safety ratings. Free, no key.

- **URL**: https://apify.com/ponderable\_hydrometer/vin-decoder.md
- **Developed by:** [Ponderable Hydrometer](https://apify.com/ponderable_hydrometer) (community)
- **Categories:** Automation, Developer tools, SEO tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## VIN Decoder & Vehicle Data — NHTSA vPIC + Recalls

**Decode any VIN into make, model, year, engine, body, trim and fuel — batch up to 50 per call —
plus browse the full vehicle catalog and pull recalls, complaints and NHTSA crash-test safety
ratings, all in one actor.** Two clean US-government APIs (vPIC + NHTSA safety), free and keyless.

Perfect for automotive apps, dealers, insurers, fleet tools, marketplaces and research.

### Modes

- **decode-vin** — decode one or many VINs into flat vehicle fields. Batches 50 VINs per NHTSA call.
  Set `includeRecalls` to also attach recalls for each decoded vehicle.
- **vehicle-catalog** — with `make` + `year`, list all models; without them, list all makes.
- **recalls** — for a `make`/`model`/`year`, return recalls, complaints and crash-test safety
  ratings in one run.

### What you get

- **Decoded VIN** — `make`, `model`, `modelYear`, `manufacturer`, `vehicleType`, `bodyClass`,
  `trim`, `doors`, `driveType`, `engineCylinders`, `displacementL`/`displacementCC`, `engineHP`,
  `fuelTypePrimary`/`Secondary`, `transmissionStyle`/`Speeds`, `gvwr`, `plantCountry`/`plantCity`,
  `series`, `errorCode`/`errorText`, plus a full `raw` object with all ~130 vPIC fields
- **Catalog** — makes (`makeId`, `make`) and models (`makeId`, `make`, `modelId`, `model`)
- **Recalls** — campaign number, component, summary, consequence, remedy, dates, park-it flags
- **Complaints** — ODI number, crash/fire flags, injuries/deaths, components, summary
- **Safety ratings** — NHTSA crash-test ratings (full raw NHTSA record)

### Input

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `mode` | enum | `decode-vin` | `decode-vin`, `vehicle-catalog`, `recalls` |
| `vins` | array | — | 17-char VINs (decode-vin) |
| `make` | string | — | Vehicle make (catalog with year; recalls) |
| `model` | string | — | Vehicle model (recalls) |
| `year` | string | — | Model year (catalog with make; recalls) |
| `includeRecalls` | boolean | `false` | decode-vin: also attach recalls per decoded VIN |

#### Example input

```json
{"mode":"decode-vin","vins":["1HGCM82633A004352","5UXWX7C5*BA"]}
```

Models for a make + year:

```json
{"mode":"vehicle-catalog","make":"honda","year":"2020"}
```

Recalls, complaints & safety ratings:

```json
{"mode":"recalls","make":"honda","model":"accord","year":"2020"}
```

### Output (one decoded VIN)

Fields below are the real normalizer output (`raw` truncated for brevity):

```json
{
  "vin": "1HGCM82633A004352",
  "make": "HONDA",
  "model": "Accord",
  "modelYear": "2003",
  "manufacturer": "AMERICAN HONDA MOTOR CO., INC.",
  "vehicleType": "PASSENGER CAR",
  "bodyClass": "Coupe",
  "trim": "EX",
  "doors": "2",
  "driveType": "FWD/Front-Wheel Drive",
  "engineCylinders": "6",
  "displacementL": "3.0",
  "displacementCC": "2998",
  "engineHP": null,
  "fuelTypePrimary": "Gasoline",
  "fuelTypeSecondary": null,
  "transmissionStyle": null,
  "gvwr": "Class 1: 6,000 lb or less",
  "plantCountry": "UNITED STATES (USA)",
  "plantCity": "MARYSVILLE",
  "series": "EX",
  "errorCode": "0",
  "errorText": "0 - VIN decoded clean. Check Digit (9th position) is correct",
  "raw": { "VIN": "1HGCM82633A004352", "Make": "HONDA", "…": "…" }
}
```

Missing values mean NHTSA has no data for that variable, not that a feature is absent.

### Why this actor

- **Decode + safety in one** — VIN decode, catalog, recalls, complaints and ratings without juggling APIs.
- **Batch decode** — 50 VINs per call keeps it fast and cheap at scale.
- **Nothing lost** — every decoded VIN keeps the full `raw` vPIC object.

### Pricing

Pay per result — **$2.00 per 1,000 results** (one result = one decoded VIN / catalog row / recall /
complaint / rating). No subscription or platform fees.

### Related actors

- **FDA Recalls Scraper** — food/drug/device recalls from openFDA.
- **SEC EDGAR Scraper** — US public-company filings.

### Notes & limits

- Decoding reflects what NHTSA has on file (US-market vehicles); coverage of non-US models varies.
- Public official data (NHTSA vPIC + safety APIs); independent tool, not affiliated with NHTSA.
  You are responsible for compliant use of the output.

# Actor input Schema

## `mode` (type: `string`):

What to fetch: decode-vin (decode VINs), vehicle-catalog (makes, or models for a make+year), recalls (recalls + complaints + safety ratings for make/model/year).

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

One or more 17-char VINs, e.g. \["1HGCM82633A004352"]. Batched 50 per NHTSA call. Used when mode = decode-vin.

## `make` (type: `string`):

Vehicle make, e.g. "honda". Used by vehicle-catalog (with year) and recalls.

## `model` (type: `string`):

Vehicle model, e.g. "accord". Used by recalls.

## `year` (type: `string`):

Model year, e.g. "2020". Used by vehicle-catalog (with make) and recalls.

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

When mode = decode-vin, also fetch recalls for each VIN's decoded make/model/year.

## Actor input object example

```json
{
  "mode": "decode-vin",
  "vins": [
    "1HGCM82633A004352"
  ],
  "includeRecalls": false
}
```

# 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"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("ponderable_hydrometer/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"] }

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

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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"
  ]
}' |
apify call ponderable_hydrometer/vin-decoder --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=ponderable_hydrometer/vin-decoder",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/vteafMqkLi201qh8p/builds/cuge2fFMmiRnhfOLq/openapi.json
