x402 List

x402 Protocol Service Directory

magent

Data PAYMENT-READY

payment-ready until 2026-09-02

Cited clinical calculators and medical code lookup (ICD-10-CM, RxNorm, LOINC) for agents. Pay-per-request via x402 V2 (USDC on Base). Deterministic published formulas with citations. Not a medical device. Docs: https://magentlab.com/docs MCP: npx -y @magent/mcp

Pay from $0.005 per request in USDC on Base, settled onchain via the x402 protocol, no signup, no API key needed.

BASE URL https://api.magentlab.com WEBSITE https://magentlab.com ENDPOINTS 50 NETWORK Base ASSET USDC MEMBER SINCE 2026-08-25 MONITORED SINCE 2026-08-25

VERDICT

ranking generation 3

strong 96/100 #21 of 253 in Data by measured score

What the score read on this service: status online, 100% uptime 30d, 280ms response p95, x402 compliance 14 of 14, $0.005 price against the category. Each of those is measured, and each is published in full below.

The score comes from our own monitoring, never from reviews, operator claims, or a language model: reliability, x402 compliance, price against the category, a deterministic risk flag, and a small on-chain traction term, weighted by ranking generation 3. It is not placement anyone can buy: the paid verify tier is reported beside it and is not one of its inputs. Every component below stays published and read-only.

It is a score inside Data, and only there: price and speed are scored against the whole category field, every listing in it that carries no danger flag, the scored service included, which here means 253 listings, this one among them. That set is wider than the 253 the position above is counted against, because a listing we have measured too little of to rank still sits in the field the price and the speed are normalized over. The same service in a different field would read differently. The same engine answers GET /api/v1/best, and asked for a different pool (the whole directory, or another filter) it returns a different number for this service under this same ranking generation. Neither is more correct: they answer different questions, and the methodology states which is which.

Bands on the 0 to 100 measured score: strong at 93 and above, solid from 75, mixed from 55, weak below 55. Price and speed are scored against the whole category field, every listing in it that carries no danger flag, the scored service included, so the score places a service in its own field.

ALTERNATIVES IN DATA

Other Data services in this directory, ordered by the same measured score. The figures are ours: 30-day uptime from our own probes, 30-day settlement volume read on-chain (a conservative undercount, and null where we cannot measure it, never a zero).

Ranked alternative x402 services in the same category, with band, measured score, 30-day uptime and 30-day on-chain settlement volume
SERVICE BAND SCORE UPTIME 30D VOL 30D
WebberSites x402 Data API strong 99 100% ---
AgentFund US Economic, SEC & On-Chain Data strong 99 100% ---
API Acre strong 99 99.9% ---
Agent Exchange strong 99 100% ---
ForgeMesh Utility APIs strong 99 100% ---
5 of 252 other ranked services in Data · see the whole category

ASSESSMENT

updated 5h ago

The parts the verdict above is computed from, each with its proof. Click any chip. Measured values stay read-only; unknown is honest, and an unknown is never counted as a zero.

reliability 100%
uptime 24h
100%
uptime 7d
100%
uptime 30d
100%
uptime 90d
100%
response p95
280ms
avg response
169ms
total checks
70

Measured on the unpaid 402 handshake, not the paid call. A service can 402 correctly and still fail after payment.

compliance A (14/14)

14 of 14 x402 conformance checks pass. Full checklist below.

jump to compliance checklist

price $0.005 (p37 in Data)
price (min)
$0.005
category percentile (min)
p37 in Data
endpoints / prices
50 / 1
model
flat
stability
100%
risk clean

No deterministic risk flag. Risk fires only on an exact blocklist match, or a reserved-brand name with a mismatched verified payTo. Never from low uptime, a high price, or a model guess.

domain age
7d
registrar
NameCheap, Inc.
hosting
custom
domain created
2026-08-18

Identity facts, not a risk score.

traction ---

This service settles on a network x402-list does not measure yet, so on-chain volume is not counted here. Shown as unmeasured, not zero.

WHAT IT DOES

ai-derived

No AI synthesis has been produced for this service yet.

ENDPOINTS

Service endpoints with HTTP method, path, description, pricing, and network
METHOD PATH DESCRIPTION PRICE NETWORK ASSET 402 CHANNEL
GET /api/calc/aa_gradient $0.005 Base USDC header
GET /api/calc/adhere $0.005 Base USDC header
GET /api/calc/aims65 $0.005 Base USDC header
GET /api/calc/bap_65 $0.005 Base USDC header
GET /api/calc/bee_harris_benedict $0.005 Base USDC header
GET /api/calc/bmi $0.005 Base USDC header
GET /api/calc/bode $0.005 Base USDC header
GET /api/calc/bsa_mosteller $0.005 Base USDC header
GET /api/calc/cha2ds2_vasc $0.005 Base USDC header
GET /api/calc/cpo $0.005 Base USDC header
GET /api/calc/crcl_cockcroft_gault $0.005 Base USDC header
GET /api/calc/curb65 $0.005 Base USDC header
GET /api/calc/decaf $0.005 Base USDC header
GET /api/calc/dsi $0.005 Base USDC header
GET /api/calc/egfr_ckd_epi $0.005 Base USDC header
GET /api/calc/fena $0.005 Base USDC header
GET /api/calc/feurea $0.005 Base USDC header
GET /api/calc/gap_index $0.005 Base USDC header
GET /api/calc/gcs $0.005 Base USDC header
GET /api/calc/h2fpef $0.005 Base USDC header
GET /api/calc/hacor $0.005 Base USDC header
GET /api/calc/has_bled $0.005 Base USDC header
GET /api/calc/heart $0.005 Base USDC header
GET /api/calc/ibw_devine $0.005 Base USDC header
GET /api/calc/kt_v $0.005 Base USDC header
GET /api/calc/lights $0.005 Base USDC header
GET /api/calc/maintenance_fluids $0.005 Base USDC header
GET /api/calc/map $0.005 Base USDC header
GET /api/calc/meld $0.005 Base USDC header
GET /api/calc/meld_na $0.005 Base USDC header
GET /api/calc/nadler $0.005 Base USDC header
GET /api/calc/orbit $0.005 Base USDC header
GET /api/calc/oxygenation_index $0.005 Base USDC header
GET /api/calc/papi $0.005 Base USDC header
GET /api/calc/parkland $0.005 Base USDC header
GET /api/calc/peak_expiratory_flow $0.005 Base USDC header
GET /api/calc/pf_ratio $0.005 Base USDC header
GET /api/calc/qtc $0.005 Base USDC header
GET /api/calc/rox $0.005 Base USDC header
GET /api/calc/rsbi $0.005 Base USDC header
GET /api/calc/schwartz_gfr $0.005 Base USDC header
GET /api/calc/sf_ratio $0.005 Base USDC header
GET /api/calc/shock_index $0.005 Base USDC header
GET /api/calc/sofa $0.005 Base USDC header
GET /api/calc/stop_bang $0.005 Base USDC header
GET /api/calc/ttkg $0.005 Base USDC header
GET /api/calc/wells_dvt $0.005 Base USDC header
GET /api/calc/wells_pe $0.005 Base USDC header
GET /api/codes/lookup $0.005 Base USDC header
GET /api/codes/search $0.005 Base USDC header
50 endpoints

REQUEST / RESPONSE EXAMPLE

An unpaid request to GET /api/calc/aa_gradient returns HTTP 402 with the payment terms. Settle onchain via your facilitator, then retry with the X-Payment header.

