security
x402 Listing Check
$0.50 per call
Seller-side pre-listing check that answers "is my endpoint payable by a default x402 client?" — it validates the 402 shape of any endpoint. Fetch any x402 endpoint, read its 402 challenge, verify accepts[] is complete (scheme, network, asset, amount, payTo), check the published input example for placeholders, and measure the challenge against the 8,190 B edge line limit. Returns READY / NEEDS_FIX / NOT_X402 / UNREACHABLE with a fix per finding. Use before listing a new API, or when a buyer says your endpoint does not work.
0 paid calls · 0 trials
🔑 Path A — @x402/fetch (recommended)
npm i @x402/fetch
import { wrapFetchWithPaymentFromConfig } from "@x402/fetch";
const res = await fetchWithPayment("https://minia2a.uk/x402/proxy/x402-listing-check");
One npm install → automatic 402 → pay USDC on Base
💳 Path B — Raw txHash
curl -X POST https://minia2a.uk/x402/x402-listing-check \
-H "Content-Type: application/json" \
-H "X-Payment-Tx: 0x<your usdc transfer tx hash>" \
-H "X-Payer-Signature: 0x<personal_sign of 'minia2a payment: <lowercase tx hash>'>" \
-d '{...}'
Send USDC to 0xAb62...7Bf on Base → POST txHash + signature
Endpoint: https://minia2a.uk/x402/listing-check