Bello-Chavolla 2018 METS-IR
Bello-Chavolla 2018 METS-IR: ln(2×glucose_mg_dl + triglycerides_mg_dl)×BMI / ln(HDL_mg_dl), natural log, two decimals. Supply glucose, triglycerides, and HDL each as exactly one of mg/dL or mmol/L (glucose ×18, TG ×88.57, HDL ×38.67). BMI is caller-supplied (10–80). highest_quartile_t2d is true only when METS-IR > 50.39 (derivation highest T2D-risk quartile). Not a diabetes diagnosis, not HOMA-IR/HOMA2, and not a treatment threshold.
Answeringour last check, 2026-09-28
1 of 1checks answered this week
285 msmedian answer time
$0.005listed price per call
$0.005price 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/mets_ir
| 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.005 | 285 ms |
Example input (from the provider)
{
"body": {
"items": [
{
"bmi_kg_m2": 25,
"glucose_mg_dl": 90,
"glucose_mmol_l": 5,
"hdl_mg_dl": 50,
"hdl_mmol_l": 1.29,
"triglycerides_mg_dl": 100,
"triglycerides_mmol_l": 1.13
},
{
"bmi_kg_m2": 25,
"glucose_mg_dl": 90,
"glucose_mmol_l": 5,
"hdl_mg_dl": 50,
"hdl_mmol_l": 1.29,
"triglycerides_mg_dl": 100,
"triglycerides_mmol_l": 1.13
}
]
},
"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": {
"bmi_kg_m2": {
"description": "Body-mass index in kg/m^2 (10-80). Caller-supplied; magent does not compute BMI.",
"type": "number"
},
"glucose_mg_dl": {
"description": "Fasting plasma glucose in mg/dL (50-1000). Provide this or glucose_mmol_l, not both.",
"type": "number"
},
"glucose_mmol_l": {
"description": "Fasting plasma glucose in mmol/L (2.8-55.5). Converted as mg/dL = mmol/L * 18. Provide this or glucose_mg_dl, not both.",
"type": "number"
},
"hdl_mg_dl": {
"description": "HDL cholesterol in mg/dL (5-150). Provide this or hdl_mmol_l, not both. Used in the natural-log term.",
"type": "number"
},
"hdl_mmol_l": {
"description": "HDL cholesterol in mmol/L (0.1-3.9). Converted as mg/dL = mmol/L * 38.67. Provide this or hdl_mg_dl, not both.",
"type": "number"
},
"triglycerides_mg_dl": {
"description": "Triglycerides in mg/dL (10-2000). Provide this or triglycerides_mmol_l, not both.",
"type": "number"
},
"triglycerides_mmol_l": {
"description": "Triglycerides in mmol/L (0.11-22.6). Converted as mg/dL = mmol/L * 88.57. Provide this or triglycerides_mg_dl, not both.",
"type": "number"
}
},
"required": [
"bmi_kg_m2"
],
"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"
}