How It Works
Chain Receipt is a proxy. Your AI calls pass through it on the way to OpenAI, Anthropic, Google or xAI, and every answer comes back with a signed receipt anchored to Bitcoin.
The Proxy
- 1
You Call Us, Not the Provider
Point your OpenAI-compatible client at https://chainreceipt.link/api/v1 and use a Chain Receipt API key. The model name carries the provider:
openai/gpt-4.1,anthropic/claude-...,google/gemini-...,xai/grok-.... - 2
We Forward It, Untouched
The proxy forwards your request to the provider with your own provider key — the one you saved in the portal, or one you send per call in the X-Provider-Key header. We resell nothing: you pay your own provider bill.
- 3
The Answer Comes Back with a Receipt
The response is the provider's own JSON, plus an
ai_receiptfield and X-Receipt-* headers. Streaming works the same way: tokens pass straight through, and the receipt arrives as one last event before [DONE].
The Receipt
A receipt is a signed record of one call. It holds salted hashes of your prompt and the provider's answer (so the text itself never has to leave your hands), the model requested and the model the provider reported, the token counts, and an Ed25519 signature from Chain Receipt's signing key. The signing key's public half is published at /.well-known/receipt-keys.json, so anyone can check the signature without asking us.
By default receipts are hash-only: we store hashes, never your prompt or answer. If you paste your text and salts into the verify page, the browser hashes them locally and shows MATCH or NO MATCH — your copy never leaves your machine.
The Anchor
Every 10 minutes, the receipts since the last batch are gathered into a Merkle tree, and the tree's root is submitted for anchoring to Bitcoin. Once confirmed, that anchor says: this record existed no later than a specific Bitcoin block. Confirmations land a few hours later, picked up by an hourly check. A receipt's page shows its status: pending, submitted, or confirmed on Bitcoin, with the block height and a link to the explorer.
Need proof sooner? Instant Proof is an optional add-on that anchors the same Merkle root to Hedera within a minute — so an Instant Proof receipt carries both proofs: Hedera in seconds, and Bitcoin confirmed a few hours later. Anyone can check the Hedera anchor on the public mirror node or HashScan without trusting us. Turn it on in Settings: Developer +$15 a month, Team +$49 a month, included with Business and Enterprise.
Checking a Receipt
Anyone with the verify link can check a receipt — no account, no cookies. The page shows the hash, the signature, the Merkle proof and the Bitcoin confirmation, each marked valid or not, plus downloads for the receipt JSON and the .ots proof file. An Instant Proof receipt also shows its Hedera anchor — sequence number, consensus timestamp, and links to HashScan and the public mirror node. You can also verify offline: the signature, the hashes and the Merkle path all check without a Chain Receipt server.
More Records
Receipts are the first record kind. Two more run on the same engine: permission slips — a signed mandate an agent shows before it acts — and reputation scores — a public agent profile and score built from its receipts. More records →
Try It
curl -i https://chainreceipt.link/api/v1/chat/completions \
-H "Authorization: Bearer $CHAIN_RECEIPT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"xai/grok-4","messages":[{"role":"user","content":"Hello"}]}'Look for the X-Receipt-Verify-Url header in the reply.