Skip to main content
AI Studio  add-on for Spider.
Automotive
nhtsa.gov Verified

NHTSA Scraper

Extract NHTSA vehicle safety ratings, recall notices, complaint data, and crash test results from the government database.

Get started Docs
target
nhtsa.gov
success rate
99.9%
latency
~4ms
POST /fetch/nhtsa.gov/
return_format
curl -X POST https://api.spider.cloud/fetch/nhtsa.gov/ \
  -H "Authorization: Bearer $SPIDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
200 OK · cache hit · response shape
{
  "url": "https://nhtsa.gov/",
  "status": 200,
  "data": {
    "vehicle_model": "string",
    "overall_safety_rating": "string",
    "frontal_crash": "string",
    "side_crash": "string",
    "rollover_rating": "string",
    "recall_count": "string",
    "complaint_count": "string",
    "investigation_status": "string"
  }
}
Quick start

Extract data in minutes.

Structured JSON from nhtsa.gov with a single POST. Call it with no selectors and the model names the fields, or pass your own CSS to skip the AI.

nhtsa-scraper.ts
import { SpiderBrowser } from "spider-browser";

const spider = new SpiderBrowser({
  apiKey: process.env.SPIDER_API_KEY!,
  stealth: 2,
});

await spider.connect();
const page = spider.page!;
await page.goto("https://www.nhtsa.gov/vehicle/2024/TOYOTA/CAMRY/4%20DR/FWD");

// No selectors, no schema. Spider reads the page and names the fields.
const data = await page.scrape();

console.log(data);
await spider.close();
ready to run · spider-browser · no selectors
Extraction

Fields you can pull.

Vehicle modelOverall safety ratingFrontal crashSide crashRollover ratingRecall countComplaint countInvestigation status
Listings

Vehicle inventory

Extract make, model, year, price, and mileage from nhtsa.gov listings.

Rendering

Dynamic search

Handle interactive search filters, map views, and lazy-loaded inventory pages.

Scale

Market coverage

Process thousands of vehicle listings across dealers and private sellers.

Related

More Automotive scrapers.

Start

Start scraping nhtsa.gov.

Grab an API key and call the endpoint above. The first request resolves the config; every request after hits cache.