Bang 2009 Table 2 development screening score for undiagnosed diabetes
Bang 2009 Table 2 development screening score for undiagnosed diabetes. Age (<40 → 0, 40–49 → 1, 50–59 → 2, ≥60 → 3); male 1; family history of diabetes 1; hypertension 1; BMI (≥40 extremely obese 3; 30–<40 obese 2; 25–<30 overweight 1; else 0); physically active −1. Returns score and high_risk (true iff score ≥ 5). BMI-only, no waist. Not Appendix ARIC/CHS, not a diagnosis.
Asked 1.4x its listed price for its own exampleour last check, 2026-09-28
1 of 1checks answered this week
308 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/ada_diabetes
| Category | Everything else |
|---|---|
| Provider host | api.magentlab.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 0 from 0 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-28 | valid payment request | 402 | $0.007 | 308 ms |
Example input (from the provider)
{
"body": {
"items": [
{
"age": 40,
"bmi_kg_m2": 22,
"family_history_diabetes": false,
"hypertension": false,
"physically_active": true,
"sex": "female"
},
{
"age": 40,
"bmi_kg_m2": 22,
"family_history_diabetes": false,
"hypertension": false,
"physically_active": true,
"sex": "female"
}
]
},
"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 (20-120). Bang 2009 Table 2: <40 scores 0; 40-49 scores 1; 50-59 scores 2; \u226560 scores 3. Age 40 and 49 score 1; 50 and 59 score 2; 60 scores 3.",
"type": "integer"
},
"bmi_kg_m2": {
"description": "Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI from height and weight. Bang 2009 Table 2 obesity from BMI only (no waist): \u226540 extremely obese scores 3; 30 \u2264 BMI < 40 obese scores 2; 25 \u2264 BMI < 30 overweight scores 1; else 0. 25.0 scores 1; 30.0 scores 2; 40.0 scores 3.",
"type": "number"
},
"family_history_diabetes": {
"description": "Family history of diabetes (Bang 2009 Table 2). true scores 1; false scores 0.",
"type": "boolean"
},
"hypertension": {
"description": "History of hypertension (Bang 2009 Table 2). true scores 1; false scores 0. magent does not read a medication list or measure blood pressure.",
"type": "boolean"
},
"physically_active": {
"description": "Physically active (Bang 2009 Table 2). true scores \u22121; false scores 0. The total may be \u22121.",
"type": "boolean"
},
"sex": {
"description": "female or male. Bang 2009 Table 2: female scores 0; male scores 1.",
"enum": [
"female",
"male"
],
"type": "string"
}
},
"required": [
"age",
"sex",
"bmi_kg_m2",
"family_history_diabetes",
"hypertension",
"physically_active"
],
"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"
}