Berend 2014 physiological acid-base assessment
Berend 2014 physiological acid-base assessment. Labels acidemia or alkalemia, primary metabolic vs respiratory process, anion gap (Na-Cl-HCO3), optional albumin-corrected gap, and printed delta-delta. Not a diagnosis, ventilator order, bicarbonate dose, or blood-gas assay.
Asked 1.4x its listed price for its own exampleour last check, 2026-09-28
1 of 1checks answered this week
296 msmedian answer time
$0.005listed price per call
$0.007price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.magentlab.com/api/calc/abg
| Category | Everything else |
|---|---|
| Provider host | api.magentlab.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 0 from 0 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-28 | valid payment request | 402 | $0.007 | 296 ms |
Example input (from the provider)
{
"body": {
"items": [
{
"albumin_g_dl": 4,
"bicarbonate_mmol_l": 18,
"chloride_mmol_l": 115,
"lactate_mmol_l": 2,
"paco2_mm_hg": 39,
"ph": 7.28,
"sodium_mmol_l": 135
},
{
"albumin_g_dl": 4,
"bicarbonate_mmol_l": 18,
"chloride_mmol_l": 115,
"lactate_mmol_l": 2,
"paco2_mm_hg": 39,
"ph": 7.28,
"sodium_mmol_l": 135
}
]
},
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"items": {
"items": {
"properties": {
"albumin_g_dl": {
"description": "Serum albumin in g/dL (1-6). When supplied and below 4.0 g/dL, anion gap is increased by 2.5 mmol/L per 1 g/dL decrease (Figure 1). Omitted skips the correction.",
"type": "number"
},
"bicarbonate_mmol_l": {
"description": "Plasma bicarbonate in mmol/L (2-55). Metabolic acidosis if pH<7.38 and HCO3<22; metabolic alkalosis if pH>7.42 and HCO3>26.",
"type": "number"
},
"chloride_mmol_l": {
"description": "Serum chloride in mmol/L (70-130). Used for anion gap Na-Cl-HCO3.",
"type": "number"
},
"lactate_mmol_l": {
"description": "Serum lactate in mmol/L (0-30) when supplied. Echoed only; magent does not pick keto vs lactic delta-delta from lactate. Both printed equations are returned when the anion gap is high.",
"type": "number"
},
"paco2_mm_hg": {
"description": "Arterial PaCO2 in mm Hg (8-120). Respiratory acidosis if pH<7.38 and PaCO2>42; respiratory alkalosis if pH>7.42 and PaCO2<38.",
"type": "number"
},
"ph": {
"description": "Arterial pH (6.80-7.80). Acidemia if pH<7.38; alkalemia if pH>7.42 (Berend 2014 Table 1).",
"type": "number"
},
"sodium_mmol_l": {
"description": "Serum sodium in mmol/L (110-160). Used for anion gap Na-Cl-HCO3.",
"type": "number"
}
},
"required": [
"ph",
"paco2_mm_hg",
"bicarbonate_mmol_l",
"sodium_mmol_l",
"chloride_mmol_l"
],
"type": "object"
},
"maxItems": 25,
"minItems": 1,
"type": "array"
}
},
"required": [
"items"
],
"type": "object"
},
"headers": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"method": {
"const": "POST",
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}