Check an x402 seller before your agent pays it
agentsvc.io/api/v1/proxy/payment-check
Check an x402 seller before your agent pays it. Send the seller's paid URL (or its 402 body). Returns allow, review or block with reasons: payTo wallet vs OFAC SDN crypto addresses, Circle USDC freeze, scam address and phishing domain lists, official USDC on the expected network, price and payTo vs the seller's Coinbase Bazaar listing, plus invoice_sha256 and an Ed25519-signed receipt. Data from p
POST
https://agentsvc.io/api/v1/proxy/payment-checkUptime100% of 1 check 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://agentsvc.io/api/v1/proxy/payment-check", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"url":"https://agentsvc.io/api/v1/proxy/weather"}),
});
console.log(await res.json());Example input
{
"url": "https://agentsvc.io/api/v1/proxy/weather"
}