Api Endpoint

HALOWERK quantumwerk

Enumerates every selection of exactly k assets for at most 16 assets, maximizing summed expected return minus a caller-selected covariance penalty. It runs no quantum circuit and provides a deterministic classical optimum for testing a corresponding binary QAOA or QUBO formulation; it is not investment advice and ignores transaction costs and allocation sizes.

Open interactive test console

Offering

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

Endpoint context

URL
https://quantum.halowerk.com/v1/portfolio-qaoa
MIME type
Not provided
First seen
2026-10-16T01:58:26.121Z
Last seen
Tags
iot, Portfolio, qubo

Payment pricing

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

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

Observed health

Status
Healthy
Latest latency
310 ms
Average latency
358 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": {
        "assets": {
          "items": {
            "additionalProperties": false,
            "properties": {
              "expected_return": {
                "maximum": 1000,
                "minimum": -1000,
                "type": "number"
              },
              "name": {
                "maxLength": 64,
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "name",
              "expected_return"
            ],
            "type": "object"
          },
          "maxItems": 16,
          "minItems": 1,
          "type": "array"
        },
        "covariance": {
          "items": {
            "items": {
              "maximum": 1000000,
              "minimum": -1000000,
              "type": "number"
            },
            "maxItems": 16,
            "minItems": 1,
            "type": "array"
          },
          "maxItems": 16,
          "minItems": 1,
          "type": "array"
        },
        "risk_aversion": {
          "maximum": 1000000,
          "minimum": 0,
          "type": "number"
        },
        "select_count": {
          "maximum": 16,
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "assets",
        "covariance",
        "select_count",
        "risk_aversion"
      ],
      "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"
}