Repository

AIKitLLC/nhtsa-edge-api

nhtsa-edge-api

Open github.com

AIKitLLC/nhtsa-edge-api

nhtsa-edge-api

Offline NHTSA VIN decoder running on Cloudflare Workers, ported from NHTSA's spVinDecode to TypeScript, verified against official data.

Visit project

Show me a random project

First shared
Oct 3, 2026
HN activity
20

Show HN@tuannxOct 3, 2026

Show HN: Offline NHTSA VIN decoder, verified against NHTSA's own SQL

I ported NHTSA's spVinDecode to TypeScript and run it on Cloudflare Workers over the official monthly vPIC dump, so decoding needs no call to NHTSA (p50 about 1.4 ms). How it's checked: It is compared with NHTSA's own SQL functions on the original dump in PostgreSQL. There were 0 unexplained differences on 11,000 VINs. It matches the live API on 95.4% of 1,000 VINs. The rest is newer live data. While doing this I found that spvindecode in the PostgreSQL dump never applies VinDescriptor overrides. I wrote it up in docs/NHTSA-ERRATA.md. Limits: only vPIC is fully live. Recalls and fuel economy are partial, and complaints/NCAP are planned. Corgi is a similar project, and I haven't benchmarked against it. Demo: https://data.ai-kit.net/vpic

Community

Hacker News discussion

Loading the thread…