# Framingham 10-Year CHD Risk Calculator (Wilson 1998)

> Framingham 10-Year CHD Risk Calculator (Wilson 1998) is a paid API for AI agents from api.magentlab.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Computes the Wilson 1998 Framingham 10-year coronary heart disease (CHD) risk score using sex-specific point sheets for age, total cholesterol, HDL, JNC-V blood pressure, diabetes, and smoking status.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/framingham_chd
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/framingham-10-year-chd-risk-calculator-wilson-1998-36f7d764
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g330smQkfMt9TmVUma8tm

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability framingham-10-year-chd-risk-calculator-wilson-1998-36f7d764
```

Example prompt: Calculate the Wilson 1998 Framingham 10-year CHD risk for a 58-year-old male with a total cholesterol of 220 mg/dL, HDL of 42 mg/dL, systolic BP of 138 mmHg, diastolic BP of 88 mmHg, who has diabetes and is a current smoker.

## When to prefer this

Use this endpoint when you need the original Wilson 1998 Framingham CHD risk calculation specifically — not ATP-III 2001 adjustments or the 2013 ACC/AHA Pooled Cohort ASCVD equations. Ideal when a clinical workflow, guideline citation, or audit trail requires the published 1998 sex-specific point sheet arithmetic with JNC-V blood pressure categories. Prefer this over pooled-cohort ASCVD when the patient is aged 30-74 and the referencing guideline explicitly calls for Framingham 1998.

## Known failure modes

- Age outside 30-74 range returns an error (published derivation range only)
- Total cholesterol, HDL, SBP, or DBP outside clamped ranges returns a validation error
- Missing any required query parameter returns a 400-level error
- Invalid sex value (not 'male' or 'female') returns an error
- Non-boolean diabetes or smoker values cause schema validation failure

## How this service works

Wilson 1998 Framingham 10-year CHD from sex-specific total-cholesterol point sheets: age 30-74, TC, HDL, JNC-V blood pressure, diabetes, and smoking. Deterministic published arithmetic with citation. Not a statin order, not ATP-III 2001, not pooled-cohort ASCVD. magent does not measure lipids or BP.

## Output

Returns the Wilson 1998 Framingham sex-specific point total and corresponding 10-year CHD risk percentage based on published age/TC/HDL/BP/diabetes/smoking point assignments, with no additional modeling or extrapolation beyond the original published tables.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "age",
      "sex",
      "total_cholesterol_mg_dl",
      "hdl_mg_dl",
      "sbp_mm_hg",
      "dbp_mm_hg",
      "diabetes",
      "smoker"
     ],
     "properties": {
      "age": {
       "type": "integer",
       "description": "Age in years. Wilson 1998 derivation was ages 30-74; magent accepts that published range only. Sex-specific 5-year point bands from Figs 3-4."
      },
      "sex": {
       "enum": [
        "female",
        "male"
       ],
       "type": "string",
       "description": "female or male. Wilson 1998 published separate point sheets. No race coefficient."
      },
      "smoker": {
       "type": "boolean",
       "description": "Current cigarette smoking as assigned by the caller (Wilson 1998 dichotomous). true is 2 points in both sexes. Former smoking is false. magent does not take a smoking history."
      },
      "diabetes": {
       "type": "boolean",
       "description": "Diabetes as assigned by the caller (Wilson 1998 dichotomous). true is 2 points in men and 4 points in women. magent does not assay glucose."
      },
      "dbp_mm_hg": {
       "type": "number",
       "description": "Diastolic blood pressure in mm Hg (40-150, magent clamp). JNC-V: <80 optimal, 80-84 normal, 85-89 high-normal, 90-99 stage I, >=100 stage II-IV. magent does not measure blood pressure."
      },
      "hdl_mg_dl": {
       "type": "number",
       "description": "HDL cholesterol in mg/dL (5-150, magent clamp). Wilson 1998 HDL bands: <35, 35-44, 45-49, 50-59, >=60. magent does not assay lipids."
      },
      "sbp_mm_hg": {
       "type": "number",
       "description": "Systolic blood pressure in mm Hg (70-260, magent clamp). JNC-V categories with diastolic: when SBP and DBP stages differ, use the higher point value (Wilson 1998 Fig 3-4). magent does not measure blood pressure. Not ATP-III treated vs untreated SBP."
      },
      "total_cholesterol_mg_dl": {
     
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/framingham-10-year-chd-risk-calculator-wilson-1998-36f7d764/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.magentlab.com](https://www.zero.xyz/host/api.magentlab.com/llms.txt)
