Loading…
An AI agent paying per request in USDT. It holds no gas and no seed phrase.
Research agent calls Kite Labs’s risk-score API at $0.01 a call with an unmodified @x402/fetch client.
Waiting for the agent. Each call shows the full HTTP 402 round trip.
0 paid calls today
Enforced by its account
Resets at midnight UTC
Changing limits or revoking takes one passkey confirmation and applies to the very next call.
0xef87…7d9d0x58d3…e5d0import { wrapFetchWithPayment, x402Client } from '@x402/fetch';
import { ExactEvmScheme } from '@x402/evm/exact/client';
// sessionSigner is the agent's session key. The account it signs for
// enforces the per-call cap, the daily cap and the allowed merchants.
const client = x402Client.fromConfig({
schemes: [{ network: 'eip155:1874', client: new ExactEvmScheme(sessionSigner) }],
});
const pay = wrapFetchWithPayment(fetch, client);
const res = await pay('https://api.kitelabs.example/api/risk-score?invoice=INV-1042');
console.log(await res.json()); // { score: 0.82, band: 'low' }| Time | Request | Paid | Result |
|---|---|---|---|
| Nov 3, 11:54 PM UTC | /api/risk-score?invoice=INV-942 | $0.01 | 0x44f5…a538 |
| Nov 3, 11:25 PM UTC | /api/risk-score?invoice=INV-935 | $0.01 | 0x4911…42d1 |
| Nov 3, 10:13 PM UTC | /api/risk-score?invoice=INV-967 | $0.01 | 0xcced…a70c |
| Nov 3, 6:21 AM UTC | /api/risk-score?invoice=INV-881 | $0.01 | 0x9eee…5161 |
| Nov 3, 4:27 AM UTC | /api/risk-score?invoice=INV-908 | $0.01 | 0x3979…3d89 |
| Nov 3, 1:34 AM UTC | /api/risk-score?invoice=INV-977 | $0.01 | 0x88c0…7c4d |
| Nov 3, 12:17 AM UTC | /api/risk-score?invoice=INV-901 | $0.01 | 0x2fbb…08ee |
| Nov 2, 10:10 PM UTC | /api/risk-score?invoice=INV-955 | $0.01 | 0xfa56…7009 |
| Nov 2, 7:03 AM UTC | /api/risk-score?invoice=INV-962 | $0.01 | 0xaa69…3943 |
| Nov 2, 6:25 AM UTC | /api/risk-score?invoice=INV-908 | $0.01 | 0x6c89…9cbd |
| Nov 2, 6:03 AM UTC | /api/risk-score?invoice=INV-881 | $0.01 | 0xa478…1390 |
| Nov 2, 4:57 AM UTC | /api/risk-score?invoice=INV-979 | $0.01 | 0x796d…b555 |
| Nov 2, 4:32 AM UTC | /api/risk-score?invoice=INV-985 | $0.01 | 0x27c7…dd80 |
| Nov 2, 2:07 AM UTC | /api/risk-score?invoice=INV-938 | $0.01 | 0x45cd…c5aa |
| Nov 1, 7:52 AM UTC | /api/risk-score?invoice=INV-990 | $0.01 | 0x3a7e…d4a6 |