magent

Knaus 1985 APACHE II integer: 12 Acute Physiology Score items (worst in 24 hours as assigned by the caller) plus age and chronic-health points, max 71. Oxygenation uses A-aDO2 when FiO2 is at least 0.5 and PaO2 when FiO2 is below 0.5. Creatinine points double in acute renal failure. Does not compute predicted death risk. magent does not measure vitals.

DataLiveeip155:8453Exactvia cdp
Apache-iiIcuSeverityPhysiology
Calls · 30d
1→ 0%
This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 8 snapshots so far.
$13.75
Verified settled volume
2,750 settlements proven x402 by their on-chain EIP-3009 marker.
$0.0050
Listed price
As published in the catalog. Always read the live 402 before paying.
1
Calls · 30d
Upstream's own call count for this endpoint, not ours.
1
Unique payers · 30d
Last called 2026-09-01 07:45Z
—
Upstream on-chain volume
Reported by the source catalog.
Paid to
0x836Be278f1739fB4308091cD1852F7971Bc19Ee2

The wallet the 402 directs payment to. Its whole payment record — every payer, every chain — is on the merchant page.

Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Provider

The payTo wallet does not resolve to a registered ERC-8004 agent. That is not a verdict on the service — most of the catalog is unregistered.

Live 402 challenge

Captured by the enrichment pass, not read just now. Prices can change — always read the 402 the endpoint answers with.

