{"slug":"api-magentlab-com-api-calc-aa-gradient-738e4b","title":"Alveolar–arterial oxygen gradient from FiO2, barometric pressure, PaCO2, PaO2, a","host":"api.magentlab.com","method":"POST","resource":"https://api.magentlab.com/api/calc/aa_gradient","category":"other","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.","price_listed":0.005,"price_asked":0.007,"state":"overcharges","state_label":"Asked 1.4x its listed price for its own example","checks_7d":1,"answered_7d":1,"latency_ms_median":263,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"items":[{"fio2":0.21,"paco2_mm_hg":40,"pao2_mm_hg":95,"pb_mm_hg":760,"rq":0.8},{"fio2":0.21,"paco2_mm_hg":40,"pao2_mm_hg":95,"pb_mm_hg":760,"rq":0.8}]},"method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"items":{"items":{"properties":{"fio2":{"description":"Inspired oxygen as a fraction (0.21-1.0), not a percent. Omitted uses 0.21 (room air).","type":"number"},"paco2_mm_hg":{"description":"Arterial PCO2 in mm Hg (8-80).","type":"number"},"pao2_mm_hg":{"description":"Arterial PO2 in mm Hg (20-700).","type":"number"},"pb_mm_hg":{"description":"Barometric pressure in mm Hg (500-800). Omitted uses 760.","type":"number"},"rq":{"description":"Respiratory exchange ratio R (0.7-1.0). Omitted uses 0.8.","type":"number"}},"required":["paco2_mm_hg","pao2_mm_hg"],"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"},"history":[{"day":"2026-09-28","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.007,"price_match":false,"latency_ms":263,"error":null}],"description_full":"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.","last_updated":"2026-09-28T13:45:50.08Z","schemes":["exact"]}