{
 "id": "e8c9065ff8b3",
 "url": "https://api.magentlab.com/api/calc/saps_ii",
 "host": "api.magentlab.com",
 "method": "POST",
 "type": "http",
 "x402Version": 2,
 "scheme": "exact",
 "network": "eip155:8453",
 "net": "base",
 "testnet": false,
 "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
 "price_atomic": "5000",
 "price_usd": 0.005,
 "band": "under-1c",
 "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
 "networks": [
  "eip155:8453"
 ],
 "description": "Le Gall 1993 Simplified Acute Physiology Score II from 12 physiology variables (worst values in the first 24 hours as assigned by the caller), age, type of admission, and one chronic disease (AIDS, metastatic cancer, or hematologic malignancy). Max 163. Converts the integer to hospital-mortality probability with the paper's logit. PaO2/FiO2 is scored only if ventilated or CPAP. Not SAPS 3. Not APACHE. magent does not measure vitals.",
 "serviceName": "magent",
 "tags": [
  "saps-ii",
  "icu",
  "severity",
  "physiology",
  "mortality"
 ],
 "mimeType": null,
 "iconUrl": null,
 "bazaar": {
  "info": {
   "input": {
    "body": {
     "items": [
      {
       "admission_type": "scheduled_surgical",
       "age": 35,
       "bicarbonate_meq_l": 24,
       "bilirubin_mg_dl": 0.8,
       "bilirubin_umol_l": 14,
       "bun_mg_dl": 15,
       "chronic_disease": "none",
       "gcs": 15,
       "heart_rate": 80,
       "pao2_fio2": 250,
       "potassium_mmol_l": 4,
       "sodium_mmol_l": 140,
       "systolic_bp_mm_hg": 120,
       "temperature_c": 37,
       "urea_mmol_l": 5,
       "urine_output_l_day": 1.5,
       "ventilated": false,
       "wbc_k_ul": 8
      },
      {
       "admission_type": "scheduled_surgical",
       "age": 35,
       "bicarbonate_meq_l": 24,
       "bilirubin_mg_dl": 0.8,
       "bilirubin_umol_l": 14,
       "bun_mg_dl": 15,
       "chronic_disease": "none",
       "gcs": 15,
       "heart_rate": 80,
       "pao2_fio2": 250,
       "potassium_mmol_l": 4,
       "sodium_mmol_l": 140,
       "systolic_bp_mm_hg": 120,
       "temperature_c": 37,
       "urea_mmol_l": 5,
       "urine_output_l_day": 1.5,
       "ventilated": false,
       "wbc_k_ul": 8
      }
     ]
    },
    "method": "POST",
    "type": "http"
   },
   "output": {
    "type": "json",
    "example_truncated": true,
    "chars": 5974
   }
  },
  "has_schema": true
 },
 "quality": {
  "calls30": 2,
  "payers30": 1,
  "lastCalledAt": "2026-09-28T14:39:41.48Z"
 },
 "catalogs": [
  {
   "name": "cdp",
   "lastUpdated": "2026-09-28T14:39:41.611Z",
   "seen_at": "2026-09-30T23:10:40.669Z"
  }
 ],
 "catalog_names": [
  "cdp"
 ],
 "first_seen_catalog": "2026-09-28T14:39:41.611Z",
 "last_updated_catalog": "2026-09-28T14:39:41.611Z",
 "first_seen": "2026-09-30",
 "templated": false,
 "category": "dev-tools/utilities",
 "probe": {
  "at": "2026-09-30T23:19:17.287Z",
  "head_status": null,
  "get_status": null,
  "is_402": false,
  "status": "unreachable",
  "accepts0": null,
  "latency_ms": 0,
  "error": "skipped: host unreachable (fetch failed: ECONNRESET) after 3 consecutive connection errors",
  "skipped": true
 },
 "onchain": {
  "resolved": true,
  "source": "forensics-2026-09-30",
  "payers": 1,
  "payments": 2,
  "usd": 0.01,
  "median_usd": 0.005,
  "first": "2026-08-26T22:53:57.000000Z",
  "last": "2026-08-26T22:58:09.000000Z",
  "sampler_share": 1,
  "non_sampler_payers": 0,
  "is_contract": false,
  "name": null
 },
 "status": "unreachable",
 "valid_402": false,
 "dead": true,
 "verdict": "dead",
 "live_reprobe": null,
 "featured": null,
 "page": "https://bazaar.agentexchange.work/r/e8c9065ff8b3",
 "seller": "https://bazaar.agentexchange.work/seller/api.magentlab.com",
 "seller_json": "https://bazaar.agentexchange.work/seller/api.magentlab.com.json",
 "paid": {
  "probe_now": {
   "url": "https://bazaar.agentexchange.work/r/e8c9065ff8b3/probe.json",
   "price_usd": 0.01,
   "protocol": "x402"
  },
  "feature": {
   "url": "https://bazaar.agentexchange.work/featured",
   "method": "POST",
   "body": {
    "id": "e8c9065ff8b3"
   },
   "price_usd": 1,
   "protocol": "x402"
  }
 },
 "license": "CC BY 4.0"
}