ToolAssay

Griffin 2000 Cambridge logistic risk of undetected type 2 diabetes

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.

Asked 1.4x its listed price for its own exampleour last check, 2026-09-28
1 of 1checks answered this week
277 msmedian answer time
$0.005listed price per call
$0.007price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://api.magentlab.com/api/calc/cambridge_diabetes

CategoryEverything else
Provider hostapi.magentlab.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days0 from 0 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-09-28 valid payment request 402$0.007 277 ms

Example input (from the provider)

{
  "body": {
    "items": [
      {
        "age": 50,
        "antihypertensive": false,
        "bmi_kg_m2": 24,
        "family_history": "none",
        "sex": "male",
        "smoking": "never",
        "steroids": false
      },
      {
        "age": 50,
        "antihypertensive": false,
        "bmi_kg_m2": 24,
        "family_history": "none",
        "sex": "male",
        "smoking": "never",
        "steroids": false
      }
    ]
  },
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "items": {
              "items": {
                "properties": {
                  "age": {
                    "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.",
                    "type": "integer"
                  },
                  "antihypertensive": {
                    "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.",
                    "type": "boolean"
                  },
                  "bmi_kg_m2": {
                    "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.",
                    "type": "number"
                  },
                  "family_history": {
                    "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.",
                    "enum": [
                      "none",
                      "parent_or_sibling",
                      "parent_and_sibling"
                    ],
                    "type": "string"
                  },
                  "sex": {
                    "description": "female or male. Griffin 2000 female coefficient is -0.879; male is the reference (0).",
                    "enum": [
                      "female",
                      "male"
                    ],
                    "type": "string"
                  },
                  "smoking": {
                    "description": "Smoking history (Griffin 2000). never (nonsmoker) 0; former (ex-smoker) -0.218; current 0.855. magent does not take a smoking history.",
                    "enum": [
                      "never",
                      "former",
                      "current"
                    ],
                    "type": "string"
                  },
                  "steroids": {
                    "description": "Prescribed steroids as assigned by the caller (Griffin 2000). true adds 2.191; false adds 0. magent does not read a medication list.",
                    "type": "boolean"
                  }
                },
                "required": [
                  "age",
                  "sex",
                  "bmi_kg_m2",
                  "antihypertensive",
                  "steroids",
                  "family_history",
                  "smoking"
                ],
                "type": "object"
              },
              "maxItems": 25,
              "minItems": 1,
              "type": "array"
            }
          },
          "required": [
            "items"
          ],
          "type": "object"
        },
        "headers": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "method": {
          "const": "POST",
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON