Everyday lifeUsed Cars
Used Car Check API: A Buyer's Report and Risk Score from Any VIN
Used car check API guide: turn a VIN into a buyer's report with known weak points, rated recalls, a 0-100 risk score and an inspection checklist.
A buyer looks at a 2014 Ford Focus with 85,000 miles on a classifieds site. The listing says "runs great". What the buyer needs to know is that owners of that model year filed 2,661 complaints with the U.S. safety regulator, 60 % of them about the powertrain, and that the model has 12 safety recalls, two of them critical. None of that is in the listing, and a history report, which covers one car's accidents and owners, would not say it either. A used car check API can put that knowledge on every listing.
This tutorial uses the Used Car Check API to turn a VIN into a buyer's report: known weak points, rated recalls, owner complaints, crash-test stars, a 0-100 risk score computed by code, an inspection checklist and questions for the seller, in the buyer's language. Every response shown is a real call.
What a VIN check can tell a buyer
Two kinds of reports answer two different questions:
| Vehicle history report | Model safety record (this API) | |
|---|---|---|
| Question | Where has this car been? | What goes wrong on this model, and what to check? |
| Data | Accidents, title brands, odometer readings, owners | Recalls, owner complaints, crash tests, defect investigations |
| Source | Private databases (insurers, auctions, DMVs) and NMVTIS | Public data from NHTSA |
| Unit | One vehicle | One make, model and model year |
| Typical price | $25 to $45 for consumers | About $0.01 per AI report |
A careful buyer wants both. The model record can be shown on every listing at almost no cost, and it tells the buyer what to check on the test drive. NHTSA covers vehicles sold in North America.
The API builds on the VIN decoder: it decodes the VIN, pulls the model year's recalls, complaints and NCAP ratings, rates each recall, computes the score and, for the full report, has a model write the text from those facts only.
Screen a VIN with facts and a risk score
GET /v1/car-report/facts returns all the data and the risk score without AI, for 1 credit. It is the call to run on a whole stock before paying for reports. The examples use Python and requests; the API reference documents every field. The VINs in this article were built for it on real model patterns (valid check digit, made-up serial number), so they identify a model year and not anyone's car.
import requests
HOST = "used-car-check-ai-vehicle-report-from-vin.p.rapidapi.com"
API = f"https://{HOST}"
HEADERS = {"x-rapidapi-key": "YOUR_API_KEY", "x-rapidapi-host": HOST}
response = requests.get(
f"{API}/v1/car-report/facts",
headers=HEADERS,
params={"vin": "1FADP3F25EL123456", "mileage": 85000},
timeout=60,
)
response.raise_for_status()
facts = response.json()
print(facts["vehicle"]["model_year"], facts["vehicle"]["model"], facts["risk"]["score"])
The real response for the 2014 Focus SE, shortened to the score and the summaries:
{
"vin": "1FADP3F25EL123456",
"age_years": 12,
"vehicle": {
"make": "FORD",
"model": "Focus",
"model_year": 2014,
"trim": "SE",
"engine": { "cylinders": 4, "displacement_l": 2.0, "power_hp": 160.0, "fuel": "Gasoline" },
"transmission": {},
"...": "..."
},
"risk": {
"score": 55,
"level": "high",
"factors": [
{ "code": "recalls", "points": 17, "label": "8 recalls for this vehicle, 2 critical (fire, death or do-not-drive risk), 3 only for some versions or build dates (counted half: check them with the VIN); repair status unknown" },
{ "code": "complaints", "points": 14, "label": "2,661 owner complaints filed with NHTSA (very high volume)" },
{ "code": "age", "points": 10, "label": "12 years old (model year 2014): more wear, older safety design" },
{ "code": "weak_point", "points": 5, "label": "POWER TRAIN: 60% of complaints (1,597), a known weak point" },
{ "code": "investigations", "points": 4, "label": "5 NHTSA defect investigations of the model (open or closed)" },
{ "code": "complaint_fires", "points": 3, "label": "10 fires reported by owners" },
{ "code": "complaint_deaths", "points": 2, "label": "1 death reported in owner complaints" }
],
"method": "Warning signs in public NHTSA data for this make, model and year (...). It cannot see this car's own history: accidents, maintenance and whether its recalls were repaired. Complaint counts grow with sales, so popular models collect more."
},
"recalls": { "count": 12, "critical": 2, "high": 4, "recalls": ["..."] },
"complaints": {
"count": 2661,
"crashes": 69,
"fires": 10,
"injuries": 47,
"deaths": 1,
"top_components": [
{ "component": "POWER TRAIN", "count": 1597, "share_percent": 60 },
{ "component": "ENGINE", "count": 458, "share_percent": 17 },
"..."
]
},
"safety": { "tested": true, "lowest_stars": 5, "highest_stars": 5, "rollover_risk_percent": 11.6, "investigations": 5 },
"mileage": { "miles": 85000, "expected_miles": 144000, "ratio": 0.59, "verdict": "low" },
"unavailable": []
}
How the risk score is computed
The score is code, not AI: the same data always gives the same score, and every point has a label you can show. Points add up to a cap of 100:
| Signal | Points |
|---|---|
| Age of the model year | 0 to 18 |
| Mileage against 12,000 miles a year | 0 to 12, +5 for heavy use, +4 for suspiciously low mileage |
| Recalls that fit the vehicle | 6 per critical, 2 per high, 1 per moderate or over-the-air fix; half for a check recall, none for unlikely; capped at 30 |
| Volume of owner complaints | 0 to 14 |
| Deaths and fires in complaints | 2 to 4, and 3 |
| One component with 30 % or more of complaints | 5 |
| Crash-test stars below 5, or no rating | 3 to 12, or 3 |
| Rollover risk of 20 % or more | 4 |
| NHTSA defect investigations | 2 to 4 |
| Wrong check digit on a North American VIN | 10 |
Levels: 0-24 low, 25-49 moderate, 50-74 high, 75 and more very high. For the Focus, NHTSA lists 12 recalls for the model year, but 4 target the ST version or the hatchback and count for nothing. Of the 8 left, 3 cover only some versions or build dates and count half: 17 points. At 85,000 miles for a 12-year-old car, the mileage is below the expected 144,000 and adds nothing.
As method warns, complaint counts grow with sales: compare scores within a segment, not across it.
Generate the AI buyer's report
GET /v1/car-report/report takes the same VIN and mileage plus a language, and costs 10 credits. With curl:
curl -G "https://used-car-check-ai-vehicle-report-from-vin.p.rapidapi.com/v1/car-report/report" \
--data-urlencode "vin=1FADP3F25EL123456" \
--data-urlencode "language=English" \
--data-urlencode "mileage=85000" \
-H "X-RapidAPI-Key: YOUR_API_KEY" \
-H "X-RapidAPI-Host: used-car-check-ai-vehicle-report-from-vin.p.rapidapi.com"
The real response took 5.4 seconds. It contains the facts and risk shown above, plus the text written by the model (shortened to two of five issues, two of six checks and two of seven questions):
{
"vin": "1FADP3F25EL123456",
"language": "English",
"title": "2014 FORD Focus SE",
"summary": "The 2014 Ford Focus SE is a compact sedan that has been subject to a very high volume of owner complaints and multiple safety recalls. Major concerns include significant power train failures, engine stalling, and steering issues that pose serious safety risks. Due to the high number of reported defects and the unknown status of recall repairs, this vehicle is not recommended for purchase without a thorough inspection.",
"risk_explanation": "The high risk score is driven by a very high volume of 2,661 owner complaints, with 60% specifically targeting the power train. The vehicle is 12 years old and has 8 associated recalls, including critical risks involving fire and steering control. ...",
"known_issues": [
{
"title": "Power Train Failure",
"detail": "Owners frequently report severe shuddering, harsh shifting, and complete failure of the Transmission Control Module in the DPS6 automatic transmission.",
"severity": "high",
"source": "complaints"
},
{
"title": "Engine Stalling",
"detail": "Multiple recalls and complaints describe the engine stalling unexpectedly while driving due to canister purge valve malfunctions or fuel delivery issues.",
"severity": "high",
"source": "recall"
}
],
"inspection_checklist": [
{
"area": "Power Train",
"check": "Test drive the vehicle to check for shuddering, hesitation, or harsh shifting during acceleration.",
"why": "The DPS6 transmission is a known weak point with 1,597 complaints."
},
{
"area": "Body",
"check": "Check the door-jamb label for the build date to see if it falls within the recall windows for steering or fuel system issues.",
"why": "Some recalls apply only to specific manufacturing dates."
}
],
"questions_for_seller": [
"Have you checked the VIN against the NHTSA recall database to see which recalls apply to this specific car?",
"Has the transmission or the Transmission Control Module (TCM) ever been replaced or serviced?"
],
"limits_note": "This report covers the model's public safety record, not this car's own history; a vehicle history report and an inspection by a mechanic complete it."
}
This is what a mechanic who knows the model would say. The 2012-2016 Focus with the dual-clutch DPS6 (PowerShift) automatic is known for shudder and transmission control module failures, and the report reached that from the owners' complaint texts. It also turned the recalls limited to some build dates into a concrete check: the build date on the door-jamb label. One nuance to add: this VIN does not encode the transmission (transmission is empty), and the Focus SE was also sold with a manual gearbox, so the first question is which one this car has. The questions ask for proof, since the repair status of a given car is unknown.
Why the numbers can be trusted
Every number the model writes is checked against the facts; a sentence, weak point or question with any other figure is removed, and if the summary or checklist disappears, the call fails with 503 ai_error, unbilled. The score is never the model's opinion.
The same report in the buyer's language
language takes a name or a code (French, es, pt-BR). A real call for a 2015 Jeep Grand Cherokee Laredo at 160,000 km in Spanish, shortened:
{
"language": "es",
"title": "2015 JEEP Grand Cherokee Laredo",
"known_issues": [
{
"title": "Despliegue inesperado de reposacabezas",
"detail": "Numerosos reportes indican que el sistema de reposacabezas activo se despliega sin causa externa, pudiendo causar lesiones a los ocupantes.",
"severity": "medium",
"source": "complaints"
}
],
"questions_for_seller": [
"¿Ha verificado con un concesionario oficial si todas las llamadas a revisión (recalls) han sido atendidas?"
]
}
Seats are the second most cited component for that model year (317 complaints, 23 %), and the report made the narratives a concrete weak point. The risk.factors labels stay in English, since code writes them; translate them in your interface if needed.
Read recalls like a mechanic
Each recall in facts.recalls.recalls carries NHTSA's text plus two fields added by the API:
severity:criticalwhen NHTSA says not to drive or to park outside, or the consequence mentions fire, burn or death;highfor crash, injury or stalling;moderatefor the rest (labels, lighting, equipment campaigns).applies:likely,check(only some versions or build dates, or other models named) orunlikely(another engine, fuel, version or body, or an aftermarket part or child seat campaign), with the reason inapplies_reason.
The Jeep shows why applies matters. Its VIN decodes to a 3.6-litre gasoline V6, and the model year has diesel recalls:
{
"campaign": "22V406000",
"component": "FUEL SYSTEM, DIESEL:DELIVERY:FUEL PUMP",
"summary": "Chrysler (FCA US, LLC) is recalling certain 2014-2020 Jeep Grand Cherokee, and 2014-2019 Ram 1500 vehicles equipped with 3.0L diesel engines. ...",
"severity": "high",
"applies": "unlikely",
"applies_reason": "a diesel engine part, this one is not diesel"
}
unlikely recalls do not count in the score. The Jeep has five: four for the 3.0L EcoDiesel, the critical EGR cooler recall 20V699000 among them ("only diesel engines, this one is not"), and one aftermarket turbo part. With 5 recalls that fit, two of them check, its score is 41, moderate.
Production windows are check. The Focus's critical steering recall 14V514000 has park_it: true but covers a single week of production: "only vehicles built August 8, 2014, to August 15, 2014: check this one's build date (door-jamb label) or its VIN on the recall lookup". It counts half until NHTSA's VIN lookup or a Ford dealer settles it.
Screen a stock in Python
Run facts on every vehicle and keep AI reports for the cars that need words:
import time
vins = ["1FADP3F25EL123456", "1N4AL3AP5DC123456", "1C4RJFAG6FC123456"]
def get(path, params, retries=2):
for attempt in range(retries + 1):
r = requests.get(f"{API}{path}", headers=HEADERS, params=params, timeout=90)
if r.status_code == 503 and attempt < retries:
time.sleep(5 * (attempt + 1))
continue
return r
for vin in vins:
r = get("/v1/car-report/facts", {"vin": vin})
if r.status_code == 404:
print(vin, "not a North American vehicle")
continue
r.raise_for_status()
facts = r.json()
v, risk = facts["vehicle"], facts["risk"]
print(vin, v["model_year"], v["make"], v["model"], risk["score"], risk["level"])
The three real calls scored the 2014 Ford Focus at 55 and the 2013 Nissan Altima at 53, both high, and the 2015 Jeep Grand Cherokee at 41, moderate. The Jeep's 2WD variant has a 20.4 % rollover risk and a 4-star overall rating, which add 7 points.
Production advice:
- Retry 503, not 404.
503 source_unavailablemeans NHTSA was slow or down, and is not billed.404 vehicle_not_foundis final for that VIN: a real call with the European Volkswagen VINWVWZZZ1KZAW000001answered "NHTSA does not know this vehicle's make, model and year (usually a vehicle not sold in North America)". - Check
unavailable. If NHTSA's complaint or crash-test service is down, the report is built without it and names it there. - Cache reports. The API keeps one for 6 hours but bills repeat calls.
What it costs
| Plan | Price per month | Credits | In practice |
|---|---|---|---|
| BASIC | Free | 20 per day | 2 AI reports or 20 facts calls a day |
| PRO | $4.99 | 5,000 | 500 reports, about $0.01 each, or 5,000 facts at $0.001 |
| ULTRA | $14.99 | 15,000 | 1,500 reports |
| MEGA | $49.99 | 50,000 | 5,000 reports |
A report is 10 credits, facts 1 credit. Beyond the quota, paid plans continue at $0.01 per credit. Failed calls (4xx, 5xx) use no credits. For comparison, consumer history reports cost $25 to $45, and history APIs $0.22 to $5 per VIN.
What the used car check API does not do
- No accident, title or odometer history. Salvage, flood or rebuilt titles, past owners and odometer readings live in history databases; every response lists them in
facts.not_covered. - No per-vehicle recall status. Recalls cover the make, model and year. Whether this car was repaired is known by the manufacturer and its dealers.
- North America only. VINs NHTSA does not know return 404, unbilled.
- No valuation. No market price or trade-in estimate.
- No condition assessment. The report says what to inspect; it does not replace the inspection.
- Popular models look worse. Complaint volumes grow with sales, and some models (the F-150 is one) have no complaints filed under their name in NHTSA's API; the report says "no data" rather than "clean".
Frequently asked questions
Is this a replacement for a Carfax report?
No. A history report covers one car's accidents, owners and odometer readings from private databases. This report covers the model year's public safety record and what to check because of it. They answer different questions, and this one costs about a cent.
Can I check a used car by VIN for free?
NHTSA's website shows recalls for a VIN for free. The API's BASIC plan is free too, with 20 credits a day: two AI reports, or 20 facts calls with the risk score.
Does the AI invent problems?
It writes only from the NHTSA facts given to it, and every number it writes is checked against them; anything with another figure is removed before the response is sent. Its wording can still be general or dramatic ("not recommended for purchase without a thorough inspection"), so show the facts next to the text.
Which cars are covered?
Vehicles sold in North America from the 1981 model year, all brands sold there. European-market VINs return 404 vehicle_not_found and are not billed.
What does a risk score of 55 mean?
55 falls in the high band (50-74). It sums warning signs in the model year's public record: recalls, complaints, a dominant failing component, age, mileage, crash tests and investigations. Each point is listed in risk.factors with its reason.
Get started
Used Car Check API
Used car report from a VIN: recalls, owner complaints, crash stars, risk score, AI checklist.
- Used Cars
- VIN Check
- Automotive
- Python
- Vehicle Safety


