Retrieve information about a license plate or VIN
Install the package:
npm install @k3v-d3v/vehicle-auditorExample usage:
import { VehicleAuditor } from "@k3v-d3v/vehicle-auditor";
import { AxiosError } from "axios";
async function main() {
try {
const auditor = new VehicleAuditor();
const response = await auditor.lookupLicensePlate("CA", "ABC1234");
const vehicleInfo = response.data;
console.log(JSON.stringify(vehicleInfo, null, 2));
} catch (err: unknown) {
const error = err as AxiosError;
console.error(error);
}
}
main();Public VIN APIs:
Public License Plate APIs:
- https://api.state-license-lookup.workers.dev - Requires you to manipulate header origin as https://<state_name>licenseplate.com
- Originally found by introspecting the network requests on https://www.texaslicenseplate.com
- NOTE: Some states may not be supported i.e. https://californialicenseplate.com
- Originally found by introspecting the network requests on https://www.texaslicenseplate.com
Requires reCAPTCHA:
- https://www.autocheck.com/consumer-api/meta/v1/summary/plate//state/<state_code>
- https://clearvin.com
Requires Web Scraping: