{"api":"v1","generated_at":"2026-10-02T14:56:00.486Z","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-lille-115a67","pinned_page":"https://tollindex.com/e/api-magentlab-com-api-calc-lille-115a67/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-lille-115a67","canonical_url":"https://api.magentlab.com/api/calc/lille","resource":"https://api.magentlab.com/api/calc/lille","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"Lille model (Louvet 2007) from age, albumin, bilirubin at day 0 and day 7, creatinine, and PT seconds or INR. formula=pt or formula=inr is required; magent does not swap them. Score 0-1 with the published 0.45 cutoff. Deterministic published arithmetic with citation; not a medical device or a steroid order.","service_name":"magent","declared_category":null,"declared_tags":["lille","liver","alcoholic-hepatitis","calculator"],"route_template":null,"registry_updated":"2026-09-28T14:04:20.316Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"calc lille","category":"market-data","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:04:20.185Z"},"validation":{"latest":{"observed_at":"2026-10-02T13:16:06.419Z","state":"pass","failed_checks":[],"endpoint_http_status":402,"run_id":"daily-2026-10-02"},"uptime":[{"days":7,"observed":6,"passed":6,"ratio":1},{"days":30,"observed":6,"passed":6,"ratio":1},{"days":90,"observed":6,"passed":6,"ratio":1}],"history_90d":[{"observed_at":"2026-10-02T13:16:06.419Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-02","state_changed":false},{"observed_at":"2026-10-01T06:31:17.562Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-01","state_changed":false},{"observed_at":"2026-09-30T05:48:47.791Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-30","state_changed":false},{"observed_at":"2026-09-29T18:09:43.237Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-29","state_changed":false},{"observed_at":"2026-09-28T16:52:36.740Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-28","state_changed":false},{"observed_at":"2026-09-28T14:20:55.126Z","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":["lille","liver","alcoholic-hepatitis","calculator"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/lille","assetTransferMethod":"eip3009"},"payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","amount":"5000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":600}],"quality":{"lastCalledAt":"2026-09-28T14:04:20.185Z","l30DaysTotalCalls":1,"l30DaysUniquePayers":1},"resource":"https://api.magentlab.com/api/calc/lille","extensions":{"bazaar":{"info":{"input":{"body":{"items":[{"age":50,"inr":2,"pt_sec":18,"formula":"pt","albumin_g_l":35,"albumin_g_dl":3.5,"creatinine_mg_dl":1,"creatinine_umol_l":88,"bilirubin_day0_mg_dl":11.7,"bilirubin_day7_mg_dl":8.8,"bilirubin_day0_umol_l":200,"bilirubin_day7_umol_l":150},{"age":50,"inr":2,"pt_sec":18,"formula":"pt","albumin_g_l":35,"albumin_g_dl":3.5,"creatinine_mg_dl":1,"creatinine_umol_l":88,"bilirubin_day0_mg_dl":11.7,"bilirubin_day7_mg_dl":8.8,"bilirubin_day0_umol_l":200,"bilirubin_day7_umol_l":150}]},"type":"http","method":"POST"},"output":{"type":"json","example":{"path":"/api/calc/lille","count":2,"items":[{"r":2.6372,"pt_sec":18,"formula":"pt","citation":{"id":"louvet-2007","doi":"10.1002/hep.21607","pmid":"17518367","title":"The Lille model: a new tool for therapeutic strategy in patients with severe alcoholic hepatitis treated with steroids","source":"Hepatology. 2007;45(6):1348-1354","authors":"Louvet A, Naveau S, Abdelnour M, et al."},"response":"responder","age_years":50,"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_l":35,"lille_score":0.0668,"creatinine_mg_dl":1,"formula_expression":"R = 3.19 - 0.101*age + 0.147*albumin_g_l + 0.0165*evolution_bilirubin_umol_l - 0.206*renal_insufficiency - 0.0065*bilirubin_day0_umol_l - 0.0096*pt_sec; lille_score = exp(-R)/(1+exp(-R))","renal_insufficiency":false,"bilirubin_day0_umol_l":200,"bilirubin_day7_umol_l":150,"evolution_bilirubin_umol_l":50},{"r":2.6372,"pt_sec":18,"formula":"pt","citation":{"id":"louvet-2007","doi":"10.1002/hep.21607","pmid":"17518367","title":"The Lille model: a new tool for therapeutic strategy in patients with severe alcoholic hepatitis treated with steroids","source":"Hepatology. 2007;45(6):1348-1354","authors":"Louvet A, Naveau S, Abdelnour M, et al."},"response":"responder","age_years":50,"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_l":35,"lille_score":0.0668,"creatinine_mg_dl":1,"formula_expression":"R = 3.19 - 0.101*age + 0.147*albumin_g_l + 0.0165*evolution_bilirubin_umol_l - 0.206*renal_insufficiency - 0.0065*bilirubin_day0_umol_l - 0.0096*pt_sec; lille_score = exp(-R)/(1+exp(-R))","renal_insufficiency":false,"bilirubin_day0_umol_l":200,"bilirubin_day7_umol_l":150,"evolution_bilirubin_umol_l":50}]}},"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":["formula","age"],"properties":{"age":{"type":"integer","description":"Age in years (18-120)."},"inr":{"type":"number","description":"INR (0.8-10). Required when formula=inr. Ignored when formula=pt."},"pt_sec":{"type":"number","description":"Prothrombin time in seconds (8-120). Required when formula=pt. Ignored when formula=inr."},"formula":{"enum":["pt","inr"],"type":"string","description":"pt (prothrombin time in seconds) or inr. Required; magent does not swap PT and INR."},"albumin_g_l":{"type":"number","description":"Day-0 albumin in g/L (10-60). Provide this or albumin_g_dl, not both. Louvet 2007 uses g/L."},"albumin_g_dl":{"type":"number","description":"Day-0 albumin in g/dL (1-6). Converted as g/L = g/dL × 10."},"creatinine_mg_dl":{"type":"number","description":"Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l. Renal insufficiency is 1 when > 1.3 mg/dL if this unit is used (Louvet 2007)."},"creatinine_umol_l":{"type":"number","description":"Serum creatinine in µmol/L (9-1768). Provide this or creatinine_mg_dl. Renal insufficiency is 1 when > 115 µmol/L if this unit is used (Louvet 2007)."},"bilirubin_day0_mg_dl":{"type":"number","description":"Day-0 total bilirubin in mg/dL (0.1-40). Converted as µmol/L = mg/dL × 17.1."},"bilirubin_day7_mg_dl":{"type":"number","description":"Day-7 total bilirubin in mg/dL (0.1-40). Converted as µmol/L = mg/dL × 17.1."},"bilirubin_day0_umol_l":{"type":"number","description":"Day-0 total bilirubin in µmol/L (2-684). Provide this or bilirubin_day0_mg_dl."},"bilirubin_day7_umol_l":{"type":"number","description":"Day-7 total bilirubin in µmol/L (2-684). Provide this or bilirubin_day7_mg_dl."}}},"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":"Lille model (Louvet 2007) from age, albumin, bilirubin at day 0 and day 7, creatinine, and PT seconds or INR. formula=pt or formula=inr is required; magent does not swap them. Score 0-1 with the published 0.45 cutoff. Deterministic published arithmetic with citation; not a medical device or a steroid order.","lastUpdated":"2026-09-28T14:04:20.316Z","serviceName":"magent","x402Version":2}]}}