{"api":"v1","generated_at":"2026-10-01T02:30:45.530Z","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-canrisk-d00e1d","pinned_page":"https://tollindex.com/e/api-magentlab-com-api-calc-canrisk-d00e1d/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-canrisk-d00e1d","canonical_url":"https://api.magentlab.com/api/calc/canrisk","resource":"https://api.magentlab.com/api/calc/canrisk","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"Robinson 2011 Table 3 pCANRISK (not eCANRISK). Age 0/7/13/15; male 6; BMI 0/4/9/14; waist 0/4/6 by sex; inactivity 1; no daily fruit/veg 2; high BP 4; high glucose 14; macrosomia 1 (women); family first-degree categories ×2; caller-assigned ethnicity White 0 Aboriginal 3 Black 5 East Asian 10 South Asian 11; education 5/1/0. Max 81 F/86 M. Cutoffs 21, 29, 32, 33, 43. Not a diagnosis.","service_name":"magent","declared_category":null,"declared_tags":["canrisk","pcanrisk","diabetes-risk","glucose","calculator"],"route_template":null,"registry_updated":"2026-09-28T14:16:59.724Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"calc canrisk","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":3,"unique_payers_30d":1,"last_called_at":"2026-09-28T14:16:59.569Z"},"validation":{"latest":{"observed_at":"2026-09-30T08:56:54.625Z","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:56:54.625Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-30","state_changed":false},{"observed_at":"2026-09-29T21:01:54.029Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-29","state_changed":false},{"observed_at":"2026-09-28T16:48:59.307Z","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":["canrisk","pcanrisk","diabetes-risk","glucose","calculator"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/canrisk","assetTransferMethod":"eip3009"},"payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","amount":"5000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":600}],"quality":{"lastCalledAt":"2026-09-28T14:16:59.569Z","l30DaysTotalCalls":3,"l30DaysUniquePayers":1},"resource":"https://api.magentlab.com/api/calc/canrisk","extensions":{"bazaar":{"info":{"input":{"body":{"items":[{"age":40,"sex":"female","high_bp":false,"waist_cm":80,"bmi_kg_m2":22,"education":"university","ethnicity":"white","macrosomia":false,"high_glucose":false,"activity_30min":true,"daily_fruit_veg":true,"family_history_count":0},{"age":40,"sex":"female","high_bp":false,"waist_cm":80,"bmi_kg_m2":22,"education":"university","ethnicity":"white","macrosomia":false,"high_glucose":false,"activity_30min":true,"daily_fruit_veg":true,"family_history_count":0}]},"type":"http","method":"POST"},"output":{"type":"json","example":{"path":"/api/calc/canrisk","count":2,"items":[{"sex":"female","score":4,"formula":"canrisk","citation":{"id":"robinson-2011-canrisk","doi":"10.24095/hpcdp.32.1.04","pmid":"22153173","title":"Validating the CANRISK prognostic model for assessing diabetes risk in Canada's multi-ethnic population","source":"Chronic Dis Inj Can. 2011;32(1):19-31","authors":"Robinson CA, Agarwal G, Nerenberg K"},"waist_cm":80,"age_years":40,"bmi_kg_m2":22,"education":"university","ethnicity":"white","max_score":81,"components":[{"value":40,"factor":"age","points":0,"present":false},{"value":"female","factor":"sex","points":0,"present":false},{"value":22,"factor":"bmi","points":0,"present":false},{"value":80,"factor":"waist","points":4,"present":true},{"factor":"inactivity","points":0,"present":false},{"factor":"no_daily_fruit_veg","points":0,"present":false},{"factor":"high_bp","points":0,"present":false},{"factor":"high_glucose","points":0,"present":false},{"factor":"macrosomia","points":0,"present":false},{"value":0,"factor":"family_history","points":0,"present":false},{"value":"white","factor":"ethnicity","points":0,"present":false},{"value":"university","factor":"education","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.","score_ge_21":false,"score_ge_29":false,"score_ge_32":false,"score_ge_33":false,"score_ge_43":false,"formula_expression":"pCANRISK = age + sex + bmi + waist + inactivity + no_daily_fruit_veg + high_bp + high_glucose + macrosomia + family_history + ethnicity + education; age <45 -> 0, 45-54 -> 7, 55-64 -> 13, >=65 -> 15; male 6; BMI <25 -> 0, 25-29.9 -> 4, 30-34.9 -> 9, >=35 -> 14; waist men <94 -> 0, 94-102 -> 4, >102 -> 6; women <80 -> 0, 80-88 -> 4, >88 -> 6; inactivity 1; no daily fruit/veg 2; high_bp 4; high_glucose 14; macrosomia women 1 else N/A 0; family_history_count 0-4 first-degree categories * 2; ethnicity white 0 aboriginal 3 black 5 east_asian 10 south_asian 11 latin_american 0 other 0 (caller-assigned; Table 3 assigned no pCANRISK points to Latin American or Other); education less_than_high_school 5 high_school 1 some_college or university 0; max 81 female / 86 male; Robinson 2011 Table 3 pCANRISK not eCANRISK; published cutoffs score>=21 29 32 33 43","family_history_count":0},{"sex":"female","score":4,"formula":"canrisk","citation":{"id":"robinson-2011-canrisk","doi":"10.24095/hpcdp.32.1.04","pmid":"22153173","title":"Validating the CANRISK prognostic model for assessing diabetes risk in Canada's multi-ethnic population","source":"Chronic Dis Inj Can. 2011;32(1):19-31","authors":"Robinson CA, Agarwal G, Nerenberg K"},"waist_cm":80,"age_years":40,"bmi_kg_m2":22,"education":"university","ethnicity":"white","max_score":81,"components":[{"value":40,"factor":"age","points":0,"present":false},{"value":"female","factor":"sex","points":0,"present":false},{"value":22,"factor":"bmi","points":0,"present":false},{"value":80,"factor":"waist","points":4,"present":true},{"factor":"inactivity","points":0,"present":false},{"factor":"no_daily_fruit_veg","points":0,"present":false},{"factor":"high_bp","points":0,"present":false},{"factor":"high_glucose","points":0,"present":false},{"factor":"macrosomia","points":0,"present":false},{"value":0,"factor":"family_history","points":0,"present":false},{"value":"white","factor":"ethnicity","points":0,"present":false},{"value":"university","factor":"education","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.","score_ge_21":false,"score_ge_29":false,"score_ge_32":false,"score_ge_33":false,"score_ge_43":false,"formula_expression":"pCANRISK = age + sex + bmi + waist + inactivity + no_daily_fruit_veg + high_bp + high_glucose + macrosomia + family_history + ethnicity + education; age <45 -> 0, 45-54 -> 7, 55-64 -> 13, >=65 -> 15; male 6; BMI <25 -> 0, 25-29.9 -> 4, 30-34.9 -> 9, >=35 -> 14; waist men <94 -> 0, 94-102 -> 4, >102 -> 6; women <80 -> 0, 80-88 -> 4, >88 -> 6; inactivity 1; no daily fruit/veg 2; high_bp 4; high_glucose 14; macrosomia women 1 else N/A 0; family_history_count 0-4 first-degree categories * 2; ethnicity white 0 aboriginal 3 black 5 east_asian 10 south_asian 11 latin_american 0 other 0 (caller-assigned; Table 3 assigned no pCANRISK points to Latin American or Other); education less_than_high_school 5 high_school 1 some_college or university 0; max 81 female / 86 male; Robinson 2011 Table 3 pCANRISK not eCANRISK; published cutoffs score>=21 29 32 33 43","family_history_count":0}]}},"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","sex","bmi_kg_m2","waist_cm","activity_30min","daily_fruit_veg","high_bp","high_glucose","macrosomia","family_history_count","ethnicity","education"],"properties":{"age":{"type":"integer","description":"Age in years (18-120). Robinson 2011 Table 3 pCANRISK: 19-44 scores 0; magent scores 18-44 as 0. 45-54 scores 7; 55-64 scores 13; 65-78 scores 15; magent scores ≥65 as 15. Age 44 scores 0; 45 and 54 score 7; 55 and 64 score 13; 65 scores 15."},"sex":{"enum":["female","male"],"type":"string","description":"female or male. Robinson 2011 Table 3: female scores 0; male scores 6. Selects the sex-specific waist bands. Macrosomia is N/A for male (0)."},"high_bp":{"type":"boolean","description":"History of high blood pressure (Robinson 2011 Table 3). true scores 4; false scores 0. magent does not measure blood pressure."},"waist_cm":{"type":"number","description":"Waist circumference in cm (40-200). Robinson 2011 Table 3 men: <94 scores 0; 94-102 scores 4; >102 scores 6. Women: <80 scores 0; 80-88 scores 4; >88 scores 6. 94 and 102 (men) and 80 and 88 (women) score 4."},"bmi_kg_m2":{"type":"number","description":"Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI from height and weight. Robinson 2011 Table 3: <25 scores 0; 25-29.9 scores 4; 30-34.9 scores 9; ≥35 scores 14. 25.0 and 29.9 score 4; 30.0 and 34.9 score 9; 35.0 scores 14."},"education":{"enum":["less_than_high_school","high_school","some_college","university"],"type":"string","description":"Highest education completed (Robinson 2011 Table 3). less_than_high_school scores 5; high_school scores 1; some_college or university scores 0."},"ethnicity":{"enum":["white","aboriginal","black","east_asian","south_asian","latin_american","other"],"type":"string","description":"Caller-assigned ethnicity using Robinson 2011 Table 3 terms. white scores 0; aboriginal 3; black 5; east_asian 10; south_asian 11. latin_american and other score 0 (Table 3 assigned no pCANRISK points; both were statistically insignificant). magent does not assign ethnicity."},"macrosomia":{"type":"boolean","description":"Gave birth to a baby weighing 4.1 kg or more (Robinson 2011 Table 3 macrosomia, women). true scores 1 for female; false or male (N/A) scores 0."},"high_glucose":{"type":"boolean","description":"History of high blood glucose (Robinson 2011 Table 3). Caller-assigned; magent does not assay glucose. true scores 14; false scores 0."},"activity_30min":{"type":"boolean","description":"Usually at least 30 minutes of physical activity daily (Robinson 2011 Table 3). true scores 0; false scores 1. Caller-assigned; magent does not measure activity."},"daily_fruit_veg":{"type":"boolean","description":"Eats fruit or vegetables every day (Robinson 2011 Table 3). true scores 0; false scores 2."},"family_history_count":{"type":"integer","description":"Count of first-degree relative categories with diabetes: mother, father, sibling, child (Robinson 2011 Table 3 footnote g). Integer 0-4. Each category scores 2 (0, 2, 4, 6, or 8). Not second-degree relatives. magent does not take named relatives."}}},"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":"Robinson 2011 Table 3 pCANRISK (not eCANRISK). Age 0/7/13/15; male 6; BMI 0/4/9/14; waist 0/4/6 by sex; inactivity 1; no daily fruit/veg 2; high BP 4; high glucose 14; macrosomia 1 (women); family first-degree categories ×2; caller-assigned ethnicity White 0 Aboriginal 3 Black 5 East Asian 10 South Asian 11; education 5/1/0. Max 81 F/86 M. Cutoffs 21, 29, 32, 33, 43. Not a diagnosis.","lastUpdated":"2026-09-28T14:16:59.724Z","serviceName":"magent","x402Version":2}]}}