# US Auto Recalls, VIN Decoder & NHTSA Safety Complaints API (`grimbles/us-nhtsa-auto-recalls-complaints-leads`) Actor

Decode 17-character VINs or query make/model/year fleets to extract official US DOT NHTSA safety recalls, Park It / Do Not Drive alerts, OTA fix flags, aggregated crash/fire/injury complaints, Federal Register notices, and a 0-100 Fleet Safety Risk Score. Zero API keys needed.

- **URL**: https://apify.com/grimbles/us-nhtsa-auto-recalls-complaints-leads.md
- **Developed by:** [Grimbles Data Labs](https://apify.com/grimbles) (community)
- **Categories:** Automation, AI, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.13 / 1,000 nhtsa auto recall / safety record enricheds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## US Auto Recalls, VIN Decoder & NHTSA Safety Complaints API

**Decode 17-character VINs or query vehicle fleets (`YYYY Make Model` or NHTSA Campaign Numbers) to extract official US DOT NHTSA safety recalls, *Park It / Do Not Drive* alerts, over-the-air (OTA) update flags, aggregated consumer crash/fire/injury complaints, Federal Register NHTSA notices, and a 0–100 Safety Risk Score.**

Built for **fleet operators, auto insurers, dealerships, used-car marketplaces, automotive SaaS platforms, n8n/Make workflows, and AI agents (MCP)** using 100% official US Department of Transportation REST APIs — zero API keys or proxies required.

***

### Key Features

- **NHTSA vPIC VIN Decoder (`DecodeVinValues`)**: Automatically decodes 17-character VINs into `Make`, `Model`, `ModelYear`, `Manufacturer`, `VehicleType`, `BodyClass`, `FuelTypePrimary`, and `PlantCountry` before querying safety history.
- **NHTSA Safety Recalls (`recallsByVehicle` & `campaignNumber`)**: Extracts `NHTSACampaignNumber`, affected `Component`, `Summary`, `Consequence`, `Remedy`, `parkIt` (*Do Not Drive*), `parkOutSide` (*Park Outside / Fire Risk*), and `overTheAirUpdate`.
- **Consumer Safety Complaints Aggregation (`complaintsByVehicle`)**: Aggregates total consumer complaints, `crashComplaintsCount`, `fireComplaintsCount`, `injuriesReported`, `deathsReported`, and top defect components.
- **US Federal Register NHTSA Regulatory Notices**: Enriches each OEM with the latest NHTSA rulemaking/defect notice from `federalregister.gov/api/v1/documents.json`.

***

### Sample Output JSON

```json
{
  "campaignNumber": "22V862000",
  "recordType": "NHTSA_RECALL",
  "vin": "1FTFW1E84NFA00001",
  "modelYear": "2021",
  "make": "FORD",
  "model": "F-150",
  "manufacturer": "Ford Motor Company",
  "vehicleType": "TRUCK",
  "bodyClass": "Pickup",
  "fuelTypePrimary": "Gasoline",
  "plantCountry": "UNITED STATES (USA)",
  "component": "VISIBILITY:WIPER/WASHER",
  "reportReceivedDate": "18/11/2022",
  "summary": "Ford Motor Company is recalling certain 2021-2022 F-150 vehicles...",
  "consequence": "Inoperative windshield wipers can reduce visibility...",
  "remedy": "Dealers will replace the windshield wiper motor, free of charge.",
  "parkIt": false,
  "parkOutSide": false,
  "overTheAirUpdate": false,
  "totalComplaintsForVehicle": 148,
  "crashComplaintsCount": 6,
  "fireComplaintsCount": 2,
  "injuriesReported": 3,
  "deathsReported": 0,
  "topComplaintComponents": ["ENGINE", "ELECTRICAL SYSTEM", "SERVICE BRAKES"],
  "federalRegisterNoticeTitle": "Petition for Decision of Inconsequential Noncompliance: Ford Motor Company",
  "federalRegisterNoticeDate": "2026-10-15",
  "federalRegisterNoticeUrl": "https://www.federalregister.gov/d/2026-19001",
  "safetyRiskScore": 65,
  "nhtsaUrl": "https://www.nhtsa.gov/recalls?nhtsaId=22V862000"
}
```

***

### AI Agent (MCP) & n8n Automation Integration

#### Apify MCP Server (Claude Desktop / Cursor / Windsurf)

```json
{
  "mcpServers": {
    "us-nhtsa-auto-recalls-complaints-leads": {
      "url": "https://mcp.apify.com/?tools=grimbles/us-nhtsa-auto-recalls-complaints-leads",
      "headers": {
        "Authorization": "Bearer <YOUR_APIFY_API_TOKEN>"
      }
    }
  }
}
```

#### n8n / Make HTTP Run-Sync Integration

```json
{
  "method": "POST",
  "url": "https://api.apify.com/v2/acts/grimbles~us-nhtsa-auto-recalls-complaints-leads/run-sync-get-dataset-items",
  "headers": {
    "Authorization": "Bearer <YOUR_APIFY_API_TOKEN>",
    "Content-Type": "application/json"
  },
  "body": {
    "vehicles": ["2021 Ford F-150", "2022 Tesla Model 3", "2020 Honda Accord"],
    "includeComplaints": true,
    "includeFederalRegisterNotices": true,
    "maxResults": 25
  }
}
```

# Actor input Schema

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

List of 17-character VINs to decode via NHTSA vPIC into make/model/year/plant specs before pulling recalls and consumer safety complaints.

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

List of vehicles formatted as 'YYYY Make Model' (e.g. '2021 Ford F-150', '2022 Tesla Model 3', '2020 Honda Accord').

## `campaignNumbers` (type: `array`):

Optional specific NHTSA campaign IDs (e.g. '21V407000') to look up directly.

## `includeComplaints` (type: `boolean`):

Fetch NHTSA consumer complaints for each vehicle and aggregate total complaints, crash/fire counts, injuries, deaths, and top defect components.

## `includeFederalRegisterNotices` (type: `boolean`):

Query the official US Federal Register API for recent NHTSA safety notices and investigations matching each manufacturer.

## `maxResults` (type: `integer`):

Maximum number of recall or vehicle safety records to deliver.

## Actor input object example

```json
{
  "vins": [],
  "vehicles": [
    "2021 Ford F-150",
    "2022 Tesla Model 3",
    "2020 Honda Accord"
  ],
  "campaignNumbers": [],
  "includeComplaints": true,
  "includeFederalRegisterNotices": true,
  "maxResults": 25
}
```

# Actor output Schema

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

Dataset containing NHTSA recall campaigns, VIN metadata, consumer complaint aggregates, and safety risk scores.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("grimbles/us-nhtsa-auto-recalls-complaints-leads").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("grimbles/us-nhtsa-auto-recalls-complaints-leads").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 '{}' |
apify call grimbles/us-nhtsa-auto-recalls-complaints-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,grimbles/us-nhtsa-auto-recalls-complaints-leads"
        }
    }
}
```

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/ojJB3yviicDJTpYvZ/builds/TF6PZ5HDarw6Ce7uP/openapi.json
