Skip to content
Fourohtwo

Is this API response actually usable

agent-data.centorprat.workers.dev/agent/judge-payload

Is this API response actually usable? An agent gets JSON back from some other service and has to decide: use it, retry, or throw it away. Send the payload (and optionally what you expected) and get back usable true/false, a 0-100 score, the concrete problems (named empty or contradictory fields, not vibes), which fields are missing, and what to change before retrying. Built for agent pipelines whe

BasePolygonSolanaAnswering
POSThttps://agent-data.centorprat.workers.dev/agent/judge-payload

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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://agent-data.centorprat.workers.dev/agent/judge-payload", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"expected":{"balance":"number"},"payload":{"balance":null,"tokens":[]}}),
});
console.log(await res.json());

Example input

{
  "expected": {
    "balance": "number"
  },
  "payload": {
    "balance": null,
    "tokens": []
  }
}

More from Agent Toolkit