Vin Decode
by ort.halowerk.com in AI models & inference
Decode a 17-character VIN: structure (WMI, VDS, VIS), 49 CFR 565 check digit, model-year candidates, region, plus make, model, plant and engine data from the US NHTSA vPIC database.
https://ort.halowerk.com/v1/vin-decode- Price
- $0.003
- per call in USDC
- Uptime
- 95.7%
- last 30 days
- Response time
- 120 ms
- 182 ms slowest 5%
- Last check
- Passed
- 5 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
POST https://ort.halowerk.com/v1/vin-decode
Each call costs $0.003 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
POST https://ort.halowerk.com/v1/vin-decode
content-type: application/json
{
"vin": "1HGCM82633A004352"
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
offline | boolean | No | Default: false. |
vin | string | Yes |
Example response
The provider's example. We can't check it without paying.
Example response, 58 lines
{
"limitations": [
"vPIC covers vehicles of manufacturers registered with NHTSA (US market); many European-only models are missing or only partially decoded.",
"European VINs (ISO 3779) need not carry a check digit in position 9 nor a model year in position 10; a failed check digit is therefore not an error for them.",
"No owner, registration or theft data is looked up."
],
"result": {
"check_digit": {
"computed": "3",
"note": null,
"position_9": "3",
"valid": true
},
"low_volume_manufacturer": false,
"model_year_by_position_7_rule": 2003,
"model_year_candidates": [
2003
],
"model_year_rule": "Position 10 per 49 CFR 565.15(d) Table VII/XIII; for cars, MPVs and light trucks numeric position 7 means 1980–2009, alphabetic 2010–2039 (US rule).",
"plant_code": "A",
"region": "North America",
"serial": "004352",
"source": "49 CFR Part 565; NHTSA vPIC API https://vpic.nhtsa.dot.gov/api (US government work, public domain), queried live",
"valid_format": true,
"vds": "CM826",
"vin": "1HGCM82633A004352",
"vis": "3A004352",
"vpic": {
"body_class": "Coupe",
"displacement_l": "2.998832712",
"doors": "2",
"drive_type": null,
"electrification_level": null,
"engine_cylinders": "6",
"engine_hp": "240",
"engine_model": "J30A4",
"error_code": "0",
"error_text": "0 - VIN decoded clean. Check Digit (9th position) is correct",
"fuel_type_primary": "Gasoline",
"gvwr": "Class 1C: 4,001 - 5,000 lb (1,814 - 2,268 kg)",
"make": "HONDA",
"manufacturer": "AMERICAN HONDA MOTOR CO., INC.",
"manufacturer_country": "UNITED STATES (USA)",
"model": "Accord",
"model_year": 2003,
"plant_city": "MARYSVILLE",
"plant_country": "UNITED STATES (USA)",
"plant_state": "OHIO",
"series": null,
"transmission_style": "Automatic",
"trim": "EX-V6",
"vehicle_type": "PASSENGER CAR"
},
"wmi": "1HG"
},
"service": "vin-decode",
"status": "success"
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.003.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://ort.halowerk.com/v1/vin-decode' \
-H 'content-type: application/json' \
--data-raw '{"vin":"1HGCM82633A004352"}'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://ort.halowerk.com/v1/vin-decode' \
-H 'content-type: application/json' \
--data-raw '{"vin":"1HGCM82633A004352"}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.003 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.003" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.003 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fort.halowerk.com%2Fv1%2Fvin-decode&method=POST
const res = await pay("https://ort.halowerk.com/v1/vin-decode", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"vin": "1HGCM82633A004352"
}),
});
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.003 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.003"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.post(
"https://ort.halowerk.com/v1/vin-decode",
json={
"vin": "1HGCM82633A004352",
},
)
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 5 h ago | Passed | 402 | 320 ms | $0.003 |
| 18 h ago | Passed | 402 | 121 ms | $0.003 |
| 3 days ago | Timed out | - | - | - |
| 4 days ago | Passed | 402 | 44 ms | $0.003 |
| 4 days ago | Passed | 402 | 39 ms | $0.003 |
Show 10 older checks
| 5 days ago | Passed | 402 | 39 ms | $0.003 |
| 5 days ago | Passed | 402 | 40 ms | $0.003 |
| 6 days ago | Passed | 402 | 52 ms | $0.003 |
| 6 days ago | Passed | 402 | 44 ms | $0.003 |
| 6 days ago | Passed | 402 | 38 ms | $0.003 |
| 7 days ago | Passed | 402 | 182 ms | $0.003 |
| 7 days ago | Passed | 402 | 175 ms | $0.003 |
| 7 days ago | Passed | 402 | 120 ms | $0.003 |
| 8 days ago | Passed | 402 | 118 ms | $0.003 |
| 8 days ago | Passed | 402 | 115 ms | $0.003 |