AgentPay

Facilitator status

Whether the AgentPay x402 facilitator on Base is alive right now, answered two independent ways. This page refreshes every 30 seconds from GET /facilitator/heartbeat.

checking waiting for the first reading

Path A: the signer checking

The key that settles payments signs the newest block this facilitator has polled. A valid signature means that key is loaded and working at this moment.

Signed block
–
Polled
–
Signer
–
Matches settler
–
On public chain
–

Path B: the chain checking

Two public Base RPCs, separate from the one path A polls, report the chain head. Agreement means the chain is advancing and we are reading the same chain everyone else is.

Chain head
–
Head age
–
RPCs answering
–
RPCs agree
–
Settler gas
–

Last settled payment

The most recent payment this facilitator settled, with its receipt re-read from Base on every check. It is shown for reference and is never part of the verdict: a quiet day is not an outage.

Transaction
–
Receipt on Base
–
Settled
–
What this does and does not prove. It proves the facilitator process is up, holds the settler key, and sees the live chain. It sends no payment, moves no money and spends no gas. It does not prove that your payment will settle: for that, ask /facilitator/handshake with your endpoint and wallet, which is also free.

How the verdict is decided

VerdictRule
LivePath A passes, path B passes, both public RPCs agree, the block path A signed exists on the public chain and is recent, and the settler has gas.
DegradedBoth paths pass, but one public RPC is silent or the settler gas is low.
DownEither path fails, or the block path A signed is missing or old on the public chain. The endpoint answers HTTP 503.

The exact thresholds are in the rules object of every response, so the page and the endpoint cannot drift apart.

Check it yourself

Trust the signature, not this page. Fetch the heartbeat, recover the signer from the message, and compare it with the settler address published on the settlement policy.

pip install eth-account

import json, urllib.request
from eth_account import Account
from eth_account.messages import encode_defunct

req = urllib.request.Request(
    "https://x402-agent-pay.com/facilitator/heartbeat",
    headers={"User-Agent": "Mozilla/5.0"})
hb = json.load(urllib.request.urlopen(req))
a = hb["path_a_signer"]
signer = Account.recover_message(
    encode_defunct(text=a["message"]), signature=a["signature"])
print(hb["verdict"], signer == a["expected_signer"])

Then open the transaction under "Last settled payment" on Basescan. Neither check depends on anything we say.

For agents

GET https://x402-agent-pay.com/facilitator/heartbeat returns the same reading as JSON, free and without a key. It answers 200 when the verdict is live or degraded and 503 when it is down, so a monitor can read the status line alone. The same reading is available as the MCP tool x402_facilitator_heartbeat. The settlement terms have their own tamper check at /facilitator/policy/hash.