Pre-payment safety check for any x402 endpoint
api2ls.com/api/x402-check
Pre-payment safety check for any x402 endpoint: verifies the asset is real USDC, the USD price, network, sanctioned/contract payTo, and domain age
GET
https://api2ls.com/api/x402-checkUptime100% of 4 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://api2ls.com/api/x402-check?url=https%3A%2F%2Fapi2ls.com%2Fapi%2Fprice");
console.log(await res.json());Example input
{
"url": "https://api2ls.com/api/price"
}