One diagnostic sample for your agent integration
api.agentmetric.app/v1/diagnostics/connection
One diagnostic sample for your agent integration: nonce echo, server report timing, protocol and service versions, bounded test payload and SHA-256 integrity check. Client round-trip and payment receipt must be checked by the buyer. Not a bandwidth, load or uptime test. Rewards: 10% cashback; earn 30% on agents you refer until 2026-12-31. Payout from 0.1 USDC: api.agentmetric.app/v1/scout/rewards
GET
https://api.agentmetric.app/v1/diagnostics/connectionUptime100% 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://api.agentmetric.app/v1/diagnostics/connection?nonce=diagnostic-example-001&payload_bytes=256");
console.log(await res.json());Example input
{
"nonce": "diagnostic-example-001",
"payload_bytes": "256"
}