{"api":"v1","generated_at":"2026-10-02T17:55:39.383Z","licence":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/","attribution":"TOLL, with a link to the page cited"},"page":"https://tollindex.com/e/api-magentlab-com-api-calc-glasgow-blatchford-b3780b","pinned_page":"https://tollindex.com/e/api-magentlab-com-api-calc-glasgow-blatchford-b3780b/at/2026-10-02T12-31Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-10-02T12:31:46.748Z","snapshot_stamp":"2026-10-02T12-31Z","endpoint":{"slug":"api-magentlab-com-api-calc-glasgow-blatchford-b3780b","canonical_url":"https://api.magentlab.com/api/calc/glasgow_blatchford","resource":"https://api.magentlab.com/api/calc/glasgow_blatchford","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"Glasgow-Blatchford score (Blatchford 2000) for need for treatment after upper-gastrointestinal haemorrhage. Points from urea, haemoglobin (sex-specific), systolic BP, heart rate ≥100, melena, syncope, hepatic disease, and cardiac failure; max 23. Score 0 is the published low-risk screen; magent does not invent other GBS bands. Not a diagnosis, not Rockall, and not AIMS65. Urea may be mmol/L or BUN mg/dL; haemoglobin g/L or g/dL.","service_name":"magent","declared_category":null,"declared_tags":["glasgow-blatchford","gbs","ugib","gi","calculator"],"route_template":null,"registry_updated":"2026-09-28T14:06:35.777Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"calc glasgow blatchford","category":"other","first_observed_by_toll":"2026-09-28T13:51:25.436Z","last_observed_by_toll":"2026-10-02T12:31:46.748Z","observation_began":"2026-09-10"},"presence":{"listed_now":true,"first_absent_at":null,"delisting_confirmed_at":null,"events":[{"registry":"cdp","at":"2026-09-28T13:51:25.437Z","event":"listed"}]},"accepts":[{"registry":"cdp","ordinal":0,"network":"eip155:8453","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","asset_name":"USD Coin","symbol":"USDC","decimals":6,"amount_display":"0.005 USDC","amount_units":0.005,"decimals_known":true,"pay_to":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"counters":{"observed_at":"2026-10-02T12:31:46.748Z","calls_30d":1,"unique_payers_30d":1,"last_called_at":"2026-09-28T14:06:35.646Z"},"validation":{"latest":{"observed_at":"2026-10-02T16:16:54.102Z","state":"pass","failed_checks":[],"endpoint_http_status":402,"run_id":"daily-2026-10-02"},"uptime":[{"days":7,"observed":5,"passed":5,"ratio":1},{"days":30,"observed":5,"passed":5,"ratio":1},{"days":90,"observed":5,"passed":5,"ratio":1}],"history_90d":[{"observed_at":"2026-10-02T16:16:54.102Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-02","state_changed":false},{"observed_at":"2026-10-01T09:02:20.985Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-01","state_changed":false},{"observed_at":"2026-09-30T08:28:03.096Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-30","state_changed":false},{"observed_at":"2026-09-29T20:36:20.556Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-29","state_changed":false},{"observed_at":"2026-09-28T16:47:17.391Z","state":"pass","failed_checks":[],"run_id":"new-after-daily-2026-09-28","state_changed":true}]},"seller":{"wallet":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","page":"https://tollindex.com/seller/0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","endpoints":844,"hosts":1},"reports":0,"registry_record":{"cdp":[{"tags":["glasgow-blatchford","gbs","ugib","gi","calculator"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/glasgow_blatchford","assetTransferMethod":"eip3009"},"payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","amount":"5000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":600}],"quality":{"lastCalledAt":"2026-09-28T14:06:35.646Z","l30DaysTotalCalls":1,"l30DaysUniquePayers":1},"resource":"https://api.magentlab.com/api/calc/glasgow_blatchford","extensions":{"bazaar":{"info":{"input":{"body":{"items":[{"sex":"male","melena":false,"syncope":false,"bun_mg_dl":14,"urea_mmol_l":5,"heart_rate_bpm":80,"hemoglobin_g_l":140,"systolic_mm_hg":120,"cardiac_failure":false,"hemoglobin_g_dl":14,"hepatic_disease":false},{"sex":"male","melena":false,"syncope":false,"bun_mg_dl":14,"urea_mmol_l":5,"heart_rate_bpm":80,"hemoglobin_g_l":140,"systolic_mm_hg":120,"cardiac_failure":false,"hemoglobin_g_dl":14,"hepatic_disease":false}]},"type":"http","method":"POST"},"output":{"type":"json","example":{"path":"/api/calc/glasgow_blatchford","count":2,"items":[{"sex":"male","score":0,"formula":"glasgow_blatchford","citation":{"id":"blatchford-2000","doi":"10.1016/S0140-6736(00)02816-6","title":"A risk score to predict need for treatment for upper-gastrointestinal haemorrhage","source":"Lancet. 2000;356(9238):1318-1321","authors":"Blatchford O, Murray WR, Blatchford M"},"gbs_risk":"low","max_score":23,"components":[{"value":5,"factor":"urea","points":0,"present":false},{"value":140,"factor":"hemoglobin","points":0,"present":false},{"value":120,"factor":"systolic","points":0,"present":false},{"value":80,"factor":"heart_rate","points":0,"present":false},{"factor":"melena","points":0,"present":false},{"factor":"syncope","points":0,"present":false},{"factor":"hepatic_disease","points":0,"present":false},{"factor":"cardiac_failure","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.","urea_mmol_l":5,"heart_rate_bpm":80,"hemoglobin_g_l":140,"systolic_mm_hg":120,"formula_expression":"GBS = urea_mmol_l table + haemoglobin_g_l table (sex-specific) + systolic_mm_hg table + (heart_rate_bpm >= 100) + melena + 2*syncope + 2*hepatic_disease + 2*cardiac_failure; max 23; score 0 low, else not_low"},{"sex":"male","score":0,"formula":"glasgow_blatchford","citation":{"id":"blatchford-2000","doi":"10.1016/S0140-6736(00)02816-6","title":"A risk score to predict need for treatment for upper-gastrointestinal haemorrhage","source":"Lancet. 2000;356(9238):1318-1321","authors":"Blatchford O, Murray WR, Blatchford M"},"gbs_risk":"low","max_score":23,"components":[{"value":5,"factor":"urea","points":0,"present":false},{"value":140,"factor":"hemoglobin","points":0,"present":false},{"value":120,"factor":"systolic","points":0,"present":false},{"value":80,"factor":"heart_rate","points":0,"present":false},{"factor":"melena","points":0,"present":false},{"factor":"syncope","points":0,"present":false},{"factor":"hepatic_disease","points":0,"present":false},{"factor":"cardiac_failure","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.","urea_mmol_l":5,"heart_rate_bpm":80,"hemoglobin_g_l":140,"systolic_mm_hg":120,"formula_expression":"GBS = urea_mmol_l table + haemoglobin_g_l table (sex-specific) + systolic_mm_hg table + (heart_rate_bpm >= 100) + melena + 2*syncope + 2*hepatic_disease + 2*cardiac_failure; max 23; score 0 low, else not_low"}]}},"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":{"body":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"type":"object","required":["sex","systolic_mm_hg","heart_rate_bpm","melena","syncope","hepatic_disease","cardiac_failure"],"properties":{"sex":{"type":"string","description":"Sex (female or male). Haemoglobin points use the Blatchford 2000 sex-specific table."},"melena":{"type":"boolean","description":"Melena as assigned by the caller. true or false. 1 point if true."},"syncope":{"type":"boolean","description":"Syncope as assigned by the caller. true or false. 2 points if true."},"bun_mg_dl":{"type":"number","description":"BUN in mg/dL (3-140). Converted as urea_mmol_l = bun_mg_dl / 2.8. Provide this or urea_mmol_l, not both."},"urea_mmol_l":{"type":"number","description":"Blood urea in mmol/L (1-50). Provide this or bun_mg_dl, not both. <6.5 scores 0; 6.5–7.9 scores 2; 8.0–9.9 scores 3; 10.0–24.9 scores 4; ≥25.0 scores 6."},"heart_rate_bpm":{"type":"integer","description":"Heart rate in beats per minute (integer 30-220). Scores 1 when ≥100; 99 does not score."},"hemoglobin_g_l":{"type":"number","description":"Haemoglobin in g/L (30-220). Provide this or hemoglobin_g_dl, not both. Men: <100 → 6; 100–119 → 3; 120–129 → 1; ≥130 → 0. Women: <100 → 6; 100–119 → 1; ≥120 → 0."},"systolic_mm_hg":{"type":"number","description":"Systolic blood pressure in mm Hg (50-250). <90 scores 3; 90–99 scores 2; 100–109 scores 1; ≥110 scores 0."},"cardiac_failure":{"type":"boolean","description":"Cardiac failure as assigned by the caller. true or false. 2 points if true."},"hemoglobin_g_dl":{"type":"number","description":"Haemoglobin in g/dL (3-22). Converted as hemoglobin_g_l = hemoglobin_g_dl × 10. Provide this or hemoglobin_g_l, not both."},"hepatic_disease":{"type":"boolean","description":"Hepatic disease as assigned by the caller. true or false. 2 points if true."}}},"maxItems":25,"minItems":1}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"type":"string","const":"POST"},"headers":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}}}},"description":"Glasgow-Blatchford score (Blatchford 2000) for need for treatment after upper-gastrointestinal haemorrhage. Points from urea, haemoglobin (sex-specific), systolic BP, heart rate ≥100, melena, syncope, hepatic disease, and cardiac failure; max 23. Score 0 is the published low-risk screen; magent does not invent other GBS bands. Not a diagnosis, not Rockall, and not AIMS65. Urea may be mmol/L or BUN mg/dL; haemoglobin g/L or g/dL.","lastUpdated":"2026-09-28T14:06:35.777Z","serviceName":"magent","x402Version":2}]}}