// request
curl -i 'https://api.magentlab.com/api/calc/aa_gradient'
// 402 response (captured by monitor) · 50 payloads · click to expand
[
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/codes/lookup",
          "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/codes/lookup",
      "tags": [
        "rxnorm",
        "icd10",
        "icd10cm",
        "loinc",
        "lookup"
      ],
      "mimeType": "application/json",
      "description": "Look up a current RxNorm, ICD-10-CM, or LOINC display from an exact code. Use when an agent already has a code and must not invent the preferred term.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "code": "198440",
              "system": "rxnorm"
            }
          },
          "output": {
            "type": "json",
            "example": {
              "tty": "SCD",
              "code": "198440",
              "found": true,
              "status": "current",
              "system": "rxnorm",
              "catalog": {
                "notes": "ICD-10 entries are ICD-10-CM (US claims), not WHO ICD-10. RxNorm codes are RxCUI. LOINC codes are official LOINC numerics. coverage=full never means complete UMLS.",
                "source": "magent curated seed",
                "systems": [
                  "rxnorm",
                  "icd10",
                  "loinc"
                ],
                "version": "2026.08-wedge",
                "coverage": "seed",
                "coverage_meaning": "Compiled seed catalog. Production coverage=full is gold-gated Current Prescribable RxNorm + ICD-10-CM + LOINC, not complete monthly RxNorm or UMLS."
              },
              "display": "acetaminophen 500 MG Oral Tablet",
              "billable": null,
              "obsolete": false,
              "synonyms": [
                "tylenol 500mg",
                "tylenol 500 mg",
                "acetaminophen 500mg",
                "acetaminophen 500 mg tablet",
                "paracetamol 500 mg"
              ],
              "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."
            }
          },
          "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": [
                    "system",
                    "code"
                  ],
                  "properties": {
                    "code": {
                      "type": "string",
                      "description": "Exact published identifier. ICD-10-CM accepts dotted or compact form (E11.9 or E119). Max 32 characters."
                    },
                    "system": {
                      "enum": [
                        "rxnorm",
                        "icd10",
                        "loinc"
                      ],
                      "type": "string",
                      "description": "rxnorm, icd10 (ICD-10-CM), or loinc."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/codes/search",
          "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/codes/search",
      "tags": [
        "rxnorm",
        "icd10",
        "icd10cm",
        "loinc",
        "codes"
      ],
      "mimeType": "application/json",
      "description": "Map a natural-language drug, diagnosis, or lab phrase to a current RxNorm, ICD-10-CM, or LOINC code. Use when an agent must not hallucinate or invent a billing/pharmacy code.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "tty": "SCD",
              "limit": 5,
              "query": "Tylenol 500mg",
              "system": "rxnorm",
              "min_score": 35,
              "billable_only": true,
              "include_obsolete": false
            }
          },
          "output": {
            "type": "json",
            "example": {
              "query": "Tylenol 500mg",
              "system": "rxnorm",
              "catalog": {
                "notes": "ICD-10 entries are ICD-10-CM (US claims), not WHO ICD-10. RxNorm codes are RxCUI. LOINC codes are official LOINC numerics. coverage=full never means complete UMLS.",
                "source": "magent curated seed",
                "systems": [
                  "rxnorm",
                  "icd10",
                  "loinc"
                ],
                "version": "2026.08-wedge",
                "coverage": "seed",
                "coverage_meaning": "Compiled seed catalog. Production coverage=full is gold-gated Current Prescribable RxNorm + ICD-10-CM + LOINC, not complete monthly RxNorm or UMLS."
              },
              "matches": [
                {
                  "tty": "SCD",
                  "code": "198440",
                  "score": 95,
                  "status": "current",
                  "system": "rxnorm",
                  "display": "acetaminophen 500 MG Oral Tablet",
                  "billable": null,
                  "obsolete": 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.",
              "match_count": 1,
              "match_quality": "high"
            }
          },
          "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": [
                    "query"
                  ],
                  "properties": {
                    "tty": {
                      "enum": [
                        "SCD",
                        "SBD",
                        "IN",
                        "PIN",
                        "MIN",
                        "BN",
                        "GPCK",
                        "BPCK",
                        "DF",
                        "SCDC",
                        "SBDC",
                        "SCDF",
                        "SBDF",
                        "CM",
                        "LN"
                      ],
                      "type": "string",
                      "description": "Restrict term type. Pharmacy orders typically want SCD. ICD-10-CM is CM; LOINC is LN."
                    },
                    "limit": {
                      "type": "integer",
                      "description": "Number of ranked matches to return (1-25). Default 5."
                    },
                    "query": {
                      "type": "string",
                      "description": "Natural-language drug, diagnosis, or lab description. Max 512 characters. Do not send patient names."
                    },
                    "system": {
                      "enum": [
                        "rxnorm",
                        "icd10",
                        "loinc"
                      ],
                      "type": "string",
                      "description": "Restrict to rxnorm, icd10 (ICD-10-CM), or loinc. Omit to search all."
                    },
                    "min_score": {
                      "type": "integer",
                      "description": "Minimum rank score 0-100. Default 35."
                    },
                    "billable_only": {
                      "type": "boolean",
                      "description": "ICD-10-CM: return only HIPAA billable codes, not headers. Default true."
                    },
                    "include_obsolete": {
                      "type": "boolean",
                      "description": "Include deprecated/obsolete codes. Default false."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/sofa",
          "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/sofa",
      "tags": [
        "sofa",
        "sepsis",
        "organ-failure",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "SOFA (Sepsis-related Organ Failure Assessment) from Vincent 1996 Table 3: six organs 0-4, max 24, from PaO2/FiO2 with a ventilation gate, platelets, bilirubin, MAP and adrenergic agents, caller-assigned GCS, and creatinine or urine output. Deterministic published score with citation; not a Sepsis-3 diagnosis.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "gcs": 15,
              "fio2": 0.21,
              "map_mm_hg": 80,
              "dobutamine": false,
              "pao2_mm_hg": 96,
              "ventilated": false,
              "bilirubin_mg_dl": 0.8,
              "bilirubin_umol_l": 17.1,
              "creatinine_mg_dl": 1,
              "platelets_10e9_l": 200,
              "creatinine_umol_l": 88.42,
              "dopamine_ug_kg_min": 0,
              "urine_output_ml_day": 1500,
              "epinephrine_ug_kg_min": 0,
              "norepinephrine_ug_kg_min": 0
            }
          },
          "output": {
            "type": "json",
            "example": {
              "score": 0,
              "formula": "sofa",
              "citation": {
                "id": "vincent-1996",
                "doi": "10.1007/BF01709751",
                "title": "The SOFA (Sepsis-related Organ Failure Assessment) score to describe organ dysfunction/failure",
                "source": "Intensive Care Med. 1996;22(7):707-710",
                "authors": "Vincent JL, Moreno R, Takala J, Willatts S, De Mendonça A, Bruining H, Reinhart CK, Suter PM, Thijs LG"
              },
              "max_score": 24,
              "components": [
                {
                  "value": 457.14285714285717,
                  "factor": "respiration",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 200,
                  "factor": "coagulation",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 0.8,
                  "factor": "liver",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 80,
                  "factor": "cardiovascular",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 15,
                  "factor": "cns",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 1,
                  "factor": "renal",
                  "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.",
              "formula_expression": "SOFA = respiration + coagulation + liver + cardiovascular + cns + renal; each 0-4; max 24"
            }
          },
          "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": [
                    "pao2_mm_hg",
                    "fio2",
                    "ventilated",
                    "platelets_10e9_l",
                    "map_mm_hg",
                    "gcs"
                  ],
                  "properties": {
                    "gcs": {
                      "type": "integer",
                      "description": "Glasgow Coma Scale total as assigned by the caller (integer 3-15). 15 scores 0; 13-14 scores 1; 10-12 scores 2; 6-9 scores 3; <6 scores 4."
                    },
                    "fio2": {
                      "type": "number",
                      "description": "Inspired oxygen as a fraction (0.21-1.0), not a percent."
                    },
                    "map_mm_hg": {
                      "type": "number",
                      "description": "Mean arterial pressure in mm Hg (30-180). MAP <70 scores 1 unless a higher cardiovascular band applies."
                    },
                    "dobutamine": {
                      "type": "boolean",
                      "description": "Any dobutamine. true or false when provided; absent is false. true scores cardiovascular 2 unless a higher band applies."
                    },
                    "pao2_mm_hg": {
                      "type": "number",
                      "description": "Arterial PaO2 in mm Hg (20-700). Respiration uses PaO2/FiO2: ≥400 scores 0; <400 scores 1; <300 scores 2; <200 with ventilation scores 3; <100 with ventilation scores 4."
                    },
                    "ventilated": {
                      "type": "boolean",
                      "description": "Respiratory support (Vincent 1996). true or false. Scores 3 and 4 require ventilation; unventilated PaO2/FiO2 <200 is capped at 2."
                    },
                    "bilirubin_mg_dl": {
                      "type": "number",
                      "description": "Total bilirubin in mg/dL (0.1-40). Provide this or bilirubin_umol_l. <1.2 scores 0; 1.2-1.9 scores 1; 2.0-5.9 scores 2; 6.0-11.9 scores 3; >12.0 scores 4."
                    },
                    "bilirubin_umol_l": {
                      "type": "number",
                      "description": "Total bilirubin in µmol/L. Converted as mg/dL = µmol/L / 17.1."
                    },
                    "creatinine_mg_dl": {
                      "type": "number",
                      "description": "Creatinine in mg/dL (0.1-20). Provide this, creatinine_umol_l, or urine_output_ml_day. <1.2 scores 0; 1.2-1.9 scores 1; 2.0-3.4 scores 2; 3.5-4.9 scores 3; ≥5.0 scores 4."
                    },
                    "platelets_10e9_l": {
                      "type": "number",
                      "description": "Platelets ×10^9/L, same as ×10^3/mm^3 (1-2000). ≥150 scores 0; <150 scores 1; <100 scores 2; <50 scores 3; <20 scores 4."
                    },
                    "creatinine_umol_l": {
                      "type": "number",
                      "description": "Creatinine in µmol/L. Converted as mg/dL = µmol/L / 88.42."
                    },
                    "dopamine_ug_kg_min": {
                      "type": "number",
                      "description": "Dopamine in µg/kg·min (0-50) when provided. Absent is 0. 0 < dose ≤5 scores 2; >5 scores 3; >15 scores 4."
                    },
                    "urine_output_ml_day": {
                      "type": "number",
                      "description": "Urine output in mL/day (0-20000) when provided. <200 scores 4; <500 scores 3; otherwise urine does not add 1-2. Renal is the max of creatinine and urine when both are given."
                    },
                    "epinephrine_ug_kg_min": {
                      "type": "number",
                      "description": "Epinephrine in µg/kg·min (0-2) when provided. Absent is 0. 0 < dose ≤0.1 scores 3; >0.1 scores 4."
                    },
                    "norepinephrine_ug_kg_min": {
                      "type": "number",
                      "description": "Norepinephrine in µg/kg·min (0-2) when provided. Absent is 0. 0 < dose ≤0.1 scores 3; >0.1 scores 4."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/heart",
          "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/heart",
      "tags": [
        "heart",
        "acs",
        "chest-pain",
        "troponin",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "HEART score for emergency chest pain from age and caller-assigned history, ECG, risk factors, and troponin (each 0-2, max 10). Bands 0-3, 4-6, and 7-10 from Six 2008. Deterministic published score with citation; not a diagnosis or discharge protocol. magent does not read an ECG.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "age": 40,
              "ecg": 0,
              "history": 0,
              "troponin": 0,
              "risk_factors": 0
            }
          },
          "output": {
            "type": "json",
            "example": {
              "score": 0,
              "formula": "heart",
              "citation": {
                "id": "six-2008",
                "doi": "10.1007/BF03086144",
                "title": "Chest pain in the emergency room: value of the HEART score",
                "source": "Neth Heart J. 2008;16(6):191-196",
                "authors": "Six AJ, Backus BE, Kelder JC"
              },
              "age_years": 40,
              "max_score": 10,
              "components": [
                {
                  "value": 0,
                  "factor": "history",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 0,
                  "factor": "ecg",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 40,
                  "factor": "age",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 0,
                  "factor": "risk_factors",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 0,
                  "factor": "troponin",
                  "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.",
              "heart_band": "0-3",
              "formula_expression": "HEART = history + ECG + age + risk_factors + troponin; each 0-2; age <45 0, 45-64 1, >=65 2; bands 0-3 / 4-6 / 7-10; max 10"
            }
          },
          "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": [
                    "age",
                    "history",
                    "ecg",
                    "risk_factors",
                    "troponin"
                  ],
                  "properties": {
                    "age": {
                      "type": "integer",
                      "description": "Age in years (18-120). Younger than 45 scores 0; 45-64 scores 1; 65 or older scores 2."
                    },
                    "ecg": {
                      "type": "integer",
                      "description": "Caller-assigned ECG. 0 normal; 1 repolarization without significant ST depression (including BBB, LVH, digoxin, or known unchanged); 2 significant ST depression or elevation without those confounders. magent does not read an ECG."
                    },
                    "history": {
                      "type": "integer",
                      "description": "Caller-assigned history. 0 nonspecific, 1 moderately suspicious, 2 highly suspicious. magent does not interpret the history."
                    },
                    "troponin": {
                      "type": "integer",
                      "description": "Caller-assigned troponin. 0 ≤ULN, 1 = 1-2× ULN, 2 = >2× ULN (Six 2008). magent does not interpret assays."
                    },
                    "risk_factors": {
                      "type": "integer",
                      "description": "Caller-assigned risk-factor points. 0 none, 1 = 1-2 risk factors, 2 = ≥3 or atherosclerotic disease. magent does not count diabetes, smoking, or other factors."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/gcs",
          "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/gcs",
      "tags": [
        "gcs",
        "coma",
        "neurology",
        "glasgow",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Glasgow Coma Scale from eye, verbal, and motor integers. edition=1974 (motor 1-5, max 14) or edition=1976 (motor 1-6, max 15) is required; magent does not pick one. Deterministic published score with citation; not a diagnosis.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "eye": 4,
              "motor": 6,
              "verbal": 5,
              "edition": "1976"
            }
          },
          "output": {
            "type": "json",
            "example": {
              "score": 15,
              "edition": "1976",
              "formula": "gcs",
              "citation": {
                "id": "teasdale-jennett-1976",
                "doi": "10.1007/BF01405862",
                "title": "Assessment and prognosis of coma after head injury",
                "source": "Acta Neurochir (Wien). 1976;34:45-55",
                "authors": "Teasdale G, Jennett B"
              },
              "max_score": 15,
              "components": [
                {
                  "value": 4,
                  "factor": "eye",
                  "points": 4,
                  "present": true
                },
                {
                  "value": 5,
                  "factor": "verbal",
                  "points": 5,
                  "present": true
                },
                {
                  "value": 6,
                  "factor": "motor",
                  "points": 6,
                  "present": true
                }
              ],
              "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": "GCS = eye + verbal + motor; eye 1-4, verbal 1-5, motor 1-6; max 15"
            }
          },
          "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": [
                    "eye",
                    "verbal",
                    "motor",
                    "edition"
                  ],
                  "properties": {
                    "eye": {
                      "type": "integer",
                      "description": "Eye opening (E). Integer 1-4 as assigned by the caller."
                    },
                    "motor": {
                      "type": "integer",
                      "description": "Motor response (M). Integer 1-5 when edition=1974, or 1-6 when edition=1976, as assigned by the caller."
                    },
                    "verbal": {
                      "type": "integer",
                      "description": "Verbal response (V). Integer 1-5 as assigned by the caller."
                    },
                    "edition": {
                      "enum": [
                        "1974",
                        "1976"
                      ],
                      "type": "string",
                      "description": "Published motor scale. Required; magent does not pick 1974 (motor 1-5) or 1976 (motor 1-6)."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/wells_dvt",
          "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/wells_dvt",
      "tags": [
        "wells",
        "dvt",
        "vte",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Wells deep-vein thrombosis probability from discrete clinical flags. Returns three-tier and two-tier bands. Deterministic published score with citation; not a diagnosis.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "tenderness": false,
              "previous_dvt": false,
              "active_cancer": true,
              "pitting_edema": false,
              "collateral_veins": false,
              "paralysis_or_cast": false,
              "entire_leg_swollen": false,
              "bedridden_or_surgery": false,
              "calf_swelling_gt_3cm": true,
              "alternative_diagnosis_as_likely": false
            }
          },
          "output": {
            "type": "json",
            "example": {
              "score": 2,
              "formula": "wells_dvt",
              "citation": {
                "id": "wells-dvt-2003",
                "doi": "10.1056/NEJMoa023153",
                "title": "Evaluation of D-dimer in the diagnosis of suspected deep-vein thrombosis",
                "source": "N Engl J Med. 2003;349(13):1227-1235",
                "authors": "Wells PS, Anderson DR, Rodger M, et al."
              },
              "two_tier": "likely",
              "max_score": 9,
              "components": [
                {
                  "factor": "active_cancer",
                  "points": 1,
                  "present": true
                },
                {
                  "factor": "paralysis_or_cast",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "bedridden_or_surgery",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "tenderness",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "entire_leg_swollen",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "calf_swelling_gt_3cm",
                  "points": 1,
                  "present": true
                },
                {
                  "factor": "pitting_edema",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "collateral_veins",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "previous_dvt",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "alternative_diagnosis_as_likely",
                  "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.",
              "three_tier": "moderate",
              "formula_expression": "Wells DVT = +1 each of 9 findings; −2 if alternative_diagnosis_as_likely"
            }
          },
          "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": [
                    "active_cancer",
                    "paralysis_or_cast",
                    "bedridden_or_surgery",
                    "tenderness",
                    "entire_leg_swollen",
                    "calf_swelling_gt_3cm",
                    "pitting_edema",
                    "collateral_veins",
                    "previous_dvt",
                    "alternative_diagnosis_as_likely"
                  ],
                  "properties": {
                    "tenderness": {
                      "type": "boolean",
                      "description": "Localized tenderness along the deep venous system. +1."
                    },
                    "previous_dvt": {
                      "type": "boolean",
                      "description": "Previously documented DVT. +1."
                    },
                    "active_cancer": {
                      "type": "boolean",
                      "description": "Active cancer (treatment ongoing, within 6 months, or palliative). +1."
                    },
                    "pitting_edema": {
                      "type": "boolean",
                      "description": "Pitting edema confined to the symptomatic leg. +1."
                    },
                    "collateral_veins": {
                      "type": "boolean",
                      "description": "Collateral superficial veins (nonvaricose). +1."
                    },
                    "paralysis_or_cast": {
                      "type": "boolean",
                      "description": "Paralysis, paresis, or recent plaster immobilization of the legs. +1."
                    },
                    "entire_leg_swollen": {
                      "type": "boolean",
                      "description": "Entire leg swollen. +1."
                    },
                    "bedridden_or_surgery": {
                      "type": "boolean",
                      "description": "Recently bedridden ≥3 days or major surgery within 12 weeks. +1."
                    },
                    "calf_swelling_gt_3cm": {
                      "type": "boolean",
                      "description": "Calf swelling >3 cm compared with the asymptomatic side. +1."
                    },
                    "alternative_diagnosis_as_likely": {
                      "type": "boolean",
                      "description": "Alternative diagnosis at least as likely as DVT. −2."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/wells_pe",
          "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/wells_pe",
      "tags": [
        "wells",
        "pe",
        "vte",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Wells pulmonary-embolism probability from discrete clinical flags. Returns three-tier and two-tier bands. Deterministic published score with citation; not a diagnosis.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "hr_gt_100": false,
              "signs_dvt": true,
              "hemoptysis": false,
              "malignancy": false,
              "pe_number_one": true,
              "previous_dvt_pe": false,
              "immobilization_or_surgery": false
            }
          },
          "output": {
            "type": "json",
            "example": {
              "score": 6,
              "formula": "wells_pe",
              "citation": {
                "id": "wells-pe-2001",
                "doi": "10.7326/0003-4819-135-2-200107170-00010",
                "title": "Excluding pulmonary embolism at the bedside without diagnostic imaging: management of patients with suspected pulmonary embolism presenting to the emergency department by using a simple clinical model and d-dimer",
                "source": "Ann Intern Med. 2001;135(2):98-107",
                "authors": "Wells PS, Anderson DR, Rodger M, et al."
              },
              "two_tier": "likely",
              "max_score": 12.5,
              "components": [
                {
                  "factor": "signs_dvt",
                  "points": 3,
                  "present": true
                },
                {
                  "factor": "pe_number_one",
                  "points": 3,
                  "present": true
                },
                {
                  "factor": "hr_gt_100",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "immobilization_or_surgery",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "previous_dvt_pe",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "hemoptysis",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "malignancy",
                  "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.",
              "three_tier": "moderate",
              "formula_expression": "Wells PE = 3*signs_dvt + 3*pe_number_one + 1.5*hr_gt_100 + 1.5*immobilization_or_surgery + 1.5*previous_dvt_pe + 1*hemoptysis + 1*malignancy"
            }
          },
          "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": [
                    "signs_dvt",
                    "pe_number_one",
                    "hr_gt_100",
                    "immobilization_or_surgery",
                    "previous_dvt_pe",
                    "hemoptysis",
                    "malignancy"
                  ],
                  "properties": {
                    "hr_gt_100": {
                      "type": "boolean",
                      "description": "Heart rate >100 (1.5 points)."
                    },
                    "signs_dvt": {
                      "type": "boolean",
                      "description": "Clinical signs and symptoms of DVT (3 points)."
                    },
                    "hemoptysis": {
                      "type": "boolean",
                      "description": "Hemoptysis (1 point)."
                    },
                    "malignancy": {
                      "type": "boolean",
                      "description": "Malignancy with treatment in last 6 months or palliative (1 point)."
                    },
                    "pe_number_one": {
                      "type": "boolean",
                      "description": "PE is the number-one diagnosis or equally likely (3 points)."
                    },
                    "previous_dvt_pe": {
                      "type": "boolean",
                      "description": "Previous DVT or PE (1.5 points)."
                    },
                    "immobilization_or_surgery": {
                      "type": "boolean",
                      "description": "Immobilization ≥3 days or surgery in previous 4 weeks (1.5 points)."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/meld",
          "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/meld",
      "tags": [
        "meld",
        "liver",
        "cirrhosis",
        "kamath",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Kamath 2001 model for end-stage liver disease (MELD) from creatinine, bilirubin, INR, and etiology. meld = round(3.8*ln(bilirubin_mg_dL) + 11.2*ln(INR) + 9.6*ln(creatinine_mg_dL) + 6.4*etiology). etiology is 0 if cholestatic or alcoholic, else 1. Does not floor labs at 1.0 and does not include dialysis (later UNOS/OPTN). Not MELD-Na. Not a transplant listing or allocation order.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "inr": 1.2,
              "bilirubin_mg_dl": 4.2,
              "bilirubin_umol_l": 71.82,
              "creatinine_mg_dl": 1.9,
              "creatinine_umol_l": 168,
              "cholestatic_or_alcoholic": true
            }
          },
          "output": {
            "type": "json",
            "example": {
              "inr": 1.2,
              "meld": 14,
              "formula": "kamath_meld_2001",
              "citation": {
                "id": "kamath-2001",
                "doi": "10.1053/jhep.2001.22172",
                "pmid": "11172350",
                "title": "A model to predict survival in patients with end-stage liver disease",
                "source": "Hepatology. 2001;33(2):464-470",
                "authors": "Kamath PS, Wiesner RH, Malinchoc M, Kremers W, Therneau TM, Kosberg CL, D'Amico G, Dickson ER, Kim WR"
              },
              "etiology": 0,
              "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.",
              "bilirubin_mg_dl": 4.2,
              "creatinine_mg_dl": 1.9,
              "formula_expression": "meld = round(3.8 * ln(bilirubin_mg_dL) + 11.2 * ln(INR) + 9.6 * ln(creatinine_mg_dL) + 6.4 * etiology)",
              "cholestatic_or_alcoholic": true
            }
          },
          "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": [
                    "inr",
                    "cholestatic_or_alcoholic"
                  ],
                  "properties": {
                    "inr": {
                      "type": "number",
                      "description": "International normalized ratio (0.8-10). Kamath 2001 does not floor INR at 1.0."
                    },
                    "bilirubin_mg_dl": {
                      "type": "number",
                      "description": "Total bilirubin in mg/dL (0.1-40). Provide this or bilirubin_umol_l. Kamath 2001 tables include bilirubin 0.8; magent does not floor at 1.0."
                    },
                    "bilirubin_umol_l": {
                      "type": "number",
                      "description": "Total bilirubin in µmol/L (2-684). Converted as mg/dL = µmol/L / 17.1."
                    },
                    "creatinine_mg_dl": {
                      "type": "number",
                      "description": "Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l, not both. Kamath 2001 does not floor creatinine at 1.0 and does not include dialysis."
                    },
                    "creatinine_umol_l": {
                      "type": "number",
                      "description": "Serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42."
                    },
                    "cholestatic_or_alcoholic": {
                      "type": "boolean",
                      "description": "true if the liver disease is cholestatic or alcoholic (etiology 0); false otherwise (etiology 1)."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/cha2ds2_vasc",
          "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/cha2ds2_vasc",
      "tags": [
        "cha2ds2-vasc",
        "stroke",
        "afib",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "CHA2DS2-VASc score from discrete clinical flags. Use for stroke-risk stratification arithmetic in atrial fibrillation. Deterministic published score with citation.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "age": 78,
              "chf": false,
              "sex": "female",
              "diabetes": true,
              "stroke_tia": false,
              "hypertension": true,
              "vascular_disease": false
            }
          },
          "output": {
            "type": "json",
            "example": {
              "sex": "female",
              "score": 5,
              "formula": "cha2ds2_vasc",
              "citation": {
                "id": "lip-2010",
                "doi": "10.1378/chest.09-1584",
                "title": "Refining clinical risk stratification for predicting stroke and thromboembolism in atrial fibrillation using a novel risk factor-based approach: the euro heart survey on atrial fibrillation",
                "source": "Chest. 2010;137(2):263-272",
                "authors": "Lip GYH, Nieuwlaat R, Pisters R, Lane DA, Crijns HJ"
              },
              "age_years": 78,
              "max_score": 9,
              "components": [
                {
                  "factor": "congestive_heart_failure",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "hypertension",
                  "points": 1,
                  "present": true
                },
                {
                  "value": 78,
                  "factor": "age",
                  "points": 2,
                  "present": true
                },
                {
                  "factor": "diabetes",
                  "points": 1,
                  "present": true
                },
                {
                  "factor": "stroke_tia_thromboembolism",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "vascular_disease",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "sex_female",
                  "points": 1,
                  "present": true
                }
              ],
              "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": "CHA2DS2-VASc = CHF 1 + HTN 1 + Age≥75 2 (or 65-74 1) + diabetes 1 + stroke/TIA 2 + vascular 1 + female 1; max 9"
            }
          },
          "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": [
                    "age",
                    "sex",
                    "chf",
                    "hypertension",
                    "diabetes",
                    "stroke_tia",
                    "vascular_disease"
                  ],
                  "properties": {
                    "age": {
                      "type": "integer",
                      "description": "Age in years (18-120). ≥75 scores 2; 65-74 scores 1."
                    },
                    "chf": {
                      "type": "boolean",
                      "description": "Congestive heart failure or LV dysfunction. true or false."
                    },
                    "sex": {
                      "enum": [
                        "female",
                        "male"
                      ],
                      "type": "string",
                      "description": "female scores 1 (Sc); male scores 0."
                    },
                    "diabetes": {
                      "type": "boolean",
                      "description": "Diabetes mellitus. true or false."
                    },
                    "stroke_tia": {
                      "type": "boolean",
                      "description": "Prior stroke, TIA, or thromboembolism. true or false (2 points)."
                    },
                    "hypertension": {
                      "type": "boolean",
                      "description": "Hypertension history. true or false."
                    },
                    "vascular_disease": {
                      "type": "boolean",
                      "description": "Prior MI, peripheral artery disease, or aortic plaque. true or false."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/aims65",
          "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/aims65",
      "tags": [
        "aims65",
        "ugib",
        "gi-bleed",
        "score",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Saltzman 2011 AIMS65 for in-hospital mortality in acute upper GI bleeding: albumin <3.0 g/dL, INR >1.5, caller-assigned altered mental status, systolic BP <=90 mm Hg, and age >65; 1 point each, max 5. Albumin 3.0, INR 1.5, and age 65 do not score; SBP 90 does. Score only; no mortality percentages. Not a diagnosis. Not Glasgow-Blatchford or Rockall. magent does not assess mental status. Albumin g/dL or g/L.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "age": 50,
              "inr": 1,
              "albumin_g_l": 40,
              "albumin_g_dl": 4,
              "systolic_mm_hg": 120,
              "altered_mental_status": false
            }
          },
          "output": {
            "type": "json",
            "example": {
              "inr": 1,
              "score": 0,
              "formula": "aims65",
              "citation": {
                "id": "saltzman-2011",
                "doi": "10.1016/j.gie.2011.06.024",
                "title": "A simple risk score accurately predicts in-hospital mortality, length of stay, and cost in acute upper GI bleeding",
                "source": "Gastrointest Endosc. 2011;74(6):1215-1224",
                "authors": "Saltzman JR, Tabak YP, Hyett BH, Sun X, Travis AC, Johannes RS"
              },
              "age_years": 50,
              "max_score": 5,
              "components": [
                {
                  "value": 4,
                  "factor": "albumin_lt_3",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 1,
                  "factor": "inr_gt_1_5",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "altered_mental_status",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 120,
                  "factor": "systolic_mm_hg_le_90",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 50,
                  "factor": "age_gt_65",
                  "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.",
              "albumin_g_dl": 4,
              "systolic_mm_hg": 120,
              "formula_expression": "AIMS65 = (albumin_g_dl<3.0) + (inr>1.5) + altered_mental_status + (systolic_mm_hg<=90) + (age>65); each 1 if present; max 5"
            }
          },
          "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": [
                    "age",
                    "inr",
                    "altered_mental_status",
                    "systolic_mm_hg"
                  ],
                  "properties": {
                    "age": {
                      "type": "integer",
                      "description": "Age in years (18-120). Scores 1 when age >65; 65 does not score."
                    },
                    "inr": {
                      "type": "number",
                      "description": "INR (0.8-10). Scores 1 when >1.5; 1.5 does not score."
                    },
                    "albumin_g_l": {
                      "type": "number",
                      "description": "Albumin in g/L (10-60). Converted as g/dL = g/L / 10. Provide this or albumin_g_dl, not both."
                    },
                    "albumin_g_dl": {
                      "type": "number",
                      "description": "Albumin in g/dL (1-6). Provide this or albumin_g_l, not both. Scores 1 when <3.0; 3.0 does not score."
                    },
                    "systolic_mm_hg": {
                      "type": "number",
                      "description": "Cuff systolic blood pressure in mm Hg (50-250). Scores 1 when ≤90; 90 scores."
                    },
                    "altered_mental_status": {
                      "type": "boolean",
                      "description": "Altered mental status as assigned by the caller. true or false. magent does not assess mental status. 1 point if true."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/curb65",
          "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/curb65",
      "tags": [
        "curb-65",
        "pneumonia",
        "severity",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "CURB-65 pneumonia severity from age and discrete clinical flags. Deterministic published score with citation; not a treatment recommendation.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "age": 70,
              "confusion": true,
              "urea_high": true,
              "low_blood_pressure": false,
              "respiratory_rate_ge_30": false
            }
          },
          "output": {
            "type": "json",
            "example": {
              "score": 3,
              "formula": "curb65",
              "citation": {
                "id": "lim-2003",
                "doi": "10.1136/thorax.58.5.377",
                "title": "Defining community acquired pneumonia severity on presentation to hospital: an international derivation and validation study",
                "source": "Thorax. 2003;58(5):377-382",
                "authors": "Lim WS, van der Eerden MM, Laing R, et al."
              },
              "age_years": 70,
              "max_score": 5,
              "components": [
                {
                  "factor": "confusion",
                  "points": 1,
                  "present": true
                },
                {
                  "factor": "urea_high",
                  "points": 1,
                  "present": true
                },
                {
                  "factor": "respiratory_rate_ge_30",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "low_blood_pressure",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 70,
                  "factor": "age_ge_65",
                  "points": 1,
                  "present": true
                }
              ],
              "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": "CURB-65 = confusion + urea_high + respiratory_rate_ge_30 + low_blood_pressure + age_ge_65; max 5"
            }
          },
          "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": [
                    "age",
                    "confusion",
                    "urea_high",
                    "respiratory_rate_ge_30",
                    "low_blood_pressure"
                  ],
                  "properties": {
                    "age": {
                      "type": "integer",
                      "description": "Age in years (18-120). Age ≥65 scores 1."
                    },
                    "confusion": {
                      "type": "boolean",
                      "description": "New confusion (C). true or false."
                    },
                    "urea_high": {
                      "type": "boolean",
                      "description": "Urea >7 mmol/L (U). Pass the published cutoff as a flag; magent does not convert BUN."
                    },
                    "low_blood_pressure": {
                      "type": "boolean",
                      "description": "SBP <90 mmHg or DBP ≤60 mmHg (B). true or false."
                    },
                    "respiratory_rate_ge_30": {
                      "type": "boolean",
                      "description": "Respiratory rate ≥30/min (R). true or false."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/meld_na",
          "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/meld_na",
      "tags": [
        "meld-na",
        "liver",
        "optn",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "OPTN/UNOS 2016 MELD-Na from creatinine, bilirubin, INR, sodium, and dialysis. Deterministic published score with citation; not a listing recommendation.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "inr": 1.2,
              "dialysis": false,
              "sodium_mmol_l": 128,
              "bilirubin_mg_dl": 4.2,
              "bilirubin_umol_l": 72,
              "creatinine_mg_dl": 1.9,
              "creatinine_umol_l": 168
            }
          },
          "output": {
            "type": "json",
            "example": {
              "inr": 1.2,
              "meld": 20,
              "formula": "optn_meld_na_2016",
              "meld_na": 26,
              "citation": {
                "id": "optn-meld-na-2016",
                "doi": "10.1053/j.gastro.2006.02.010",
                "title": "Serum sodium predicts mortality in patients listed for liver transplantation; OPTN Policy 9 MELD-Na bounds",
                "source": "Gastroenterology. 2006;130(6):1652-1660; OPTN Policy 9 (2016)",
                "authors": "Biggins SW, Kim WR, Terrault NA, et al.; OPTN/UNOS"
              },
              "dialysis": false,
              "inr_used": 1.2,
              "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.",
              "sodium_mmol_l": 128,
              "bilirubin_mg_dl": 4.2,
              "creatinine_mg_dl": 1.9,
              "formula_expression": "MELD = round(10 * (0.957*ln(Cr) + 0.378*ln(bili) + 1.120*ln(INR) + 0.643)); if MELD > 11, MELD-Na = round(MELD + 1.32*(137-Na) - 0.033*MELD*(137-Na))",
              "sodium_used_mmol_l": 128,
              "bilirubin_used_mg_dl": 4.2,
              "creatinine_used_mg_dl": 1.9
            }
          },
          "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": [
                    "inr",
                    "sodium_mmol_l",
                    "dialysis"
                  ],
                  "properties": {
                    "inr": {
                      "type": "number",
                      "description": "INR (0.8-10). OPTN floors at 1."
                    },
                    "dialysis": {
                      "type": "boolean",
                      "description": "Dialysis twice in the last week. true sets creatinine used to 4.0."
                    },
                    "sodium_mmol_l": {
                      "type": "number",
                      "description": "Serum sodium in mmol/L (110-160). OPTN clamps 125-137. Applied only when MELD > 11."
                    },
                    "bilirubin_mg_dl": {
                      "type": "number",
                      "description": "Total bilirubin in mg/dL (0.1-40). Provide this or bilirubin_umol_l. OPTN floors at 1."
                    },
                    "bilirubin_umol_l": {
                      "type": "number",
                      "description": "Total bilirubin in µmol/L. Converted as mg/dL = µmol/L / 17.1."
                    },
                    "creatinine_mg_dl": {
                      "type": "number",
                      "description": "Serum creatinine in mg/dL. Provide this or creatinine_umol_l. OPTN floors at 1 and caps at 4."
                    },
                    "creatinine_umol_l": {
                      "type": "number",
                      "description": "Serum creatinine in µmol/L."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/egfr_ckd_epi",
          "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/egfr_ckd_epi",
      "tags": [
        "egfr",
        "ckd-epi",
        "kidney",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "CKD-EPI 2021 creatinine eGFR (race-free). Use when an agent must not guess kidney function from a language model. Deterministic published formula with citation.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "age": 65,
              "sex": "female",
              "creatinine_mg_dl": 1.1,
              "creatinine_umol_l": 97.2
            }
          },
          "output": {
            "type": "json",
            "example": {
              "sex": "female",
              "units": "mL/min/1.73m2",
              "formula": "ckd_epi_2021_creatinine",
              "citation": {
                "id": "inker-2021",
                "doi": "10.1056/NEJMoa2102953",
                "title": "New Creatinine- and Cystatin C-Based Equations to Estimate GFR without Race",
                "source": "N Engl J Med. 2021;385(19):1737-1749",
                "authors": "Inker LA, Eneanya ND, Coresh J, et al."
              },
              "age_years": 65,
              "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.",
              "creatinine_mg_dl": 1.1,
              "egfr_ml_min_1_73m2": 55.8,
              "formula_expression": "142 * min(Scr/κ,1)^α * max(Scr/κ,1)^(-1.200) * 0.9938^age * (1.012 if female)"
            }
          },
          "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": [
                    "age",
                    "sex"
                  ],
                  "properties": {
                    "age": {
                      "type": "integer",
                      "description": "Age in years (18-120). CKD-EPI 2021 is validated in adults."
                    },
                    "sex": {
                      "enum": [
                        "female",
                        "male"
                      ],
                      "type": "string",
                      "description": "Sex used by the published equation. female or male."
                    },
                    "creatinine_mg_dl": {
                      "type": "number",
                      "description": "Serum creatinine in mg/dL. Provide this or creatinine_umol_l."
                    },
                    "creatinine_umol_l": {
                      "type": "number",
                      "description": "Serum creatinine in µmol/L. Converted as mg/dL = µmol/L / 88.42."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/bmi",
          "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/bmi",
      "tags": [
        "bmi",
        "who",
        "obesity",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Body-mass index from height and weight (Keys/Quetelet). Use for GLP-1 and bariatric prior-auth arithmetic. Deterministic published index with citation; not a diagnosis.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "height_cm": 170,
              "height_in": 67,
              "weight_kg": 70,
              "weight_lb": 154
            }
          },
          "output": {
            "type": "json",
            "example": {
              "bmi": 24.2,
              "formula": "bmi",
              "citation": {
                "id": "keys-1972",
                "doi": "10.1016/0021-9681(72)90027-6",
                "title": "Indices of relative weight and obesity",
                "source": "J Chronic Dis. 1972;25(6):329-343",
                "authors": "Keys A, Fidanza F, Karvonen MJ, Kimura N, Taylor HL"
              },
              "height_cm": 170,
              "weight_kg": 70,
              "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": "BMI = weight_kg / (height_m ^ 2)",
              "who_adult_category": "normal"
            }
          },
          "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": [],
                  "properties": {
                    "height_cm": {
                      "type": "number",
                      "description": "Height in centimeters. Provide height_cm or height_in."
                    },
                    "height_in": {
                      "type": "number",
                      "description": "Height in inches. Converted as cm = in * 2.54."
                    },
                    "weight_kg": {
                      "type": "number",
                      "description": "Weight in kilograms. Provide weight_kg or weight_lb."
                    },
                    "weight_lb": {
                      "type": "number",
                      "description": "Weight in pounds. Converted as kg = lb * 0.45359237."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/qtc",
          "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/qtc",
      "tags": [
        "qtc",
        "bazett",
        "ecg",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Heart-rate-corrected QT (Bazett or Fridericia). formula is required; magent does not pick one silently. Deterministic published correction with citation.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "qt_ms": 400,
              "formula": "bazett",
              "heart_rate_bpm": 80
            }
          },
          "output": {
            "type": "json",
            "example": {
              "rr_s": 0.75,
              "qt_ms": 400,
              "qtc_ms": 461.9,
              "formula": "bazett",
              "citation": {
                "id": "bazett-1920",
                "doi": null,
                "title": "An analysis of the time-relations of electrocardiograms",
                "source": "Heart. 1920;7:353-370",
                "authors": "Bazett HC"
              },
              "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.",
              "heart_rate_bpm": 80,
              "formula_expression": "QTc_ms = QT_ms / sqrt(RR_s)"
            }
          },
          "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": [
                    "qt_ms",
                    "heart_rate_bpm",
                    "formula"
                  ],
                  "properties": {
                    "qt_ms": {
                      "type": "number",
                      "description": "Measured QT interval in milliseconds (200-800)."
                    },
                    "formula": {
                      "enum": [
                        "bazett",
                        "fridericia"
                      ],
                      "type": "string",
                      "description": "Correction formula. Required; magent does not pick one silently."
                    },
                    "heart_rate_bpm": {
                      "type": "integer",
                      "description": "Heart rate in beats per minute (30-220). RR_s = 60 / HR."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/bsa_mosteller",
          "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/bsa_mosteller",
      "tags": [
        "bsa",
        "mosteller",
        "oncology",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Mosteller body surface area from height and weight. Use for oncology dosing arithmetic. Deterministic published formula with citation; not a dosing recommendation.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "height_cm": 170,
              "height_in": 67,
              "weight_kg": 70,
              "weight_lb": 154
            }
          },
          "output": {
            "type": "json",
            "example": {
              "bsa_m2": 1.8181,
              "formula": "mosteller",
              "citation": {
                "id": "mosteller-1987",
                "doi": "10.1056/NEJM198710223171717",
                "title": "Simplified calculation of body-surface area",
                "source": "N Engl J Med. 1987;317(17):1098",
                "authors": "Mosteller RD"
              },
              "height_cm": 170,
              "weight_kg": 70,
              "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": "BSA_m2 = sqrt((height_cm * weight_kg) / 3600)"
            }
          },
          "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": [],
                  "properties": {
                    "height_cm": {
                      "type": "number",
                      "description": "Height in centimeters. Provide height_cm or height_in."
                    },
                    "height_in": {
                      "type": "number",
                      "description": "Height in inches. Converted as cm = in * 2.54."
                    },
                    "weight_kg": {
                      "type": "number",
                      "description": "Weight in kilograms. Provide weight_kg or weight_lb."
                    },
                    "weight_lb": {
                      "type": "number",
                      "description": "Weight in pounds. Converted as kg = lb * 0.45359237."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/ibw_devine",
          "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/ibw_devine",
      "tags": [
        "ibw",
        "devine",
        "dosing",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Devine ideal body weight and 0.4 adjusted body weight from height, sex, and actual weight. Deterministic published formula with citation; not a dosing recommendation.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "sex": "male",
              "height_cm": 177.8,
              "height_in": 70,
              "weight_kg": 90,
              "weight_lb": 198
            }
          },
          "output": {
            "type": "json",
            "example": {
              "sex": "male",
              "ibw_kg": 73,
              "formula": "devine_ibw_adjbw",
              "adjbw_kg": 79.8,
              "citation": {
                "id": "devine-1974",
                "doi": null,
                "title": "Gentamicin therapy",
                "source": "Drug Intell Clin Pharm. 1974;8:650-655",
                "authors": "Devine BJ"
              },
              "height_cm": 177.8,
              "height_in": 70,
              "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.",
              "adjbw_factor": 0.4,
              "actual_weight_kg": 90,
              "formula_expression": "IBW_kg = 50 (male) or 45.5 (female) + 2.3 * (height_in - 60); AdjBW_kg = IBW_kg + 0.4 * (TBW_kg - IBW_kg) when TBW > IBW, else TBW_kg"
            }
          },
          "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": [
                    "sex"
                  ],
                  "properties": {
                    "sex": {
                      "enum": [
                        "female",
                        "male"
                      ],
                      "type": "string",
                      "description": "Sex used by Devine (50 kg male, 45.5 kg female base)."
                    },
                    "height_cm": {
                      "type": "number",
                      "description": "Height in centimeters. Provide height_cm or height_in."
                    },
                    "height_in": {
                      "type": "number",
                      "description": "Height in inches. Devine uses inches: IBW adds 2.3 kg per inch over 60."
                    },
                    "weight_kg": {
                      "type": "number",
                      "description": "Actual total body weight in kilograms. Provide weight_kg or weight_lb."
                    },
                    "weight_lb": {
                      "type": "number",
                      "description": "Actual total body weight in pounds."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/bee_harris_benedict",
          "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/bee_harris_benedict",
      "tags": [
        "bee",
        "harris-benedict",
        "bmr",
        "kcal",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Harris–Benedict 1919 basal energy expenditure (kcal/day) from height, weight, age, and sex. Deterministic published formula with citation; not a nutrition prescription.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "age": 25,
              "sex": "male",
              "height_cm": 175,
              "height_in": 70,
              "weight_kg": 70,
              "weight_lb": 154
            }
          },
          "output": {
            "type": "json",
            "example": {
              "sex": "male",
              "units": "kcal/day",
              "formula": "harris_benedict_1919",
              "citation": {
                "id": "harris-benedict-1919",
                "doi": null,
                "title": "A Biometric Study of Basal Metabolism in Man",
                "source": "Carnegie Institution of Washington Publication No. 279; 1919",
                "authors": "Harris JA, Benedict FG"
              },
              "age_years": 25,
              "height_cm": 175,
              "weight_kg": 70,
              "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.",
              "bee_kcal_day": 1735.8,
              "formula_expression": "BEE_kcal_day = 66.4730 + 13.7516*kg + 5.0033*cm - 6.7550*age (male); BEE_kcal_day = 655.0955 + 9.5634*kg + 1.8496*cm - 4.6756*age (female)"
            }
          },
          "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": [
                    "age",
                    "sex"
                  ],
                  "properties": {
                    "age": {
                      "type": "integer",
                      "description": "Age in years (18-120)."
                    },
                    "sex": {
                      "enum": [
                        "female",
                        "male"
                      ],
                      "type": "string",
                      "description": "Sex used by Harris–Benedict 1919 (separate male and female equations)."
                    },
                    "height_cm": {
                      "type": "number",
                      "description": "Height in centimeters. Provide height_cm or height_in."
                    },
                    "height_in": {
                      "type": "number",
                      "description": "Height in inches. Converted as cm = in * 2.54."
                    },
                    "weight_kg": {
                      "type": "number",
                      "description": "Weight in kilograms. Provide weight_kg or weight_lb."
                    },
                    "weight_lb": {
                      "type": "number",
                      "description": "Weight in pounds. Converted as kg = lb * 0.45359237."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/nadler",
          "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/nadler",
      "tags": [
        "nadler",
        "blood-volume",
        "ebv",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Nadler 1962 predicted blood volume in liters from height, weight, and sex (separate male and female equations). Deterministic published arithmetic with citation. For adults as published; this tool does not take age. Not a transfusion order, Lemmens–Bernstein–Brodsky estimate, or 70 mL/kg rule of thumb.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "sex": "male",
              "height_cm": 170,
              "height_in": 66.92913385826772,
              "weight_kg": 70,
              "weight_lb": 154.3236
            }
          },
          "output": {
            "type": "json",
            "example": {
              "sex": "male",
              "formula": "nadler",
              "citation": {
                "id": "nadler-1962",
                "pmid": "21936146",
                "title": "Prediction of blood volume in normal human adults",
                "source": "Surgery. 1962;51(2):224-232",
                "authors": "Nadler SB, Hidalgo JH, Bloch T"
              },
              "height_cm": 170,
              "weight_kg": 70,
              "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.",
              "blood_volume_l": 4.66,
              "blood_volume_ml": 4660,
              "formula_expression": "BV_L = 0.3669 * H^3 + 0.03219 * W + 0.6041 (male); BV_L = 0.3561 * H^3 + 0.03308 * W + 0.1833 (female); H meters, W kg"
            }
          },
          "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": [
                    "sex"
                  ],
                  "properties": {
                    "sex": {
                      "enum": [
                        "female",
                        "male"
                      ],
                      "type": "string",
                      "description": "Sex used by Nadler 1962 (separate male and female equations)."
                    },
                    "height_cm": {
                      "type": "number",
                      "description": "Height in centimeters. Provide height_cm or height_in."
                    },
                    "height_in": {
                      "type": "number",
                      "description": "Height in inches. Converted as cm = in * 2.54."
                    },
                    "weight_kg": {
                      "type": "number",
                      "description": "Weight in kilograms. Provide weight_kg or weight_lb."
                    },
                    "weight_lb": {
                      "type": "number",
                      "description": "Weight in pounds. Converted as kg = lb * 0.45359237."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/maintenance_fluids",
          "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/maintenance_fluids",
      "tags": [
        "fluids",
        "holliday-segar",
        "maintenance",
        "pediatrics",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Holliday–Segar 1957 daily maintenance water from weight: 100 mL/kg for the first 10 kg, 50 mL/kg for the next 10 kg, 20 mL/kg thereafter. Returns daily and hourly milliliters. Deterministic published arithmetic with citation; not a treatment order or IV prescription.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "weight_kg": 30,
              "weight_lb": 66.1387
            }
          },
          "output": {
            "type": "json",
            "example": {
              "formula": "holliday_segar",
              "citation": {
                "id": "holliday-segar-1957",
                "doi": "10.1542/peds.19.5.823",
                "title": "The maintenance need for water in parenteral fluid therapy",
                "source": "Pediatrics. 1957;19(5):823-832",
                "authors": "Holliday MA, Segar WE"
              },
              "daily_ml": 1700,
              "hourly_ml": 70.8,
              "weight_kg": 30,
              "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": "daily_ml = 100*min(kg,10) + 50*max(0, min(kg,20)-10) + 20*max(0, kg-20); hourly_ml = daily_ml / 24"
            }
          },
          "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": [],
                  "properties": {
                    "weight_kg": {
                      "type": "number",
                      "description": "Weight in kilograms. Provide weight_kg or weight_lb."
                    },
                    "weight_lb": {
                      "type": "number",
                      "description": "Weight in pounds. Converted as kg = lb * 0.45359237."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/parkland",
          "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/parkland",
      "tags": [
        "parkland",
        "burns",
        "fluids",
        "tbsa",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Adult Parkland crystalloid volume: 4 mL × kg × %TBSA for 24 hours, half in the first 8 hours from the time of injury. Baxter 1974. Deterministic published arithmetic with citation; not a treatment order, IV prescription, or urine-output titration.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "weight_kg": 70,
              "weight_lb": 154.3236,
              "tbsa_percent": 50
            }
          },
          "output": {
            "type": "json",
            "example": {
              "formula": "parkland",
              "citation": {
                "id": "baxter-1974",
                "doi": "10.1016/S0094-1298(20)30126-7",
                "title": "Fluid volume and electrolyte changes of the early postburn period",
                "source": "Clin Plast Surg. 1974;1(4):693-703",
                "authors": "Baxter CR"
              },
              "weight_kg": 70,
              "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.",
              "first_8h_ml": 7000,
              "tbsa_percent": 50,
              "volume_24h_ml": 14000,
              "remaining_16h_ml": 7000,
              "formula_expression": "volume_24h_ml = 4 * weight_kg * tbsa_percent; first_8h_ml = volume_24h_ml / 2; remaining_16h_ml = volume_24h_ml / 2"
            }
          },
          "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": [
                    "tbsa_percent"
                  ],
                  "properties": {
                    "weight_kg": {
                      "type": "number",
                      "description": "Weight in kilograms. Provide weight_kg or weight_lb."
                    },
                    "weight_lb": {
                      "type": "number",
                      "description": "Weight in pounds. Converted as kg = lb * 0.45359237."
                    },
                    "tbsa_percent": {
                      "type": "number",
                      "description": "Percent total body surface area burned (1-100). 0 is invalid."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/map",
          "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/map",
      "tags": [
        "map",
        "blood-pressure",
        "hemodynamics",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Mean arterial pressure from cuff systolic and diastolic BP using diastolic + pulse pressure / 3. Conventional 1/3 estimate, not an invasive aortic mean. Deterministic published arithmetic with citation; not a treatment target.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "systolic_mm_hg": 120,
              "diastolic_mm_hg": 80
            }
          },
          "output": {
            "type": "json",
            "example": {
              "formula": "map",
              "citation": {
                "id": "sesso-2000",
                "doi": "10.1161/01.HYP.36.5.801",
                "title": "Systolic and diastolic blood pressure, pulse pressure, and mean arterial pressure as predictors of cardiovascular disease risk in men",
                "source": "Hypertension. 2000;36(5):801-807",
                "authors": "Sesso HD, Stampfer MJ, Rosner B, et al."
              },
              "map_mm_hg": 93.3,
              "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.",
              "systolic_mm_hg": 120,
              "diastolic_mm_hg": 80,
              "formula_expression": "MAP_mm_hg = diastolic_mm_hg + (systolic_mm_hg - diastolic_mm_hg) / 3",
              "pulse_pressure_mm_hg": 40
            }
          },
          "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": [
                    "systolic_mm_hg",
                    "diastolic_mm_hg"
                  ],
                  "properties": {
                    "systolic_mm_hg": {
                      "type": "number",
                      "description": "Cuff systolic blood pressure in mm Hg (50-250)."
                    },
                    "diastolic_mm_hg": {
                      "type": "number",
                      "description": "Cuff diastolic blood pressure in mm Hg (20-160). Must be less than systolic."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/shock_index",
          "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/shock_index",
      "tags": [
        "shock-index",
        "hemodynamics",
        "heart-rate",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Shock index as heart rate in bpm divided by cuff systolic pressure in mm Hg (Allgöwer and Burri 1967). Returns the original ratio rounded to two decimals. Not a shock diagnosis, treatment target, or cutoff, and does not use MAP or diastolic pressure.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "heart_rate_bpm": 80,
              "systolic_mm_hg": 120
            }
          },
          "output": {
            "type": "json",
            "example": {
              "formula": "shock_index",
              "citation": {
                "id": "allgower-burri-1967",
                "doi": "10.1055/s-0028-1106070",
                "title": "Shock index",
                "source": "Dtsch Med Wochenschr. 1967;92(43):1947-1950",
                "authors": "Allgöwer M, Burri C"
              },
              "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.",
              "shock_index": 0.67,
              "heart_rate_bpm": 80,
              "systolic_mm_hg": 120,
              "formula_expression": "shock_index = heart_rate_bpm / systolic_mm_hg"
            }
          },
          "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": [
                    "heart_rate_bpm",
                    "systolic_mm_hg"
                  ],
                  "properties": {
                    "heart_rate_bpm": {
                      "type": "integer",
                      "description": "Heart rate in beats per minute (integer 30-220)."
                    },
                    "systolic_mm_hg": {
                      "type": "number",
                      "description": "Cuff systolic blood pressure in mm Hg (50-250)."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/cpo",
          "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/cpo",
      "tags": [
        "cpo",
        "hemodynamics",
        "cardiogenic-shock",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Fincke 2004 cardiac power output from MAP (mm Hg) and cardiac output (L/min): CPO = MAP × CO / 451. Returns cpo_watts to two decimals and the paper ROC band (<=0.53 or >0.53) from the unrounded value. Equality at 0.53 W is <=0.53. MAP is caller-supplied (Fincke used diastolic + (systolic−diastolic)/3); this tool does not take SBP/DBP or compute cardiac power index. Not a medical device, shock diagnosis, or treatment target.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "map_mm_hg": 90,
              "cardiac_output_l_min": 5
            }
          },
          "output": {
            "type": "json",
            "example": {
              "band": ">0.53",
              "formula": "cpo",
              "citation": {
                "id": "fincke-2004",
                "doi": "10.1016/j.jacc.2004.03.060",
                "pmid": "15261929",
                "title": "Cardiac power is the strongest hemodynamic correlate of mortality in cardiogenic shock: a report from the SHOCK trial registry",
                "source": "J Am Coll Cardiol. 2004;44(2):340-348",
                "authors": "Fincke R, Hochman JS, Lowe AM, et al."
              },
              "cpo_watts": 1,
              "map_mm_hg": 90,
              "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": "cpo_watts = map_mm_hg * cardiac_output_l_min / 451",
              "cardiac_output_l_min": 5
            }
          },
          "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": [
                    "map_mm_hg",
                    "cardiac_output_l_min"
                  ],
                  "properties": {
                    "map_mm_hg": {
                      "type": "number",
                      "description": "Mean arterial pressure in mm Hg (30-180). Fincke 2004 used diastolic + (systolic−diastolic)/3. Callers may send MAP from /api/calc/map; this tool does not take SBP or DBP."
                    },
                    "cardiac_output_l_min": {
                      "type": "number",
                      "description": "Cardiac output in L/min (0.5-20). Not indexed to body surface area."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/dsi",
          "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/dsi",
      "tags": [
        "dsi",
        "hemodynamics",
        "heart-rate",
        "diastolic",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Diastolic shock index as heart rate in bpm divided by cuff diastolic pressure in mm Hg (Ospina-Tascón 2020). Returns the ratio rounded to two decimals. Not a shock diagnosis, treatment target, or cutoff. Distinct from Allgöwer–Burri HR/SBP shock index. The 2020 cohort had no normal-subject control group, so a DSI cutoff to identify abnormality could be misleading.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "heart_rate_bpm": 80,
              "diastolic_mm_hg": 80
            }
          },
          "output": {
            "type": "json",
            "example": {
              "dsi": 1,
              "formula": "dsi",
              "citation": {
                "id": "ospina-tascon-2020",
                "doi": "10.1186/s13613-020-00658-8",
                "pmid": "32296976",
                "title": "Diastolic shock index and clinical outcomes in patients with septic shock.",
                "source": "Ann Intensive Care. 2020;10(1):41",
                "authors": "Ospina-Tascón GA, Teboul JL, Hernandez G, et al."
              },
              "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.",
              "heart_rate_bpm": 80,
              "diastolic_mm_hg": 80,
              "formula_expression": "dsi = heart_rate_bpm / diastolic_mm_hg"
            }
          },
          "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": [
                    "heart_rate_bpm",
                    "diastolic_mm_hg"
                  ],
                  "properties": {
                    "heart_rate_bpm": {
                      "type": "integer",
                      "description": "Heart rate in beats per minute (integer 30-220)."
                    },
                    "diastolic_mm_hg": {
                      "type": "number",
                      "description": "Cuff diastolic blood pressure in mm Hg (20-160)."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/papi",
          "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/papi",
      "tags": [
        "papi",
        "hemodynamics",
        "right-ventricle",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Korabathina 2012 pulmonary artery pulsatility index from PA systolic (mm Hg), PA diastolic (mm Hg), and RAP (mm Hg): PAPi = (PAS − PAD) / RAP. Returns papi to two decimals and the paper ROC band (<=0.9 or >0.9) from the unrounded ratio. Equality at 0.9 is <=0.9. RAP 0 is invalid (no RAP=1 substitution). Not a medical device, RV-failure diagnosis, or device threshold.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "ra_mm_hg": 6,
              "pa_systolic_mm_hg": 30,
              "pa_diastolic_mm_hg": 12
            }
          },
          "output": {
            "type": "json",
            "example": {
              "band": ">0.9",
              "papi": 3,
              "formula": "papi",
              "citation": {
                "id": "korabathina-2012",
                "doi": "10.1002/ccd.23309",
                "pmid": "21954053",
                "title": "The pulmonary artery pulsatility index identifies severe right ventricular dysfunction in acute inferior myocardial infarction.",
                "source": "Catheter Cardiovasc Interv. 2012;80(4):593-600",
                "authors": "Korabathina R, Heffernan KS, Paruchuri V, et al."
              },
              "ra_mm_hg": 6,
              "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.",
              "pa_systolic_mm_hg": 30,
              "formula_expression": "papi = (pa_systolic_mm_hg - pa_diastolic_mm_hg) / ra_mm_hg",
              "pa_diastolic_mm_hg": 12
            }
          },
          "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": [
                    "pa_systolic_mm_hg",
                    "pa_diastolic_mm_hg",
                    "ra_mm_hg"
                  ],
                  "properties": {
                    "ra_mm_hg": {
                      "type": "number",
                      "description": "Right atrial pressure in mm Hg (1-40). RAP 0 is invalid; Korabathina 2012 did not substitute RAP=1."
                    },
                    "pa_systolic_mm_hg": {
                      "type": "number",
                      "description": "Pulmonary artery systolic pressure in mm Hg (10-150). Invasive catheter number; this tool does not read waveforms."
                    },
                    "pa_diastolic_mm_hg": {
                      "type": "number",
                      "description": "Pulmonary artery diastolic pressure in mm Hg (1-80). Must be less than PA systolic."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/adhere",
          "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/adhere",
      "tags": [
        "adhere",
        "heart-failure",
        "hemodynamics",
        "cart",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Fonarow 2005 ADHERE CART bedside tree from admission BUN, systolic BP, and serum creatinine. high: BUN>=43, SBP<115, Cr>=2.75; intermediate_1: BUN>=43, SBP<115, Cr<2.75; intermediate_2: BUN>=43, SBP>=115; intermediate_3: BUN<43, SBP<115; low: BUN<43, SBP>=115. Creatinine consulted only when BUN>=43 and SBP<115. CART tree only, not the logistic model or GWTG-HF. Not a heart-failure diagnosis or treatment/ICU order.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "bun_mg_dl": 20,
              "creatinine_mg_dl": 1,
              "creatinine_umol_l": 88.4,
              "systolic_bp_mm_hg": 140
            }
          },
          "output": {
            "type": "json",
            "example": {
              "formula": "adhere",
              "citation": {
                "id": "fonarow-2005",
                "doi": "10.1001/jama.293.5.572",
                "pmid": "15687312",
                "title": "Risk stratification for in-hospital mortality in acutely decompensated heart failure: classification and regression tree analysis",
                "source": "JAMA. 2005;293(5):572-580",
                "authors": "Fonarow GC, Adams KF Jr, Abraham WT, Yancy CW, Boscardin WJ; ADHERE Scientific Advisory Committee, Study Group, and Investigators"
              },
              "bun_mg_dl": 20,
              "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.",
              "adhere_risk": "low",
              "creatinine_mg_dl": 1,
              "systolic_bp_mm_hg": 140,
              "formula_expression": "high: bun_mg_dl >= 43 AND systolic_bp_mm_hg < 115 AND creatinine_mg_dl >= 2.75; intermediate_1: bun_mg_dl >= 43 AND systolic_bp_mm_hg < 115 AND creatinine_mg_dl < 2.75; intermediate_2: bun_mg_dl >= 43 AND systolic_bp_mm_hg >= 115; intermediate_3: bun_mg_dl < 43 AND systolic_bp_mm_hg < 115; low: bun_mg_dl < 43 AND systolic_bp_mm_hg >= 115 (Fonarow 2005 CART)"
            }
          },
          "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": [
                    "bun_mg_dl",
                    "systolic_bp_mm_hg"
                  ],
                  "properties": {
                    "bun_mg_dl": {
                      "type": "number",
                      "description": "Admission blood urea nitrogen in mg/dL (1-200). Fonarow 2005 CART first split is BUN >= 43. magent does not measure BUN."
                    },
                    "creatinine_mg_dl": {
                      "type": "number",
                      "description": "Admission serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l, not both. Fonarow 2005 CART consults creatinine only when BUN >= 43 and SBP < 115; the split is creatinine >= 2.75. magent does not measure creatinine."
                    },
                    "creatinine_umol_l": {
                      "type": "number",
                      "description": "Admission serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42. Provide this or creatinine_mg_dl, not both."
                    },
                    "systolic_bp_mm_hg": {
                      "type": "integer",
                      "description": "Admission systolic blood pressure in mm Hg (integer 50-250). Fonarow 2005 CART second split is SBP < 115. magent does not measure blood pressure."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/h2fpef",
          "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/h2fpef",
      "tags": [
        "h2fpef",
        "hfpef",
        "heart-failure",
        "hemodynamics",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Reddy 2018 H2FPEF points score. Six components, max 9: BMI >30 (2), >=2 antihypertensives (1), atrial fibrillation (3), echo PASP >35 mm Hg (1), age >60 (1), E/e' >9 (1). BMI 30 and age 60 do not score. Returns score and max_score only; odds roughly double per point. Not probability classes, not the continuous nomogram, not HFA-PEFF, not a diagnosis or cath substitute. magent does not read echo or compute BMI.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "age": 50,
              "bmi_kg_m2": 25,
              "pasp_gt_35": false,
              "atrial_fibrillation": false,
              "e_over_e_prime_gt_9": false,
              "antihypertensive_ge_2": false
            }
          },
          "output": {
            "type": "json",
            "example": {
              "score": 0,
              "formula": "h2fpef",
              "citation": {
                "id": "reddy-2018",
                "doi": "10.1161/CIRCULATIONAHA.118.034646",
                "pmid": "29792299",
                "title": "A Simple, Evidence-Based Approach to Help Guide Diagnosis of Heart Failure With Preserved Ejection Fraction",
                "source": "Circulation. 2018;138(9):861-870",
                "authors": "Reddy YNV, Carter RE, Obokata M, Redfield MM, Borlaug BA"
              },
              "age_years": 50,
              "bmi_kg_m2": 25,
              "max_score": 9,
              "components": [
                {
                  "value": 25,
                  "factor": "obesity",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "antihypertensive_ge_2",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "atrial_fibrillation",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "pasp_gt_35",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 50,
                  "factor": "age_gt_60",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "e_over_e_prime_gt_9",
                  "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.",
              "formula_expression": "H2FPEF = 2*(bmi_kg_m2>30) + antihypertensive_ge_2 + 3*atrial_fibrillation + pasp_gt_35 + (age>60) + e_over_e_prime_gt_9; max 9 (Reddy 2018 points score; not the continuous nomogram, not HFA-PEFF)"
            }
          },
          "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": [
                    "age",
                    "bmi_kg_m2",
                    "antihypertensive_ge_2",
                    "atrial_fibrillation",
                    "pasp_gt_35",
                    "e_over_e_prime_gt_9"
                  ],
                  "properties": {
                    "age": {
                      "type": "integer",
                      "description": "Age in years (18-120). Reddy 2018 elderly: scores 1 when >60. Age 60 does not score."
                    },
                    "bmi_kg_m2": {
                      "type": "number",
                      "description": "Body-mass index in kg/m^2 (10-80). Reddy 2018 heavy/obesity: scores 2 when >30. BMI 30 does not score. Caller-supplied; magent does not compute BMI from height and weight."
                    },
                    "pasp_gt_35": {
                      "type": "boolean",
                      "description": "Echocardiographic pulmonary artery systolic pressure >35 mm Hg (Reddy 2018 pulmonary hypertension). true or false. Caller-assigned. 1 point if true. magent does not measure PASP."
                    },
                    "atrial_fibrillation": {
                      "type": "boolean",
                      "description": "Paroxysmal or persistent atrial fibrillation (Reddy 2018). true or false. Caller-assigned. 3 points if true."
                    },
                    "e_over_e_prime_gt_9": {
                      "type": "boolean",
                      "description": "E/e' ratio >9 (Reddy 2018 filling pressures). true or false. Caller-assigned. 1 point if true. magent does not measure E/e'."
                    },
                    "antihypertensive_ge_2": {
                      "type": "boolean",
                      "description": "Treatment with two or more antihypertensive drugs (Reddy 2018 hypertensive). true or false. Caller-assigned. 1 point if true."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/aa_gradient",
          "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/aa_gradient",
      "tags": [
        "aa-gradient",
        "respiratory",
        "oxygenation",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Alveolar–arterial oxygen gradient from FiO2, barometric pressure, PaCO2, PaO2, and RQ using the simplified alveolar-gas equation (PH2O 47 mm Hg). Deterministic published arithmetic with citation; not a diagnosis.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "rq": 0.8,
              "fio2": 0.21,
              "pb_mm_hg": 760,
              "pao2_mm_hg": 95,
              "paco2_mm_hg": 40
            }
          },
          "output": {
            "type": "json",
            "example": {
              "rq": 0.8,
              "fio2": 0.21,
              "formula": "aa_gradient",
              "citation": {
                "id": "riley-cournand-1949",
                "doi": "10.1152/jappl.1949.1.12.825",
                "title": "\"Ideal\" alveolar air and the analysis of ventilation-perfusion relationships in the lungs",
                "source": "J Appl Physiol. 1949;1(12):825-847",
                "authors": "Riley RL, Cournand A"
              },
              "pb_mm_hg": 760,
              "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.",
              "pao2_mm_hg": 95,
              "paco2_mm_hg": 40,
              "aa_gradient_mm_hg": 4.7,
              "water_vapor_mm_hg": 47,
              "formula_expression": "PAO2_mm_hg = fio2 * (pb_mm_hg - 47) - paco2_mm_hg / rq; aa_gradient_mm_hg = PAO2_mm_hg - pao2_mm_hg",
              "pao2_alveolar_mm_hg": 99.7
            }
          },
          "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": [
                    "paco2_mm_hg",
                    "pao2_mm_hg"
                  ],
                  "properties": {
                    "rq": {
                      "type": "number",
                      "description": "Respiratory exchange ratio R (0.7-1.0). Omitted uses 0.8."
                    },
                    "fio2": {
                      "type": "number",
                      "description": "Inspired oxygen as a fraction (0.21-1.0), not a percent. Omitted uses 0.21 (room air)."
                    },
                    "pb_mm_hg": {
                      "type": "number",
                      "description": "Barometric pressure in mm Hg (500-800). Omitted uses 760."
                    },
                    "pao2_mm_hg": {
                      "type": "number",
                      "description": "Arterial PO2 in mm Hg (20-700)."
                    },
                    "paco2_mm_hg": {
                      "type": "number",
                      "description": "Arterial PCO2 in mm Hg (8-80)."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/oxygenation_index",
          "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/oxygenation_index",
      "tags": [
        "oxygenation-index",
        "oi",
        "respiratory",
        "oxygenation",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Oxygenation index from FiO2 as a fraction (0.21–1.0), mean airway pressure in cm H2O, and PaO2: FiO2 × MAP × 100 / PaO2. Deterministic published arithmetic with citation; not a diagnosis or an ECMO-initiation protocol.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "fio2": 0.5,
              "pao2_mm_hg": 80,
              "mean_airway_pressure_cm_h2o": 12
            }
          },
          "output": {
            "type": "json",
            "example": {
              "fio2": 0.5,
              "formula": "oxygenation_index",
              "citation": {
                "id": "ortiz-bartlett-1987",
                "doi": "10.1016/S0031-3955(16)36180-7",
                "title": "Extracorporeal membrane oxygenation in pediatric respiratory failure",
                "source": "Pediatr Clin North Am. 1987;34(1):39-46",
                "authors": "Ortiz RM, Cilley RE, Bartlett RH"
              },
              "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.",
              "pao2_mm_hg": 80,
              "oxygenation_index": 7.5,
              "formula_expression": "oxygenation_index = fio2 * mean_airway_pressure_cm_h2o * 100 / pao2_mm_hg",
              "mean_airway_pressure_cm_h2o": 12
            }
          },
          "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": [
                    "fio2",
                    "mean_airway_pressure_cm_h2o",
                    "pao2_mm_hg"
                  ],
                  "properties": {
                    "fio2": {
                      "type": "number",
                      "description": "Inspired oxygen as a fraction (0.21-1.0), not a percent."
                    },
                    "pao2_mm_hg": {
                      "type": "number",
                      "description": "Arterial PO2 in mm Hg (20-700)."
                    },
                    "mean_airway_pressure_cm_h2o": {
                      "type": "number",
                      "description": "Mean airway pressure in cm H2O (4-45), not blood-pressure MAP."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/pf_ratio",
          "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/pf_ratio",
      "tags": [
        "pf-ratio",
        "respiratory",
        "oxygenation",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "PaO2/FiO2 ratio as arterial PO2 in mm Hg divided by inspired oxygen as a fraction (0.21–1.0). Returns the ratio rounded to one decimal. Magent does not apply ARDS severity cutoffs, and this is not the oxygenation index (FiO2 × MAP × 100 / PaO2).",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "fio2": 0.21,
              "pao2_mm_hg": 95
            }
          },
          "output": {
            "type": "json",
            "example": {
              "fio2": 0.21,
              "formula": "pf_ratio",
              "citation": {
                "id": "horovitz-1974",
                "doi": "10.1001/archsurg.1974.01350270079014",
                "title": "Pulmonary response to major injury",
                "source": "Arch Surg. 1974;108(3):349-355",
                "authors": "Horovitz JH, Carrico CJ, Shires GT"
              },
              "pf_ratio": 452.4,
              "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.",
              "pao2_mm_hg": 95,
              "formula_expression": "pf_ratio = pao2_mm_hg / fio2"
            }
          },
          "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": [
                    "pao2_mm_hg",
                    "fio2"
                  ],
                  "properties": {
                    "fio2": {
                      "type": "number",
                      "description": "Inspired oxygen as a fraction (0.21-1.0), not a percent. Required."
                    },
                    "pao2_mm_hg": {
                      "type": "number",
                      "description": "Arterial PO2 in mm Hg (20-700)."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/sf_ratio",
          "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/sf_ratio",
      "tags": [
        "sf-ratio",
        "respiratory",
        "spo2",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "SpO2/FiO2 (S/F) ratio as pulse-oximetry SpO2 percent divided by inspired oxygen as a fraction (0.21–1.0) (Rice 2007). Returns the ratio rounded to one decimal. Magent does not apply ARDS or Berlin bands. This is not the PaO2/FiO2 (P/F) ratio and not the ROX index.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "fio2": 0.21,
              "spo2_percent": 95
            }
          },
          "output": {
            "type": "json",
            "example": {
              "fio2": 0.21,
              "formula": "sf_ratio",
              "citation": {
                "id": "rice-2007",
                "doi": "10.1378/chest.07-0617",
                "title": "Comparison of the SpO2/FIO2 ratio and the PaO2/FIO2 ratio in patients with acute lung injury or ARDS",
                "source": "Chest. 2007;132(2):410-417",
                "authors": "Rice TW, Wheeler AP, Bernard GR, Hayden DL, Schoenfeld DA, Ware LB"
              },
              "sf_ratio": 452.4,
              "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.",
              "spo2_percent": 95,
              "formula_expression": "sf_ratio = spo2_percent / fio2"
            }
          },
          "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": [
                    "spo2_percent",
                    "fio2"
                  ],
                  "properties": {
                    "fio2": {
                      "type": "number",
                      "description": "Inspired oxygen as a fraction (0.21-1.0), not a percent. Required."
                    },
                    "spo2_percent": {
                      "type": "number",
                      "description": "Pulse-oximetry SpO2 as a percent (50-100)."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/rsbi",
          "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/rsbi",
      "tags": [
        "rsbi",
        "respiratory",
        "tidal-volume",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Rapid shallow breathing index (RSBI) as respiratory rate in breaths/min divided by tidal volume in liters (Yang and Tobin 1991). Provide tidal_volume_ml (50–2000) or tidal_volume_l (0.05–2.0), not both. Returns f/VT rounded to one decimal and whether that ratio is greater than 105 breaths/min/L. Not a wean order; magent does not perform a spontaneous breathing trial (SBT).",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "tidal_volume_l": 0.4,
              "tidal_volume_ml": 400,
              "respiratory_rate": 20
            }
          },
          "output": {
            "type": "json",
            "example": {
              "rsbi": 50,
              "formula": "rsbi",
              "citation": {
                "id": "yang-tobin-1991",
                "doi": "10.1056/NEJM199105233242101",
                "title": "A prospective study of indexes predicting the outcome of trials of weaning from mechanical ventilation",
                "source": "N Engl J Med. 1991;324(21):1445-1450",
                "authors": "Yang KL, Tobin MJ"
              },
              "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.",
              "rsbi_gt_105": false,
              "tidal_volume_l": 0.4,
              "respiratory_rate": 20,
              "formula_expression": "rsbi = respiratory_rate / tidal_volume_l"
            }
          },
          "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": [
                    "respiratory_rate"
                  ],
                  "properties": {
                    "tidal_volume_l": {
                      "type": "number",
                      "description": "Tidal volume in liters (0.05-2.0). Yang and Tobin RSBI uses VT in liters. Provide this or tidal_volume_ml, not both."
                    },
                    "tidal_volume_ml": {
                      "type": "number",
                      "description": "Tidal volume in milliliters (50-2000). Converted as tidal_volume_l = tidal_volume_ml / 1000. Provide this or tidal_volume_l, not both."
                    },
                    "respiratory_rate": {
                      "type": "integer",
                      "description": "Respiratory rate in breaths/min (integer 4-80)."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/rox",
          "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/rox",
      "tags": [
        "rox",
        "respiratory",
        "hfnc",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "ROX index as (SpO2 percent / FiO2) / respiratory rate in breaths/min (Roca 2016). Returns the index rounded to two decimals. Not a ventilation order. This is not the PaO2/FiO2 (P/F) ratio and not RSBI (respiratory rate / tidal volume).",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "fio2": 0.21,
              "spo2_percent": 95,
              "respiratory_rate": 20
            }
          },
          "output": {
            "type": "json",
            "example": {
              "rox": 22.62,
              "fio2": 0.21,
              "formula": "rox",
              "citation": {
                "id": "roca-2016",
                "doi": "10.1016/j.jcrc.2016.05.022",
                "title": "Predicting success of high-flow nasal cannula in pneumonia patients with hypoxemic respiratory failure: The utility of the ROX index",
                "source": "J Crit Care. 2016;35:200-205",
                "authors": "Roca O, Messika J, Caralt B, García-de-Acilu M, Sztrymf B, Ricard JD, Masclans JR"
              },
              "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.",
              "spo2_percent": 95,
              "respiratory_rate": 20,
              "formula_expression": "rox = (spo2_percent / fio2) / respiratory_rate"
            }
          },
          "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": [
                    "spo2_percent",
                    "fio2",
                    "respiratory_rate"
                  ],
                  "properties": {
                    "fio2": {
                      "type": "number",
                      "description": "Inspired oxygen as a fraction (0.21-1.0), not a percent. Required."
                    },
                    "spo2_percent": {
                      "type": "number",
                      "description": "Pulse-oximetry SpO2 as a percent (50-100)."
                    },
                    "respiratory_rate": {
                      "type": "integer",
                      "description": "Respiratory rate in breaths/min (integer 4-80)."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/lights",
          "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/lights",
      "tags": [
        "lights",
        "pleural",
        "respiratory",
        "exudate",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Light 1972 pleural fluid criteria: exudate if protein ratio > 0.5, LDH ratio > 0.6, or pleural LDH > two-thirds the laboratory LDH ULN. ULN is required; magent does not assume 200 U/L. Strictly greater than those cutoffs. Deterministic published arithmetic with citation; not a diagnosis of cause, not Heffner's abbreviated criteria, and not a chest x-ray interpretation.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "ldh_uln_u_l": 200,
              "serum_ldh_u_l": 200,
              "pleural_ldh_u_l": 100,
              "serum_protein_g_dl": 6,
              "pleural_protein_g_dl": 3
            }
          },
          "output": {
            "type": "json",
            "example": {
              "exudate": false,
              "formula": "lights",
              "citation": {
                "id": "light-1972",
                "doi": "10.7326/0003-4819-77-4-507",
                "title": "Pleural effusions: the diagnostic separation of transudates and exudates",
                "source": "Ann Intern Med. 1972;77(4):507-513",
                "authors": "Light RW, Macgregor MI, Luchsinger PC, Ball WC Jr"
              },
              "criteria": [
                {
                  "met": false,
                  "value": 0.5,
                  "factor": "protein_ratio_gt_0_5"
                },
                {
                  "met": false,
                  "value": 0.5,
                  "factor": "ldh_ratio_gt_0_6"
                },
                {
                  "met": false,
                  "value": 100,
                  "factor": "pleural_ldh_gt_two_thirds_uln"
                }
              ],
              "ldh_ratio": 0.5,
              "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.",
              "protein_ratio": 0.5,
              "pleural_ldh_u_l": 100,
              "formula_expression": "exudate if pleural_protein_g_dl / serum_protein_g_dl > 0.5 or pleural_ldh_u_l / serum_ldh_u_l > 0.6 or pleural_ldh_u_l > (2/3) * ldh_uln_u_l",
              "ldh_two_thirds_uln": 133.3
            }
          },
          "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": [
                    "pleural_protein_g_dl",
                    "serum_protein_g_dl",
                    "pleural_ldh_u_l",
                    "serum_ldh_u_l",
                    "ldh_uln_u_l"
                  ],
                  "properties": {
                    "ldh_uln_u_l": {
                      "type": "number",
                      "description": "Laboratory LDH upper limit of normal in U/L (50-2000). Required; magent does not assume 200."
                    },
                    "serum_ldh_u_l": {
                      "type": "number",
                      "description": "Serum LDH in U/L (1-10000)."
                    },
                    "pleural_ldh_u_l": {
                      "type": "number",
                      "description": "Pleural fluid LDH in U/L (1-10000)."
                    },
                    "serum_protein_g_dl": {
                      "type": "number",
                      "description": "Serum protein in g/dL (0.1-20)."
                    },
                    "pleural_protein_g_dl": {
                      "type": "number",
                      "description": "Pleural fluid protein in g/dL (0.1-20)."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/peak_expiratory_flow",
          "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/peak_expiratory_flow",
      "tags": [
        "peak-flow",
        "pef",
        "respiratory",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Nunn and Gregg 1989 predicted adult peak expiratory flow (L/min) from age, sex, and height. Sex-specific ln(PEF) regressions as published. Deterministic published arithmetic with citation; not a personal-best or action-plan zone.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "age": 40,
              "sex": "male",
              "height_cm": 175,
              "height_in": 68.8976
            }
          },
          "output": {
            "type": "json",
            "example": {
              "sex": "male",
              "formula": "nunn_gregg_1989",
              "citation": {
                "id": "nunn-gregg-1989",
                "doi": "10.1136/bmj.298.6680.1068",
                "title": "New regression equations for predicting peak expiratory flow in adults",
                "source": "BMJ. 1989;298(6680):1068-1070",
                "authors": "Nunn AJ, Gregg I"
              },
              "age_years": 40,
              "height_cm": 175,
              "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": "ln(PEF_l_min) = a*ln(age) + b*age + c/height_cm + d; male a=0.544 b=-0.0151 c=-74.7 d=5.48; female a=0.376 b=-0.0120 c=-58.8 d=5.63",
              "predicted_pef_l_min": 636
            }
          },
          "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": [
                    "age",
                    "sex"
                  ],
                  "properties": {
                    "age": {
                      "type": "integer",
                      "description": "Age in years (integer 15-85). Nunn and Gregg 1989 adult range."
                    },
                    "sex": {
                      "enum": [
                        "female",
                        "male"
                      ],
                      "type": "string",
                      "description": "Sex for the published regression (female or male)."
                    },
                    "height_cm": {
                      "type": "number",
                      "description": "Height in centimetres (50-250). Provide height_cm or height_in."
                    },
                    "height_in": {
                      "type": "number",
                      "description": "Height in inches (20-98). Converted as cm = in × 2.54."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/bode",
          "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/bode",
      "tags": [
        "bode",
        "copd",
        "dyspnea",
        "respiratory",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Celli 2004 BODE index from BMI (≤21 → 1), FEV1 % predicted (0–3), MMRC dyspnea (0–3), and 6-minute walk in meters (0–3). Returns a 0–10 total and quartile 1–4 (0–2 / 3–4 / 5–6 / 7–10). Deterministic published points with citation. Not a GOLD stage and not a transplant listing.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "mmrc": 0,
              "bmi_kg_m2": 24,
              "six_minute_walk_m": 400,
              "fev1_percent_predicted": 70
            }
          },
          "output": {
            "type": "json",
            "example": {
              "mmrc": 0,
              "score": 0,
              "formula": "bode",
              "citation": {
                "id": "celli-2004",
                "doi": "10.1056/NEJMoa021322",
                "pmid": "14999112",
                "title": "The body-mass index, airflow obstruction, dyspnea, and exercise capacity index in chronic obstructive pulmonary disease",
                "source": "N Engl J Med. 2004;350(10):1005-1012",
                "authors": "Celli BR, Cote CG, Marin JM, et al."
              },
              "quartile": 1,
              "bmi_kg_m2": 24,
              "max_score": 10,
              "components": [
                {
                  "value": 24,
                  "factor": "bmi",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 70,
                  "factor": "fev1",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 0,
                  "factor": "mmrc",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 400,
                  "factor": "six_minute_walk",
                  "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.",
              "six_minute_walk_m": 400,
              "formula_expression": "BODE = bmi_points + fev1_points + mmrc_points + walk_points; BMI <=21 -> 1 else 0; FEV1% >=65 -> 0, 50-64 -> 1, 36-49 -> 2, <=35 -> 3; MMRC 0-1 -> 0, 2 -> 1, 3 -> 2, 4 -> 3; 6MWD m >=350 -> 0, 250-349 -> 1, 150-249 -> 2, <=149 -> 3; quartiles 0-2 / 3-4 / 5-6 / 7-10; max 10",
              "fev1_percent_predicted": 70
            }
          },
          "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": [
                    "bmi_kg_m2",
                    "fev1_percent_predicted",
                    "mmrc",
                    "six_minute_walk_m"
                  ],
                  "properties": {
                    "mmrc": {
                      "type": "integer",
                      "description": "Modified Medical Research Council dyspnea grade as an integer 0-4 (Celli 2004). 0-1 scores 0; 2 scores 1; 3 scores 2; 4 scores 3. magent does not interview the patient."
                    },
                    "bmi_kg_m2": {
                      "type": "number",
                      "description": "Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI from height and weight. Celli 2004: >21 scores 0; <=21 scores 1."
                    },
                    "six_minute_walk_m": {
                      "type": "number",
                      "description": "Six-minute walk distance in meters (0-1000). Celli 2004 Table 2: >=350 scores 0; 250-349 scores 1; 150-249 scores 2; <=149 scores 3."
                    },
                    "fev1_percent_predicted": {
                      "type": "number",
                      "description": "FEV1 percent predicted (10-150). Celli 2004 Table 2: >=65 scores 0; 50-64 scores 1; 36-49 scores 2; <=35 scores 3."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/gap_index",
          "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/gap_index",
      "tags": [
        "gap",
        "ipf",
        "fibrosis",
        "respiratory",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Ley 2012 GAP index (points) from sex (male 1), age (≤60 → 0, 61–65 → 1, >65 → 2), FVC % predicted (>75 → 0, 50–75 → 1, <50 → 2), and DLCO % predicted (>55 → 0, 36–55 → 1, ≤35 → 2; cannot perform → 3). Returns a 0–8 total and stage 1–3 (0–3 / 4–5 / 6–8). Deterministic published points with citation. Not a transplant listing and not a continuous GAP calculator.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "age": 55,
              "sex": "female",
              "dlco_cannot_perform": true,
              "fvc_percent_predicted": 80,
              "dlco_percent_predicted": 60
            }
          },
          "output": {
            "type": "json",
            "example": {
              "sex": "female",
              "score": 0,
              "formula": "gap_index",
              "citation": {
                "id": "ley-2012",
                "doi": "10.7326/0003-4819-156-10-201205150-00004",
                "pmid": "22586007",
                "title": "A multidimensional index and staging system for idiopathic pulmonary fibrosis",
                "source": "Ann Intern Med. 2012;156(10):684-691",
                "authors": "Ley B, Ryerson CJ, Vittinghoff E, et al."
              },
              "age_years": 55,
              "gap_stage": 1,
              "max_score": 8,
              "components": [
                {
                  "value": "female",
                  "factor": "sex",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 55,
                  "factor": "age",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 80,
                  "factor": "fvc",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 60,
                  "factor": "dlco",
                  "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.",
              "formula_expression": "GAP = sex_points + age_points + fvc_points + dlco_points; female 0 male 1; age <=60 -> 0, 61-65 -> 1, >65 -> 2; FVC% >75 -> 0, 50-75 -> 1, <50 -> 2; DLCO% >55 -> 0, 36-55 -> 1, <=35 -> 2, cannot perform -> 3; stages I 0-3 / II 4-5 / III 6-8; max 8",
              "dlco_cannot_perform": false,
              "fvc_percent_predicted": 80,
              "dlco_percent_predicted": 60
            }
          },
          "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": [
                    "sex",
                    "age",
                    "fvc_percent_predicted"
                  ],
                  "properties": {
                    "age": {
                      "type": "integer",
                      "description": "Age in years (integer 18-120). Ley 2012: <=60 scores 0; 61-65 scores 1; >65 scores 2."
                    },
                    "sex": {
                      "enum": [
                        "female",
                        "male"
                      ],
                      "type": "string",
                      "description": "Sex (female or male). Ley 2012: female scores 0; male scores 1."
                    },
                    "dlco_cannot_perform": {
                      "type": "boolean",
                      "description": "true when DLCO cannot be performed (Ley 2012 scores 3). Provide this or dlco_percent_predicted, not both."
                    },
                    "fvc_percent_predicted": {
                      "type": "number",
                      "description": "FVC percent predicted (10-150). Ley 2012: >75 scores 0; 50-75 scores 1; <50 scores 2. 75.0 scores 1."
                    },
                    "dlco_percent_predicted": {
                      "type": "number",
                      "description": "DLCO percent predicted (1-150). Provide this or dlco_cannot_perform=true, not both. Ley 2012: >55 scores 0; 36-55 scores 1; <=35 scores 2."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/decaf",
          "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/decaf",
      "tags": [
        "decaf",
        "copd",
        "eosinopenia",
        "respiratory",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Steer 2012 DECAF: eMRCD 1-4 → 0, 5a → 1, 5b → 2; eosinophils <0.05 ×10^9/L → 1 (0.05 does not score); caller-assigned consolidation → 1; arterial pH <7.30 → 1 (7.30 does not score); atrial fibrillation → 1. Returns a 0–6 total and band 0-1 / 2 / 3-6. Deterministic published points with citation. Not an early-discharge or escalation protocol and not a medical device.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "emrcd": "1-4",
              "arterial_ph": 7.4,
              "consolidation": false,
              "eosinophils_10e9_l": 0.1,
              "atrial_fibrillation": false
            }
          },
          "output": {
            "type": "json",
            "example": {
              "emrcd": "1-4",
              "score": 0,
              "formula": "decaf",
              "citation": {
                "id": "steer-2012",
                "doi": "10.1136/thoraxjnl-2012-202103",
                "pmid": "22895999",
                "title": "The DECAF Score: predicting hospital mortality in exacerbations of chronic obstructive pulmonary disease",
                "source": "Thorax. 2012;67(11):970-976",
                "authors": "Steer J, Gibson J, Bourke SC"
              },
              "max_score": 6,
              "components": [
                {
                  "value": "1-4",
                  "factor": "emrcd",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 0.1,
                  "factor": "eosinopenia",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "consolidation",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 7.4,
                  "factor": "acidemia",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "atrial_fibrillation",
                  "points": 0,
                  "present": false
                }
              ],
              "decaf_band": "0-1",
              "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.",
              "arterial_ph": 7.4,
              "consolidation": false,
              "eosinophils_10e9_l": 0.1,
              "formula_expression": "DECAF = emrcd_points + eosinopenia + consolidation + acidemia + atrial_fibrillation; eMRCD 1-4 -> 0, 5a -> 1, 5b -> 2; eosinophils_10e9_l < 0.05 -> 1 (0.05 does not score); consolidation true -> 1; arterial_ph < 7.30 -> 1 (7.30 does not score); atrial_fibrillation true -> 1; bands 0-1 / 2 / 3-6; max 6",
              "atrial_fibrillation": false
            }
          },
          "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": [
                    "emrcd",
                    "eosinophils_10e9_l",
                    "consolidation",
                    "arterial_ph",
                    "atrial_fibrillation"
                  ],
                  "properties": {
                    "emrcd": {
                      "enum": [
                        "1-4",
                        "5a",
                        "5b"
                      ],
                      "type": "string",
                      "description": "Steer 2012 extended MRC dyspnoea as assigned by the caller. 1-4 scores 0; 5a scores 1; 5b scores 2. magent does not interview the patient."
                    },
                    "arterial_ph": {
                      "type": "number",
                      "description": "Arterial pH (6.80-7.80). Steer 2012: <7.30 scores 1; 7.30 does not score."
                    },
                    "consolidation": {
                      "type": "boolean",
                      "description": "Chest radiograph consolidation as assigned by the caller (Steer 2012 C). true or false. 1 point if true. magent does not interpret radiographs."
                    },
                    "eosinophils_10e9_l": {
                      "type": "number",
                      "description": "Blood eosinophil count ×10^9/L (0-5). Steer 2012: <0.05 scores 1; 0.05 does not score."
                    },
                    "atrial_fibrillation": {
                      "type": "boolean",
                      "description": "Atrial fibrillation as assigned by the caller (Steer 2012 F). true or false. 1 point if true. magent does not interpret the ECG."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/bap_65",
          "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/bap_65",
      "tags": [
        "bap-65",
        "copd",
        "respiratory",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "BAP-65 (Tabak 2009) class I–V for acute exacerbation of COPD. Three caller-assigned main factors: BUN >25 mg/dL, altered mental status (GCS <14 or disoriented/stupor/coma), and pulse >109/min. Age >65 splits class I from II only when zero main factors are present; age is not a fourth additive point. magent does not compute GCS, BUN, or pulse. Not a medical device and not a ventilation or ICU-admission order.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "age_gt_65": false,
              "bun_gt_25": false,
              "pulse_gt_109": false,
              "altered_mental_status": false
            }
          },
          "output": {
            "type": "json",
            "example": {
              "formula": "bap_65",
              "citation": {
                "id": "tabak-2009",
                "doi": "10.1001/archinternmed.2009.270",
                "pmid": "19786679",
                "title": "Mortality and need for mechanical ventilation in acute exacerbations of chronic obstructive pulmonary disease: development and validation of a simple risk score",
                "source": "Arch Intern Med. 2009;169(17):1595-1602",
                "authors": "Tabak YP, Sun X, Johannes RS, Gupta V, Shorr AF"
              },
              "criteria": [
                {
                  "met": false,
                  "factor": "bun_gt_25"
                },
                {
                  "met": false,
                  "factor": "altered_mental_status"
                },
                {
                  "met": false,
                  "factor": "pulse_gt_109"
                },
                {
                  "met": false,
                  "factor": "age_gt_65"
                }
              ],
              "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.",
              "bap65_class": "I",
              "main_factor_count": 0,
              "formula_expression": "class I = 0 main factors and age ≤65; II = 0 main factors and age >65; III = 1 main factor; IV = 2 main factors; V = 3 main factors (BUN >25 mg/dL, GCS <14 or disoriented/stupor/coma, pulse >109/min); age is not a 4th additive point"
            }
          },
          "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": [
                    "bun_gt_25",
                    "altered_mental_status",
                    "pulse_gt_109",
                    "age_gt_65"
                  ],
                  "properties": {
                    "age_gt_65": {
                      "type": "boolean",
                      "description": "Age >65 years (strict greater than). Used only when zero of the three main factors are present, to split class I from II. true or false as assigned by the caller. magent does not compute age."
                    },
                    "bun_gt_25": {
                      "type": "boolean",
                      "description": "BUN >25 mg/dL (strict greater than; 25 does not meet). true or false as assigned by the caller. magent does not compute BUN."
                    },
                    "pulse_gt_109": {
                      "type": "boolean",
                      "description": "Pulse >109/min (strict greater than; 109 does not meet). true or false as assigned by the caller. magent does not compute pulse."
                    },
                    "altered_mental_status": {
                      "type": "boolean",
                      "description": "GCS <14 or physician designation of disoriented, stupor, or coma (Tabak 2009). true or false as assigned by the caller. magent does not compute GCS."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/hacor",
          "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/hacor",
      "tags": [
        "hacor",
        "niv",
        "respiratory",
        "hypoxemia",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Duan 2017 HACOR (ESM Table 2): HR ≤120 → 0, ≥121 → 1; pH ≥7.35 → 0, 7.30–7.34 → 2, 7.25–7.29 → 3, <7.25 → 4; GCS 15 → 0, 13–14 → 2, 11–12 → 5, ≤10 → 10; P/F ≥201 → 0, 176–200 → 2, 151–175 → 3, 126–150 → 4, 101–125 → 5, ≤100 → 6; RR ≤30 → 0, 31–35 → 1, 36–40 → 2, 41–45 → 3, ≥46 → 4. Max 25. Low ≤5, high >5. Not an intubation or NIV-failure order. magent does not read an ABG, GCS the patient, or a ventilator.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "ph": 7.4,
              "gcs": 15,
              "pf_ratio": 300,
              "heart_rate_bpm": 80,
              "respiratory_rate": 18
            }
          },
          "output": {
            "type": "json",
            "example": {
              "ph": 7.4,
              "gcs": 15,
              "score": 0,
              "formula": "hacor",
              "citation": {
                "id": "duan-2017",
                "doi": "10.1007/s00134-016-4601-3",
                "pmid": "27812731",
                "title": "Assessment of heart rate, acidosis, consciousness, oxygenation, and respiratory rate to predict noninvasive ventilation failure in hypoxemic patients",
                "source": "Intensive Care Med. 2017;43(2):192-199",
                "authors": "Duan J, Han X, Bai L, Zhou L, Huang S"
              },
              "pf_ratio": 300,
              "max_score": 25,
              "components": [
                {
                  "value": 80,
                  "factor": "heart_rate_bpm",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 7.4,
                  "factor": "ph",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 15,
                  "factor": "gcs",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 300,
                  "factor": "pf_ratio",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 18,
                  "factor": "respiratory_rate",
                  "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.",
              "hacor_band": "low",
              "heart_rate_bpm": 80,
              "respiratory_rate": 18,
              "formula_expression": "HACOR = HR(≤120→0, ≥121→1) + pH(≥7.35→0, 7.30–7.34→2, 7.25–7.29→3, <7.25→4) + GCS(15→0, 13–14→2, 11–12→5, ≤10→10) + P/F(≥201→0, 176–200→2, 151–175→3, 126–150→4, 101–125→5, ≤100→6) + RR(≤30→0, 31–35→1, 36–40→2, 41–45→3, ≥46→4); Duan 2017 ESM Table 2; max 25; low ≤5, high >5"
            }
          },
          "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": [
                    "heart_rate_bpm",
                    "ph",
                    "gcs",
                    "pf_ratio",
                    "respiratory_rate"
                  ],
                  "properties": {
                    "ph": {
                      "type": "number",
                      "description": "Arterial pH (6.80-7.80). Duan 2017 ESM Table 2: ≥7.35 → 0, 7.30-7.34 → 2, 7.25-7.29 → 3, <7.25 → 4. magent does not read an ABG."
                    },
                    "gcs": {
                      "type": "integer",
                      "description": "Total Glasgow Coma Scale 3-15 as assigned by the caller. Duan 2017 ESM Table 2: 15 → 0, 13-14 → 2, 11-12 → 5, ≤10 → 10. Not a GCS 10-12 / ≤9 table. magent does not GCS the patient."
                    },
                    "pf_ratio": {
                      "type": "number",
                      "description": "PaO2/FiO2 ratio (20-800). Duan 2017 ESM Table 2: ≥201 → 0, 176-200 → 2, 151-175 → 3, 126-150 → 4, 101-125 → 5, ≤100 → 6. magent does not read an ABG or a ventilator."
                    },
                    "heart_rate_bpm": {
                      "type": "integer",
                      "description": "Heart rate in beats/min (integer 30-220). Duan 2017 ESM Table 2: ≤120 → 0, ≥121 → 1."
                    },
                    "respiratory_rate": {
                      "type": "integer",
                      "description": "Respiratory rate in breaths/min (integer 4-80). Duan 2017 ESM Table 2: ≤30 → 0, 31-35 → 1, 36-40 → 2, 41-45 → 3, ≥46 → 4."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/crcl_cockcroft_gault",
          "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/crcl_cockcroft_gault",
      "tags": [
        "crcl",
        "cockcroft-gault",
        "kidney",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Cockcroft-Gault creatinine clearance from age, sex, total body weight, and creatinine. Use when a label still doses on CrCl rather than CKD-EPI eGFR. Deterministic published formula with citation; not a dosing recommendation.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "age": 65,
              "sex": "female",
              "weight_kg": 70,
              "weight_lb": 154,
              "creatinine_mg_dl": 1.1,
              "creatinine_umol_l": 97.2
            }
          },
          "output": {
            "type": "json",
            "example": {
              "sex": "female",
              "units": "mL/min",
              "formula": "cockcroft_gault",
              "citation": {
                "id": "cockcroft-1976",
                "doi": "10.1159/000180580",
                "title": "Prediction of creatinine clearance from serum creatinine",
                "source": "Nephron. 1976;16(1):31-41",
                "authors": "Cockcroft DW, Gault MH"
              },
              "age_years": 65,
              "weight_kg": 70,
              "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.",
              "crcl_ml_min": 56.3,
              "weight_basis": "total_body_weight",
              "creatinine_mg_dl": 1.1,
              "formula_expression": "CrCl_mL_min = ((140 - age) * weight_kg * (0.85 if female else 1)) / (72 * Scr_mg_dL)"
            }
          },
          "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": [
                    "age",
                    "sex"
                  ],
                  "properties": {
                    "age": {
                      "type": "integer",
                      "description": "Age in years (18-120)."
                    },
                    "sex": {
                      "enum": [
                        "female",
                        "male"
                      ],
                      "type": "string",
                      "description": "female applies the published 0.85 factor; male does not."
                    },
                    "weight_kg": {
                      "type": "number",
                      "description": "Total body weight in kilograms. Provide weight_kg or weight_lb."
                    },
                    "weight_lb": {
                      "type": "number",
                      "description": "Total body weight in pounds. Converted as kg = lb * 0.45359237."
                    },
                    "creatinine_mg_dl": {
                      "type": "number",
                      "description": "Serum creatinine in mg/dL. Provide this or creatinine_umol_l."
                    },
                    "creatinine_umol_l": {
                      "type": "number",
                      "description": "Serum creatinine in µmol/L. Converted as mg/dL = µmol/L / 88.42."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/fena",
          "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/fena",
      "tags": [
        "fena",
        "kidney",
        "aki",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Fractional excretion of sodium (FENa) from plasma and urine sodium and creatinine. Espinel 1976 oliguric ARF strata. Deterministic published formula with citation; not a diagnosis.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "sodium_mmol_l": 140,
              "creatinine_mg_dl": 2,
              "creatinine_umol_l": 176.84,
              "urine_sodium_mmol_l": 20,
              "urine_creatinine_mg_dl": 100,
              "urine_creatinine_umol_l": 8842
            }
          },
          "output": {
            "type": "json",
            "example": {
              "formula": "fena",
              "citation": {
                "id": "espinel-1976",
                "doi": "10.1001/jama.1976.03270060029022",
                "title": "The FENa test. Use in the differential diagnosis of acute renal failure",
                "source": "JAMA. 1976;236(6):579-581",
                "authors": "Espinel CH"
              },
              "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.",
              "fena_percent": 0.29,
              "sodium_mmol_l": 140,
              "espinel_stratum": "prerenal",
              "creatinine_mg_dl": 2,
              "formula_expression": "FENa_percent = 100 * (urine_sodium_mmol_l * plasma_creatinine_mg_dl) / (plasma_sodium_mmol_l * urine_creatinine_mg_dl)",
              "urine_sodium_mmol_l": 20,
              "urine_creatinine_mg_dl": 100
            }
          },
          "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": [
                    "sodium_mmol_l",
                    "urine_sodium_mmol_l"
                  ],
                  "properties": {
                    "sodium_mmol_l": {
                      "type": "number",
                      "description": "Plasma or serum sodium in mmol/L (110-160)."
                    },
                    "creatinine_mg_dl": {
                      "type": "number",
                      "description": "Plasma creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l."
                    },
                    "creatinine_umol_l": {
                      "type": "number",
                      "description": "Plasma creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42."
                    },
                    "urine_sodium_mmol_l": {
                      "type": "number",
                      "description": "Urine sodium in mmol/L (1-300)."
                    },
                    "urine_creatinine_mg_dl": {
                      "type": "number",
                      "description": "Urine creatinine in mg/dL (1-500). Provide this or urine_creatinine_umol_l."
                    },
                    "urine_creatinine_umol_l": {
                      "type": "number",
                      "description": "Urine creatinine in µmol/L (88-44210). Converted as mg/dL = µmol/L / 88.42."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/feurea",
          "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/feurea",
      "tags": [
        "feurea",
        "feun",
        "kidney",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Fractional excretion of urea (FEUN) from BUN, urine urea nitrogen, and plasma/urine creatinine (Carvounis 2002). Use when diuretics make FENa unhelpful. Deterministic published formula with citation; not a diagnosis.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "bun_mg_dl": 20,
              "creatinine_mg_dl": 2,
              "urine_urea_mg_dl": 200,
              "creatinine_umol_l": 176.84,
              "urine_creatinine_mg_dl": 100,
              "urine_creatinine_umol_l": 8842
            }
          },
          "output": {
            "type": "json",
            "example": {
              "units": "%",
              "formula": "carvounis",
              "citation": {
                "id": "carvounis-2002",
                "doi": "10.1046/j.1523-1755.2002.00683.x",
                "title": "Significance of the fractional excretion of urea in the differential diagnosis of acute renal failure",
                "source": "Kidney Int. 2002;62(6):2223-2229",
                "authors": "Carvounis CP, Nisar S, Guro-Razuman S"
              },
              "bun_mg_dl": 20,
              "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.",
              "carvounis_band": "low",
              "feurea_percent": 20,
              "creatinine_mg_dl": 2,
              "urine_urea_mg_dl": 200,
              "formula_expression": "FEUrea_percent = 100 * (urine_urea_mg_dl * plasma_creatinine_mg_dl) / (bun_mg_dl * urine_creatinine_mg_dl)",
              "urine_creatinine_mg_dl": 100
            }
          },
          "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": [
                    "bun_mg_dl",
                    "urine_urea_mg_dl"
                  ],
                  "properties": {
                    "bun_mg_dl": {
                      "type": "number",
                      "description": "Blood urea nitrogen in mg/dL (1-200). Same units as urine urea nitrogen."
                    },
                    "creatinine_mg_dl": {
                      "type": "number",
                      "description": "Plasma creatinine in mg/dL. Provide this or creatinine_umol_l."
                    },
                    "urine_urea_mg_dl": {
                      "type": "number",
                      "description": "Urine urea nitrogen in mg/dL (1-2000). Same units as BUN."
                    },
                    "creatinine_umol_l": {
                      "type": "number",
                      "description": "Plasma creatinine in µmol/L. Converted as mg/dL = µmol/L / 88.42."
                    },
                    "urine_creatinine_mg_dl": {
                      "type": "number",
                      "description": "Urine creatinine in mg/dL (1-500). Provide this or urine_creatinine_umol_l."
                    },
                    "urine_creatinine_umol_l": {
                      "type": "number",
                      "description": "Urine creatinine in µmol/L (88-44210). Converted as mg/dL = µmol/L / 88.42."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/schwartz_gfr",
          "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/schwartz_gfr",
      "tags": [
        "schwartz-gfr",
        "pediatric",
        "kidney",
        "egfr",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Schwartz 2009 bedside eGFR for children with CKD (CKiD): 0.413 × height in cm divided by serum creatinine in mg/dL, rounded to one decimal as mL/min/1.73m2. Height may be centimeters or inches; creatinine may be mg/dL or µmol/L. Not a dosing recommendation, not CKD-EPI, not Cockcroft–Gault, and not the 1976 Schwartz k=0.55 formula. Does not assign CKD stages.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "height_cm": 140,
              "height_in": 60,
              "creatinine_mg_dl": 1,
              "creatinine_umol_l": 88.42
            }
          },
          "output": {
            "type": "json",
            "example": {
              "units": "mL/min/1.73m2",
              "formula": "schwartz_2009",
              "citation": {
                "id": "schwartz-2009",
                "doi": "10.1681/ASN.2008030287",
                "title": "New equations to estimate GFR in children with CKD",
                "source": "J Am Soc Nephrol. 2009;20(3):629-637",
                "authors": "Schwartz GJ, Muñoz A, Schneider MF, et al."
              },
              "height_cm": 140,
              "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.",
              "creatinine_mg_dl": 1,
              "egfr_ml_min_1_73m2": 57.8,
              "formula_expression": "egfr_ml_min_1_73m2 = 0.413 * height_cm / creatinine_mg_dl"
            }
          },
          "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": [],
                  "properties": {
                    "height_cm": {
                      "type": "number",
                      "description": "Height in centimeters (50-250). Provide height_cm or height_in."
                    },
                    "height_in": {
                      "type": "number",
                      "description": "Height in inches (20-98). Converted as cm = in * 2.54."
                    },
                    "creatinine_mg_dl": {
                      "type": "number",
                      "description": "Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l."
                    },
                    "creatinine_umol_l": {
                      "type": "number",
                      "description": "Serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/stop_bang",
          "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/stop_bang",
      "tags": [
        "stop-bang",
        "osa",
        "sleep-apnea",
        "respiratory",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Chung 2008 Appendix 2 STOP-Bang OSA screen. Four caller-assigned STOP flags (loud snoring heard through closed doors, daytime tiredness, observed stop-breathing, hypertension) plus computed BANG: BMI >35, age >50, neck >40 cm, male; each 1; max 8. BMI 35, age 50, and neck 40 cm do not score. Returns bands 0-2 and >=3. Not Chung 2012 three-tier, not a medical device, and not a sleep-study order.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "age": 40,
              "sex": "female",
              "tired": false,
              "neck_cm": 38,
              "snoring": false,
              "bmi_kg_m2": 30,
              "hypertension": false,
              "observed_apnea": false
            }
          },
          "output": {
            "type": "json",
            "example": {
              "sex": "female",
              "score": 0,
              "tired": false,
              "formula": "stop_bang",
              "neck_cm": 38,
              "snoring": false,
              "citation": {
                "id": "chung-2008",
                "doi": "10.1097/ALN.0b013e31816d83e4",
                "pmid": "18431116",
                "title": "STOP questionnaire: a tool to screen patients for obstructive sleep apnea",
                "source": "Anesthesiology. 2008;108(5):812-821",
                "authors": "Chung F, Yegneswaran B, Liao P, et al."
              },
              "age_years": 40,
              "bmi_kg_m2": 30,
              "max_score": 8,
              "components": [
                {
                  "factor": "snoring",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "tired",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "observed_apnea",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "hypertension",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 30,
                  "factor": "bmi_gt_35",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 40,
                  "factor": "age_gt_50",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 38,
                  "factor": "neck_gt_40",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "male",
                  "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.",
              "hypertension": false,
              "observed_apnea": false,
              "stop_bang_band": "0-2",
              "formula_expression": "STOP-Bang = snoring + tired + observed_apnea + hypertension + (bmi_kg_m2>35) + (age>50) + (neck_cm>40) + male; each 1 if true; max 8; bands 0-2 / >=3"
            }
          },
          "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": [
                    "snoring",
                    "tired",
                    "observed_apnea",
                    "hypertension",
                    "bmi_kg_m2",
                    "age",
                    "neck_cm",
                    "sex"
                  ],
                  "properties": {
                    "age": {
                      "type": "integer",
                      "description": "Age in years (18-120). Chung 2008 Appendix 2 BANG: scores 1 when >50. Age 50 does not score."
                    },
                    "sex": {
                      "enum": [
                        "female",
                        "male"
                      ],
                      "type": "string",
                      "description": "female or male. Chung 2008 Appendix 2 BANG: male scores 1. Female scores 0."
                    },
                    "tired": {
                      "type": "boolean",
                      "description": "Daytime tiredness, fatigue, or sleepiness (Chung 2008 Appendix 2 STOP). true or false. Caller-assigned. 1 point if true."
                    },
                    "neck_cm": {
                      "type": "number",
                      "description": "Neck circumference in cm (20-80). Chung 2008 Appendix 2 BANG: scores 1 when >40. Neck 40 does not score."
                    },
                    "snoring": {
                      "type": "boolean",
                      "description": "Loud snoring heard through closed doors (Chung 2008 Appendix 2 STOP). true or false. Caller-assigned. 1 point if true."
                    },
                    "bmi_kg_m2": {
                      "type": "number",
                      "description": "Body-mass index in kg/m^2 (10-80). Chung 2008 Appendix 2 BANG: scores 1 when >35. BMI 35 does not score. Caller-supplied; magent does not compute BMI from height and weight."
                    },
                    "hypertension": {
                      "type": "boolean",
                      "description": "Has or is being treated for high blood pressure (Chung 2008 Appendix 2 STOP). true or false. Caller-assigned. 1 point if true."
                    },
                    "observed_apnea": {
                      "type": "boolean",
                      "description": "Anyone observed the patient stop breathing during sleep (Chung 2008 Appendix 2 STOP). true or false. Caller-assigned. 1 point if true."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/kt_v",
          "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/kt_v",
      "tags": [
        "kt-v",
        "dialysis",
        "kidney",
        "urea",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Daugirdas 1993 second-generation single-pool variable-volume Kt/V. Kt/V = -ln(R - 0.008 * t) + (4 - 3.5 * R) * UF / W, with R = post_bun_mg_dl / pre_bun_mg_dl. Numeric Kt/V to 2 decimals. Not a dialysis prescription, not equilibrated eKt/V, not stdKt/V, and not a urea-reduction-ratio tool. magent does not assign KDOQI or other adequacy targets.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "uf_l": 2,
              "weight_kg": 70,
              "weight_lb": 154.32,
              "pre_bun_mg_dl": 80,
              "session_hours": 4,
              "post_bun_mg_dl": 24
            }
          },
          "output": {
            "type": "json",
            "example": {
              "kt_v": 1.4,
              "uf_l": 2,
              "formula": "daugirdas_1993",
              "citation": {
                "id": "daugirdas-1993",
                "doi": "10.1681/ASN.V451205",
                "pmid": "8305648",
                "title": "Second generation logarithmic estimates of single-pool variable volume Kt/V: an analysis of error",
                "source": "J Am Soc Nephrol. 1993;4(5):1205-1213",
                "authors": "Daugirdas JT"
              },
              "weight_kg": 70,
              "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.",
              "pre_bun_mg_dl": 80,
              "session_hours": 4,
              "post_bun_mg_dl": 24,
              "formula_expression": "Kt/V = -ln(R - 0.008 * t) + (4 - 3.5 * R) * UF / W"
            }
          },
          "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": [
                    "pre_bun_mg_dl",
                    "post_bun_mg_dl",
                    "session_hours",
                    "uf_l"
                  ],
                  "properties": {
                    "uf_l": {
                      "type": "number",
                      "description": "Ultrafiltration volume in litres (0-15). Daugirdas 1993 UF."
                    },
                    "weight_kg": {
                      "type": "number",
                      "description": "Post-dialysis body weight in kilograms (1-500). Provide weight_kg or weight_lb, not both."
                    },
                    "weight_lb": {
                      "type": "number",
                      "description": "Post-dialysis body weight in pounds (2-1100). Converted as kg = lb × 0.45359237. Provide weight_kg or weight_lb, not both."
                    },
                    "pre_bun_mg_dl": {
                      "type": "number",
                      "description": "Predialysis blood urea nitrogen in mg/dL (1-200). Required with post_bun_mg_dl."
                    },
                    "session_hours": {
                      "type": "number",
                      "description": "Hemodialysis session length in hours (1.0-8.0). Daugirdas 1993 t."
                    },
                    "post_bun_mg_dl": {
                      "type": "number",
                      "description": "Postdialysis blood urea nitrogen in mg/dL (1-200). Required with pre_bun_mg_dl."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/ttkg",
          "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/ttkg",
      "tags": [
        "ttkg",
        "potassium",
        "kidney",
        "osmolality",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "Transtubular potassium gradient (TTKG) from plasma potassium, urine potassium, plasma osmolality, and urine osmolality (Ethier JH et al., Am J Kidney Dis 1990). TTKG = (urine_k / potassium) / (urine_osm / plasma_osm), 1 decimal. Not valid when urine osmolality is not greater than plasma osmolality (water diuresis). Numeric TTKG only; not a potassium-disorder diagnosis or medical device.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "urine_k_mmol_l": 40,
              "potassium_mmol_l": 4,
              "urine_osm_mosm_kg": 600,
              "plasma_osm_mosm_kg": 300
            }
          },
          "output": {
            "type": "json",
            "example": {
              "ttkg": 5,
              "formula": "ethier",
              "citation": {
                "id": "ethier-1990",
                "doi": "10.1016/S0272-6386(12)80076-X",
                "pmid": "2321642",
                "title": "The transtubular potassium concentration in patients with hypokalemia and hyperkalemia",
                "source": "Am J Kidney Dis. 1990;15(4):309-315",
                "authors": "Ethier JH, Kamel KS, Magner PO, Lemann J Jr, Halperin ML"
              },
              "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.",
              "urine_k_mmol_l": 40,
              "potassium_mmol_l": 4,
              "urine_osm_mosm_kg": 600,
              "formula_expression": "ttkg = (urine_k_mmol_l / potassium_mmol_l) / (urine_osm_mosm_kg / plasma_osm_mosm_kg)",
              "plasma_osm_mosm_kg": 300
            }
          },
          "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": [
                    "potassium_mmol_l",
                    "urine_k_mmol_l",
                    "plasma_osm_mosm_kg",
                    "urine_osm_mosm_kg"
                  ],
                  "properties": {
                    "urine_k_mmol_l": {
                      "type": "number",
                      "description": "Urine potassium in mmol/L (1-200)."
                    },
                    "potassium_mmol_l": {
                      "type": "number",
                      "description": "Plasma potassium in mmol/L (1.5-8.0)."
                    },
                    "urine_osm_mosm_kg": {
                      "type": "number",
                      "description": "Urine osmolality in mOsm/kg (50-1400). Must be greater than plasma_osm_mosm_kg."
                    },
                    "plasma_osm_mosm_kg": {
                      "type": "number",
                      "description": "Plasma osmolality in mOsm/kg (240-400)."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/has_bled",
          "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/has_bled",
      "tags": [
        "has-bled",
        "bleeding",
        "afib",
        "calculator"
      ],
      "mimeType": "application/json",
      "description": "HAS-BLED score from discrete clinical flags. Use for bleeding-risk arithmetic in atrial fibrillation. Deterministic published score with citation.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "age": 78,
              "drugs": false,
              "stroke": false,
              "alcohol": false,
              "bleeding": false,
              "labile_inr": false,
              "hypertension": true,
              "abnormal_liver": false,
              "abnormal_renal": false
            }
          },
          "output": {
            "type": "json",
            "example": {
              "score": 2,
              "formula": "has_bled",
              "citation": {
                "id": "pisters-2010",
                "doi": "10.1378/chest.10-0134",
                "title": "A novel user-friendly score (HAS-BLED) to assess 1-year risk of major bleeding in patients with atrial fibrillation: the Euro Heart Survey",
                "source": "Chest. 2010;138(5):1093-1100",
                "authors": "Pisters R, Lane DA, Nieuwlaat R, de Vos CB, Crijns HJ, Lip GYH"
              },
              "age_years": 78,
              "max_score": 9,
              "components": [
                {
                  "factor": "hypertension",
                  "points": 1,
                  "present": true
                },
                {
                  "factor": "abnormal_renal",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "abnormal_liver",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "stroke",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "bleeding",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "labile_inr",
                  "points": 0,
                  "present": false
                },
                {
                  "value": 78,
                  "factor": "elderly_age_gt_65",
                  "points": 1,
                  "present": true
                },
                {
                  "factor": "drugs",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "alcohol",
                  "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.",
              "formula_expression": "HAS-BLED = hypertension + abnormal_renal + abnormal_liver + stroke + bleeding + labile_inr + elderly(age>65) + drugs + alcohol; max 9"
            }
          },
          "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": [
                    "age",
                    "hypertension",
                    "abnormal_renal",
                    "abnormal_liver",
                    "stroke",
                    "bleeding",
                    "labile_inr",
                    "drugs",
                    "alcohol"
                  ],
                  "properties": {
                    "age": {
                      "type": "integer",
                      "description": "Age in years (18-120). Age >65 scores 1 (E)."
                    },
                    "drugs": {
                      "type": "boolean",
                      "description": "Concomitant antiplatelet or NSAID (D). true or false."
                    },
                    "stroke": {
                      "type": "boolean",
                      "description": "Prior stroke (S). true or false."
                    },
                    "alcohol": {
                      "type": "boolean",
                      "description": "Alcohol excess (D). true or false. Drugs and alcohol each score 1."
                    },
                    "bleeding": {
                      "type": "boolean",
                      "description": "Bleeding history or predisposition (B). true or false."
                    },
                    "labile_inr": {
                      "type": "boolean",
                      "description": "Labile INR (L). true or false."
                    },
                    "hypertension": {
                      "type": "boolean",
                      "description": "Uncontrolled hypertension (H). true or false."
                    },
                    "abnormal_liver": {
                      "type": "boolean",
                      "description": "Abnormal liver function (A). true or false. Renal and liver each score 1."
                    },
                    "abnormal_renal": {
                      "type": "boolean",
                      "description": "Abnormal renal function (A). true or false."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  },
  {
    "error": "PAYMENT-SIGNATURE header is required",
    "accepts": [
      {
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2",
          "paymentFlow": "upfront",
          "resourceUrl": "https://api.magentlab.com/api/calc/orbit",
          "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/orbit",
      "tags": [
        "orbit",
        "bleeding",
        "afib",
        "score"
      ],
      "mimeType": "application/json",
      "description": "ORBIT 2015 (O'Brien) AF bleeding score: age >=75 scores 1; anemia caller flag 2; bleeding history 2; insufficient kidney (paper eGFR <60) caller flag 1; antiplatelet 1. Max 7. Score 0-2 low, 3 intermediate, >=4 high. Not a diagnosis. Not HAS-BLED. magent does not take hemoglobin or compute eGFR.",
      "serviceName": "magent"
    },
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "age": 70,
              "anemia": false,
              "antiplatelet": false,
              "bleeding_history": false,
              "insufficient_kidney": false
            }
          },
          "output": {
            "type": "json",
            "example": {
              "score": 0,
              "formula": "orbit",
              "citation": {
                "id": "obrien-2015",
                "doi": "10.1093/eurheartj/ehv182",
                "title": "The ORBIT bleeding score: a simple bedside score to assess bleeding risk in atrial fibrillation",
                "source": "Eur Heart J. 2015;36(46):3258-3264",
                "authors": "O'Brien EC, Simon DN, Thomas LE, et al."
              },
              "age_years": 70,
              "max_score": 7,
              "components": [
                {
                  "value": 70,
                  "factor": "age_ge_75",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "anemia",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "bleeding_history",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "insufficient_kidney",
                  "points": 0,
                  "present": false
                },
                {
                  "factor": "antiplatelet",
                  "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.",
              "orbit_risk": "low",
              "formula_expression": "ORBIT = age_ge_75 (1) + anemia (2) + bleeding_history (2) + insufficient_kidney (1) + antiplatelet (1); max 7; 0-2 low, 3 intermediate, >=4 high"
            }
          },
          "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": [
                    "age",
                    "anemia",
                    "bleeding_history",
                    "insufficient_kidney",
                    "antiplatelet"
                  ],
                  "properties": {
                    "age": {
                      "type": "integer",
                      "description": "Age in years (18-120). ≥75 scores 1 (75 scores; 74 does not)."
                    },
                    "anemia": {
                      "type": "boolean",
                      "description": "Anemia as assigned by the caller. true or false. Scores 2. magent does not take hemoglobin."
                    },
                    "antiplatelet": {
                      "type": "boolean",
                      "description": "Antiplatelet therapy as assigned by the caller. true or false. Scores 1."
                    },
                    "bleeding_history": {
                      "type": "boolean",
                      "description": "Bleeding history as assigned by the caller. true or false. Scores 2."
                    },
                    "insufficient_kidney": {
                      "type": "boolean",
                      "description": "Insufficient kidney function as assigned by the caller (paper eGFR <60). true or false. Scores 1. magent does not compute eGFR."
                    }
                  }
                }
              },
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "example": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "x402Version": 2
  }
]

OVER TIME

All charts use the 7d selector; each series spans only the dates it has data for. Every series is also served as JSON at /api/v1/services/magent/price, /scores, /volume and /buyers. On-chain volume and distinct buyers are measured over the service's settlement address and are a conservative undercount (only settlements that reach a measured facilitator are counted). The on-chain series roll up hourly, so the latest day can be up to about an hour behind; distinct buyers are counted per payout address, so a service that settles to more than one address is an upper bound.

UPTIME
08-25 · uptime 100.0% · 187ms avg08-26 · uptime 100.0% · 167ms avg08-2508-26
7d UPTIME 100%
RESPONSE TIME
08-25 · 187ms avg08-25 · 187ms avg08-26 · 167ms avg08-26 · 167ms avg08-2508-26
AVG RESP 176ms
PRICE (captured 402, USD)
08-25 · $0.00508-26 · $0.005$0.00508-2508-26

Median across 50 endpoints. Use the selector to isolate one.

SUB-SCORES (uptime + x402 compliance)
08-25 uptime: 100.0% compliance: 100% checks08-26 uptime: 100.0% compliance: 100% checksuptimecompliance08-2508-26

checklist grew 11->14 on 2026-07-28; a step here is a metric change, not a regression

PILLARS OVER TIME (measured)

Measured site and economics pillars from the assessment history, so the latest value shown elsewhere on this page reads as a point on a trend rather than a permanent state.

VOLUME (on-chain settlement, USD)
This service settles on a network x402-list does not measure yet, so on-chain volume is not counted here. Shown as unmeasured, not zero.
DISTINCT BUYERS
This service settles on a network x402-list does not measure yet, so distinct on-chain buyers are not counted here. Shown as unmeasured, not zero.

COMPLIANCE

14/14 checks pass · grade A

last 402 captured 2026-08-25 · last up 2026-08-26

  • 402 payload captured
  • accepts[] array present
  • payTo address recoverable
  • payTo at accepts[0].payTo (conformant shape)
  • payTo is a valid on-chain address
  • atomic price declared
  • atomic price in a sane range
  • asset (token) address declared
  • network resolves to CAIP-2
  • payment scheme declared
  • served over HTTPS
  • declares the current x402 version (2)
  • EIP-712 domain parameters present on every EVM entry
  • x402 v2 envelope delivered in the payment-required header

SITE PILLARS

  • homepage reachable
  • openapi doc
  • pricing page
  • llms.txt
  • robots.txt
  • terms page
recent checks (18) live · click to expand
TIME STATUS RESP CAUSE
● OK 145ms
● OK 161ms
● OK 165ms
● OK 220ms
● OK 183ms
● OK 224ms
● OK 164ms
● OK 220ms
● SLOW 312ms
● OK 201ms
● SLOW 268ms
● OK 254ms
● OK 171ms
● OK 227ms
● OK 192ms
● OK 201ms
● OK 218ms
● OK 148ms

EMBED THIS BADGE

Show that magent is monitored on x402-list. Paste this on your site or README, it links back to this live listing.

magent listed on x402-list
status
magent uptime on x402-list
live uptime
// HTML
<a href="https://x402-list.com/services/magent?utm_source=badge&utm_medium=referral&utm_campaign=embed">
  <img src="https://x402-list.com/badge/magent.svg" alt="magent listed on x402-list" height="28">
</a>
// Markdown
[![magent on x402-list](https://x402-list.com/badge/magent.svg)](https://x402-list.com/services/magent?utm_source=badge&utm_medium=referral&utm_campaign=embed)
// HTML · live uptime variant
<a href="https://x402-list.com/services/magent?utm_source=badge&utm_medium=referral&utm_campaign=embed">
  <img src="https://x402-list.com/badge/magent.svg?data=uptime" alt="magent uptime on x402-list" height="28">
</a>

RUN THIS SERVICE?

Keep this listing accurate: propose changes to the name, description, website, category or add new endpoints to monitor. Ownership is verified with a domain proof and every change is reviewed manually; measured data stays read-only.

[ update this listing ]

Earn the verified tier: x402list pays a real call to this endpoint and, if it delivers, the service is delivery-verified. The fee covers the cost of the probe, not the badge; there is no refund if the call does not deliver. Agent and API only, no in-browser signing. See /api.

[ verify this service ($0.25) ]

To request delisting, email info@x402-list.com or update your listing at /services/magent/update.