82trust / 100

Vin Decode

by VIN decoder (NHTSA) in Developer tools

x402 APIPassing, checked 2 h ago

Decode a vehicle VIN via the US NHTSA vPIC database: make, model, year, trim, body class, engine, fuel type, plant and vehicle type. Accepts full or partial VINs. Use it when an agent holds a VIN and needs the vehicle's official specification - live government data, no key.

GET https://agent402.tools/api/vin-decode

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
182 ms typical, 182 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://agent402.tools/api/vin-decode?vin=1HGCM82633A004352"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagent402.tools%2Fapi%2Fvin-decode
const res = await pay("https://agent402.tools/api/vin-decode?vin=1HGCM82633A004352");
console.log(await res.json());

Example input

{
  "vin": "1HGCM82633A004352"
}

Example output

{
  "source": "vpic.nhtsa.dot.gov (public domain)",
  "vehicle": {
    "bodyClass": "Coupe",
    "engineCylinders": "6",
    "fuelType": "Gasoline",
    "make": "HONDA",
    "manufacturer": "AMERICAN HONDA MOTOR CO., INC.",
    "model": "Accord",
    "plantCity": "MARYSVILLE",
    "trim": null,
    "vehicleType": "PASSENGER CAR",
    "year": "2003"
  },
  "vin": "1HGCM82633A004352"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402191 ms$0.004
8 h agoPassed402182 ms$0.004