Check an x402 seller before you pay
meridian.miodiollc.com/v1/x402-preflight
Check an x402 seller before you pay: fetches the seller URL once and reports its payment requirements (scheme, network, asset, amount, payTo type) plus an OFAC exact match on payTo. Informational, not advice. $0.005 USDC on Base. 400 invalid_url after pay (not settled); unpaid 402. Unreachable (DNS/timeout/TLS): 503 upstream_unavailable, not charged. Any HTTP response is a charged 200 (partial or
GET
https://meridian.miodiollc.com/v1/x402-preflightUptime100% of 3 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://meridian.miodiollc.com/v1/x402-preflight?url=https%3A%2F%2Fwww.example.com%2F");
console.log(await res.json());Example input
{
"url": "https://www.example.com/"
}