Skip to content
Fourohtwo

Decision rule verification

x402.coinopai.com/api/verify

Decision rule verification: checks a proposed market view against exposure limits, risk thresholds and cash-reserve rules. POST JSON with symbol, directional_bias, confidence, risk_score, portfolio_exposure, max_exposure and cash_reserve. Returns JSON with verified (true or false), verification_status, violations, warnings, blocked and counts of checks passed, warned and failed. Use it as a final

BaseAnswering
POSThttps://x402.coinopai.com/api/verify

Uptime100% of 2 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://x402.coinopai.com/api/verify", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"cash_reserve":0.2,"confidence":72,"directional_bias":"upward","max_exposure":0.05,"portfolio_exposure":0.04,"risk_score":31,"symbol":"BTC"}),
});
console.log(await res.json());

Example input

{
  "cash_reserve": 0.2,
  "confidence": 72,
  "directional_bias": "upward",
  "max_exposure": 0.05,
  "portfolio_exposure": 0.04,
  "risk_score": 31,
  "symbol": "BTC"
}