Api Endpoint

HALOWERK quantumwerk

Compares caller-supplied Alice and Bob bases, retains matching-basis positions, calculates the quantum bit error rate over caller-selected revealed positions, and returns only a digest and count for remaining demonstration bits. It neither exchanges quantum states nor creates a secret key: all submitted bits are disclosed to this service and must never be used as production key material.

Open interactive test console

Offering

Provider
quantum.halowerk.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Security
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://quantum.halowerk.com/v1/qkd-key-request
MIME type
Not provided
First seen
2026-10-16T01:58:26.121Z
Last seen
Tags
iot, qkd, bb84

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.004 USDC
Atomic price: 4000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "4000",
    "payTo": "0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E"
  }
]

Observed health

Status
Healthy
Latest latency
317 ms
Average latency
1198 ms
HTTP status
204
Last checked
Reachability
100% over 5 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "additionalProperties": false,
      "properties": {
        "alice_bases": {
          "description": "Alice bases, X or Z, aligned with alice_bits.",
          "maxLength": 4096,
          "minLength": 8,
          "pattern": "^[XZ]+$",
          "type": "string"
        },
        "alice_bits": {
          "description": "Alice measurement bits for a simulation or already completed experiment.",
          "maxLength": 4096,
          "minLength": 8,
          "pattern": "^[01]+$",
          "type": "string"
        },
        "bob_bases": {
          "description": "Bob bases, X or Z, aligned with bob_bits.",
          "maxLength": 4096,
          "minLength": 8,
          "pattern": "^[XZ]+$",
          "type": "string"
        },
        "bob_bits": {
          "description": "Bob measurement bits aligned with alice_bits.",
          "maxLength": 4096,
          "minLength": 8,
          "pattern": "^[01]+$",
          "type": "string"
        },
        "reveal_indices": {
          "items": {
            "description": "Zero-based raw observation index to reveal for QBER estimation.",
            "maximum": 4095,
            "minimum": 0,
            "type": "integer"
          },
          "maxItems": 2048,
          "type": "array",
          "uniqueItems": true
        }
      },
      "required": [
        "alice_bits",
        "alice_bases",
        "bob_bits",
        "bob_bases",
        "reveal_indices"
      ],
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST",
        "PUT",
        "PATCH"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": true,
  "properties": {
    "input": {
      "additionalProperties": true,
      "properties": {
        "bodyType": {
          "const": "json"
        },
        "exampleUrl": {
          "format": "uri",
          "type": "string"
        },
        "method": {
          "const": "POST"
        },
        "schemaUrl": {
          "format": "uri",
          "type": "string"
        },
        "type": {
          "const": "http"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType"
      ],
      "type": "object"
    },
    "output": {
      "additionalProperties": true,
      "properties": {
        "exampleUrl": {
          "format": "uri",
          "type": "string"
        },
        "schemaUrl": {
          "format": "uri",
          "type": "string"
        },
        "type": {
          "const": "json"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}