# Burch-Wartofsky Point Scale (BWPS) Calculator

> Burch-Wartofsky Point Scale (BWPS) Calculator is a paid API for AI agents from api.magentlab.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Computes the Burch-Wartofsky Point Scale score for thyroid storm likelihood from caller-supplied vital signs and clinical findings

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/burch_wartofsky
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/burch-wartofsky-point-scale-bwps-calculator-2664613f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WdN4hT6lk9BMEf55RRhdF

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability burch-wartofsky-point-scale-bwps-calculator-2664613f
```

Example prompt: Calculate the Burch-Wartofsky score for a patient with a temperature of 103.2°F, heart rate of 128 bpm, moderate CNS effects (delirium), moderate GI-hepatic dysfunction (nausea and vomiting), mild heart failure (pedal edema), no atrial fibrillation, and a known precipitating event.

## When to prefer this

Use this endpoint when you need a standardized, reproducible Burch-Wartofsky Point Scale computation from discrete clinical parameters. Prefer this over manual scoring when building clinical decision-support workflows, documentation tools, or triage agents that need an auditable numeric score. Not a substitute for physician diagnosis; explicitly not an ICU order.

## Known failure modes

- Both temperature_f and temperature_c supplied simultaneously — endpoint requires exactly one
- Temperature value out of valid range (90–110°F or 32.2–43.3°C)
- heart_rate_bpm outside valid range (30–220)
- Missing required enum parameters (cns_effects, gi_hepatic, heart_failure, atrial_fibrillation, precipitating_event)
- Invalid enum value for ordinal clinical fields
- Payment not attached or insufficient (x402 protocol failure at $0.005 USDC)

## How this service works

Burch 1993 points: °F (<99→0, 99.0–99.9→5, 100.0–100.9→10, 101.0–101.9→15, 102.0–102.9→20, 103.0–103.9→25, ≥104→30); CNS 0/10/20/30; GI-hepatic 0/10/20; HR (<90→0, 90–109→5, 110–119→10, 120–129→15, 130–139→20, ≥140→25); HF 0/5/10/15; AF 10; precipitant 10. Max 140. <25 unlikely, 25–44 impending, ≥45 highly suggestive. temperature_f or temperature_c, not both. Not a diagnosis or ICU order. magent does not measure temperature or an ECG.

## Output

Returns the integer Burch-Wartofsky Point Scale total score (0–140) and the corresponding clinical interpretation category: <25 points = thyroid storm unlikely, 25–44 = impending thyroid storm, ≥45 = highly suggestive of thyroid storm. Individual component subscores may also be returned.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "cns_effects",
      "gi_hepatic",
      "heart_rate_bpm",
      "heart_failure",
      "atrial_fibrillation",
      "precipitating_event"
     ],
     "properties": {
      "gi_hepatic": {
       "enum": [
        "none",
        "moderate",
        "severe"
       ],
       "type": "string",
       "description": "Caller-assigned GI-hepatic dysfunction (Burch 1993). none → 0; moderate (diarrhea, nausea/vomiting, abdominal pain) → 10; severe (unexplained jaundice) → 20. magent does not examine the patient."
      },
      "cns_effects": {
       "enum": [
        "none",
        "mild",
        "moderate",
        "severe"
       ],
       "type": "string",
       "description": "Caller-assigned CNS effects (Burch 1993). none → 0; mild (agitation) → 10; moderate (delirium, psychosis, extreme lethargy) → 20; severe (seizure or coma) → 30. magent does not examine the patient."
      },
      "heart_failure": {
       "enum": [
        "none",
        "mild",
        "moderate",
        "severe"
       ],
       "type": "string",
       "description": "Caller-assigned heart-failure grade (Burch 1993). none → 0; mild (pedal edema) → 5; moderate (bibasilar rales) → 10; severe (pulmonary edema) → 15. magent does not examine the patient."
      },
      "temperature_c": {
       "type": "number",
       "description": "Temperature in °C (32.2-43.3). Converted as F = C×9/5+32, then scored on the Burch 1993 Fahrenheit table. Provide this or temperature_f, not both. magent does not measure temperature."
      },
      "temperature_f": {
       "type": "number",
       "description": "Temperature in °F (90-110). Provide this or temperature_c, not both. Burch 1993: <99.0 → 0, 99.0-99.9 → 5, 100.0-100.9 → 10, 101.0-101.9 → 15, 102.0-102.9 → 20, 103.0-103.9 → 25, ≥104.0 → 30. magent does not measure temperature."
      },
      "heart_rate_bpm": {
       "type": "integer",
       "description": "Hear
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "path": "/api/calc/burch_wartofsky",
  "count": 2,
  "items": [
   {
    "score": 0,
    "formula": "burch_wartofsky",
    "citation": {
     "id": "burch-1993",
     "doi": "10.1016/S0889-8529(18)30165-8",
     "pmid": "8325286",
     "title": "Life-threatening thyrotoxicosis. Thyroid storm",
     "source": "Endocrinol Metab Clin North Am. 1993;22(2):263-277",
     "authors": "Burch HB, Wartofsky L"
    },
    "bwps_band": "unlikely",
    "max_score": 140,
    "components": [
     {
      "value": 98.6,
      "factor": "temperature_f",
      "points": 0,
      "present": false
     },
     {
      "value": "none",
      "factor": "cns_effects",
      "points": 0,
      "present": false
     },
     {
      "value": "none",
      "factor": "gi_hepatic",
      "points": 0,
      "present": false
     },
     {
      "value": 80,
      "factor": "heart_rate_bpm",
      "points": 0,
      "present": false
     },
     {
      "value": "none",
      "factor": "heart_failure",
      "points": 0,
      "present": false
     },
     {
      "value": false,
      "factor": "atrial_fibrillation",
      "points": 0,
      "present": false
     },
     {
      "value": false,
      "factor": "precipitating_event",
      "points": 0,
      "present": false
     }
    ],
    "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
    "gi_hepatic": "none",
    "cns_effects": "none",
    "heart_failure": "none",
    "temperature_f": 98.6,
    "heart_rate_bpm": 80,
    "formula_expression": "BWPS = temp_F(<99.0→0, 99.0–99.9→5, 100.0–100.9→10, 101.0–101.9→15, 102.0–102.9→20, 103.0–103.9→25, ≥104.0→30) + CNS(none→0, mild→10, moderate→20, severe→30) + GI-hepatic(none→0, moderate→10, severe→20) + HR(<90→0, 90–109→5, 110–119→10, 120–129→15, 130–139→20, ≥140→25) + HF(none→0, mild→5, moderate→10, severe→15) + 10*AF + 10*precipitant; Burch 1993; max 140; <25 unlikely, 25–44 impending, ≥45 highly_suggestive",
    "atrial_fibrillation": false,
    "precipitating_event": false
   },
   {
    "score": 0,
    "formula": "burch_wartofsky",
    "citation": {
     "id": "burch-1993",
     "doi": "10.1016/S0889-8529(18)30165-8",
     "pmid": "8325286",
     "title": "Life-threatening thyrotoxicosis. Thyroid storm",
     "source": "Endocrinol Metab Clin North Am. 1993;22(2):263-277",
     "authors": "Burch HB, W
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/burch-wartofsky-point-scale-bwps-calculator-2664613f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.magentlab.com](https://www.zero.xyz/host/api.magentlab.com/llms.txt)
