Vibeleaderboard
Index / tool

nhtsa-edge-api: Offline NHTSA VIN Decoder

github.com/aikitllc/nhtsa-edge-api
Visit github.com
Category
Developer Tools
Rank
No. 3926Tools index

Previous survey · No. 3681 ·

Type
TOOL
Use case
Data Processing
GitHub
4 stars
Date

About

A TypeScript port of NHTSA's spVinDecode that runs on Cloudflare Workers over the official monthly vPIC dump, so VIN decoding needs no call to NHTSA (p50 about 1.4 ms). Its output was compared with NHTSA's own SQL functions on 11,000 VINs with no unexplained differences, and it matches the live API on 95.4% of 1,000 VINs. The author also documents that spvindecode in the PostgreSQL dump never applies VinDescriptor overrides. Only vPIC is fully live; recalls and fuel economy are partial.

At a glance

nhtsa-edge-api decodes vehicle identification numbers from a bundled NHTSA dataset in a Cloudflare Worker. It is worth evaluating when you need the documented vPIC response shapes without depending on an upstream request for every decode.

Good fit

Developers enriching vehicle records with a small set of decode endpoints and a representative VIN test set.

Consider something else when

Use the original data provider if you need its full API or direct assurance about dataset freshness.

Start here

Compare the decoder and the official API on a known public sample VIN. Check the fields you consume and repeat with a partial VIN if your workflow accepts one.

Cost and requirements

The code is MIT-licensed. Self-hosting uses a Cloudflare Worker and bundled data, with hosting costs depending on usage.

Limits to know

Only certain decode endpoints use bundled data. Other routes, including recalls, may rely on upstream services. Requests to the hosted instance still send it the VIN.

Tags

vinnhtsacloudflare-workerstypescriptvpicapi

Tech Stack

Node.jsTypeScript

Comments (0)

No comments yet

Editorially curated, with community endorsements as a secondary signal. Corrections welcome.