{
  "x402Version": 2,
  "id": 39175,
  "slug": "39175",
  "resource": "https://api.magentlab.com/api/calc/findrisc",
  "description": "Lindström 2003 Finnish diabetes risk score (FINDRISC). Original seven-item 0–20 score, cutoff ≥9: age (<45 → 0, 45–54 → 2, 55–64 → 3, ≥65 → 4); BMI (<25 → 0, 25–30 → 1, >30 → 3); sex-specific waist; BP medication 2; high-glucose history 5; daily 30-min activity 0 else 2; daily vegetables 0 else 1. Returns score and at_risk. Not a diabetes diagnosis and not the later family-history revision.",
  "type": "http",
  "serviceName": "magent",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 600
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "iconUrl": "https://api.magentlab.com/favicon.ico",
        "input": {
          "body": {
            "items": [
              {
                "activity_30min": true,
                "age": 40,
                "bmi_kg_m2": 22,
                "bp_medication": false,
                "daily_vegetables": true,
                "history_high_glucose": false,
                "sex": "male",
                "waist_cm": 80
              },
              {
                "activity_30min": true,
                "age": 40,
                "bmi_kg_m2": 22,
                "bp_medication": false,
                "daily_vegetables": true,
                "history_high_glucose": false,
                "sex": "male",
                "waist_cm": 80
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "age_years": 40,
                "at_risk": false,
                "bmi_kg_m2": 22,
                "citation": {
                  "authors": "Lindström J, Tuomilehto J",
                  "doi": "10.2337/diacare.26.3.725",
                  "id": "lindstrom-2003",
                  "pmid": "12610029",
                  "source": "Diabetes Care. 2003;26(3):725-731",
                  "title": "The diabetes risk score: a practical tool to predict type 2 diabetes risk"
                },
                "components": [
                  {
                    "factor": "age",
                    "points": 0,
                    "present": false,
                    "value": 40
                  },
                  {
                    "factor": "bmi",
                    "points": 0,
                    "present": false,
                    "value": 22
                  },
                  {
                    "factor": "waist",
                    "points": 0,
                    "present": false,
                    "value": 80
                  },
                  {
                    "factor": "bp_medication",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "history_high_glucose",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "inactivity",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "no_daily_vegetables",
                    "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.",
                "formula": "findrisc",
                "formula_expression": "FINDRISC = age + bmi + waist + bp_medication + history_high_glucose + inactivity + no_daily_vegetables; age <45 -> 0, 45-54 -> 2, 55-64 -> 3, >=65 -> 4; BMI <25 -> 0, 25-30 -> 1, >30 -> 3; waist men <94 -> 0, 94-102 -> 3, >102 -> 4; women <80 -> 0, 80-88 -> 3, >88 -> 4; bp_medication 2; history_high_glucose 5; activity_30min false -> 2; daily_vegetables false -> 1; max 20; at_risk iff score>=9",
                "max_score": 20,
                "score": 0,
                "sex": "male",
                "waist_cm": 80
              },
              {
                "age_years": 40,
                "at_risk": false,
                "bmi_kg_m2": 22,
                "citation": {
                  "authors": "Lindström J, Tuomilehto J",
                  "doi": "10.2337/diacare.26.3.725",
                  "id": "lindstrom-2003",
                  "pmid": "12610029",
                  "source": "Diabetes Care. 2003;26(3):725-731",
                  "title": "The diabetes risk score: a practical tool to predict type 2 diabetes risk"
                },
                "components": [
                  {
                    "factor": "age",
                    "points": 0,
                    "present": false,
                    "value": 40
                  },
                  {
                    "factor": "bmi",
                    "points": 0,
                    "present": false,
                    "value": 22
                  },
                  {
                    "factor": "waist",
                    "points": 0,
                    "present": false,
                    "value": 80
                  },
                  {
                    "factor": "bp_medication",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "history_high_glucose",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "inactivity",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "no_daily_vegetables",
                    "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.",
                "formula": "findrisc",
                "formula_expression": "FINDRISC = age + bmi + waist + bp_medication + history_high_glucose + inactivity + no_daily_vegetables; age <45 -> 0, 45-54 -> 2, 55-64 -> 3, >=65 -> 4; BMI <25 -> 0, 25-30 -> 1, >30 -> 3; waist men <94 -> 0, 94-102 -> 3, >102 -> 4; women <80 -> 0, 80-88 -> 3, >88 -> 4; bp_medication 2; history_high_glucose 5; activity_30min false -> 2; daily_vegetables false -> 1; max 20; at_risk iff score>=9",
                "max_score": 20,
                "score": 0,
                "sex": "male",
                "waist_cm": 80
              }
            ],
            "path": "/api/calc/findrisc"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "activity_30min": {
                          "description": "Usually at least 30 minutes of physical activity daily at work and/or leisure, including normal daily activity (Lindström 2003). true scores 0; false scores 2.",
                          "type": "boolean"
                        },
                        "age": {
                          "description": "Age in years (18-120). Lindström 2003: <45 scores 0; 45-54 scores 2; 55-64 scores 3; ≥65 scores 4. Age 45 and 54 score 2; 55 and 64 score 3; 65 scores 4.",
                          "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. Lindström 2003: <25 scores 0; 25-30 scores 1; >30 scores 3. 25.0 and 30.0 score 1; 30.1 scores 3.",
                          "type": "number"
                        },
                        "bp_medication": {
                          "description": "History of antihypertensive drug treatment (Lindström 2003). true scores 2; false scores 0.",
                          "type": "boolean"
                        },
                        "daily_vegetables": {
                          "description": "Daily consumption of vegetables, fruit, or berries (Lindström 2003). true scores 0; false scores 1.",
                          "type": "boolean"
                        },
                        "history_high_glucose": {
                          "description": "History of high blood glucose (health examination, illness, or pregnancy) (Lindström 2003). Caller-assigned; magent does not assay glucose. true scores 5; false scores 0.",
                          "type": "boolean"
                        },
                        "sex": {
                          "description": "female or male. Selects the Lindström 2003 waist bands.",
                          "enum": [
                            "female",
                            "male"
                          ],
                          "type": "string"
                        },
                        "waist_cm": {
                          "description": "Waist circumference in cm (40-200). Lindström 2003 men: <94 scores 0; 94-102 scores 3; >102 scores 4. Women: <80 scores 0; 80-88 scores 3; >88 scores 4. 94 and 102 (men) and 80 and 88 (women) score 3.",
                          "type": "number"
                        }
                      },
                      "required": [
                        "age",
                        "bmi_kg_m2",
                        "sex",
                        "waist_cm",
                        "bp_medication",
                        "history_high_glucose",
                        "activity_30min",
                        "daily_vegetables"
                      ],
                      "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"
      }
    }
  },
  "tags": [
    "findrisc",
    "diabetes-risk",
    "glucose",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T04:02:25.538Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T04:02:25.204Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "activity_30min": true,
                  "age": 40,
                  "bmi_kg_m2": 22,
                  "bp_medication": false,
                  "daily_vegetables": true,
                  "history_high_glucose": false,
                  "sex": "male",
                  "waist_cm": 80
                },
                {
                  "activity_30min": true,
                  "age": 40,
                  "bmi_kg_m2": 22,
                  "bp_medication": false,
                  "daily_vegetables": true,
                  "history_high_glucose": false,
                  "sex": "male",
                  "waist_cm": 80
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "age_years": 40,
                  "at_risk": false,
                  "bmi_kg_m2": 22,
                  "citation": {
                    "authors": "Lindström J, Tuomilehto J",
                    "doi": "10.2337/diacare.26.3.725",
                    "id": "lindstrom-2003",
                    "pmid": "12610029",
                    "source": "Diabetes Care. 2003;26(3):725-731",
                    "title": "The diabetes risk score: a practical tool to predict type 2 diabetes risk"
                  },
                  "components": [
                    {
                      "factor": "age",
                      "points": 0,
                      "present": false,
                      "value": 40
                    },
                    {
                      "factor": "bmi",
                      "points": 0,
                      "present": false,
                      "value": 22
                    },
                    {
                      "factor": "waist",
                      "points": 0,
                      "present": false,
                      "value": 80
                    },
                    {
                      "factor": "bp_medication",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "history_high_glucose",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "inactivity",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "no_daily_vegetables",
                      "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.",
                  "formula": "findrisc",
                  "formula_expression": "FINDRISC = age + bmi + waist + bp_medication + history_high_glucose + inactivity + no_daily_vegetables; age <45 -> 0, 45-54 -> 2, 55-64 -> 3, >=65 -> 4; BMI <25 -> 0, 25-30 -> 1, >30 -> 3; waist men <94 -> 0, 94-102 -> 3, >102 -> 4; women <80 -> 0, 80-88 -> 3, >88 -> 4; bp_medication 2; history_high_glucose 5; activity_30min false -> 2; daily_vegetables false -> 1; max 20; at_risk iff score>=9",
                  "max_score": 20,
                  "score": 0,
                  "sex": "male",
                  "waist_cm": 80
                },
                {
                  "age_years": 40,
                  "at_risk": false,
                  "bmi_kg_m2": 22,
                  "citation": {
                    "authors": "Lindström J, Tuomilehto J",
                    "doi": "10.2337/diacare.26.3.725",
                    "id": "lindstrom-2003",
                    "pmid": "12610029",
                    "source": "Diabetes Care. 2003;26(3):725-731",
                    "title": "The diabetes risk score: a practical tool to predict type 2 diabetes risk"
                  },
                  "components": [
                    {
                      "factor": "age",
                      "points": 0,
                      "present": false,
                      "value": 40
                    },
                    {
                      "factor": "bmi",
                      "points": 0,
                      "present": false,
                      "value": 22
                    },
                    {
                      "factor": "waist",
                      "points": 0,
                      "present": false,
                      "value": 80
                    },
                    {
                      "factor": "bp_medication",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "history_high_glucose",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "inactivity",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "no_daily_vegetables",
                      "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.",
                  "formula": "findrisc",
                  "formula_expression": "FINDRISC = age + bmi + waist + bp_medication + history_high_glucose + inactivity + no_daily_vegetables; age <45 -> 0, 45-54 -> 2, 55-64 -> 3, >=65 -> 4; BMI <25 -> 0, 25-30 -> 1, >30 -> 3; waist men <94 -> 0, 94-102 -> 3, >102 -> 4; women <80 -> 0, 80-88 -> 3, >88 -> 4; bp_medication 2; history_high_glucose 5; activity_30min false -> 2; daily_vegetables false -> 1; max 20; at_risk iff score>=9",
                  "max_score": 20,
                  "score": 0,
                  "sex": "male",
                  "waist_cm": 80
                }
              ],
              "path": "/api/calc/findrisc"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "activity_30min": {
                            "description": "Usually at least 30 minutes of physical activity daily at work and/or leisure, including normal daily activity (Lindström 2003). true scores 0; false scores 2.",
                            "type": "boolean"
                          },
                          "age": {
                            "description": "Age in years (18-120). Lindström 2003: <45 scores 0; 45-54 scores 2; 55-64 scores 3; ≥65 scores 4. Age 45 and 54 score 2; 55 and 64 score 3; 65 scores 4.",
                            "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. Lindström 2003: <25 scores 0; 25-30 scores 1; >30 scores 3. 25.0 and 30.0 score 1; 30.1 scores 3.",
                            "type": "number"
                          },
                          "bp_medication": {
                            "description": "History of antihypertensive drug treatment (Lindström 2003). true scores 2; false scores 0.",
                            "type": "boolean"
                          },
                          "daily_vegetables": {
                            "description": "Daily consumption of vegetables, fruit, or berries (Lindström 2003). true scores 0; false scores 1.",
                            "type": "boolean"
                          },
                          "history_high_glucose": {
                            "description": "History of high blood glucose (health examination, illness, or pregnancy) (Lindström 2003). Caller-assigned; magent does not assay glucose. true scores 5; false scores 0.",
                            "type": "boolean"
                          },
                          "sex": {
                            "description": "female or male. Selects the Lindström 2003 waist bands.",
                            "enum": [
                              "female",
                              "male"
                            ],
                            "type": "string"
                          },
                          "waist_cm": {
                            "description": "Waist circumference in cm (40-200). Lindström 2003 men: <94 scores 0; 94-102 scores 3; >102 scores 4. Women: <80 scores 0; 80-88 scores 3; >88 scores 4. 94 and 102 (men) and 80 and 88 (women) score 3.",
                            "type": "number"
                          }
                        },
                        "required": [
                          "age",
                          "bmi_kg_m2",
                          "sex",
                          "waist_cm",
                          "bp_medication",
                          "history_high_glucose",
                          "activity_30min",
                          "daily_vegetables"
                        ],
                        "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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.magentlab.com",
    "manifest_name": "api.magentlab.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}