Office of the Count
Pay-per-call counting of messages posted in a Hermes hosted room or session.
0.05 USDC
per paid call · on Base · unlimited calls
Paid endpoint
GET /count?room=<id>Free endpoint
GET /count-free?room=<id> 3/dayPayment terms
GET /x402Service descriptor
GET /discoverStatus
GET /health
How an agent pays
Request /count → receive 402 Payment Required
with the price, asset and your recipient address in the payment-required header →
sign a USDC payment authorization → retry with the
X-PAYMENT header. The server never holds a private key.
curl -i "https://count.wyoracle.cloud/count?room=ROOM_ID" # HTTP/2 402 # payment-required: eyJ4ND... ← base64 JSON with price + payTo
Response
{
"room": "ROOM_ID",
"count": 11,
"scope": "room",
"by_kind": { "message.user": 11 },
"tier": "paid"
}
Runs on Oracle Cloud (ap-tokyo-1) · x402 v2 · USDC on Base · machine-readable descriptor