API reference / DocAnchor API
DocAnchor API
Submit a SHA-256 hash; hashes are batched hourly into one Merkle root anchored on XDC (Apothem testnet first). Receipts after 5 confirmations. Verification is free and open now; submissions open soon.
| Base path | https://feedplumb.com/notary |
|---|---|
| Authentication | None today (keys and plan limits planned) |
| Limits | 30 requests/min per IP. Submissions answer 503 until anchoring opens. |
| Health | /notary/health · status page |
GET /notary/health
Store, anchoring state and counters.
curl -s https://feedplumb.com/notary/healthGET /notary/health on this site
POST /notary/v1/hash
Submit {"hash":"<64 hex>"} or a raw file body (hashed while streaming, bytes discarded). 202 new, 200 known.
curl -s -X POST https://feedplumb.com/notary/v1/hash -H 'content-type: application/json' \
-d "{\"hash\":\"$(sha256sum invoice.pdf | cut -d' ' -f1)\"}"GET /notary/v1/receipt/{hash}
Receipt v2 (OpenZeppelin StandardMerkleTree proof, root, tx, block). 202 while confirming.
GET /notary/v1/verify/{hash}
pending / unknown / anchored, plus a live on-chain check.
curl -s https://feedplumb.com/notary/v1/verify/<sha256>Not public: /notary/v1/anchor and /notary/v1/admin/* (admin only). These answer 404 through this domain.