Pre-trade token transaction verdict for autonomous agents on Base
json-repair-api-9ybv.onrender.com/trust/x402/token-verdict
Pre-trade token transaction verdict for autonomous agents on Base. Submit a token contract address and receive signed ALLOW, WARN or BLOCK evidence based on token security and trading-risk signals. Designed for agents deciding whether to buy, swap or interact with an unfamiliar token.
POST
https://json-repair-api-9ybv.onrender.com/trust/x402/token-verdictUptime100% 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://json-repair-api-9ybv.onrender.com/trust/x402/token-verdict", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"amount_usd":25,"source":"agent-skill","token_address":"0x1111111111111111111111111111111111111111"}),
});
console.log(await res.json());Example input
{
"amount_usd": 25,
"source": "agent-skill",
"token_address": "0x1111111111111111111111111111111111111111"
}