# WritersLogic VIN Decode

> WritersLogic VIN Decode is a paid API for AI agents from agents.writerslogic.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-19).

Validates and decodes up to 50 VINs per call, verifying check digit, world manufacturer identifier, and model year without calling external APIs at runtime

## Facts

- Endpoint: POST https://agents.writerslogic.com/api/v1/vin-decode?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/writerslogic-vin-decode-28516afd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5DUE_GO_cHYuYcsUZOY5R

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability writerslogic-vin-decode-28516afd -d '<json body>'
```

Example prompt: Can you validate this VIN for me — 1HGCM82633A004352 — it's a light passenger vehicle, and I need to know if the check digit passes and what model year it decodes to?

## When to prefer this

Choose this endpoint when you need fast, offline-style VIN structural validation and WMI/model-year extraction without incurring latency or cost of a live vPIC API call. It is ideal for bulk pre-screening vehicle listings, claims, or orders where you need check-digit compliance (49 CFR 565.15) and model year resolution at scale. It is not the right choice when you need make, model, trim, engine specs, or confirmation that a specific vehicle actually exists in a government database.

## Known failure modes

- Invalid VIN length (not 17 characters) — returns validation error per item
- Illegal characters I, O, or Q present — returns character validation failure
- Check digit mismatch — returns check digit failure with expected vs actual
- Model year ambiguity when neither vehicleClass nor asOf is supplied — returns both candidate years with status unknown
- WMI not found in bundled NHTSA snapshot — may return unknown manufacturer
- Batch exceeds 50 items — request rejected
- Malformed asOf date format — schema validation error

## How this service works

Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.

## Output

For each submitted VIN, the endpoint returns the validation status (valid/invalid/unknown), check digit pass/fail, the world manufacturer identifier resolved from the bundled NHTSA vPIC snapshot, the decoded model year (or both candidate years if century is ambiguous), and specific error codes for any formatting violations such as illegal characters (I, O, Q) or incorrect length.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "vin"
    ],
    "properties": {
     "vin": {
      "type": "string",
      "maxLength": 32,
      "minLength": 1
     },
     "asOf": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Reference date (YYYY-MM-DD) used to drop model years more than one year after it. No clock is read."
     },
     "vehicleClass": {
      "enum": [
       "light",
       "other"
      ],
      "type": "string",
      "description": "light: passenger car, MPV or truck up to 4536 kg GVWR (position 7 fixes the model-year century). other: all other vehicles."
     }
    }
   },
   "maxItems": 50,
   "minItems": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/writerslogic-vin-decode-28516afd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.writerslogic.com](https://www.zero.xyz/host/agents.writerslogic.com/llms.txt)
