NHTSA vPIC VIN Decode API
Get NHTSA vPIC VIN Decode data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Nhtsa-vpic, pass parameters such as format, modelyear, and retrieve structured data including count, echoed VIN search string, variable, value, and value id to normalize vehicle intake records, inspect partial vin decodes, and join with vpic metadata endpoints.
- Selected price
- $0.001 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
NHTSA vPIC VIN Decode API
Prepare your request, then continue with your agent.
Selected price
$0.001 / call
- Provider
- API
- Pricing
On this page
Overview
NHTSA vPIC VIN Decode API
Send a full or partial VIN (up to 17 characters, using * for unknown positions) in the path with format=json and an optional modelyear query parameter. Returned rows in Results[] expose Variable, VariableId, Value and ValueId for each standard vPIC attribute.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | GET path: vin (required, up to 17 chars, * allowed). Query: format (required, use json) and optional modelyear (recommended integer). |
| Selected implementation | nhtsa-vpic · NHTSA vPIC VIN Decode |
| Billing | See the pricing area for the selected implementation and request options |
What You Can Build
- Normalize vehicle intake records: Map decoded VariableId and ValueId pairs directly to an internal reference dictionary without brittle string parsing.
- Inspect partial VIN decodes: Decode incomplete VINs with asterisk wildcards while reading Error Code and Error Text variable rows.
- Join with vPIC metadata endpoints: Cross-reference VariableId with Variable Dictionary and ValueId with Variable Allowed Values.
Returned Data
| Field | Meaning |
|---|---|
Count |
Total number of variable-value rows returned |
Message |
NHTSA vPIC decode status message |
SearchCriteria |
Echoed VIN search string |
Results[].Variable |
Human-readable vehicle specification variable name |
Results[].VariableId |
Numeric vPIC vehicle variable identifier |
Results[].Value |
Decoded attribute value, or null if unreported |
Results[].ValueId |
Encoded lookup value identifier when applicable |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the selected implementation and pricing, then adapt the request below to your target.
- Check the HTTP response and business result before reading optional fields.
curl --request GET --get \
https://api.openany.si/v1/agent-apis/nhtsa-vpic/api/vehicles/DecodeVin/1HGCM82633A004352 \
-H "Authorization: Bearer ${OPENANY_API_KEY}" \
--data-urlencode format=json \
--data-urlencode modelyear=2003
Request and Response Examples
The response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.
Published NHTSA vPIC VIN Decode API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
nhtsa-vpicCurrent NHTSA vPIC VIN Decode · GET · View API reference | $0.001 / call | 0 | —successP50— |
- Unit price
- $0.001
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 2. Price update time: not supplied.
Total $0.1
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/nhtsa-vpic/api/vehicles/DecodeVin/{vin}- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
vin | URL path parameterspath | string | Yes | A full or partial VIN, up to 17 characters. An asterisk may replace an unknown position. Partial VINs can return useful data with warnings. minLength: 1 · maxLength: 17 |
format | URL query parametersquery | string | Yes | Required output format for this OpenAny product. Use json; XML and CSV are not exposed by this configuration. enum: "json" |
modelyear | URL query parametersquery | integer | No | Recommended model year to disambiguate the VIN. Omit it only when the year is unknown. |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
CountintegerMessagestringResultsobject[]Valuestring | nullValueIdstring | nullVariablestringVariableIdinteger
SearchCriteriastring
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example · Verified live response
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 3
Review these request fields before running. Keep the published provider and request method unchanged.
vin- A full or partial VIN, up to 17 characters. An asterisk may replace an unknown position. Partial VINs can return useful data with warnings.
modelyear- Recommended model year to disambiguate the VIN. Omit it only when the year is unknown.
format- Required output format for this OpenAny product. Use json; XML and CSV are not exposed by this configuration.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/nhtsa-vpic/api/vehicles/DecodeVin/1HGCM82633A004352?format=json&modelyear=2003' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "Count": 141, "Message": "Results returned successfully. NOTE: Any missing decoded values should be interpreted as NHTSA does not have data on the specific variable. Missing value should NOT be interpreted as an indication that a feature or technology is unavailable for a vehicle.", "Results": [ { "Value": "", "ValueId": "", "Variable": "Suggested VIN", "VariableId": 142 }, { "Value": "0", "ValueId": "0", "Variable": "Error Code", "VariableId": 143 }, { "Value": "", "ValueId": "", "Variable": "Possible Values", "VariableId": 144 }, { "Value": null, "ValueId": "", "Variable": "Additional Error Text", "VariableId": 156 }, { "Value": "0 - VIN decoded clean. Check Digit (9th position) is correct", "ValueId": "", "Variable": "Error Text", "VariableId": 191 }, { "Value": "1HGCM826*3A", "ValueId": "", "Variable": "Vehicle Descriptor", "VariableId": 196 }, { "Value": null, "ValueId": null, "Variable": "Destination Market", "VariableId": 10 }, { "Value": "HONDA", "ValueId": "474", "Variable": "Make", "VariableId": 26 }, { "Value": "AMERICAN HONDA MOTOR CO., INC.", "ValueId": "988", "Variable": "Manufacturer Name", "VariableId": 27 }, { "Value": "Accord", "ValueId": "1861", "Variable": "Model", "VariableId": 28 }, { "Value": "2003", "ValueId": "", "Variable": "Model Year", "VariableId": 29 }, { "Value": "MARYSVILLE", "ValueId": "", "Variable": "Plant City", "VariableId": 31 }, { "Value": null, "ValueId": "", "Variable": "Series", "VariableId": 34 }, { "Value": "EX-V6", "ValueId": "", "Variable": "Trim", "VariableId": 38 }, { "Value": "PASSENGER CAR", "ValueId": "2", "Variable": "Vehicle Type", "VariableId": 39 }, { "Value": "UNITED STATES (USA)", "ValueId": "6", "Variable": "Plant Country", "VariableId": 75 }, { "Value": null, "ValueId": "", "Variable": "Plant Company Name", "VariableId": 76 }, { "Value": "OHIO", "ValueId": "", "Variable": "Plant State", "VariableId": 77 }, { "Value": null, "ValueId": "", "Variable": "Trim2", "VariableId": 109 }, { "Value": null, "ValueId": "", "Variable": "Series2", "VariableId": 110 }, { "Value": null, "ValueId": "", "Variable": "Note", "VariableId": 114 }, { "Value": null, "ValueId": "", "Variable": "Base Price ($)", "VariableId": 136 }, { "Value": null, "ValueId": null, "Variable": "Non-Land Use", "VariableId": 195 }, { "Value": null, "ValueId": "", "Variable": "Plant Address", "VariableId": 204 }, { "Value": null, "ValueId": null, "Variable": "Entertainment System", "VariableId": 23 }, { "Value": null, "ValueId": null, "Variable": "Steering Location", "VariableId": 36 }, { "Value": "6", "ValueId": "", "Variable": "Engine Number of Cylinders", "VariableId": 9 }, { "Value": "2998.832712", "ValueId": "", "Variable": "Displacement (CC)", "VariableId": 11 }, { "Value": "183", "ValueId": "", "Variable": "Displacement (CI)", "VariableId": 12 }, { "Value": "2.998832712", "ValueId": "", "Variable": "Displacement (L)", "VariableId": 13 }, { "Value": null, "ValueId": "", "Variable": "Engine Stroke Cycles", "VariableId": 17 }, { "Value": "J30A4", "ValueId": "", "Variable": "Engine Model", "VariableId": 18 }, { "Value": null, "ValueId": "", "Variable": "Engine Power (kW)", "VariableId": 21 }, { "Value": "Gasoline", "ValueId": "4", "Variable": "Fuel Type - Primary", "VariableId": 24 }, { "Value": "Single Overhead Cam (SOHC)", "ValueId": "4", "Variable": "Valve Train Design", "VariableId": 62 }, { "Value": "V-Shaped", "ValueId": "2", "Variable": "Engine Configuration", "VariableId": 64 }, { "Value": null, "ValueId": null, "Variable": "Fuel Type - Secondary", "VariableId": 66 }, { "Value": null, "ValueId": null, "Variable": "Fuel Delivery/Fuel Injection Type", "VariableId": 67 }, { "Value": "240", "ValueId": "", "Variable": "Engine Brake (hp) From", "VariableId": 71 }, { "Value": null, "ValueId": null, "Variable": "Cooling Type", "VariableId": 122 }, { "Value": null, "ValueId": "", "Variable": "Engine Brake (hp) To", "VariableId": 125 }, { "Value": null, "ValueId": null, "Variable": "Electrification Level", "VariableId": 126 }, { "Value": null, "ValueId": "", "Variable": "Other Engine Info", "VariableId": 129 }, { "Value": null, "ValueId": null, "Variable": "Turbo", "VariableId": 135 }, { "Value": null, "ValueId": "", "Variable": "Top Speed (mph)", "VariableId": 139 }, { "Value": null, "ValueId": "", "Variable": "Engine Manufacturer", "VariableId": 146 }, { "Value": null, "ValueId": null, "Variable": "Pretensioner", "VariableId": 78 }, { "Value": "Manual", "ValueId": "1", "Variable": "Seat Belt Type", "VariableId": 79 }, { "Value": "Seat Belt (Rr center position)", "ValueId": "", "Variable": "Other Restraint System Info", "VariableId": 121 }, { "Value": null, "ValueId": null, "Variable": "Antilock Braking System (ABS)", "VariableId": 86 }, { "Value": null, "ValueId": null, "Variable": "Electronic Stability Control (ESC)", "VariableId": 99 }, { "Value": null, "ValueId": null, "Variable": "Traction Control", "VariableId": 100 }, { "Value": null, "ValueId": null, "Variable": "Tire Pressure Monitoring System (TPMS) Type", "VariableId": 168 }, { "Value": null, "ValueId": "", "Variable": "Active Safety System Note", "VariableId": 169 }, { "Value": null, "ValueId": null, "Variable": "Auto-Reverse System for Windows and Sunroofs", "VariableId": 172 }, { "Value": null, "ValueId": null, "Variable": "Automatic Pedestrian Alerting Sound (for Hybrid and EV only)", "VariableId": 173 }, { "Value": null, "ValueId": null, "Variable": "Event Data Recorder (EDR)", "VariableId": 175 }, { "Value": null, "ValueId": null, "Variable": "Keyless Ignition", "VariableId": 176 }, { "Value": null, "ValueId": "", "Variable": "SAE Automation Level From", "VariableId": 181 }, { "Value": null, "ValueId": "", "Variable": "SAE Automation Level To", "VariableId": 182 }, { "Value": null, "ValueId": "", "Variable": "Other Battery Info", "VariableId": 1 }, { "Value": null, "ValueId": null, "Variable": "Battery Type", "VariableId": 2 }, { "Value": "Not Applicable", "ValueId": "0", "Variable": "Bed Type", "VariableId": 3 }, { "Value": "Not Applicable", "ValueId": "0", "Variable": "Cab Type", "VariableId": 4 }, { "Value": "Coupe", "ValueId": "3", "Variable": "Body Class", "VariableId": 5 }, { "Value": "2", "ValueId": "", "Variable": "Doors", "VariableId": 14 }, { "Value": null, "ValueId": null, "Variable": "Drive Type", "VariableId": 15 }, { "Value": "Class 1C: 4,001 - 5,000 lb (1,814 - 2,268 kg)", "ValueId": "12", "Variable": "Gross Vehicle Weight Rating From", "VariableId": 25 }, { "Value": null, "ValueId": "", "Variable": "Number of Seats", "VariableId": 33 }, { "Value": "Automatic", "ValueId": "2", "Variable": "Transmission Style", "VariableId": 37 }, { "Value": null, "ValueId": "", "Variable": "Windows", "VariableId": 40 }, { "Value": null, "ValueId": "", "Variable": "Axles", "VariableId": 41 }, { "Value": null, "ValueId": null, "Variable": "Brake System Type", "VariableId": 42 }, { "Value": null, "ValueId": "", "Variable": "Number of Battery Cells per Module", "VariableId": 48 }, { "Value": null, "ValueId": "", "Variable": "Bed Length (inches)", "VariableId": 49 }, { "Value": null, "ValueId": "", "Variable": "Brake System Description", "VariableId": 52 }, { "Value": null, "ValueId": "", "Variable": "Curb Weight (pounds)", "VariableId": 54 }, { "Value": "1st and 2nd Rows", "ValueId": "4", "Variable": "Curtain Air Bag Locations", "VariableId": 55 }, { "Value": null, "ValueId": null, "Variable": "Seat Cushion Air Bag Locations", "VariableId": 56 }, { "Value": null, "ValueId": "", "Variable": "Battery Current (Amps) From", "VariableId": 57 }, { "Value": null, "ValueId": "", "Variable": "Battery Voltage (Volts) From", "VariableId": 58 }, { "Value": null, "ValueId": "", "Variable": "Battery Energy (kWh) From", "VariableId": 59 }, { "Value": null, "ValueId": null, "Variable": "Wheelbase Type", "VariableId": 60 }, { "Value": null, "ValueId": "", "Variable": "Number of Seat Rows", "VariableId": 61 }, { "Value": "5", "ValueId": "", "Variable": "Transmission Speeds", "VariableId": 63 }, { "Value": "1st Row (Driver and Passenger)", "ValueId": "3", "Variable": "Front Air Bag Locations", "VariableId": 65 }, { "Value": null, "ValueId": null, "Variable": "Knee Air Bag Locations", "VariableId": 69 }, { "Value": null, "ValueId": null, "Variable": "EV Drive Unit", "VariableId": 72 }, { "Value": null, "ValueId": null, "Variable": "Adaptive Cruise Control (ACC)", "VariableId": 81 }, { "Value": null, "ValueId": null, "Variable": "Crash Imminent Braking (CIB)", "VariableId": 87 }, { "Value": null, "ValueId": null, "Variable": "Blind Spot Warning (BSW)", "VariableId": 88 }, { "Value": null, "ValueId": null, "Variable": "Forward Collision Warning (FCW)", "VariableId": 101 }, { "Value": null, "ValueId": null, "Variable": "Lane Departure Warning (LDW)", "VariableId": 102 }, { "Value": null, "ValueId": null, "Variable": "Lane Keeping Assistance (LKA)", "VariableId": 103 }, { "Value": null, "ValueId": null, "Variable": "Backup Camera", "VariableId": 104 }, { "Value": null, "ValueId": null, "Variable": "Parking Assist", "VariableId": 105 }, { "Value": "1st Row (Driver and Passenger)", "ValueId": "3", "Variable": "Side Air Bag Locations", "VariableId": 107 }, { "Value": null, "ValueId": "", "Variable": "Wheelbase (inches) From", "VariableId": 111 }, { "Value": null, "ValueId": "", "Variable": "Wheelbase (inches) To", "VariableId": 112 }, { "Value": null, "ValueId": "", "Variable": "Number of Wheels", "VariableId": 115 }, { "Value": "Not Applicable", "ValueId": "0", "Variable": "Trailer Type Connection", "VariableId": 116 }, { "Value": "Not Applicable", "ValueId": "0", "Variable": "Trailer Body Type", "VariableId": 117 }, { "Value": null, "ValueId": "", "Variable": "Trailer Length (feet)", "VariableId": 118 }, { "Value": null, "ValueId": "", "Variable": "Wheel Size Front (inches)", "VariableId": 119 }, { "Value": null, "ValueId": "", "Variable": "Wheel Size Rear (inches)", "VariableId": 120 }, { "Value": null, "ValueId": null, "Variable": "Charger Level", "VariableId": 127 }, { "Value": null, "ValueId": "", "Variable": "Charger Power (kW)", "VariableId": 128 }, { "Value": null, "ValueId": "", "Variable": "Battery Current (Amps) To", "VariableId": 132 }, { "Value": null, "ValueId": "", "Variable": "Battery Voltage (Volts) To", "VariableId": 133 }, { "Value": null, "ValueId": "", "Variable": "Battery Energy (kWh) To", "VariableId": 134 }, { "Value": null, "ValueId": "", "Variable": "Number of Battery Modules per Pack", "VariableId": 137 }, { "Value": null, "ValueId": "", "Variable": "Number of Battery Packs per Vehicle", "VariableId": 138 }, { "Value": null, "ValueId": null, "Variable": "Axle Configuration", "VariableId": 145 }, { "Value": null, "ValueId": "", "Variable": "Bus Length (feet)", "VariableId": 147 }, { "Value": "Not Applicable", "ValueId": "0", "Variable": "Bus Floor Configuration Type", "VariableId": 148 }, { "Value": "Not Applicable", "ValueId": "0", "Variable": "Bus Type", "VariableId": 149 }, { "Value": null, "ValueId": "", "Variable": "Other Bus Info", "VariableId": 150 }, { "Value": "Not Applicable", "ValueId": "0", "Variable": "Custom Motorcycle Type", "VariableId": 151 }, { "Value": "Not Applicable", "ValueId": "0", "Variable": "Motorcycle Suspension Type", "VariableId": 152 }, { "Value": "Not Applicable", "ValueId": "0", "Variable": "Motorcycle Chassis Type", "VariableId": 153 }, { "Value": null, "ValueId": "", "Variable": "Other Motorcycle Info", "VariableId": 154 }, { "Value": null, "ValueId": "", "Variable": "Other Trailer Info", "VariableId": 155 }, { "Value": null, "ValueId": "", "Variable": "Track Width (inches)", "VariableId": 159 }, { "Value": null, "ValueId": null, "Variable": "Dynamic Brake Support (DBS)", "VariableId": 170 }, { "Value": null, "ValueId": null, "Variable": "Pedestrian Automatic Emergency Braking (PAEB)", "VariableId": 171 }, { "Value": null, "ValueId": null, "Variable": "Automatic Crash Notification (ACN)/Advanced Automatic Crash Notification (AACN)", "VariableId": 174 }, { "Value": null, "ValueId": null, "Variable": "Daytime Running Light (DRL)", "VariableId": 177 }, { "Value": null, "ValueId": null, "Variable": "Headlamp Light Source", "VariableId": 178 }, { "Value": null, "ValueId": null, "Variable": "Semiautomatic Headlamp Beam Switching", "VariableId": 179 }, { "Value": null, "ValueId": null, "Variable": "Adaptive Driving Beam (ADB)", "VariableId": 180 }, { "Value": null, "ValueId": null, "Variable": "Rear Cross Traffic Alert", "VariableId": 183 }, { "Value": null, "ValueId": null, "Variable": "Gross Combination Weight Rating From", "VariableId": 184 }, { "Value": null, "ValueId": null, "Variable": "Gross Combination Weight Rating To", "VariableId": 185 }, { "Value": "Class 1: 6,000 lb or less (2,722 kg or less)", "ValueId": "1", "Variable": "Gross Vehicle Weight Rating To", "VariableId": 190 }, { "Value": null, "ValueId": null, "Variable": "Rear Automatic Emergency Braking", "VariableId": 192 }, { "Value": null, "ValueId": null, "Variable": "Blind Spot Intervention (BSI)", "VariableId": 193 }, { "Value": null, "ValueId": null, "Variable": "Lane Centering Assistance", "VariableId": 194 }, { "Value": null, "ValueId": null, "Variable": "Fuel-Tank Type", "VariableId": 200 }, { "Value": null, "ValueId": null, "Variable": "Fuel-Tank Material", "VariableId": 201 }, { "Value": null, "ValueId": null, "Variable": "Combined Braking System (CBS)", "VariableId": 202 }, { "Value": null, "ValueId": null, "Variable": "Wheelie Mitigation", "VariableId": 203 } ], "SearchCriteria": "VIN:1HGCM82633A004352" }