Skip to content

VIN recalls

POST /vin/recalls decodes a VIN with NHTSA vPIC and lists the NHTSA safety recall campaigns for its make, model and year, with remedies and do-not-drive flags.

POSThttps://api.qelka.com/v1/vin/recalls

Get the safety recall campaigns of the US National Highway Traffic Safety Administration (NHTSA) for the vehicle behind a VIN: the VIN is decoded to its make, model and model year, then every campaign NHTSA lists for them comes back with its component, summary, consequence, remedy and warnings. Each lookup costs 1 credit when the VIN decodes, with or without recalls; invalid VINs, VINs that cannot be decoded, errors and test keys are never billed.

Request

Send the 17-character VIN.

vinstringRequired
The VIN, 1 to 40 characters before spaces and hyphens are removed. Lower case is accepted.
freshbooleanDefault false
true skips the 24-hour result cache and asks NHTSA again.

A lookup makes up to three requests to NHTSA, one after the other: vPIC with a 8-second limit, then the recalls service with a 8-second limit, so every snippet sets a 30-second client timeout.

curl https://api.qelka.com/v1/vin/recalls \
  --max-time 30 \
  -H "Authorization: Bearer $QELKA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"vin": "2HGFC2F65KH512345"}'
const response = await fetch('https://api.qelka.com/v1/vin/recalls', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.QELKA_API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ vin: '2HGFC2F65KH512345' }),
  signal: AbortSignal.timeout(30_000),
})
const result = await response.json()
console.log(result)
import os

import requests

api_key = os.environ["QELKA_API_KEY"]
response = requests.post(
    "https://api.qelka.com/v1/vin/recalls",
    headers={"Authorization": f"Bearer {api_key}"},
    json={"vin": "2HGFC2F65KH512345"},
    timeout=30,
)
result = response.json()
print(result)
<?php
$ch = curl_init('https://api.qelka.com/v1/vin/recalls');
curl_setopt_array($ch, [
    CURLOPT_POST => true,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('QELKA_API_KEY'),
        'Content-Type: application/json',
    ],
    CURLOPT_POSTFIELDS => json_encode(['vin' => '2HGFC2F65KH512345']),
    CURLOPT_TIMEOUT => 30,
]);
$result = json_decode(curl_exec($ch), true);
print_r($result);
package main

import (
	"bytes"
	"encoding/json"
	"fmt"
	"net/http"
	"os"
	"time"
)

func main() {
	payload, _ := json.Marshal(map[string]any{"vin": "2HGFC2F65KH512345"})
	request, _ := http.NewRequest(http.MethodPost, "https://api.qelka.com/v1/vin/recalls", bytes.NewReader(payload))
	request.Header.Set("Authorization", "Bearer "+os.Getenv("QELKA_API_KEY"))
	request.Header.Set("Content-Type", "application/json")

	client := &http.Client{Timeout: 30 * time.Second}
	response, err := client.Do(request)
	if err != nil {
		panic(err)
	}
	defer response.Body.Close()

	var result map[string]any
	if err := json.NewDecoder(response.Body).Decode(&result); err != nil {
		panic(err)
	}
	fmt.Println(result)
}
require 'json'
require 'net/http'

uri = URI('https://api.qelka.com/v1/vin/recalls')
request = Net::HTTP::Post.new(uri)
request['Authorization'] = "Bearer #{ENV.fetch('QELKA_API_KEY')}"
request['Content-Type'] = 'application/json'
request.body = JSON.generate({ vin: '2HGFC2F65KH512345' })

response = Net::HTTP.start(uri.host, uri.port, use_ssl: true, read_timeout: 30) do |http|
  http.request(request)
end
result = JSON.parse(response.body)
puts result

Response

Every valid request gets a 200. Read status first: recalls_found and no_recalls both mean the search ran.

idstring
Identifier of this lookup: lkp_ followed by 26 characters.
objectstring
Always vin_recalls.
inputstring
The vin you sent, without surrounding spaces.
vinstring or null
The VIN in upper case without spaces or hyphens. null when it does not have 17 characters.
statusstring
recalls_found, no_recalls, invalid or not_decoded.
reasonstring or null
With invalid: invalid_length, invalid_characters or invalid_check_digit. Else null.
vehicleobject or null
The make, model and model_year (integer) decoded by NHTSA vPIC and used for the search. null unless the search ran.
scopestring
Always make_model_year: the campaigns are those of the make, model and model year, not of this vehicle.
countinteger
Number of distinct campaigns found.
park_itboolean
true when at least one campaign tells owners not to drive the vehicle until it is repaired.
recallsarray of objects
The campaigns, newest report first, up to 50.
recalls.campaign_numberstring
NHTSA campaign number, such as 26V332000.
recalls.manufacturerstring or null
The manufacturer that filed the recall.
recalls.componentstring or null
The component as NHTSA classifies it, such as FUEL SYSTEM, GASOLINE:DELIVERY:FUEL PUMP.
recalls.summary, recalls.consequence, recalls.remedy, recalls.notesstring or null
The defect, what it can cause, how it is fixed, and NHTSA's notes.
recalls.report_receivedstring or null
Date NHTSA received the manufacturer's report, YYYY-MM-DD.
recalls.park_itboolean
true when NHTSA advises not to drive the vehicle until it is repaired.
recalls.park_outsideboolean
true when NHTSA advises parking outside, away from structures, because of a fire risk.
recalls.over_the_airboolean
true when the remedy is a software update delivered over the air.
recalls.urlstring
The recall page on nhtsa.gov.
lookup_urlstring or null
The NHTSA page that searches this VIN for unrepaired recalls in the manufacturer's records. null for an invalid VIN.
credits_usedinteger
Credits debited for this call: 1 when status is recalls_found or no_recalls with a live key, else 0.
cachedboolean
true when the answer came from the 24-hour cache.

