W

Workers · Official Nhtsa VIN Decode

by Workers

POSTBase

$0.005

per call · USD Coin on Base

Decode one full or partial VIN into NHTSA manufacturer-reported make, model, year and vehicle attributes, preserving decode errors. No owner lookup.

Endpoint

POST https://foundry-par007-machine-revenue-mainnet.inference-chip-index.workers.dev/v2/official/nhtsa-vin-decode

1

Calls / 30d

1

Unique payers / 30d

Sep 6

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://foundry-par007-machine-revenue-mainnet.inference-chip-index.workers.dev/v2/official/nhtsa-vin-decode", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "model_year": 2011,
    "vin": "5UXWX7C5*BA0"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://foundry-par007-machine-revenue-mainnet.inference-chip-index.workers.dev/v2/official/nhtsa-vin-decode" \
  -H "Content-Type: application/json" \
  -d '{"model_year":2011,"vin":"5UXWX7C5*BA0"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "observed_at": "2026-09-06T00:00:00Z",
  "result": {
    "freshness": {
      "cacheAgeSeconds": 0,
      "maximumCacheSeconds": 0,
      "recordAgeIsNotRetrievalAge": true,
      "retrievedAt": "2026-09-06T00:00:00Z",
      "state": "CURRENT_RETRIEVAL"
    },
    "normalizedResult": [],
    "observedAt": "2026-09-06T00:00:00Z",
    "provenance": {
      "attribution": "NHTSA vPIC; manufacturer-reported vehicle attributes",
      "documentationUrl": "https://vpic.nhtsa.dot.gov/api/",
      "license": "Public vPIC Open Data API; no licensing or registration requirement",
      "limitations": [
        "Illustrative empty result; no live data claim."
      ],
      "modifications": "Selected factual fields, normalized names and bounded result count; no source ownership claimed.",
      "termsUrl": "https://vpic.nhtsa.dot.gov/api/Home/Index/FAQ",
      "truncated": false,
      "upstreamCalls": 1
    },
    "query": {
      "model_year": 2011,
      "vin": "5UXWX7C5*BA0"
    },
    "rawSourceIdentifiers": [],
    "source": "NHTSA vPIC",
    "sourceProcessedAt": null,
    "sourceUpdatedAt": null,
    "sourceUrl": "https://vpic.nhtsa.dot.gov"
  },
  "route": "nhtsa-vin-decode"
}

Payment details

Pay to0x25e8245f07d5e4873987293dad666afbe56a9608
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from Workers & similar services