# NHTSA Recall & Complaint Watch Scraper (`taroyamada/nhtsa-recall-complaint-watch-scraper`) Actor

Track official NHTSA recall and complaint records by make, model, model year, campaign, and component watch terms.

- **URL**: https://apify.com/taroyamada/nhtsa-recall-complaint-watch-scraper.md
- **Developed by:** [太郎 山田](https://apify.com/taroyamada) (community)
- **Categories:** Business, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $80.00 / 1,000 nhtsa watch alerts

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 a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

## NHTSA Recall & Complaint Watch Scraper

Fleet, warranty, marketplace, and automotive operations teams use this actor to monitor public recall and complaint updates.

Input make, model, model year, components, and keywords from public NHTSA recall and complaint APIs.

Get source-linked recall and complaint alert, digest, and report rows for fleet, warranty, and marketplace review workflows.

### Store Quickstart

1. Use the first input example with `dryRun=false`.
2. Keep `notifyOnNoNew=false` so unchanged scheduled checks emit zero rows and zero charges.
3. Review `billingEventName` in the output before increasing feed count.

### Input Examples

```json
{
  "feeds": [
    {
      "id": "accord-2020",
      "name": "2020 Honda Accord watch",
      "make": "Honda",
      "model": "Accord",
      "modelYear": 2020,
      "components": "electrical system,engine",
      "keywords": "software,stall,brake"
    }
  ],
  "watchTerms": "airbag,brake,stall,electrical system",
  "lookbackDays": 30,
  "datasetMode": "action_needed",
  "notifyOnNoNew": false,
  "emitReport": true,
  "dryRun": false
}
````

```json
{
  "feeds": [
    {
      "id": "accord-2020",
      "name": "2020 Honda Accord watch",
      "make": "Honda",
      "model": "Accord",
      "modelYear": 2020,
      "components": "electrical system,engine",
      "keywords": "software,stall,brake"
    }
  ],
  "watchTerms": "airbag,brake,stall,electrical system",
  "lookbackDays": 30,
  "datasetMode": "new_only",
  "notifyOnNoNew": false,
  "emitReport": false,
  "dryRun": false
}
```

```json
{
  "feeds": [
    {
      "id": "accord-2020",
      "name": "2020 Honda Accord watch",
      "make": "Honda",
      "model": "Accord",
      "modelYear": 2020,
      "components": "electrical system,engine",
      "keywords": "software,stall,brake"
    }
  ],
  "watchTerms": "airbag,brake,stall,electrical system",
  "lookbackDays": 30,
  "datasetMode": "action_needed",
  "notifyOnNoNew": false,
  "emitReport": true,
  "dryRun": true
}
```

### Sample Output

```json
{
  "actorName": "nhtsa-recall-complaint-watch-scraper",
  "rowType": "nhtsa_watch_digest",
  "feedId": "accord-2020",
  "feedName": "2020 Honda Accord watch",
  "checkedAt": "2026-05-11T00:00:00.000Z",
  "fetchedAt": "2026-05-11T00:00:00.000Z",
  "sourceUrl": "https://api.nhtsa.gov/recalls/recallsByVehicle?make=Honda&model=Accord&modelYear=2020",
  "warnings": [],
  "status": "action_needed",
  "newDocCount": 1,
  "totalDocCount": 1,
  "changedSinceLastRun": true,
  "actionNeeded": true,
  "reviewNote": "Review the source-linked public record and update the watchlist if needed.",
  "signalTags": [
    "watch_term_hit"
  ],
  "watchTermHits": [
    {
      "term": "recall",
      "docNumber": "20V771000",
      "title": "Honda Accord electrical system recall"
    }
  ],
  "documents": [
    {
      "docNumber": "20V771000",
      "title": "Honda Accord electrical system recall",
      "docType": "NHTSA_RECALL",
      "publicationDate": "2020-12-10",
      "primaryAgency": "NHTSA",
      "component": "ELECTRICAL SYSTEM",
      "sourceUrl": "https://api.nhtsa.gov/recalls/recallsByVehicle?make=Honda&model=Accord&modelYear=2020"
    }
  ],
  "billingEventName": "nhtsa-watch-alert"
}
```

### Output fields

- `rowType`: `nhtsa_watch_digest`
- `billingEventName`: one of `nhtsa-watch-alert`, `nhtsa-digest`, or `nhtsa-report`
- `documents[]`: nested official public records with source URLs
- `watchTermHits[]`: matched public-record terms for review
- `reviewNote`: source-linked review note, not agency guidance or certification

### Pricing

This actor charges only when it emits a billable alert, digest, or report row:

- `nhtsa-watch-alert`: $0.08 per watchlist alert row
- `nhtsa-digest`: $0.25 per non-empty digest row
- `nhtsa-report`: $5.00 per generated report row

No-change runs emit zero default dataset rows and zero charges when `notifyOnNoNew=false`.

### Compliance

- Uses official public data from nhtsa-recalls-complaints-api.
- Do not perform mass VIN checks, infer vehicle ratings, or imply NHTSA endorsement.
- No login, API key, cookie, credential, CAPTCHA bypass, private data, or agency mark is used.
- Rows are source-linked observations for review workflows, not professional guidance or agency determinations.

### See Also

- `cpsc-product-recall-marketplace-watch-scraper`
- `epa-echo-enforcement-facility-watch-scraper`
- `sec-edgar-material-disclosure-watch-scraper`

# Actor input Schema

## `feeds` (type: `array`):

One watch target per product, vehicle, facility, company, program, or keyword group.

## `watchTerms` (type: `string`):

Global watch terms.

## `lookbackDays` (type: `integer`):

Lookback days.

## `datasetMode` (type: `string`):

Dataset output mode.

## `notifyOnNoNew` (type: `boolean`):

Emit no-change rows.

## `emitReport` (type: `boolean`):

Emit report row.

## `snapshotKey` (type: `string`):

Snapshot key.

## `requestTimeoutSeconds` (type: `integer`):

HTTP timeout seconds.

## `dryRun` (type: `boolean`):

Dry run.

## `fixturePath` (type: `string`):

Fixture path.

## `nowIso` (type: `string`):

Override current time.

## `initialRunMode` (type: `string`):

Controls first-run behavior. emit\_current\_window only bills records inside lookbackDays; baseline\_only saves state with zero rows; emit\_backfill is for explicit setup/canary runs.

## Actor input object example

```json
{
  "feeds": [
    {
      "id": "accord-2020",
      "name": "2020 Honda Accord watch",
      "make": "Honda",
      "model": "Accord",
      "modelYear": 2020,
      "components": "electrical system,engine",
      "keywords": "software,stall,brake"
    }
  ],
  "lookbackDays": 30,
  "datasetMode": "action_needed",
  "notifyOnNoNew": false,
  "emitReport": true,
  "snapshotKey": "nhtsa-recall-complaint-watch-state",
  "requestTimeoutSeconds": 30,
  "dryRun": false,
  "initialRunMode": "emit_current_window"
}
```

# 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 = {
    "feeds": [
        {
            "id": "accord-2020",
            "name": "2020 Honda Accord watch",
            "make": "Honda",
            "model": "Accord",
            "modelYear": 2020,
            "components": "electrical system,engine",
            "keywords": "software,stall,brake"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("taroyamada/nhtsa-recall-complaint-watch-scraper").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 = { "feeds": [{
            "id": "accord-2020",
            "name": "2020 Honda Accord watch",
            "make": "Honda",
            "model": "Accord",
            "modelYear": 2020,
            "components": "electrical system,engine",
            "keywords": "software,stall,brake",
        }] }

# Run the Actor and wait for it to finish
run = client.actor("taroyamada/nhtsa-recall-complaint-watch-scraper").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 '{
  "feeds": [
    {
      "id": "accord-2020",
      "name": "2020 Honda Accord watch",
      "make": "Honda",
      "model": "Accord",
      "modelYear": 2020,
      "components": "electrical system,engine",
      "keywords": "software,stall,brake"
    }
  ]
}' |
apify call taroyamada/nhtsa-recall-complaint-watch-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=taroyamada/nhtsa-recall-complaint-watch-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "NHTSA Recall & Complaint Watch Scraper",
        "description": "Track official NHTSA recall and complaint records by make, model, model year, campaign, and component watch terms.",
        "version": "0.1",
        "x-build-id": "OorAAaO3rHGoF24DL"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/taroyamada~nhtsa-recall-complaint-watch-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-taroyamada-nhtsa-recall-complaint-watch-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/taroyamada~nhtsa-recall-complaint-watch-scraper/runs": {
            "post": {
                "operationId": "runs-sync-taroyamada-nhtsa-recall-complaint-watch-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/taroyamada~nhtsa-recall-complaint-watch-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-taroyamada-nhtsa-recall-complaint-watch-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "feeds"
                ],
                "properties": {
                    "feeds": {
                        "title": "Watch feeds",
                        "type": "array",
                        "description": "One watch target per product, vehicle, facility, company, program, or keyword group.",
                        "items": {
                            "type": "object",
                            "properties": {
                                "id": {
                                    "title": "Feed ID",
                                    "type": "string",
                                    "description": "Feed ID."
                                },
                                "name": {
                                    "title": "Feed name",
                                    "type": "string",
                                    "description": "Feed name."
                                },
                                "make": {
                                    "title": "Make",
                                    "type": "string",
                                    "description": "Make."
                                },
                                "model": {
                                    "title": "Model",
                                    "type": "string",
                                    "description": "Model."
                                },
                                "modelYear": {
                                    "title": "Model year",
                                    "type": "integer",
                                    "description": "Model year."
                                },
                                "components": {
                                    "title": "Components",
                                    "type": "string",
                                    "description": "Components."
                                },
                                "keywords": {
                                    "title": "Keywords",
                                    "type": "string",
                                    "description": "Keywords."
                                }
                            }
                        }
                    },
                    "watchTerms": {
                        "title": "Global watch terms",
                        "type": "string",
                        "description": "Global watch terms."
                    },
                    "lookbackDays": {
                        "title": "Lookback days",
                        "minimum": 1,
                        "maximum": 365,
                        "type": "integer",
                        "description": "Lookback days.",
                        "default": 30
                    },
                    "datasetMode": {
                        "title": "Dataset output mode",
                        "enum": [
                            "all",
                            "action_needed",
                            "new_only"
                        ],
                        "type": "string",
                        "description": "Dataset output mode.",
                        "default": "action_needed"
                    },
                    "notifyOnNoNew": {
                        "title": "Emit no-change rows",
                        "type": "boolean",
                        "description": "Emit no-change rows.",
                        "default": false
                    },
                    "emitReport": {
                        "title": "Emit report row",
                        "type": "boolean",
                        "description": "Emit report row.",
                        "default": true
                    },
                    "snapshotKey": {
                        "title": "Snapshot key",
                        "type": "string",
                        "description": "Snapshot key.",
                        "default": "nhtsa-recall-complaint-watch-state"
                    },
                    "requestTimeoutSeconds": {
                        "title": "HTTP timeout seconds",
                        "minimum": 5,
                        "maximum": 120,
                        "type": "integer",
                        "description": "HTTP timeout seconds.",
                        "default": 30
                    },
                    "dryRun": {
                        "title": "Dry run",
                        "type": "boolean",
                        "description": "Dry run.",
                        "default": false
                    },
                    "fixturePath": {
                        "title": "Fixture path",
                        "type": "string",
                        "description": "Fixture path."
                    },
                    "nowIso": {
                        "title": "Override current time",
                        "type": "string",
                        "description": "Override current time."
                    },
                    "initialRunMode": {
                        "title": "Initial run mode",
                        "enum": [
                            "emit_current_window",
                            "baseline_only",
                            "emit_backfill"
                        ],
                        "type": "string",
                        "description": "Controls first-run behavior. emit_current_window only bills records inside lookbackDays; baseline_only saves state with zero rows; emit_backfill is for explicit setup/canary runs.",
                        "default": "emit_current_window"
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