This example shows 2 of the 4 campaigns returned:

Response
{
  "id": "lkp_01M8CEKK8DEFVDK6VF0PKWVBQX",
  "object": "vin_recalls",
  "input": "2HGFC2F65KH512345",
  "vin": "2HGFC2F65KH512345",
  "status": "recalls_found",
  "reason": null,
  "vehicle": { "make": "HONDA", "model": "Civic", "model_year": 2019 },
  "scope": "make_model_year",
  "count": 4,
  "park_it": false,
  "recalls": [
    {
      "campaign_number": "26V332000",
      "manufacturer": "Honda (American Honda Motor Co.)",
      "component": "AIR BAGS:SENSOR:OCCUPANT CLASSIFICATION:FRONT PASSENGER",
      "summary": "Honda (American Honda Motor Co.) is recalling certain 2018-2021, 2023 Acura TLX, 2019-2024 RDX, 2017-2020, 2022-2026 MDX, 2017-2021, 2023, 2025 Honda Ridgeline, 2017-2022 Pilot, 2019-2021 Passport, 2018-2026 Odyssey, 2019-2022 Insight, 2019-2021 HR-V, 2018-2020 Fit, 2020-2022 CR-V Hybrid, 2017-2022 CR-V, 2017-2018, 2021 Civic Type R, 2017-2021 Civic hatchback, 2016-2020 Civic coupe, 2016-2022 Civic, 2017-2022 Accord Hybrid, and 2016-2022 Accord vehicles. The front passenger seat weight sensor may crack and short circuit, which can cause the air bags to deploy unintentionally during a crash.",
      "consequence": "Air bags that deploy unintentionally during a crash increase the risk of injury.",
      "remedy": "Dealers will replace the seat weight sensors, free of charge. Owner notification letters were mailed July 7, 2026. Owners may contact Honda's customer service at 1-888-234-2138. Honda's numbers for this recall are BOL, WO9, OOA, WOM, XOH, NOC, POD, BOE, UOF, POB, EOG, AOI, QO8, TOJ, DO7, and SOK. This recall expands previous NHTSA recall number 24V064. Vehicle Identification Numbers (VINs) involved in this recall will be searchable on NHTSA.gov beginning May 29, 2026.",
      "notes": null,
      "report_received": "2026-05-22",
      "park_it": false,
      "park_outside": false,
      "over_the_air": false,
      "url": "https://www.nhtsa.gov/recalls?nhtsaId=26V332000"
    },
    {
      "campaign_number": "23V858000",
      "manufacturer": "Honda (American Honda Motor Co.)",
      "component": "FUEL SYSTEM, GASOLINE:DELIVERY:FUEL PUMP",
      "summary": "Honda (American Honda Motor Co.) is recalling certain 2013-2023 Honda Accord, Civic Coupe, Civic Sedan, Civic Hatchback, Civic Type R, CR-V, HR-V, Ridgeline, Odyssey, Acura ILX, MDX, MDX Hybrid, RDX, RLX, TLX, 2019-2022 Honda Insight, Passport, 2020 Honda CR-V Hybrid, 2018-2019 Honda Clarity PHEV, Fit, and 2015-2020 Honda Accord Hybrid, Pilot, Acura NSX vehicles. The fuel pump inside the fuel tank may fail.",
      "consequence": "Fuel pump failure can cause an engine stall while driving, increasing the risk of a crash.",
      "remedy": "Dealers will replace the fuel pump module, free of charge. Owner letters were mailed September 6, 2024. Owners may contact Honda customer service at 1-888-234-2138. Honda's numbers for this recall are KGC and KGD. This recall is an expansion of NHTSA recall numbers 21V-215 and 20V-314.",
      "notes": "Owners may also contact the National Highway Traffic Safety Administration Vehicle Safety Hotline at 1-888-327-4236 (TTY 1-800-424-9153), or go to www.nhtsa.gov.",
      "report_received": "2023-12-19",
      "park_it": false,
      "park_outside": false,
      "over_the_air": false,
      "url": "https://www.nhtsa.gov/recalls?nhtsaId=23V858000"
    }
  ],
  "lookup_url": "https://www.nhtsa.gov/recalls?vin=2HGFC2F65KH512345",
  "credits_used": 1,
  "cached": false
}

