# NHTSA vPIC Vehicle Variable Allowed Values

Get NHTSA vPIC Variable Values data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Nhtsa-vpic, pass parameters such as format, and retrieve structured data including id and accepted lookup value label to label encoded vin decode values, build controlled vehicle filters, and validate etl reference schemas.

Documentation: https://openany.si/nhtsa-vpic/nhtsa-vpic-vehicle-variable-allowed-values/00f89ba0-2786-4504-a4a2-c49bf9c2ed3f/
API ID: 00f89ba0-2786-4504-a4a2-c49bf9c2ed3f
Provider: nhtsa-vpic
Contract revision: 2
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/nhtsa-vpic/api/vehicles/GetVehicleVariableValuesList/{variable}
Page update time: 2026-12-03T02:39:38.451Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.001 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:39:37.860Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "1000",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## NHTSA vPIC Variable Values API

Pass a complete lookup variable name or its numeric variable ID as text in the path with format=json. Returned rows in Results\[\] list each accepted Id, Name and ElementName for controlled lookup variables in vPIC.

## What You Can Build

- **Label encoded VIN decode values**: Map numeric ValueId codes from VIN Decode or Extended VIN Decode to human-readable Name labels.
- **Build controlled vehicle filters**: Populate dropdown filters for lookup fields such as battery type, body class or brake system using official vPIC values.
- **Validate ETL reference schemas**: Verify that incoming vehicle attribute values match NHTSA vPIC's accepted lookup taxonomy.

## Returned Data

| Field | Meaning |
| --- | --- |
| `Count` | Number of allowed lookup values returned |
| `Message` | NHTSA vPIC response status message |
| `SearchCriteria` | Echoed variable identifier or name |
| `Results[].Id` | Numeric identifier of the allowed lookup value |
| `Results[].Name` | Accepted lookup value label |
| `Results[].ElementName` | Name of the parent vPIC vehicle variable |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "NHTSA vPIC Vehicle Variable Allowed Values request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {
        "variable": {
          "type": "string",
          "description": "Complete lookup variable name or numeric variable ID represented as text.",
          "minLength": 1,
          "maxLength": 200
        }
      },
      "required": [
        "variable"
      ]
    },
    "query": {
      "type": "object",
      "properties": {
        "format": {
          "type": "string",
          "description": "Required output format for this OpenAny product. Use json; XML and CSV are not exposed by this configuration.",
          "enum": [
            "json"
          ]
        }
      },
      "required": [
        "format"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "Count": {
      "type": "integer"
    },
    "Message": {
      "type": "string"
    },
    "Results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "ElementName": {
            "type": "string"
          },
          "Id": {
            "type": "integer"
          },
          "Name": {
            "type": "string"
          }
        }
      }
    },
    "SearchCriteria": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example · Verified live response
```bash
curl \
  'https://api.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'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "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
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Can I query allowed values for every variable in vPIC?
No. This operation applies to controlled lookup variables rather than free-text or arbitrary numeric attributes such as displacement or VIN.

### Where can I find valid variable names and numeric IDs?
Query the NHTSA vPIC Vehicle Variable Dictionary API to list all variables along with their ID and DataType (look for lookup variables).

### Should I pass the variable name or numeric ID in the path?
Either the complete variable name or its numeric ID as text is accepted; numeric IDs avoid URL-encoding spaces.

### How do returned Id values relate to VIN Decode responses?
The Id in Results[] corresponds to the ValueId returned by VIN Decode and Extended VIN Decode for that variable.

### What happens if I pass a non-lookup variable?
Free-text or numeric variables do not have enumerated lookup lists and will return an empty Results[] array.

### Which output format is required?
Always pass format=json; XML and CSV outputs are not exposed on this OpenAny configuration.

## Available implementations
- nhtsa-vpic: https://openany.si/nhtsa-vpic/nhtsa-vpic-vehicle-variable-allowed-values/00f89ba0-2786-4504-a4a2-c49bf9c2ed3f/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
