NHTSA vPIC Vehicle Variable Allowed Values
Use the NHTSA vPIC Vehicle Variable Allowed Values API to list accepted lookup values for a selected vPIC vehicle variable. Supply the complete variable name or its numeric identifier as the path value and request JSON output. The response returns the available value IDs, names and variable reference information. Use the results to label encoded vehicle attributes, build controlled selection menus, or interpret values produced by VIN decoding. This operation applies to lookup variables rather than arbitrary free-text or numeric attributes. The detail page provides supported parameters, request and response examples, coverage notes, and the configured per-call price.
- Selected price
- $0.001 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
NHTSA vPIC Vehicle Variable Allowed Values
Prepare your request, then continue with your agent.
Selected price
$0.001 / call
- Provider
- Pricing
On this page
Overview
NHTSA vPIC Vehicle Variable Allowed Values
Use the NHTSA vPIC Vehicle Variable Allowed Values API to list accepted lookup values for a selected vPIC vehicle variable. Supply the complete variable name or its numeric identifier as the path value and request JSON output. The response returns the available value IDs, names and variable reference information. Use the results to label encoded vehicle attributes, build controlled selection menus, or interpret values produced by VIN decoding. This operation applies to lookup variables rather than arbitrary free-text or numeric attributes. The detail page provides supported parameters, request and response examples, coverage notes, and the configured per-call price.
Vehicle Variable Allowed Values
Use the NHTSA vPIC Vehicle Variable Allowed Values API to list accepted lookup values for a selected vPIC vehicle variable. Supply the complete variable name or its numeric identifier as the path value and request JSON output. The response returns the available value IDs, names and variable reference information. Use the results to label encoded vehicle attributes, build controlled selection menus, or interpret values produced by VIN decoding. This operation applies to lookup variables rather than arbitrary free-text or numeric attributes. The detail page provides supported parameters, request and response examples, coverage notes, and the configured per-call price.
Request and parameters
Direct public vPIC HTTP API. No upstream authentication is required. JSON output must be selected explicitly.
| Parameter | Location | Required | Description |
|---|---|---|---|
variable | path | required | Complete lookup variable name or numeric variable ID represented as text. |
format | query | required | Required output format for this OpenAny product. Use json; XML and CSV are not exposed by this configuration. |
Request example
curl "https://vpic.nhtsa.dot.gov/api/vehicles/GetVehicleVariableValuesList/2?format=json"Response examples
All examples attached here are paired direct upstream recordings. Default VIN examples use a complete VIN with ErrorCode 0; partial VIN examples retain their documented warning. This is not an OpenAny gateway verification.
Usage and price
The sale price is USD 0.001 per completed HTTP 200 request, including valid empty matches and VIN warnings. Non-200 maintenance errors do not meet the configured charge condition. Upstream public API access is free. Large batches are subject to the source service limits.
Coverage and interpretation
This operation applies to lookup variables rather than arbitrary free-text or numeric attributes. Data primarily concerns vehicles registered for US sale or importation. This method does not provide ownership, accident or maintenance history.
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
CountintegerMessagestringResultsobject[]ElementNamestringIdintegerNamestring
SearchCriteriastring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
Count?: number;
Message?: string;
Results?: Array<{
ElementName?: string;
Id?: number;
Name?: string;
}>;
SearchCriteria?: string;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
nhtsa-vpicCurrent NHTSA vPIC Vehicle Variable Allowed Values · GET · View API reference | $0.001 / call | — | —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: 1. Price update time: not supplied.
Total $0.1
API
- Method
- GET
- Endpoint
https://api-dev.openany.si/v1/agent-apis/nhtsa-vpic/api/vehicles/GetVehicleVariableValuesList/{variable}- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api-dev.openany.si/v1/agent-apis/nhtsa-vpic/api/vehicles/GetVehicleVariableValuesList/2?format=json' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
variable | URL path parameterspath | string | Yes | Complete lookup variable name or numeric variable ID represented as text. minLength: 1 · maxLength: 200 |
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" |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.
{
"Count": 9,
"Message": "Results returned successfully",
"Results": [
{
"ElementName": "Battery Type",
"Id": 1,
"Name": "Lead Acid/Lead"
},
{
"ElementName": "Battery Type",
"Id": 2,
"Name": "Nickel-Metal-Hydride/NiMH"
},
{
"ElementName": "Battery Type",
"Id": 3,
"Name": "Lithium-Ion/Li-Ion"
},
{
"ElementName": "Battery Type",
"Id": 4,
"Name": "Cobalt Dioxide/Cobalt"
},
{
"ElementName": "Battery Type",
"Id": 5,
"Name": "Nickle-Cobalt-Manganese/NCM"
},
{
"ElementName": "Battery Type",
"Id": 6,
"Name": "Nickle-Cobalt-Aluminum/NCA"
},
{
"ElementName": "Battery Type",
"Id": 7,
"Name": "Manganese Oxide Spinel/MnO"
},
{
"ElementName": "Battery Type",
"Id": 8,
"Name": "Iron Phosphate/FePo"
},
{
"ElementName": "Battery Type",
"Id": 9,
"Name": "Silicon"
}
],
"SearchCriteria": "Variable:2"
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# NHTSA vPIC Vehicle Variable Allowed Values
Use the NHTSA vPIC Vehicle Variable Allowed Values API to list accepted lookup values for a selected vPIC vehicle variable. Supply the complete variable name or its numeric identifier as the path value and request JSON output. The response returns the available value IDs, names and variable reference information. Use the results to label encoded vehicle attributes, build controlled selection menus, or interpret values produced by VIN decoding. This operation applies to lookup variables rather than arbitrary free-text or numeric attributes. The detail page provides supported parameters, request and response examples, coverage notes, and the configured per-call price.
## Available implementations
nhtsa-vpic · NHTSA vPIC Vehicle Variable Allowed Values: https://openany.si/markets/apis/capabilities/nhtsa-vpic-vehicle-variable-allowed-values?offering=7a5d4413-7c8e-4bf4-b5ff-eb5d82ea9a4b · $0.001 / call
## Selected API contract
Documentation: https://openany.si/apis/7a5d4413-7c8e-4bf4-b5ff-eb5d82ea9a4b
Method: GET
Endpoint: https://api-dev.openany.si/v1/agent-apis/nhtsa-vpic/api/vehicles/GetVehicleVariableValuesList/{variable}
Price: $0.001 / call
Provider: nhtsa-vpic
Contract revision: 1
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api-dev.openany.si/v1/agent-apis/nhtsa-vpic/api/vehicles/GetVehicleVariableValuesList/2?format=json' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
```
## API contract
```json
{
"resource_type": "api",
"name": "NHTSA vPIC Vehicle Variable Allowed Values",
"endpoint": "https://api-dev.openany.si/v1/agent-apis/nhtsa-vpic/api/vehicles/GetVehicleVariableValuesList/{variable}",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Complete lookup variable name or numeric variable ID represented as text.",
"location": "path",
"max_length": 200,
"min_length": 1,
"name": "variable",
"nullable": false,
"required": true,
"type": "string"
},
{
"description": "Required output format for this OpenAny product. Use json; XML and CSV are not exposed by this configuration.",
"enum_values": [
"json"
],
"location": "query",
"name": "format",
"nullable": false,
"required": true,
"type": "string"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "1000",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Official example · Verified live response",
"request": {
"body": null,
"headers": {},
"path": {
"variable": "2"
},
"query": {
"format": "json"
}
},
"response_body": {
"Count": 9,
"Message": "Results returned successfully",
"Results": [
{
"ElementName": "Battery Type",
"Id": 1,
"Name": "Lead Acid/Lead"
},
{
"ElementName": "Battery Type",
"Id": 2,
"Name": "Nickel-Metal-Hydride/NiMH"
},
{
"ElementName": "Battery Type",
"Id": 3,
"Name": "Lithium-Ion/Li-Ion"
},
{
"ElementName": "Battery Type",
"Id": 4,
"Name": "Cobalt Dioxide/Cobalt"
},
{
"ElementName": "Battery Type",
"Id": 5,
"Name": "Nickle-Cobalt-Manganese/NCM"
},
{
"ElementName": "Battery Type",
"Id": 6,
"Name": "Nickle-Cobalt-Aluminum/NCA"
},
{
"ElementName": "Battery Type",
"Id": 7,
"Name": "Manganese Oxide Spinel/MnO"
},
{
"ElementName": "Battery Type",
"Id": 8,
"Name": "Iron Phosphate/FePo"
},
{
"ElementName": "Battery Type",
"Id": 9,
"Name": "Silicon"
}
],
"SearchCriteria": "Variable:2"
}
}
]
}
```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 2
Review these request fields before running. Keep the published provider and request method unchanged.
variable- Complete lookup variable name or numeric variable ID represented as text.
format- Required output format for this OpenAny product. Use json; XML and CSV are not exposed by this configuration.
Terminal · cURLcurl \ 'https://api-dev.openany.si/v1/agent-apis/nhtsa-vpic/api/vehicles/GetVehicleVariableValuesList/2?format=json' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "Count": 9, "Message": "Results returned successfully", "Results": [ { "ElementName": "Battery Type", "Id": 1, "Name": "Lead Acid/Lead" }, { "ElementName": "Battery Type", "Id": 2, "Name": "Nickel-Metal-Hydride/NiMH" }, { "ElementName": "Battery Type", "Id": 3, "Name": "Lithium-Ion/Li-Ion" }, { "ElementName": "Battery Type", "Id": 4, "Name": "Cobalt Dioxide/Cobalt" }, { "ElementName": "Battery Type", "Id": 5, "Name": "Nickle-Cobalt-Manganese/NCM" }, { "ElementName": "Battery Type", "Id": 6, "Name": "Nickle-Cobalt-Aluminum/NCA" }, { "ElementName": "Battery Type", "Id": 7, "Name": "Manganese Oxide Spinel/MnO" }, { "ElementName": "Battery Type", "Id": 8, "Name": "Iron Phosphate/FePo" }, { "ElementName": "Battery Type", "Id": 9, "Name": "Silicon" } ], "SearchCriteria": "Variable:2" }