{"id":"17fe8063-620f-4424-83cb-3c5ebe43f87c","url":"https://api.magentlab.com/api/calc/anion_gap?bicarbonate_mmol_l=24&chloride_mmol_l=104&formula=without_k&potassium_mmol_l=4&sodium_mmol_l=140","method":"GET","fingerprint":"74d6755909aec2ccbf9e80a74b8cdb2c2364009e16d324624de3b29601d3579f","name":"magent","description":null,"category":"other","docs_url":null,"advertised_price_usd":"0.005000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","scheme":"exact","networks":["eip155:8453"],"pay_to":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","input_schema":{"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","chloride_mmol_l","bicarbonate_mmol_l","formula"],"properties":{"formula":{"enum":["without_k","with_k"],"type":"string","description":"without_k (Na - Cl - HCO3) or with_k (Na + K - Cl - HCO3). Required; magent does not pick one silently."},"sodium_mmol_l":{"type":"number","description":"Serum sodium in mmol/L (110-160)."},"chloride_mmol_l":{"type":"number","description":"Serum chloride in mmol/L (70-130)."},"potassium_mmol_l":{"type":"number","description":"Serum potassium in mmol/L (1.5-8.0). Required when formula=with_k. Ignored when formula=without_k."},"bicarbonate_mmol_l":{"type":"number","description":"Serum bicarbonate in mmol/L (2-45)."}}}},"additionalProperties":false},"output_schema":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}},"schema_completeness":0,"status":"degraded","first_seen_at":"2026-08-23 14:04:22.664393+00","last_seen_at":"2026-08-23 14:04:22.039+00","last_success_at":"2026-09-05 10:54:27.668+00","dead_since":null,"probe_backoff_tier":3,"next_probe_at":"2026-09-15 10:59:20.554+00","search_tsv":"'magent':1","catalog_number":"4458","x402_version":2,"resource_url":"https://api.magentlab.com/api/calc/anion_gap","resource_description":"Serum anion gap from sodium, chloride, and bicarbonate, with or without potassium. formula=without_k or formula=with_k is required; magent does not pick one. Deterministic Emmett–Narins 1977 arithmetic with citation. Not a diagnosis, albumin-corrected gap (Figge/Fencl), or delta gap.","bazaar_extension":{"info":{"input":{"type":"http","method":"GET","queryParams":{"formula":"without_k","sodium_mmol_l":140,"chloride_mmol_l":104,"potassium_mmol_l":4,"bicarbonate_mmol_l":24}},"output":{"type":"json","example":{"formula":"without_k","citation":{"id":"emmett-narins-1977","doi":"10.1097/00005792-197701000-00002","title":"Clinical use of the anion gap","source":"Medicine (Baltimore). 1977;56(1):38-54","authors":"Emmett M, Narins RG"},"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":140,"chloride_mmol_l":104,"anion_gap_mmol_l":12,"bicarbonate_mmol_l":24,"formula_expression":"anion_gap_mmol_l = sodium_mmol_l - chloride_mmol_l - bicarbonate_mmol_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":["sodium_mmol_l","chloride_mmol_l","bicarbonate_mmol_l","formula"],"properties":{"formula":{"enum":["without_k","with_k"],"type":"string","description":"without_k (Na - Cl - HCO3) or with_k (Na + K - Cl - HCO3). Required; magent does not pick one silently."},"sodium_mmol_l":{"type":"number","description":"Serum sodium in mmol/L (110-160)."},"chloride_mmol_l":{"type":"number","description":"Serum chloride in mmol/L (70-130)."},"potassium_mmol_l":{"type":"number","description":"Serum potassium in mmol/L (1.5-8.0). Required when formula=with_k. Ignored when formula=without_k."},"bicarbonate_mmol_l":{"type":"number","description":"Serum bicarbonate in mmol/L (2-45)."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}}},"accepted_requirements":[{"raw":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/anion_gap?bicarbonate_mmol_l=24&chloride_mmol_l=104&formula=without_k&potassium_mmol_l=4&sodium_mmol_l=140","assetTransferMethod":"eip3009"},"payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","amount":"5000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":600},"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact","network":"eip155:8453","amountAtomic":"5000"},{"raw":{"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},"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"batch-settlement","network":"eip155:8453","amountAtomic":"5000"}],"bazaar_compatible":false,"bazaar_validated_at":"2026-09-14 10:59:20.554+00","bazaar_validation_error":"timeout","window":"24h","probes_n":1,"handshake_uptime":0,"settle_success_rate":0,"valid_result_rate":null,"latency_p50":10008,"latency_p90":10008,"price_drift_pct":null,"score":0,"computed_at":"2026-09-14 10:59:45.536+00","source_metadata":[{"raw":{"url":"https://api.magentlab.com/api/calc/anion_gap?bicarbonate_mmol_l=24&chloride_mmol_l=104&formula=without_k&potassium_mmol_l=4&sodium_mmol_l=140","name":"magent","method":"GET","source":"bazaar:api.cdp.coinbase.com","fingerprint":"74d6755909aec2ccbf9e80a74b8cdb2c2364009e16d324624de3b29601d3579f","advertisedPriceUsd":0.005},"source_id":1,"external_id":null}],"live_endpoint_metadata":{"x402_version":2,"resource_url":"https://api.magentlab.com/api/calc/anion_gap","resource_description":"Serum anion gap from sodium, chloride, and bicarbonate, with or without potassium. formula=without_k or formula=with_k is required; magent does not pick one. Deterministic Emmett–Narins 1977 arithmetic with citation. Not a diagnosis, albumin-corrected gap (Figge/Fencl), or delta gap.","bazaar_extension":{"info":{"input":{"type":"http","method":"GET","queryParams":{"formula":"without_k","sodium_mmol_l":140,"chloride_mmol_l":104,"potassium_mmol_l":4,"bicarbonate_mmol_l":24}},"output":{"type":"json","example":{"formula":"without_k","citation":{"id":"emmett-narins-1977","doi":"10.1097/00005792-197701000-00002","title":"Clinical use of the anion gap","source":"Medicine (Baltimore). 1977;56(1):38-54","authors":"Emmett M, Narins RG"},"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":140,"chloride_mmol_l":104,"anion_gap_mmol_l":12,"bicarbonate_mmol_l":24,"formula_expression":"anion_gap_mmol_l = sodium_mmol_l - chloride_mmol_l - bicarbonate_mmol_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":["sodium_mmol_l","chloride_mmol_l","bicarbonate_mmol_l","formula"],"properties":{"formula":{"enum":["without_k","with_k"],"type":"string","description":"without_k (Na - Cl - HCO3) or with_k (Na + K - Cl - HCO3). Required; magent does not pick one silently."},"sodium_mmol_l":{"type":"number","description":"Serum sodium in mmol/L (110-160)."},"chloride_mmol_l":{"type":"number","description":"Serum chloride in mmol/L (70-130)."},"potassium_mmol_l":{"type":"number","description":"Serum potassium in mmol/L (1.5-8.0). Required when formula=with_k. Ignored when formula=without_k."},"bicarbonate_mmol_l":{"type":"number","description":"Serum bicarbonate in mmol/L (2-45)."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}}},"accepted_requirements":[{"raw":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/anion_gap?bicarbonate_mmol_l=24&chloride_mmol_l=104&formula=without_k&potassium_mmol_l=4&sodium_mmol_l=140","assetTransferMethod":"eip3009"},"payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","amount":"5000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":600},"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact","network":"eip155:8453","amountAtomic":"5000"},{"raw":{"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},"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"batch-settlement","network":"eip155:8453","amountAtomic":"5000"}],"bazaar_compatible":false,"bazaar_validated_at":"2026-09-14 10:59:20.554+00","bazaar_validation_error":"timeout"},"sonar_metrics":{"score":0,"uptime":0,"paid_success_rate":0,"valid_result_rate":null,"latency_p50":10008,"latency_p90":10008,"price_drift_pct":null},"cdp_indexed":false,"confidence":"low"}