{
  "error": "PAYMENT-SIGNATURE header is required",
  "accepts": [
    {
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "extra": {
        "name": "USD Coin",
        "version": "2",
        "paymentFlow": "upfront",
        "resourceUrl": "https://api.magentlab.com/api/calc/apache_ii",
        "assetTransferMethod": "eip3009"
      },
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "amount": "5000",
      "scheme": "exact",
      "network": "eip155:8453",
      "maxTimeoutSeconds": 600
    },
    {
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "extra": {
        "name": "USD Coin",
        "version": "2",
        "withdrawDelay": 86400,
        "receiverAuthorizer": "0x3721824a31197dcDD2984cF43b92B6cc8A87c0Fb",
        "assetTransferMethod": "eip3009"
      },
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "amount": "5000",
      "scheme": "batch-settlement",
      "network": "eip155:8453",
      "maxTimeoutSeconds": 600
    }
  ],
  "resource": {
    "url": "https://api.magentlab.com/api/calc/apache_ii",
    "tags": [
      "apache-ii",
      "icu",
      "severity",
      "physiology"
    ],
    "mimeType": "application/json",
    "description": "Knaus 1985 APACHE II integer: 12 Acute Physiology Score items (worst in 24 hours as assigned by the caller) plus age and chronic-health points, max 71. Oxygenation uses A-aDO2 when FiO2 is at least 0.5 and PaO2 when FiO2 is below 0.5. Creatinine points double in acute renal failure. Does not compute predicted death risk. magent does not measure vitals.",
    "serviceName": "magent"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "type": "http",
          "method": "GET",
          "queryParams": {
            "age": 40,
            "gcs": 15,
            "fio2": 0.21,
            "wbc_k_ul": 8,
            "map_mm_hg": 90,
            "heart_rate": 80,
            "pao2_mm_hg": 90,
            "aa_gradient": 100,
            "arterial_ph": 7.4,
            "sodium_mmol_l": 140,
            "temperature_c": 37,
            "chronic_health": false,
            "elective_postop": false,
            "creatinine_mg_dl": 1,
            "potassium_mmol_l": 4,
            "respiratory_rate": 16,
            "hematocrit_percent": 40,
            "acute_renal_failure": false
          }
        },
        "output": {
          "type": "json",
          "example": {
            "score": 0,
            "formula": "apache_ii",
            "citation": {
              "id": "knaus-1985",
              "doi": "10.1097/00003246-198510000-00009",
              "pmid": "3928249",
              "title": "APACHE II: a severity of disease classification system",
              "source": "Crit Care Med. 1985;13(10):818-829",
              "authors": "Knaus WA, Draper EA, Wagner DP, Zimmerman JE"
            },
            "max_score": 71,
            "components": [
              {
                "value": 37,
                "factor": "temperature_c",
                "points": 0,
                "present": false
              },
              {
                "value": 90,
                "factor": "map_mm_hg",
                "points": 0,
                "present": false
              },
              {
                "value": 80,
                "factor": "heart_rate",
                "points": 0,
                "present": false
              },
              {
                "value": 16,
                "factor": "respiratory_rate",
                "points": 0,
                "present": false
              },
              {
                "fio2": 0.21,
                "value": 90,
                "branch": "pao2_mm_hg",
                "factor": "oxygenation",
                "points": 0,
                "present": false
              },
              {
                "value": 7.4,
                "factor": "arterial_ph",
                "points": 0,
                "present": false
              },
              {
                "value": 140,
                "factor": "sodium_mmol_l",
                "points": 0,
                "present": false
              },
              {
                "value": 4,
                "factor": "potassium_mmol_l",
                "points": 0,
                "present": false
              },
              {
                "value": 1,
                "factor": "creatinine_mg_dl",
                "points": 0,
                "present": false,
                "acute_renal_failure": false
              },
              {
                "value": 40,
                "factor": "hematocrit_percent",
                "points": 0,
                "present": false
              },
              {
                "value": 8,
                "factor": "wbc_k_ul",
                "points": 0,
                "present": false
              },
              {
                "value": 15,
                "factor": "gcs",
                "points": 0,
                "present": false
              },
              {
                "value": 40,
                "factor": "age",
                "points": 0,
                "present": false
              },
              {
                "factor": "chronic_health",
                "points": 0,
                "present": false,
                "chronic_health": false,
                "elective_postop": 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.",
            "formula_expression": "APACHE II = APS + age_points + chronic_health_points; APS is the sum of 12 Knaus 1985 Table 1 items (worst values in 24h as assigned by the caller): temperature_c, map_mm_hg, heart_rate, respiratory_rate, oxygenation (A-aDO2 if fio2 >= 0.5, PaO2 if fio2 < 0.5), arterial_ph, sodium_mmol_l, potassium_mmol_l, creatinine_mg_dl (doubled if acute_renal_failure), hematocrit_percent, wbc_k_ul, and 15-gcs; age <=44 → 0, 45-54 → 2, 55-64 → 3, 65-74 → 5, >=75 → 6; chronic health 0 if none, else +5 nonoperative or emergency postoperative or +2 elective postoperative; max 71"
          }
        },
        "iconUrl": "https://api.magentlab.com/favicon.ico"
      },
      "schema": {
        "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": [
                  "temperature_c",
                  "map_mm_hg",
                  "heart_rate",
                  "respiratory_rate",
                  "fio2",
                  "arterial_ph",
                  "sodium_mmol_l",
                  "potassium_mmol_l",
                  "creatinine_mg_dl",
                  "hematocrit_percent",
                  "wbc_k_ul",
                  "gcs",
                  "age",
                  "chronic_health",
                  "elective_postop",
                  "acute_renal_failure"
                ],
                "properties": {
                  "age": {
                    "type": "integer",
                    "description": "Age in years, integer 16-120. ≤44 → 0; 45-54 → 2; 55-64 → 3; 65-74 → 5; ≥75 → 6."
                  },
                  "gcs": {
                    "type": "integer",
                    "description": "Glasgow Coma Scale total as assigned by the caller (integer 3-15). APS GCS points = 15 minus gcs. magent does not examine the patient."
                  },
                  "fio2": {
                    "type": "number",
                    "description": "Inspired oxygen as a fraction 0.21-1.00, not a percent. If fio2 ≥ 0.5, oxygenation uses aa_gradient. If fio2 < 0.5, oxygenation uses pao2_mm_hg. The unused gas parameter is ignored."
                  },
                  "wbc_k_ul": {
                    "type": "number",
                    "description": "White blood count in thousands per mm^3 (0.1-100). ≥40 → 4; 20-39.9 → 2; 15-19.9 → 1; 3-14.9 → 0; 1-2.9 → 2; <1 → 4."
                  },
                  "map_mm_hg": {
                    "type": "number",
                    "description": "Mean arterial pressure in mm Hg (20-250). ≥160 → 4; 130-159 → 3; 110-129 → 2; 70-109 → 0; 50-69 → 2; ≤49 → 4. magent does not measure blood pressure."
                  },
                  "heart_rate": {
                    "type": "integer",
                    "description": "Heart rate, ventricular response, integer 20-250. ≥180 → 4; 140-179 → 3; 110-139 → 2; 70-109 → 0; 55-69 → 2; 40-54 → 3; ≤39 → 4."
                  },
                  "pao2_mm_hg": {
                    "type": "number",
                    "description": "Arterial PaO2 in mm Hg (20-700). Required when fio2 < 0.5. >70 → 0; 61-70 → 1; 55-60 → 3; <55 → 4. Ignored when fio2 ≥ 0.5."
                  },
                  "aa_gradient": {
                    "type": "number",
                    "description": "A-aDO2 in mm Hg (0-800). Required when fio2 ≥ 0.5. ≥500 → 4; 350-499 → 3; 200-349 → 2; <200 → 0. Ignored when fio2 < 0.5. magent does not compute A-aDO2 from PaO2."
                  },
                  "arterial_ph": {
                    "type": "number",
                    "description": "Arterial pH (6.5-8.0). ≥7.70 → 4; 7.60-7.69 → 3; 7.50-7.59 → 1; 7.33-7.49 → 0; 7.25-7.32 → 2; 7.15-7.24 → 3; <7.15 → 4. Venous HCO3 substitution from Table 1 is not accepted."
                  },
                  "sodium_mmol_l": {
                    "type": "number",
                    "description": "Serum sodium in mmol/L (90-200). ≥180 → 4; 160-179 → 3; 155-159 → 2; 150-154 → 1; 130-149 → 0; 120-129 → 2; 111-119 → 3; ≤110 → 4."
                  },
                  "temperature_c": {
                    "type": "number",
                    "description": "Rectal temperature in °C (20-46) as assigned by the caller (Knaus 1985 Table 1). ≥41 → 4; 39-40.9 → 3; 38.5-38.9 → 1; 36-38.4 → 0; 34-35.9 → 1; 32-33.9 → 2; 30-31.9 → 3; ≤29.9 → 4. magent does not measure temperature or convert Fahrenheit."
                  },
                  "chronic_health": {
                    "type": "boolean",
                    "description": "true if the caller assigns severe organ insufficiency or immunocompromise as defined in Knaus 1985. false → 0 chronic-health points and elective_postop must be false."
                  },
                  "elective_postop": {
                    "type": "boolean",
                    "description": "true only for elective postoperative patients with chronic_health true (+2). false with chronic_health true is nonoperative or emergency postoperative (+5). Must be false when chronic_health is false."
                  },
                  "creatinine_mg_dl": {
                    "type": "number",
                    "description": "Serum creatinine in mg/dL (0.1-20). ≥3.5 → 4; 2.0-3.4 → 3; 1.5-1.9 → 2; 0.6-1.4 → 0; <0.6 → 2. Double that row when acute_renal_failure is true."
                  },
                  "potassium_mmol_l": {
                    "type": "number",
                    "description": "Serum potassium in mmol/L (1-12). ≥7.0 → 4; 6.0-6.9 → 3; 5.5-5.9 → 1; 3.5-5.4 → 0; 3.0-3.4 → 1; 2.5-2.9 → 2; <2.5 → 4."
                  },
                  "respiratory_rate": {
                    "type": "integer",
                    "description": "Respiratory rate, non-ventilated or ventilated, integer 0-80. ≥50 → 4; 35-49 → 3; 25-34 → 1; 12-24 → 0; 10-11 → 1; 6-9 → 2; ≤5 → 4."
                  },
                  "hematocrit_percent": {
                    "type": "number",
                    "description": "Hematocrit percent (5-80). ≥60 → 4; 50-59.9 → 2; 46-49.9 → 1; 30-45.9 → 0; 20-29.9 → 2; <20 → 4."
                  },
                  "acute_renal_failure": {
                    "type": "boolean",
                    "description": "true doubles the creatinine Table 1 points (Knaus 1985). false leaves creatinine points unchanged. magent does not diagnose renal failure."
                  }
                }
              }
            },
            "additionalProperties": false
          },
          "output": {
            "type": "object",
            "required": [
              "type"
            ],
            "properties": {
              "type": {
                "type": "string"
              },
              "example": {
                "type": "object"
              }
            }
          }
        }
      }
    }
  },
  "x402Version": 2
}

