{"api":"v1","generated_at":"2026-10-01T02:45:37.329Z","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-cambridge-diabetes-716741","pinned_page":"https://tollindex.com/e/api-magentlab-com-api-calc-cambridge-diabetes-716741/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-cambridge-diabetes-716741","canonical_url":"https://api.magentlab.com/api/calc/cambridge_diabetes","resource":"https://api.magentlab.com/api/calc/cambridge_diabetes","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"Griffin 2000 Cambridge logistic risk of undetected type 2 diabetes. p = 1/(1+e^(-λ)); λ = -6.322 - 0.879 if female + 1.222 antihypertensive + 2.191 steroids + 0.063×age + BMI band (<25 0; 25 to <27.5 0.699; 27.5 to <30 1.97; ≥30 2.518) + family (parent or sibling 0.728; parent and sibling 0.753) + smoking (former -0.218; current 0.855). Age 40-64. Probability 0-1. Not FINDRISC, not ADA, not a glucose assay, not a diagnosis.","service_name":"magent","declared_category":null,"declared_tags":["cambridge-diabetes","diabetes-risk","glucose","calculator"],"route_template":null,"registry_updated":"2026-09-28T14:17:06.762Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"calc cambridge diabetes","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":1,"unique_payers_30d":1,"last_called_at":"2026-09-28T14:17:06.609Z"},"validation":{"latest":{"observed_at":"2026-09-30T07:20:29.570Z","state":"pass","failed_checks":[],"endpoint_http_status":402,"run_id":"daily-2026-09-30"},"uptime":[{"days":7,"observed":4,"passed":4,"ratio":1},{"days":30,"observed":4,"passed":4,"ratio":1},{"days":90,"observed":4,"passed":4,"ratio":1}],"history_90d":[{"observed_at":"2026-09-30T07:20:29.570Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-30","state_changed":false},{"observed_at":"2026-09-29T19:36:35.637Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-29","state_changed":false},{"observed_at":"2026-09-28T16:57:43.463Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-28","state_changed":false},{"observed_at":"2026-09-28T16:43:37.688Z","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":["cambridge-diabetes","diabetes-risk","glucose","calculator"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/cambridge_diabetes","assetTransferMethod":"eip3009"},"payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","amount":"5000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":600}],"quality":{"lastCalledAt":"2026-09-28T14:17:06.609Z","l30DaysTotalCalls":1,"l30DaysUniquePayers":1},"resource":"https://api.magentlab.com/api/calc/cambridge_diabetes","extensions":{"bazaar":{"info":{"input":{"body":{"items":[{"age":50,"sex":"male","smoking":"never","steroids":false,"bmi_kg_m2":24,"family_history":"none","antihypertensive":false},{"age":50,"sex":"male","smoking":"never","steroids":false,"bmi_kg_m2":24,"family_history":"none","antihypertensive":false}]},"type":"http","method":"POST"},"output":{"type":"json","example":{"path":"/api/calc/cambridge_diabetes","count":2,"items":[{"sex":"male","formula":"cambridge_diabetes","smoking":"never","citation":{"id":"griffin-2000","doi":"10.1002/1520-7560(200005/06)16:3<164::AID-DMRR103>3.0.CO;2-R","pmid":"10867715","title":"Diabetes risk score: towards earlier detection of type 2 diabetes in general practice","source":"Diabetes Metab Res Rev. 2000;16(3):164-171","authors":"Griffin SJ, Little PS, Hales CN, Kinmonth AL, Wareham NJ"},"steroids":false,"age_years":50,"bmi_kg_m2":24,"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.","probability":0.0402,"family_history":"none","antihypertensive":false,"linear_predictor":-3.172,"formula_expression":"p = 1/(1+e^(-λ)); λ = -6.322 -0.879*(sex=female) + 1.222*antihypertensive + 2.191*steroids + 0.063*age + bmi + family + smoking; BMI <25 -> 0, >=25 and <27.5 -> 0.699, >=27.5 and <30 -> 1.97, >=30 -> 2.518; family none 0, parent_or_sibling 0.728, parent_and_sibling 0.753; smoking never 0, former -0.218, current 0.855; Griffin 2000 logistic risk of undetected type 2 diabetes; age 40-64"},{"sex":"male","formula":"cambridge_diabetes","smoking":"never","citation":{"id":"griffin-2000","doi":"10.1002/1520-7560(200005/06)16:3<164::AID-DMRR103>3.0.CO;2-R","pmid":"10867715","title":"Diabetes risk score: towards earlier detection of type 2 diabetes in general practice","source":"Diabetes Metab Res Rev. 2000;16(3):164-171","authors":"Griffin SJ, Little PS, Hales CN, Kinmonth AL, Wareham NJ"},"steroids":false,"age_years":50,"bmi_kg_m2":24,"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.","probability":0.0402,"family_history":"none","antihypertensive":false,"linear_predictor":-3.172,"formula_expression":"p = 1/(1+e^(-λ)); λ = -6.322 -0.879*(sex=female) + 1.222*antihypertensive + 2.191*steroids + 0.063*age + bmi + family + smoking; BMI <25 -> 0, >=25 and <27.5 -> 0.699, >=27.5 and <30 -> 1.97, >=30 -> 2.518; family none 0, parent_or_sibling 0.728, parent_and_sibling 0.753; smoking never 0, former -0.218, current 0.855; Griffin 2000 logistic risk of undetected type 2 diabetes; age 40-64"}]}},"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","antihypertensive","steroids","family_history","smoking"],"properties":{"age":{"type":"integer","description":"Age in years. Griffin 2000 derivation was ages 40-64; magent accepts that published range only. Continuous linear predictor at 0.063 per year."},"sex":{"enum":["female","male"],"type":"string","description":"female or male. Griffin 2000 female coefficient is -0.879; male is the reference (0)."},"smoking":{"enum":["never","former","current"],"type":"string","description":"Smoking history (Griffin 2000). never (nonsmoker) 0; former (ex-smoker) -0.218; current 0.855. magent does not take a smoking history."},"steroids":{"type":"boolean","description":"Prescribed steroids as assigned by the caller (Griffin 2000). true adds 2.191; false adds 0. magent does not read a medication list."},"bmi_kg_m2":{"type":"number","description":"Body-mass index in kg/m^2 (10-80, magent clamp). Caller-supplied; magent does not compute BMI from height and weight. Griffin 2000: <25 -> 0; >=25 and <27.5 -> 0.699; >=27.5 and <30 -> 1.97; >=30 -> 2.518."},"family_history":{"enum":["none","parent_or_sibling","parent_and_sibling"],"type":"string","description":"First-degree family history of diabetes (Griffin 2000). none 0; parent_or_sibling 0.728 (parent or sibling, not both); parent_and_sibling 0.753 (parent and sibling). magent does not take a pedigree."},"antihypertensive":{"type":"boolean","description":"Prescribed antihypertensive medication as assigned by the caller (Griffin 2000). true adds 1.222; false adds 0. magent does not read a medication list."}}},"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":"Griffin 2000 Cambridge logistic risk of undetected type 2 diabetes. p = 1/(1+e^(-λ)); λ = -6.322 - 0.879 if female + 1.222 antihypertensive + 2.191 steroids + 0.063×age + BMI band (<25 0; 25 to <27.5 0.699; 27.5 to <30 1.97; ≥30 2.518) + family (parent or sibling 0.728; parent and sibling 0.753) + smoking (former -0.218; current 0.855). Age 40-64. Probability 0-1. Not FINDRISC, not ADA, not a glucose assay, not a diagnosis.","lastUpdated":"2026-09-28T14:17:06.762Z","serviceName":"magent","x402Version":2}]}}