I

Imagcon · Routes Validate

by Imagcon

POSTBase

$0.01

per call · USD Coin on Base

Test any x402 endpoint with a REAL signed payment from a fresh unfunded wallet — no funds can move. Returns the facilitator's verdict (healthy / broken / payment-ignored), decoded challenge, lint checks for silent payment-killers like over-long resource descriptions, and a 402index discovery report. Config validators check your paperwork; this reports what the facilitator actually said. Run it from CI after every deploy.

Endpoint

POST https://imagcon.app/routes/x402/validate

3

Calls / 30d

1

Unique payers / 30d

Aug 29

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://imagcon.app/routes/x402/validate", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "body": {
      "prompt": "hello"
    },
    "url": "https://api.example.com/paid-route"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://imagcon.app/routes/x402/validate" \
  -H "Content-Type: application/json" \
  -d '{"body":{"prompt":"hello"},"url":"https://api.example.com/paid-route"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "challenge": {
    "asset_ok": true,
    "network": "eip155:8453",
    "price_usd": "0.02"
  },
  "facilitator": {
    "error": null,
    "payer_recognized": true
  },
  "lint": [],
  "verdict": "healthy"
}

Payment details

Pay to0x1f2a484ef654d49c58c625b09e78b538501d652d
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Developer Tools and the homepage with a featured placement.

Get featured →

More from Imagcon & similar services