Act on the status

status What it means What to do Billed
recalls_found NHTSA lists at least one campaign for the make, model and year. Show the campaigns, and park_it first when it is true. Send the owner to lookup_url to know if this vehicle is affected and repaired. Yes, and cached 24 hours
no_recalls NHTSA lists no campaign for the make, model and year. Nothing to do. Equipment such as tires and child seats is recalled separately and never appears here. Yes, and cached 24 hours
invalid The VIN fails a check, given in reason. NHTSA is not searched. Ask for the VIN again: it was mistyped or altered. No
not_decoded NHTSA vPIC returned no make, model and year for the VIN, so there is nothing to search with. Check the VIN with the VIN decoding endpoint. Vehicles built for other markets often have no vPIC entry. No

invalid and not_decoded answers are never cached, so the next request asks NHTSA again.

How the lookup works

  1. Spaces and hyphens are removed and letters are turned to upper case. The VIN must have 17 characters, none of them I, O or Q, and for a VIN whose first character is allocated to North America, a check digit that matches. The rules are those of the VIN decoding endpoint.
  2. NHTSA vPIC decodes the VIN to its make, model and model year. When one of them is missing, the status is not_decoded.
  3. The NHTSA recalls service is asked for the campaigns of that make, model and model year. When it has none and vPIC gave a series, the model followed by the first word of the series is tried too, for models NHTSA files under a longer name.
  4. Campaigns are counted once each, sorted by the date NHTSA received the report, newest first, then by campaign number, and the first 50 are returned. count and park_it cover every campaign found.

The search runs on the recalls NHTSA publishes for vehicles sold in the United States.

Check a VIN with a test key

Test keys decode every valid VIN to a sample 2020 vehicle and return one sample campaign, without calling NHTSA. An invalid VIN still returns invalid. With a test key in QELKA_API_KEY, this request returns:

curl https://api.qelka.com/v1/vin/recalls \
  --max-time 30 \
  -H "Authorization: Bearer $QELKA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"vin": "1HGCM82633A004352"}'
const response = await fetch('https://api.qelka.com/v1/vin/recalls', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.QELKA_API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ vin: '1HGCM82633A004352' }),
  signal: AbortSignal.timeout(30_000),
})
const result = await response.json()
console.log(result)
import os

import requests

api_key = os.environ["QELKA_API_KEY"]
response = requests.post(
    "https://api.qelka.com/v1/vin/recalls",
    headers={"Authorization": f"Bearer {api_key}"},
    json={"vin": "1HGCM82633A004352"},
    timeout=30,
)
result = response.json()
print(result)
Response
{
  "id": "lkp_01M8CG3QZ6WD9K4XT2HB7NRV5F",
  "object": "vin_recalls",
  "input": "1HGCM82633A004352",
  "vin": "1HGCM82633A004352",
  "status": "recalls_found",
  "reason": null,
  "vehicle": { "make": "TEST MAKE", "model": "TEST MODEL", "model_year": 2020 },
  "scope": "make_model_year",
  "count": 1,
  "park_it": false,
  "recalls": [
    {
      "campaign_number": "26V000000",
      "manufacturer": "TEST MAKE",
      "component": "TEST COMPONENT",
      "summary": "Simulated recall of the 2020 TEST MAKE TEST MODEL for a test key.",
      "consequence": "None: this is test data.",
      "remedy": "None needed.",
      "notes": null,
      "report_received": "2026-01-02",
      "park_it": false,
      "park_outside": false,
      "over_the_air": false,
      "url": "https://www.nhtsa.gov/recalls?nhtsaId=26V000000"
    }
  ],
  "lookup_url": "https://www.nhtsa.gov/recalls?vin=1HGCM82633A004352",
  "credits_used": 0,
  "cached": false
}

Errors

Status Type When
400 invalid_request vin is missing, empty or longer than 40 characters, the body is not a JSON object, or it has a field the request table does not list
401 invalid_api_key The key is missing, unknown or revoked
402 insufficient_credits Your balance is less than 1 credit (live keys only)
403 forbidden The key is restricted to other endpoints
405 invalid_request The method is not POST
429 rate_limited Too many requests: wait Retry-After seconds
500 internal_error Unexpected error on our side: retry with backoff
502 upstream_unavailable NHTSA vPIC or the NHTSA recalls service could not be reached, answered with an error or did not answer in time: retry later

No error is billed. A VIN that fails a check is not an error: it is a 200 with status: "invalid".