{"api":"v1","generated_at":"2026-10-01T02:31:25.200Z","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-idf-dar-c32ef1","pinned_page":"https://tollindex.com/e/api-magentlab-com-api-calc-idf-dar-c32ef1/at/2026-09-30T22-14Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-09-30T22:14:11.940Z","snapshot_stamp":"2026-09-30T22-14Z","endpoint":{"slug":"api-magentlab-com-api-calc-idf-dar-c32ef1","canonical_url":"https://api.magentlab.com/api/calc/idf_dar","resource":"https://api.magentlab.com/api/calc/idf_dar","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"Hassanein 2021 IDF-DAR fasting risk table: type 1 scores 1; duration ≥10 scores 1; hypoglycemia 0/1/3.5/5.5/6.5; HbA1c band 0/1/2; treatment 0/0.5/1/1.5/2/2.5/3; SMBG 0/1/2; DKA/HONC 0/1/2/3; MVD 0/2/6.5; eGFR band 0/2/4/6.5; pregnancy 0/3.5/6.5; frailty 0/3.5/6.5; labour 0/2/4; prior negative Ramadan 1; fasting ≥16 h 1. Low 0–3, moderate 3.5–6, high >6. Caller-assigned; not a fasting order or insulin dose.","service_name":"magent","declared_category":null,"declared_tags":["idf-dar","ramadan","diabetes","fasting-risk","calculator"],"route_template":null,"registry_updated":"2026-09-28T14:17:35.585Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"calc idf dar","category":"other","first_observed_by_toll":"2026-09-28T13:51:25.436Z","last_observed_by_toll":"2026-09-30T22:14:11.940Z","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-09-30T22:14:11.940Z","calls_30d":2,"unique_payers_30d":1,"last_called_at":"2026-09-28T14:17:35.452Z"},"validation":{"latest":{"observed_at":"2026-09-30T08:45:06.717Z","state":"pass","failed_checks":[],"endpoint_http_status":402,"run_id":"daily-2026-09-30"},"uptime":[{"days":7,"observed":3,"passed":3,"ratio":1},{"days":30,"observed":3,"passed":3,"ratio":1},{"days":90,"observed":3,"passed":3,"ratio":1}],"history_90d":[{"observed_at":"2026-09-30T08:45:06.717Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-30","state_changed":false},{"observed_at":"2026-09-29T20:50:53.159Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-29","state_changed":false},{"observed_at":"2026-09-28T16:48:23.906Z","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":["idf-dar","ramadan","diabetes","fasting-risk","calculator"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/idf_dar","assetTransferMethod":"eip3009"},"payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","amount":"5000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":600}],"quality":{"lastCalledAt":"2026-09-28T14:17:35.452Z","l30DaysTotalCalls":2,"l30DaysUniquePayers":1},"resource":"https://api.magentlab.com/api/calc/idf_dar","extensions":{"bazaar":{"info":{"input":{"body":{"items":[{"age":50,"mvd":"none","smbg":"as_indicated","renal":"egfr_gt_60","pregnancy":"not_pregnant","treatment":"other","home_support":true,"hypoglycemia":"none","duration_ge_10":false,"physical_labor":"none","type_1_diabetes":false,"glycaemic_control":"lt_7_5","acute_complication":"none","fasting_hours_ge_16":false,"previous_ramadan_negative":false,"impaired_cognition_or_frail":false},{"age":50,"mvd":"none","smbg":"as_indicated","renal":"egfr_gt_60","pregnancy":"not_pregnant","treatment":"other","home_support":true,"hypoglycemia":"none","duration_ge_10":false,"physical_labor":"none","type_1_diabetes":false,"glycaemic_control":"lt_7_5","acute_complication":"none","fasting_hours_ge_16":false,"previous_ramadan_negative":false,"impaired_cognition_or_frail":false}]},"type":"http","method":"POST"},"output":{"type":"json","example":{"path":"/api/calc/idf_dar","count":2,"items":[{"risk":"low","score":0,"formula":"idf_dar","citation":{"id":"hassanein-2021","doi":"10.1016/j.diabres.2021.109185","pmid":"35016991","title":"Diabetes and Ramadan: Practical guidelines 2021","source":"Diabetes Res Clin Pract. 2022;185:109185","authors":"Hassanein M, Afandi B, Yakoob Ahmedani M, et al."},"age_years":50,"max_score":50.5,"components":[{"value":false,"factor":"diabetes_type","points":0,"present":false},{"value":false,"factor":"duration","points":0,"present":false},{"value":"none","factor":"hypoglycemia","points":0,"present":false},{"value":"lt_7_5","factor":"glycaemic_control","points":0,"present":false},{"value":"other","factor":"treatment","points":0,"present":false},{"value":"as_indicated","factor":"smbg","points":0,"present":false},{"value":"none","factor":"acute_complication","points":0,"present":false},{"value":"none","factor":"mvd","points":0,"present":false},{"value":"egfr_gt_60","factor":"renal","points":0,"present":false},{"value":"not_pregnant","factor":"pregnancy","points":0,"present":false},{"value":"none","factor":"frailty","points":0,"present":false},{"value":"none","factor":"physical_labor","points":0,"present":false},{"value":false,"factor":"previous_ramadan","points":0,"present":false},{"value":false,"factor":"fasting_hours","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.","formula_expression":"IDF-DAR 2021 = type1 1 / type2 0 + duration>=10 1 + hypoglycemia (unawareness 6.5, recent_severe 5.5, multiple_weekly 3.5, lt_weekly 1, none 0) + hba1c_band (>9% 2, 7.5-9% 1, <7.5% 0) + treatment (multiple_daily_mixed 3, basal_bolus_pump 2.5, once_daily_mixed 2, basal_insulin 1.5, glibenclamide 1, gliclazide_class 0.5, other 0) + smbg (not_conducted 2, suboptimal 1, as_indicated 0) + dka_honc (3mo 3, 6mo 2, 12mo 1, none 0) + mvd (unstable 6.5, stable 2, none 0) + egfr (<30 6.5, 30-45 4, 45-60 2, >60 0) + pregnancy (not_within_targets 6.5, within_targets 3.5, not_pregnant 0) + frailty (impaired_or_frail 6.5, age>70_no_home_support 3.5, none 0) + labor (high 4, moderate 2, none 0) + prior_ramadan_negative 1 + fasting>=16h 1; low 0-3, moderate 3.5-6, high >6; Hassanein 2021 table"},{"risk":"low","score":0,"formula":"idf_dar","citation":{"id":"hassanein-2021","doi":"10.1016/j.diabres.2021.109185","pmid":"35016991","title":"Diabetes and Ramadan: Practical guidelines 2021","source":"Diabetes Res Clin Pract. 2022;185:109185","authors":"Hassanein M, Afandi B, Yakoob Ahmedani M, et al."},"age_years":50,"max_score":50.5,"components":[{"value":false,"factor":"diabetes_type","points":0,"present":false},{"value":false,"factor":"duration","points":0,"present":false},{"value":"none","factor":"hypoglycemia","points":0,"present":false},{"value":"lt_7_5","factor":"glycaemic_control","points":0,"present":false},{"value":"other","factor":"treatment","points":0,"present":false},{"value":"as_indicated","factor":"smbg","points":0,"present":false},{"value":"none","factor":"acute_complication","points":0,"present":false},{"value":"none","factor":"mvd","points":0,"present":false},{"value":"egfr_gt_60","factor":"renal","points":0,"present":false},{"value":"not_pregnant","factor":"pregnancy","points":0,"present":false},{"value":"none","factor":"frailty","points":0,"present":false},{"value":"none","factor":"physical_labor","points":0,"present":false},{"value":false,"factor":"previous_ramadan","points":0,"present":false},{"value":false,"factor":"fasting_hours","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.","formula_expression":"IDF-DAR 2021 = type1 1 / type2 0 + duration>=10 1 + hypoglycemia (unawareness 6.5, recent_severe 5.5, multiple_weekly 3.5, lt_weekly 1, none 0) + hba1c_band (>9% 2, 7.5-9% 1, <7.5% 0) + treatment (multiple_daily_mixed 3, basal_bolus_pump 2.5, once_daily_mixed 2, basal_insulin 1.5, glibenclamide 1, gliclazide_class 0.5, other 0) + smbg (not_conducted 2, suboptimal 1, as_indicated 0) + dka_honc (3mo 3, 6mo 2, 12mo 1, none 0) + mvd (unstable 6.5, stable 2, none 0) + egfr (<30 6.5, 30-45 4, 45-60 2, >60 0) + pregnancy (not_within_targets 6.5, within_targets 3.5, not_pregnant 0) + frailty (impaired_or_frail 6.5, age>70_no_home_support 3.5, none 0) + labor (high 4, moderate 2, none 0) + prior_ramadan_negative 1 + fasting>=16h 1; low 0-3, moderate 3.5-6, high >6; Hassanein 2021 table"}]}},"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":["age","type_1_diabetes","duration_ge_10","hypoglycemia","glycaemic_control","treatment","smbg","acute_complication","mvd","renal","pregnancy","impaired_cognition_or_frail","home_support","physical_labor","previous_ramadan_negative","fasting_hours_ge_16"],"properties":{"age":{"type":"integer","description":"Age in years (integer 18-120). Hassanein 2021 frailty band: age >70 with no home support scores 3.5 unless impaired_cognition_or_frail is true (6.5). Age 70 does not enter that band. magent does not read a chart."},"mvd":{"enum":["none","stable","unstable"],"type":"string","description":"Caller-assigned macrovascular disease (Hassanein 2021). none 0; stable 2; unstable 6.5."},"smbg":{"enum":["as_indicated","suboptimal","not_conducted"],"type":"string","description":"Caller-assigned self-monitoring of blood glucose (Hassanein 2021). as_indicated 0; suboptimal 1; not_conducted 2. magent does not assay glucose."},"renal":{"enum":["egfr_gt_60","egfr_45_to_60","egfr_30_to_45","egfr_lt_30"],"type":"string","description":"Caller-assigned eGFR band in mL/min (Hassanein 2021). egfr_gt_60 (>60) 0; egfr_45_to_60 (45–60) 2; egfr_30_to_45 (30–45) 4; egfr_lt_30 (<30) 6.5. magent does not compute eGFR."},"pregnancy":{"enum":["not_pregnant","within_targets","not_within_targets"],"type":"string","description":"Caller-assigned pregnancy band (Hassanein 2021). not_pregnant 0; within_targets 3.5; not_within_targets 6.5. magent does not advise fasting."},"treatment":{"enum":["other","gliclazide_class","glibenclamide","basal_insulin","once_daily_mixed","basal_bolus_pump","multiple_daily_mixed"],"type":"string","description":"Caller-assigned treatment (Hassanein 2021). other (diet or metformin-class, no SU or insulin) 0; gliclazide_class (gliclazide/MR, glimepiride, or repaglinide) 0.5; glibenclamide 1; basal_insulin 1.5; once_daily_mixed 2; basal_bolus_pump 2.5; multiple_daily_mixed 3. Not an insulin dose."},"home_support":{"type":"boolean","description":"Caller-assigned home support (Hassanein 2021). When age >70 and this is false and impaired_cognition_or_frail is false, frailty scores 3.5. true or false."},"hypoglycemia":{"enum":["none","lt_weekly","multiple_weekly","recent_severe","unawareness"],"type":"string","description":"Caller-assigned hypoglycemia history (Hassanein 2021; highest applicable). none 0; lt_weekly (less than once per week) 1; multiple_weekly 3.5; recent_severe 5.5; unawareness 6.5. magent does not assay glucose."},"duration_ge_10":{"type":"boolean","description":"Caller-assigned diabetes duration ≥10 years (Hassanein 2021). true scores 1; false (<10 years) scores 0."},"physical_labor":{"enum":["none","moderate","high"],"type":"string","description":"Caller-assigned physical labour (Hassanein 2021). none 0; moderate 2; high 4."},"type_1_diabetes":{"type":"boolean","description":"Caller-assigned diabetes type (Hassanein 2021). true is type 1 and scores 1; false is type 2 and scores 0. magent does not diagnose diabetes."},"glycaemic_control":{"enum":["lt_7_5","7_5_to_9","gt_9"],"type":"string","description":"Caller-assigned HbA1c band (Hassanein 2021). lt_7_5 (<7.5%) scores 0; 7_5_to_9 (7.5–9%) scores 1; gt_9 (>9%) scores 2. magent does not assay glucose or HbA1c."},"acute_complication":{"enum":["none","last_12_months","last_6_months","last_3_months"],"type":"string","description":"Caller-assigned DKA or HONC recency (Hassanein 2021). none 0; last_12_months 1; last_6_months 2; last_3_months 3."},"fasting_hours_ge_16":{"type":"boolean","description":"Caller-assigned fasting hours ≥16 (location; Hassanein 2021). true scores 1; false (<16 hours) scores 0. magent does not advise fasting."},"previous_ramadan_negative":{"type":"boolean","description":"Caller-assigned overall negative previous Ramadan experience (Hassanein 2021). true scores 1; false scores 0."},"impaired_cognition_or_frail":{"type":"boolean","description":"Caller-assigned impaired cognitive function or frailty (Hassanein 2021). true scores 6.5 and supersedes the age>70 / no-home-support band."}}},"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":"Hassanein 2021 IDF-DAR fasting risk table: type 1 scores 1; duration ≥10 scores 1; hypoglycemia 0/1/3.5/5.5/6.5; HbA1c band 0/1/2; treatment 0/0.5/1/1.5/2/2.5/3; SMBG 0/1/2; DKA/HONC 0/1/2/3; MVD 0/2/6.5; eGFR band 0/2/4/6.5; pregnancy 0/3.5/6.5; frailty 0/3.5/6.5; labour 0/2/4; prior negative Ramadan 1; fasting ≥16 h 1. Low 0–3, moderate 3.5–6, high >6. Caller-assigned; not a fasting order or insulin dose.","lastUpdated":"2026-09-28T14:17:35.585Z","serviceName":"magent","x402Version":2}]}}