81trust / 100

Proxy Vin Decode

by VIN Decoder in Developer tools

x402 APIPassing, checked 4 h ago

Decode a 17-character vehicle identification number with NHTSA vPIC: make, model, model year, trim, body, doors, engine (cylinders, displacement, hp, fuel, electrification), drive, transmission, manufacturer and plant. Validates format and the check digit (mandatory for North American VINs). Best coverage for vehicles sold in the US. Params: vin (required).

POST https://agentsvc.io/api/v1/proxy/vin-decode

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
28 ms typical, 28 ms slowest 5%
Last check
4 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://agentsvc.io/api/v1/proxy/vin-decode" \
  -H "content-type: application/json" \
  -d '{"vin":"1HGCM82633A004352"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagentsvc.io%2Fapi%2Fv1%2Fproxy%2Fvin-decode
const res = await pay("https://agentsvc.io/api/v1/proxy/vin-decode", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"vin":"1HGCM82633A004352"}),
});
console.log(await res.json());

Example input

{
  "vin": "1HGCM82633A004352"
}

Example output

{
  "data": {
    "body_class": "Coupe",
    "check_digit_applies": true,
    "check_digit_valid": true,
    "doors": 2,
    "drive": null,
    "engine": {
      "cylinders": 6,
      "displacement_l": 3,
      "electrification": null,
      "fuel": "Gasoline",
      "hp": 240,
      "model": "J30A4"
    },
    "error_code": "0",
    "errors": null,
    "gvwr": "Class 1C: 4,001 - 5,000 lb (1,814 - 2,268 kg)",
    "make": "HONDA",
    "manufacturer": "AMERICAN HONDA MOTOR CO., INC.",
    "model": "Accord",
    "model_year": 2003,
    "note": null,
    "plant": {
      "city": "MARYSVILLE",
      "country": "UNITED STATES (USA)",
      "state": "OHIO"
    },
    "series": null,
    "source": "NHTSA vPIC",
    "transmission": "Automatic",
    "trim": "EX-V6",
    "valid_format": true,
    "vehicle_type": "PASSENGER CAR",
    "vin": "1HGCM82633A004352"
  },
  "success": true
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed40228 ms$0.0035