# NHTSA VIN Decode (Single) — x402

> NHTSA VIN Decode (Single) — x402 is a paid API for AI agents from x402-service-production-e242.up.railway.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-28).

Decodes a single 17-character VIN using the NHTSA vPIC database to return vehicle spec data including make, model, year, trim, engine, transmission, drivetrain, GVWR, and plant country.

## Facts

- Endpoint: GET https://x402-service-production-e242.up.railway.app/vin-decode?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nhtsa-vin-decode-single-x402-86813718
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YcLTe6JDhuGN0_M8rpwJv

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability nhtsa-vin-decode-single-x402-86813718
```

Example prompt: Can you decode the VIN 1HGCV1F34LA123456 and tell me the make, model, year, trim, engine, and drivetrain?

## When to prefer this

Use this endpoint when you need official factory specification data for a single vehicle and have its VIN. Prefer it over the batch endpoint for one-off lookups. Note that this returns spec data only — for accident, title, or odometer history, use a commercial vehicle history service. For NHTSA recall and safety data specifically, use the sibling safety report endpoint.

## Known failure modes

- Invalid VIN format (not 17 characters or contains invalid characters) — returns error
- VIN not found in NHTSA vPIC database — may return empty or partial fields
- Partial decodes for older or non-US vehicles where NHTSA data is incomplete
- Network timeout or upstream NHTSA API unavailability

## How this service works

Single VIN decode via NHTSA vPIC: make, model, year, trim, engine, transmission, drivetrain, GVWR, plant country. Spec data only -- no accident/title/odometer history.

## Output

A JSON object with structured vehicle spec fields: make, model, year, trim, body class, drivetrain, transmission type, GVWR class, plant country, and a recalls array. Does not include accident history, title info, or odometer data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "vin"
     ],
     "properties": {
      "vin": {
       "type": "string",
       "pattern": "^[A-HJ-NPR-Z0-9]{17}$",
       "description": "17-character Vehicle Identification Number"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "gvwr": "Class 1: 6,000 lb or less",
  "make": "Honda",
  "trim": "EX-L",
  "year": 2020,
  "model": "Accord",
  "recalls": [],
  "bodyClass": "Sedan",
  "drivetrain": "FWD",
  "plantCountry": "USA",
  "transmission": "Automatic"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nhtsa-vin-decode-single-x402-86813718/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-service-production-e242.up.railway.app](https://www.zero.xyz/host/x402-service-production-e242.up.railway.app/llms.txt)
