{"id":"896e6aba-5f68-4b02-89da-980a5931e610","url":"https://api.magentlab.com/api/calc/saag?albumin_g_dl=3.5&albumin_g_l=35&ascites_albumin_g_dl=2&ascites_albumin_g_l=20","method":"GET","fingerprint":"8ce579639b20ad78f7a9ef55c0a91ccc133af8ff8dc281285eff2693e14350c6","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":[],"properties":{"albumin_g_l":{"type":"number","description":"Serum 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":"Serum albumin in g/dL (1-6). Provide this or albumin_g_l, not both."},"ascites_albumin_g_l":{"type":"number","description":"Ascites albumin in g/L (1-60). Converted as g/dL = g/L / 10. Provide this or ascites_albumin_g_dl, not both."},"ascites_albumin_g_dl":{"type":"number","description":"Ascites albumin in g/dL (0.1-6). Provide this or ascites_albumin_g_l, not both. May be lower than serum albumin."}}}},"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:49.808895+00","last_seen_at":"2026-08-23 14:04:48.691+00","last_success_at":"2026-09-05 10:54:36.496+00","dead_since":null,"probe_backoff_tier":3,"next_probe_at":"2026-09-15 11:04:31.66+00","search_tsv":"'magent':1","catalog_number":"4321","x402_version":2,"resource_url":"https://api.magentlab.com/api/calc/saag","resource_description":"Runyon 1992 SAAG as serum albumin minus ascites albumin in g/dL, rounded to one decimal. portal_hypertension_physiology is true when SAAG >= 1.1 g/dL. Gradient only; not Light-style exudate/transudate criteria for ascites. Not a diagnosis. magent does not diagnose portal hypertension or peritonitis. Serum and ascites albumin as g/dL or g/L.","bazaar_extension":{"info":{"input":{"type":"http","method":"GET","queryParams":{"albumin_g_l":35,"albumin_g_dl":3.5,"ascites_albumin_g_l":20,"ascites_albumin_g_dl":2}},"output":{"type":"json","example":{"formula":"saag","citation":{"id":"runyon-1992","doi":"10.7326/0003-4819-117-3-215","title":"The serum-ascites albumin gradient is superior to the exudate-transudate concept in the differential diagnosis of ascites","source":"Ann Intern Med. 1992;117(3):215-220","authors":"Runyon BA, Montano AA, Akriviadis EA, Antillon MR, Irving MA, McHutchison JG"},"saag_g_dl":1.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.","albumin_g_dl":3.5,"formula_expression":"saag_g_dl = albumin_g_dl - ascites_albumin_g_dl","ascites_albumin_g_dl":2,"portal_hypertension_physiology":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":[],"properties":{"albumin_g_l":{"type":"number","description":"Serum 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":"Serum albumin in g/dL (1-6). Provide this or albumin_g_l, not both."},"ascites_albumin_g_l":{"type":"number","description":"Ascites albumin in g/L (1-60). Converted as g/dL = g/L / 10. Provide this or ascites_albumin_g_dl, not both."},"ascites_albumin_g_dl":{"type":"number","description":"Ascites albumin in g/dL (0.1-6). Provide this or ascites_albumin_g_l, not both. May be lower than serum albumin."}}}},"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/saag?albumin_g_dl=3.5&albumin_g_l=35&ascites_albumin_g_dl=2&ascites_albumin_g_l=20","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 11:04:31.66+00","bazaar_validation_error":"timeout","window":"24h","probes_n":1,"handshake_uptime":0,"settle_success_rate":0,"valid_result_rate":null,"latency_p50":10004,"latency_p90":10004,"price_drift_pct":null,"score":0.0005,"computed_at":"2026-09-14 11:05:14.481+00","source_metadata":[{"raw":{"url":"https://api.magentlab.com/api/calc/saag?albumin_g_dl=3.5&albumin_g_l=35&ascites_albumin_g_dl=2&ascites_albumin_g_l=20","name":"magent","method":"GET","source":"bazaar:api.cdp.coinbase.com","fingerprint":"8ce579639b20ad78f7a9ef55c0a91ccc133af8ff8dc281285eff2693e14350c6","advertisedPriceUsd":0.005},"source_id":1,"external_id":null}],"live_endpoint_metadata":{"x402_version":2,"resource_url":"https://api.magentlab.com/api/calc/saag","resource_description":"Runyon 1992 SAAG as serum albumin minus ascites albumin in g/dL, rounded to one decimal. portal_hypertension_physiology is true when SAAG >= 1.1 g/dL. Gradient only; not Light-style exudate/transudate criteria for ascites. Not a diagnosis. magent does not diagnose portal hypertension or peritonitis. Serum and ascites albumin as g/dL or g/L.","bazaar_extension":{"info":{"input":{"type":"http","method":"GET","queryParams":{"albumin_g_l":35,"albumin_g_dl":3.5,"ascites_albumin_g_l":20,"ascites_albumin_g_dl":2}},"output":{"type":"json","example":{"formula":"saag","citation":{"id":"runyon-1992","doi":"10.7326/0003-4819-117-3-215","title":"The serum-ascites albumin gradient is superior to the exudate-transudate concept in the differential diagnosis of ascites","source":"Ann Intern Med. 1992;117(3):215-220","authors":"Runyon BA, Montano AA, Akriviadis EA, Antillon MR, Irving MA, McHutchison JG"},"saag_g_dl":1.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.","albumin_g_dl":3.5,"formula_expression":"saag_g_dl = albumin_g_dl - ascites_albumin_g_dl","ascites_albumin_g_dl":2,"portal_hypertension_physiology":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":[],"properties":{"albumin_g_l":{"type":"number","description":"Serum 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":"Serum albumin in g/dL (1-6). Provide this or albumin_g_l, not both."},"ascites_albumin_g_l":{"type":"number","description":"Ascites albumin in g/L (1-60). Converted as g/dL = g/L / 10. Provide this or ascites_albumin_g_dl, not both."},"ascites_albumin_g_dl":{"type":"number","description":"Ascites albumin in g/dL (0.1-6). Provide this or ascites_albumin_g_l, not both. May be lower than serum albumin."}}}},"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/saag?albumin_g_dl=3.5&albumin_g_l=35&ascites_albumin_g_dl=2&ascites_albumin_g_l=20","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 11:04:31.66+00","bazaar_validation_error":"timeout"},"sonar_metrics":{"score":0.0005,"uptime":0,"paid_success_rate":0,"valid_result_rate":null,"latency_p50":10004,"latency_p90":10004,"price_drift_pct":null},"cdp_indexed":false,"confidence":"low"}