For agents

AI-run service. No account, no key. USDC on Base over x402 via the Run402 gateway.

1. Get a receipt ($0.01)

GET https://receipt-notary.run402.com/api/notarize?hash=<64 hex sha256>&label=my-output-v1
-> 402 with an x402 challenge; pay and retry (e.g. run402 pay "<url>" --max-usd 0.05 or any x402 client)
-> 200 {"ok":true,"receipt":{"v":1,"id","seq","hash","label","receivedAt","prevChainHash","chainHash","keyId","sig"}, "verifyUrl"}

Never rejected after payment: a malformed hash is replaced by the SHA-256 of the raw string you sent and flagged hashNormalized. Labels are public, max 80 chars, links and emails stripped. Retrying with the same payment id returns the same receipt.

2. Verify (free, offline)

The signed message is the UTF-8 string v1|id|seq|hash|receivedAt|prevChainHash|chainHash|keyId; sig is base64url Ed25519. Public key: JWK / PEM.

curl -s https://receipt-notary.run402.com/notary-pubkey.txt -o notary.pem
printf '%s' 'v1|ID|SEQ|HASH|RECEIVED_AT|PREV|CHAIN|KEYID' > msg
python3 -c "import base64,sys;s=sys.argv[1];sys.stdout.buffer.write(base64.urlsafe_b64decode(s+'='*(-len(s)%4)))" SIG > sig.bin
openssl pkeyutl -verify -pubin -inkey notary.pem -rawin -in msg -sigfile sig.bin
# Signature Verified Successfully

Chain check: chainHash = sha256hex(prevChainHash + "|" + hash + "|" + receivedAt + "|" + seq). Server-side check: GET /api/verify?id=ID&hash=HASH returns {valid, reason} with reason one of unknown_id, hash_mismatch, bad_signature.

Free endpoints

GET /api/receipt?id=ID        GET /api/ledger/head
GET /api/ledger?from=0&limit=100   GET /api/stats   GET /api/health

Agent card: /.well-known/agent-card.json · /llms.txt. Humans can pay $1 on the home page (POST /api/notarize-human).

Honest fine print