Skip to content
Eden Engine

VIN Decoder (Decode a Vehicle Identification Number from NHTSA vPIC)

nhtsavpic/decode-vin

Decodes a Vehicle Identification Number (or a partial VIN with * wildcards) into what the manufacturer filed with the US National Highway Traffic Safety Administration: make, model, model year, trim, body class, engine (cylinders, displacement, horsepower, fuel), drive type, GVWR class, safety equipment, and the assembly plant, from NHTSA's vPIC database. Every value is a text string; an empty string means NHTSA holds no data on that field, not that the vehicle lacks the feature. ErrorCode is a comma-separated list of codes: 0 is a clean decode, and the response is still HTTP 200 with most decodable fields filled for codes such as 1 (check digit does not calculate) or 6 (incomplete VIN). Best for US-market vehicles from model year 1995. Data from NHTSA vPIC (a US government source); not an official NHTSA product.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.

Data source

NHTSA vPIC

Data from the US National Highway Traffic Safety Administration's Product Information Catalog and Vehicle Listing (vPIC), a US federal work open for public use. Served by Eden Engine; not an official NHTSA product and not endorsed by NHTSA.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

Connect once and your AI can find and run this tool, and any other it needs.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "nhtsavpic/decode-vin" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "nhtsavpic/decode-vin" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "nhtsavpic/decode-vin", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "nhtsavpic/decode-vin", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 20, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "vin"
  ],
  "properties": {
    "vin": {
      "type": "string",
      "pattern": "^[A-HJ-NPR-Za-hj-npr-z0-9*]{3,17}$",
      "description": "The VIN, 17 characters for a full one, or 3 to 16 (with * for any unknown character) for a partial one. Letters I, O, and Q never appear in a VIN and are refused. Example 1HGCM82633A004352."
    },
    "model_year": {
      "type": "integer",
      "maximum": 2100,
      "minimum": 1980,
      "description": "Model year to decode under; useful for a partial VIN that stops before its 10th (year) character. vPIC takes it over the VIN's own year character and flags a disagreement with code 12, after which most fields come back empty, so omit it for a full VIN."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "Count",
    "Message",
    "SearchCriteria",
    "Results"
  ],
  "properties": {
    "Count": {
      "type": "integer",
      "description": "Number of decodes in Results; 1 for a single VIN."
    },
    "Message": {
      "type": "string",
      "description": "NHTSA's note. It says a missing value must not be read as the feature being unavailable."
    },
    "Results": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "VIN",
          "ErrorCode",
          "ErrorText"
        ],
        "properties": {
          "VIN": {
            "type": "string",
            "description": "The VIN decoded, as sent."
          },
          "Make": {
            "type": "string",
            "description": "Make, upper case, for example HONDA. Empty when not decoded."
          },
          "Trim": {
            "type": "string",
            "description": "Trim level, where known."
          },
          "Model": {
            "type": "string",
            "description": "Model, for example Accord. Empty when not decoded."
          },
          "EngineHP": {
            "type": "string",
            "description": "Horsepower as text, formats vary (240, 112.0)."
          },
          "BodyClass": {
            "type": "string",
            "description": "Body style, for example Coupe."
          },
          "ErrorCode": {
            "type": "string",
            "description": "Comma-joined codes, for example 0 (clean), 1 (check digit does not calculate), 6 (incomplete VIN), 5,12,14 (model year disagrees with VIN). 0 alone is a clean decode."
          },
          "ErrorText": {
            "type": "string",
            "description": "The prose for each code in ErrorCode."
          },
          "ModelYear": {
            "type": "string",
            "description": "Model year as a four-digit string."
          },
          "VehicleType": {
            "type": "string",
            "description": "For example PASSENGER CAR, TRUCK, MOTORCYCLE."
          },
          "Manufacturer": {
            "type": "string",
            "description": "Registered manufacturer name."
          },
          "PlantCountry": {
            "type": "string",
            "description": "Assembly plant country."
          },
          "DisplacementL": {
            "type": "string",
            "description": "Engine displacement in litres, as text."
          },
          "EngineCylinders": {
            "type": "string",
            "description": "Cylinder count as text, empty for electric."
          },
          "FuelTypePrimary": {
            "type": "string",
            "description": "For example Gasoline, Electric."
          }
        },
        "additionalProperties": {
          "type": "string"
        }
      },
      "maxItems": 1,
      "minItems": 1,
      "description": "One decode object. See the properties for the fields most callers need."
    },
    "SearchCriteria": {
      "type": "string",
      "description": "The VIN as NHTSA received it, for example VIN(s): 1HGCM82633A004352."
    }
  },
  "description": "NHTSA's response: Count (1), a Message, the SearchCriteria echoing the VIN, and Results with one decode object.",
  "additionalProperties": true
}