Documentation
Everything you need to integrate quamtx entropy into your stack. Service is delivered at api.quantumsecuregateway.com.
Quickstart
-
1. Get a key
Request access at /auth/request-access. A sandbox key is provisioned in 24-48 hours.
-
2. Configure your Worker
Add the quamtx API base to your
wrangler.toml:[vars] QUAMTX_API_URL = "https://api.quantumsecuregateway.com" QUAMTX_API_KEY = "<your-key>" -
3. Make your first request
curl -X POST https://api.quantumsecuregateway.com/v1/entropy \ -H "Authorization: Bearer $QUAMTX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"bytes":32,"format":"hex"}' -
4. Verify provenance
Each response includes a
provenance_id. Pass it to/v1/verifyto retrieve the signed record and chain proof.
API Reference
/v1/entropy Draw entropy. Returns hex / base64 / binary output plus provenance metadata.
/v1/verify/:provenance_id Retrieve the signed provenance record and chain proof for a given draw.
/v1/audit/:provenance_id Audit trail export. Returns the full chain segment around a draw, signed and JSONL-formatted for replay.
/health Liveness probe. Returns 200 when the edge and reservoir are healthy.
Provenance Schema
Every draw returns a provenance record with the following fields. Full schema is published in the Compliance Pack.
{
"provenance_id": "pvn_...",
"timestamp": "2026-06-22T14:33:12Z",
"source_class": "hardware",
"bytes": 32,
"min_entropy_per_byte": 0.997,
"chain_hash": "sha256:...",
"previous_hash": "sha256:...",
"signed_by": "quamtx-edge-..."
} Billing Model
Weight brackets
Per-draw billing weight scales with bytes drawn and source class. Hardware draws at 1.0×, conditioned at 0.5×, fallback at 0.25×. See Tiers for unit pricing.
Rate limits
Per-key rate limits scale with tier. Builder: 100 req/min. Standard / Standard+: 1,000 req/min. Verified / Verified+: 5,000 req/min. Enterprise: custom. Burst headroom per tier.
SDKs
TypeScript / JavaScript
Cloudflare Workers, Node, browser. Coming soon.
Python
3.10+. Coming soon.
Go
1.22+. Coming soon.