# VIN Decoder and Vehicle Recalls (NHTSA) (`scraperworks/vehicle-recalls`) Actor

Decode any VIN into make, model, year, trim and engine specs, and list the US safety recalls on record for that vehicle, from NHTSA's official data. Or look up recalls by name, e.g. "2018 Tesla Model 3". Clean JSON for dealers, insurers and AI agents.

- **URL**: https://apify.com/scraperworks/vehicle-recalls.md
- **Developed by:** [scraperworks](https://apify.com/scraperworks) (community)
- **Categories:** Automation, AI
- **Features:** Limited permissions
- **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/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 and Vehicle Recalls (NHTSA)

Decode any VIN into make, model, year, trim, body and engine specs, and get the **US safety recalls** on record for that vehicle. Or skip the VIN and ask by name: `2018 Tesla Model 3`. Everything comes from NHTSA (the US National Highway Traffic Safety Administration) through its official public APIs.

### Who it's for

- **Car dealers and marketplaces** checking stock and listings for recalls.
- **Insurers, fleets and rental companies** decoding VINs in bulk.
- **Car buyers and the AI assistants helping them**: "decode this VIN, any recalls?" in one call, with small and clean output.

### Input

| Field | What it does |
|---|---|
| **VINs or vehicles** | One per line: a 17-character VIN, or a model year, make and model (`2018 Tesla Model 3`, `Land Rover Range Rover 2018`, `2016 Chevy Bolt`). Up to 100 per run |
| **Include recalls** | On by default. Turn it off to only decode VINs |

```json
{ "vehicles": ["1HGCM82633A004352", "5YJ3E1EA7JF000001", "2018 Land Rover Range Rover"] }
```

### Output

One row per vehicle. A real example (one recall shown out of 19):

```json
{
  "query": "5YJ3E1EA7JF000001",
  "vin": "5YJ3E1EA7JF000001",
  "vinValid": false,
  "vinMessage": "1 - Check Digit (9th position) does not calculate properly",
  "make": "TESLA",
  "model": "Model 3",
  "modelYear": 2018,
  "bodyClass": "Sedan/Saloon",
  "vehicleType": "PASSENGER CAR",
  "doors": 4,
  "fuelType": "Electric",
  "electrification": "BEV (Battery Electric Vehicle)",
  "transmission": "Automatic",
  "manufacturer": "TESLA, INC.",
  "plantCountry": "UNITED STATES (USA)",
  "recallModels": ["MODEL 3"],
  "recallCount": 19,
  "recalls": [
    {
      "campaignNumber": "26V507000",
      "reportDate": "2026-08-05",
      "component": "EXTERIOR LIGHTING:HEADLIGHTS",
      "summary": "Tesla, Inc. (Tesla) is recalling certain 2017-2023 Model 3 and 2020-2023 Model Y vehicles. The headlight low beams may be too bright ...",
      "consequence": "Headlight low beams that are too bright can reduce visibility for oncoming drivers, increasing the risk of a crash.",
      "remedy": "Tesla Service will replace the headlights, free of charge. ...",
      "parkIt": false,
      "parkOutside": false,
      "overTheAirUpdate": false
    }
  ],
  "note": null,
  "scrapedAt": "2026-10-19T12:00:00Z"
}
```

Fields NHTSA has no data for are `null` (trim, engine size and others), and some fields are left out of the example above. `parkIt` and `parkOutside` mark NHTSA's most urgent recalls: don't drive it, or park it outdoors.

### Pricing

Pay per result: **$2.00 per 1,000 vehicles**. Each vehicle comes with all its recalls. Lines we can't read are free. You can set a spending limit on any run.

### Good to know

- **Recalls are per make, model and model year,** as NHTSA files them. Whether one particular car has already been repaired isn't in NHTSA's public data; the manufacturer's own VIN lookup has that.
- **Model names follow NHTSA's.** `Range Rover` covers its long and short wheelbase versions. `Range` matches every Range Rover model, and `Model S` every Model S variant. `recallModels` shows which names were used.
- **No recalls listed?** The `note` says so and lists the models of that make that do have recalls that year, in case NHTSA spells yours differently.
- **A VIN with a wrong check digit** often still decodes. `vinValid` is then `false` and `vinMessage` says why.
- **US vehicles only.** NHTSA covers vehicles sold in the United States.

# Actor input Schema

## `vehicles` (type: `array`):

One per line: a 17-character VIN (1HGCM82633A004352), or a model year, make and model (2018 Tesla Model 3). Up to 100 per run.

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

List the recalls NHTSA has on record for each vehicle's make, model and year. Turn off to only decode VINs.

## Actor input object example

```json
{
  "vehicles": [
    "1HGCM82633A004352",
    "2018 Tesla Model 3"
  ],
  "includeRecalls": true
}
```

# Actor output Schema

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

One row per vehicle, with its recalls, plus an error row for each line not understood.

# 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 = {
    "vehicles": [
        "1HGCM82633A004352",
        "2018 Tesla Model 3"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scraperworks/vehicle-recalls").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 = { "vehicles": [
        "1HGCM82633A004352",
        "2018 Tesla Model 3",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("scraperworks/vehicle-recalls").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 '{
  "vehicles": [
    "1HGCM82633A004352",
    "2018 Tesla Model 3"
  ]
}' |
apify call scraperworks/vehicle-recalls --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scraperworks/vehicle-recalls"
        }
    }
}
```

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/en0cf9FoUd1WrnO1r/builds/OFMGxW207BdagEXgU/openapi.json
