Skip to content
Fourohtwo

Call this before paying any agent

sweetai.tiamatcrypto.com/api/v1/should-i-pay

Call this before paying any agent: Should I Pay? Binary decision (PAY/CAUTION/SKIP) with confidence and expected USDC loss before sending money to an unknown agent. Target by ERC-8004 agent_id, Solana pubkey, x402 seller_url or pay_to wallet. Every response includes a shareable verdict page and card image. GET or POST with JSON body. No account, no API key.

BasePolygonArbitrumSolanaAnswering
GEThttps://sweetai.tiamatcrypto.com/api/v1/should-i-pay

Uptime100% 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://sweetai.tiamatcrypto.com/api/v1/should-i-pay?agent_id=2290&amount_usd=25");
console.log(await res.json());

Example input

{
  "agent_id": 2290,
  "amount_usd": 25
}

More from SweetAIProvider status