Accepts

The payment requirements as published to the catalog. Read the live 402 before paying — a price here is a claim, not a quote.

0.005USDC≈ $0.005 USD
on Base · exact scheme

Pay 0.005 USDC on Base to 0x836B…19Ee2. The signed payment is good for 10 minutes.

USD Coin contract
0x8335…02913
Payment window
10 minutes
As published
5000 smallest units
The catalog’s raw entry
[
  {
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "extra": {
      "name": "USD Coin",
      "version": "2",
      "paymentFlow": "upfront",
      "resourceUrl": "https://api.magentlab.com/api/calc/apache_ii",
      "assetTransferMethod": "eip3009"
    },
    "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
    "amount": "5000",
    "scheme": "exact",
    "network": "eip155:8453",
    "maxTimeoutSeconds": 600
  }
]

Extensions

{
  "bazaar": {
    "info": {
      "input": {
        "body": {
          "items": [
            {
              "age": 40,
              "gcs": 15,
              "fio2": 0.21,
              "wbc_k_ul": 8,
              "map_mm_hg": 90,
              "heart_rate": 80,
              "pao2_mm_hg": 90,
              "aa_gradient": 100,
              "arterial_ph": 7.4,
              "sodium_mmol_l": 140,
              "temperature_c": 37,
              "chronic_health": false,
              "elective_postop": false,
              "creatinine_mg_dl": 1,
              "potassium_mmol_l": 4,
              "respiratory_rate": 16,
              "hematocrit_percent": 40,
              "acute_renal_failure": false
            },
            {
              "age": 40,
              "gcs": 15,
              "fio2": 0.21,
              "wbc_k_ul": 8,
              "map_mm_hg": 90,
              "heart_rate": 80,
              "pao2_mm_hg": 90,
              "aa_gradient": 100,
              "arterial_ph": 7.4,
              "sodium_mmol_l": 140,
              "temperature_c": 37,
              "chronic_health": false,
              "elective_postop": false,
              "creatinine_mg_dl": 1,
              "potassium_mmol_l": 4,
              "respiratory_rate": 16,
              "hematocrit_percent": 40,
              "acute_renal_failure": false
            }
          ]
        },
        "type": "http",
        "method": "POST"
      },
      "output": {
        "type": "json",
        "example": {
          "path": "/api/calc/apache_ii",
          "count": 2,
          "items": [
            {
              "score": 0,
              "formula": "apache_ii",
              "citation": {
                "id": "knaus-1985",
                "doi": "10.1097/00003246-198510000-00009",
                "pmid": "3928249",
                "title": "APACHE II: a severity of disease classification system",
                "source": "Crit Care Med. 1985;13(10):818-829",
                "authors": "Knaus WA, Draper EA, Wagner DP, Zimmerman JE"
              },
              "max_score": 71,
              "components": [
                {
                  "value": 37,
                  "factor": "temperature_c",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 90,
                  "factor": "map_mm_hg",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 80,
                  "factor": "heart_rate",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 16,
                  "factor": "respiratory_rate",
                  "points": 0,
                  "present": false
                },
                {
                  "fio2": 0.21,
                  "value": 90,
                  "branch": "pao2_mm_hg",
                  "factor": "oxygenation",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 7.4,
                  "factor": "arterial_ph",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 140,
                  "factor": "sodium_mmol_l",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 4,
                  "factor": "potassium_mmol_l",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 1,
                  "factor": "creatinine_mg_dl",
                  "points": 0,
                  "present": false,
                  "acute_renal_failure": false
                },
                {
                  "value": 40,
                  "factor": "hematocrit_percent",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 8,
                  "factor": "wbc_k_ul",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 15,
                  "factor": "gcs",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 40,
                  "factor": "age",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "chronic_health",
                  "points": 0,
                  "present": false,
                  "chronic_health": false,
                  "elective_postop": 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.",
              "formula_expression": "APACHE II = APS + age_points + chronic_health_points; APS is the sum of 12 Knaus 1985 Table 1 items (worst values in 24h as assigned by the caller): temperature_c, map_mm_hg, heart_rate, respiratory_rate, oxygenation (A-aDO2 if fio2 >= 0.5, PaO2 if fio2 < 0.5), arterial_ph, sodium_mmol_l, potassium_mmol_l, creatinine_mg_dl (doubled if acute_renal_failure), hematocrit_percent, wbc_k_ul, and 15-gcs; age <=44 → 0, 45-54 → 2, 55-64 → 3, 65-74 → 5, >=75 → 6; chronic health 0 if none, else +5 nonoperative or emergency postoperative or +2 elective postoperative; max 71"
            },
            {
              "score": 0,
              "formula": "apache_ii",
              "citation": {
                "id": "knaus-1985",
                "doi": "10.1097/00003246-198510000-00009",
                "pmid": "3928249",
                "title": "APACHE II: a severity of disease classification system",
                "source": "Crit Care Med. 1985;13(10):818-829",
                "authors": "Knaus WA, Draper EA, Wagner DP, Zimmerman JE"
              },
              "max_score": 71,
              "components": [
                {
                  "value": 37,
                  "factor": "temperature_c",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 90,
                  "factor": "map_mm_hg",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 80,
                  "factor": "heart_rate",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 16,
                  "factor": "respiratory_rate",
                  "points": 0,
                  "present": false
                },
                {
                  "fio2": 0.21,
                  "value": 90,
                  "branch": "pao2_mm_hg",
                  "factor": "oxygenation",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 7.4,
                  "factor": "arterial_ph",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 140,
                  "factor": "sodium_mmol_l",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 4,
                  "factor": "potassium_mmol_l",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 1,
                  "factor": "creatinine_mg_dl",
                  "points": 0,
                  "present": false,
                  "acute_renal_failure": false
                },
                {
                  "value": 40,
                  "factor": "hematocrit_percent",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 8,
                  "factor": "wbc_k_ul",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 15,
                  "factor": "gcs",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 40,
                  "factor": "age",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "chronic_health",
                  "points": 0,
                  "present": false,
                  "chronic_health": false,
                  "elective_postop": 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.",
              "formula_expression": "APACHE II = APS + age_points + chronic_health_points; APS is the sum of 12 Knaus 1985 Table 1 items (worst values in 24h as assigned by the caller): temperature_c, map_mm_hg, heart_rate, respiratory_rate, oxygenation (A-aDO2 if fio2 >= 0.5, PaO2 if fio2 < 0.5), arterial_ph, sodium_mmol_l, potassium_mmol_l, creatinine_mg_dl (doubled if acute_renal_failure), hematocrit_percent, wbc_k_ul, and 15-gcs; age <=44 → 0, 45-54 → 2, 55-64 → 3, 65-74 → 5, >=75 → 6; chronic health 0 if none, else +5 nonoperative or emergency postoperative or +2 elective postoperative; max 71"
            }
          ]
        }
      },
      "iconUrl": "https://api.magentlab.com/favicon.ico"
    },
    "schema": {
      "type": "object",
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "required": [
        "input"
      ],
      "properties": {
        "input": {
          "type": "object",
          "required": [
            "type",
            "method"
          ],
          "properties": {
            "body": {
              "type": "object",
              "required": [
                "items"
              ],
              "properties": {
                "items": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "temperature_c",
                      "map_mm_hg",
                      "heart_rate",
                      "respiratory_rate",
                      "fio2",
                      "arterial_ph",
                      "sodium_mmol_l",
                      "potassium_mmol_l",
                      "creatinine_mg_dl",
                      "hematocrit_percent",
                      "wbc_k_ul",
                      "gcs",
                      "age",
                      "chronic_health",
                      "elective_postop",
                      "acute_renal_failure"
                    ],
                    "properties": {
                      "age": {
                        "type": "integer",
                        "description": "Age in years, integer 16-120. ≤44 → 0; 45-54 → 2; 55-64 → 3; 65-74 → 5; ≥75 → 6."
                      },
                      "gcs": {
                        "type": "integer",
                        "description": "Glasgow Coma Scale total as assigned by the caller (integer 3-15). APS GCS points = 15 minus gcs. magent does not examine the patient."
                      },
                      "fio2": {
                        "type": "number",
                        "description": "Inspired oxygen as a fraction 0.21-1.00, not a percent. If fio2 ≥ 0.5, oxygenation uses aa_gradient. If fio2 < 0.5, oxygenation uses pao2_mm_hg. The unused gas parameter is ignored."
                      },
                      "wbc_k_ul": {
                        "type": "number",
                        "description": "White blood count in thousands per mm^3 (0.1-100). ≥40 → 4; 20-39.9 → 2; 15-19.9 → 1; 3-14.9 → 0; 1-2.9 → 2; <1 → 4."
                      },
                      "map_mm_hg": {
                        "type": "number",
                        "description": "Mean arterial pressure in mm Hg (20-250). ≥160 → 4; 130-159 → 3; 110-129 → 2; 70-109 → 0; 50-69 → 2; ≤49 → 4. magent does not measure blood pressure."
                      },
                      "heart_rate": {
                        "type": "integer",
                        "description": "Heart rate, ventricular response, integer 20-250. ≥180 → 4; 140-179 → 3; 110-139 → 2; 70-109 → 0; 55-69 → 2; 40-54 → 3; ≤39 → 4."
                      },
                      "pao2_mm_hg": {
                        "type": "number",
                        "description": "Arterial PaO2 in mm Hg (20-700). Required when fio2 < 0.5. >70 → 0; 61-70 → 1; 55-60 → 3; <55 → 4. Ignored when fio2 ≥ 0.5."
                      },
                      "aa_gradient": {
                        "type": "number",
                        "description": "A-aDO2 in mm Hg (0-800). Required when fio2 ≥ 0.5. ≥500 → 4; 350-499 → 3; 200-349 → 2; <200 → 0. Ignored when fio2 < 0.5. magent does not compute A-aDO2 from PaO2."
                      },
                      "arterial_ph": {
                        "type": "number",
                        "description": "Arterial pH (6.5-8.0). ≥7.70 → 4; 7.60-7.69 → 3; 7.50-7.59 → 1; 7.33-7.49 → 0; 7.25-7.32 → 2; 7.15-7.24 → 3; <7.15 → 4. Venous HCO3 substitution from Table 1 is not accepted."
                      },
                      "sodium_mmol_l": {
                        "type": "number",
                        "description": "Serum sodium in mmol/L (90-200). ≥180 → 4; 160-179 → 3; 155-159 → 2; 150-154 → 1; 130-149 → 0; 120-129 → 2; 111-119 → 3; ≤110 → 4."
                      },
                      "temperature_c": {
                        "type": "number",
                        "description": "Rectal temperature in °C (20-46) as assigned by the caller (Knaus 1985 Table 1). ≥41 → 4; 39-40.9 → 3; 38.5-38.9 → 1; 36-38.4 → 0; 34-35.9 → 1; 32-33.9 → 2; 30-31.9 → 3; ≤29.9 → 4. magent does not measure temperature or convert Fahrenheit."
                      },
                      "chronic_health": {
                        "type": "boolean",
                        "description": "true if the caller assigns severe organ insufficiency or immunocompromise as defined in Knaus 1985. false → 0 chronic-health points and elective_postop must be false."
                      },
                      "elective_postop": {
                        "type": "boolean",
                        "description": "true only for elective postoperative patients with chronic_health true (+2). false with chronic_health true is nonoperative or emergency postoperative (+5). Must be false when chronic_health is false."
                      },
                      "creatinine_mg_dl": {
                        "type": "number",
                        "description": "Serum creatinine in mg/dL (0.1-20). ≥3.5 → 4; 2.0-3.4 → 3; 1.5-1.9 → 2; 0.6-1.4 → 0; <0.6 → 2. Double that row when acute_renal_failure is true."
                      },
                      "potassium_mmol_l": {
                        "type": "number",
                        "description": "Serum potassium in mmol/L (1-12). ≥7.0 → 4; 6.0-6.9 → 3; 5.5-5.9 → 1; 3.5-5.4 → 0; 3.0-3.4 → 1; 2.5-2.9 → 2; <2.5 → 4."
                      },
                      "respiratory_rate": {
                        "type": "integer",
                        "description": "Respiratory rate, non-ventilated or ventilated, integer 0-80. ≥50 → 4; 35-49 → 3; 25-34 → 1; 12-24 → 0; 10-11 → 1; 6-9 → 2; ≤5 → 4."
                      },
                      "hematocrit_percent": {
                        "type": "number",
                        "description": "Hematocrit percent (5-80). ≥60 → 4; 50-59.9 → 2; 46-49.9 → 1; 30-45.9 → 0; 20-29.9 → 2; <20 → 4."
                      },
                      "acute_renal_failure": {
                        "type": "boolean",
                        "description": "true doubles the creatinine Table 1 points (Knaus 1985). false leaves creatinine points unchanged. magent does not diagnose renal failure."
                      }
                    }
                  },
                  "maxItems": 25,
                  "minItems": 1
                }
              },
              "additionalProperties": false
            },
            "type": {
              "type": "string",
              "const": "http"
            },
            "method": {
              "type": "string",
              "const": "POST"
            },
            "headers": {
              "type": "object",
              "additionalProperties": {
                "type": "string"
              }
            }
          },
          "additionalProperties": false
        },
        "output": {
          "type": "object",
          "required": [
            "type"
          ],
          "properties": {
            "type": {
              "type": "string"
            },
            "example": {
              "type": "object"
            }
          }
        }
      }
    }
  }
}

Provenance

Seen in the source catalog
2026-09-01 07:45Z
Last indexed by Roundhouse
2026-09-07 06:20Z
Last enriched (probe, favicon, geo)
2026-09-24 06:15Z
x402 version
2
Max timeout
600s
Liveness probe
HTTP 402
Report

Hand this page to an agent

Copy the prompt and paste it into Claude, an MCP client or your own agent — it will vet this service and call it over the free read API. No key, no account.

GET api.roundhouseai.io/v0/endpoints

This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 8 snapshots so far. Verified volume counts only settlements with an on-chain EIP-3009 marker.

Open skill.md
Show the prompt
Using Roundhouse, look up the x402 service magent and tell me whether it is
worth paying: what a call costs, whether the endpoint answered when last probed, and what
its payment record actually shows.

curl -s 'https://api.roundhouseai.io/v0/endpoints?q=magent'
curl -s 'https://api.roundhouseai.io/v0/merchants/<the payTo wallet returned above>'

Then call it: read the price from the live 402 at https://api.magentlab.com/api/calc/apache_ii, never from
a cached figure, and pay with an x402 client.

The /v0 API needs an API key (`authorization: Bearer rh_live_…`) on everything except
/v0/unified* and /v0/endpoints. Mint a personal key for $0.01 at GET https://api.roundhouseai.io/v0/test/x402,
or use an organization key from https://roundhouseai.io/dashboard/team.

If you do not have Roundhouse tools or skills installed, read
https://roundhouseai.io/skill.md first — it is the whole procedure.