[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [NHTSA WMI decoder](https://spiral.ai/integrations/n8n/nhtsa-wmi-decoder)

# How to Use NHTSA WMI decoder in n8n

Returns manufacturer, make, and vehicle-type information associated with a World Manufacturer Identifier. Use it to identify a VIN prefix before researching a complete vehicle.

|  |  |
| --- | --- |
| Model | NHTSA WMI decoder |
| Available through | Alexandria |
| Category | Public Records |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with NHTSA WMI decoder in n8n

- Every Monday at 9am: use NHTSA WMI decoder to look this up and give me the result as a table.
- Pull the latest numbers from NHTSA WMI decoder and tell me what changed since last week.
- Check NHTSA WMI decoder and summarize what you find in three bullet points.
- Pull the newest data from NHTSA WMI decoder and give me the result as a table.
- Check NHTSA WMI decoder every morning and tell me only when something changed.

## How to set up NHTSA WMI decoder in n8n

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send n8n this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run NHTSA WMI decoder in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds NHTSA WMI decoder, prices it and runs it each time the step fires.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run NHTSA WMI decoder**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "vpic-nhtsa-dot-gov/vehicles/decode_wmi",
    "input": {
      "wmi": "<wmi>"
    }
  }'
```

Then paste one of the prompts above: n8n finds NHTSA WMI decoder on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/n8n

## NHTSA WMI decoder tools and prices

- [NHTSA vPIC vehicle decoder · Decode wmi](https://spiral.ai/tools/alexandria/vpic-nhtsa-dot-gov/vehicles/decode_wmi) (Alexandria): $0.00873 per call.

## What can you do with NHTSA WMI decoder in n8n?

Produce recurring reports of changes in NHTSA vehicle reference records. An agent can compare successive retrievals of manufacturers, makes, models, prefixes, or definitions and highlight differences for catalog review.

### Check dealer inventory descriptions

Decode inventory VINs individually or in batches, compare reported vehicle identity with listing descriptions, and explain attributes through the dictionary. Resolve unfamiliar prefixes, manufacturers, makes, and models before flagging a mismatch.

### Standardize fleet vehicle records

Enrich a business fleet's VIN records with available vehicle specifications. Reconcile manufacturer entities, prefixes, make names, and model names, then use attribute definitions to build consistent reporting categories.

### Build a vehicle research reference database

Create reference tables for manufacturers, makes, models, VIN prefixes, and attribute definitions. Use single and batch VIN decoding to attach vehicle characteristics to research records and investigate inconsistent identifiers.

### Build vehicle catalog selection lists

Start with manufacturer records, resolve their business identities and makes, and populate model selections. Add manufacturer prefix references and dictionary definitions so catalog editors can interpret vehicle categories consistently.

### Reconcile commercial trailer intake

Research trailer manufacturers and their makes, models, and WMI prefixes before matching incoming business inventory. Decode individual VIN exceptions or intake batches, using dictionary definitions to interpret trailer attributes.

### Resolve manufacturer names in supplier records

Compare a supplier's manufacturing identity with the public registry. Use business details, make associations, and WMI records to distinguish similarly named entities and explain unfamiliar VIN prefixes.

### Explain vehicle identification results

Turn individual or batch decode results into readable vehicle summaries. Explain manufacturer prefixes, compare model names, and translate attribute definitions and decode errors for inventory reviewers.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All n8n guides](https://spiral.ai/integrations/n8n)

## NHTSA WMI decoder in other agents

- [Amp](https://spiral.ai/integrations/amp/nhtsa-wmi-decoder)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/nhtsa-wmi-decoder)
- [Claude](https://spiral.ai/integrations/claude-desktop/nhtsa-wmi-decoder)
- [Claude Code](https://spiral.ai/integrations/claude-code/nhtsa-wmi-decoder)
- [Cline](https://spiral.ai/integrations/cline/nhtsa-wmi-decoder)
- [Codex](https://spiral.ai/integrations/codex/nhtsa-wmi-decoder)
- [Cursor](https://spiral.ai/integrations/cursor/nhtsa-wmi-decoder)
- [Devin](https://spiral.ai/integrations/devin/nhtsa-wmi-decoder)
- [dots](https://spiral.ai/integrations/dots/nhtsa-wmi-decoder)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/nhtsa-wmi-decoder)
- [Gemini](https://spiral.ai/integrations/gemini/nhtsa-wmi-decoder)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/nhtsa-wmi-decoder)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/nhtsa-wmi-decoder)
- [goose](https://spiral.ai/integrations/goose/nhtsa-wmi-decoder)
- [Grok](https://spiral.ai/integrations/grok/nhtsa-wmi-decoder)
- [Grok Build](https://spiral.ai/integrations/grok-build/nhtsa-wmi-decoder)
- [Hermes](https://spiral.ai/integrations/hermes/nhtsa-wmi-decoder)
- [Instinct](https://spiral.ai/integrations/instinct/nhtsa-wmi-decoder)
- [Manus](https://spiral.ai/integrations/manus/nhtsa-wmi-decoder)
- [Muse](https://spiral.ai/integrations/muse/nhtsa-wmi-decoder)
- [Muse Code](https://spiral.ai/integrations/muse-code/nhtsa-wmi-decoder)
- [Notion](https://spiral.ai/integrations/notion/nhtsa-wmi-decoder)
- [OpenClaw](https://spiral.ai/integrations/openclaw/nhtsa-wmi-decoder)
- [opencode](https://spiral.ai/integrations/opencode/nhtsa-wmi-decoder)
- [Perplexity](https://spiral.ai/integrations/perplexity/nhtsa-wmi-decoder)
- [Raycast](https://spiral.ai/integrations/raycast/nhtsa-wmi-decoder)
- [VS Code](https://spiral.ai/integrations/vscode/nhtsa-wmi-decoder)
- [Windsurf](https://spiral.ai/integrations/windsurf/nhtsa-wmi-decoder)
- [Zapier](https://spiral.ai/integrations/zapier/nhtsa-wmi-decoder)

## More n8n guides

- [NHTSA VIN decoder](https://spiral.ai/integrations/n8n/nhtsa-vin-decoder)
- [NHTSA batch VIN decoder](https://spiral.ai/integrations/n8n/nhtsa-batch-vin-decoder)
- [NASA fireball events](https://spiral.ai/integrations/n8n/nasa-fireball-events)
- [NHTSA car seat inspection stations](https://spiral.ai/integrations/n8n/nhtsa-car-seat-inspection-stations)
- [NASA Sentry asteroid risk list](https://spiral.ai/integrations/n8n/nasa-sentry-asteroid-risk-list)
- [NHTSA complaint details](https://spiral.ai/integrations/n8n/nhtsa-complaint-details)

## Questions about NHTSA WMI decoder in n8n

**Can n8n use NHTSA WMI decoder?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run NHTSA WMI decoder like any built-in tool.

**How much does NHTSA WMI decoder cost in n8n?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.

**Do I need an Alexandria account to use NHTSA WMI decoder in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs NHTSA WMI decoder on its own Alexandria account.

**How long does it take to set up NHTSA WMI decoder in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while NHTSA WMI decoder runs?**

NHTSA WMI decoder runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

**Where does NHTSA get vPIC's information?**

NHTSA codes manufacturer submissions into vPIC after reviewing them. The vehicle descriptions reflect manufacturer-reported information.

**Does vPIC cover vehicles worldwide?**

Its scope is vehicles intended for sale or importation into the United States. Foreign manufacturers can appear, but that does not make vPIC a complete catalog of their vehicles in other markets.

**How far back does vPIC's vehicle coverage go?**

NHTSA states that vPIC is intended for model years 1981 onward. Its API FAQ reports approximately 99% decoding confidence from 1995 onward for most major brands, which is a coverage estimate rather than a guarantee for every attribute.

**How does new information reach vPIC?**

Manufacturer submissions enter the data after NHTSA review. Freshness follows that submission and review process; a newly announced vehicle is not proof that its information has already been processed.

**Does vPIC provide complete equipment information?**

NHTSA explicitly says that missing decoded values do not mean a feature or technology is unavailable on the vehicle. Its records can therefore support an equipment check without establishing a complete installed-equipment list.

