# magent US MEDPED Total Cholesterol Cutoff Checker

> magent US MEDPED Total Cholesterol Cutoff Checker 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-13).

Evaluates whether a patient's total cholesterol meets the Williams 1993 US MEDPED familial hypercholesterolemia screening cutoff for a given age and relative degree

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/medped
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/magent-us-medped-total-cholesterol-cutoff-checker-187bd2cb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qVTXBaNvs2UkDs_3em4-b

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 magent-us-medped-total-cholesterol-cutoff-checker-187bd2cb
```

Example prompt: Using the Williams 1993 US MEDPED criteria, does my patient's total cholesterol of 270 mg/dL meet the cutoff for a 42-year-old who is a first-degree relative?

## When to prefer this

Use this endpoint when you need to apply specifically the Williams 1993 US MEDPED total-cholesterol screening table, parameterized by age band and relative degree. Choose this over Dutch Lipid Clinic or Simon Broome calculators when the clinical protocol requires US MEDPED criteria. Suitable for automated clinical decision-support pipelines processing individual patient cholesterol values.

## Known failure modes

- Missing required parameter (age or relative_degree) returns validation error
- Both total_cholesterol_mg_dl and total_cholesterol_mmol_l supplied simultaneously returns error
- Cholesterol value outside 50–800 mg/dL or 1.3–20 mmol/L range rejected
- Age outside 1–120 integer range rejected
- Invalid relative_degree string (not first, second, third, or general_population) returns error
- Payment failure or insufficient balance returns 402

## How this service works

Williams 1993 US MEDPED total cholesterol cutoffs by age and relative degree (first, second, third, or general population). Meets the published criterion iff total cholesterol in mg/dL is greater than the table cutoff (mmol/L converted as mg/dL = mmol/L * 38.67). Total cholesterol only; not Dutch Lipid Clinic or Simon Broome. Not a medical device and not a diagnosis of familial hypercholesterolemia.

## Output

Returns whether the supplied total cholesterol (in mg/dL or converted from mmol/L) exceeds the age-band and relative-degree-specific US MEDPED cutoff from Williams 1993, along with the applicable cutoff value and whether the criterion is met. Does not diagnose familial hypercholesterolemia and is not a medical device.

## 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",
      "relative_degree"
     ],
     "properties": {
      "age": {
       "type": "integer",
       "description": "Age in years (integer 1-120). Selects the Williams 1993 US MEDPED total cholesterol row: <20, 20-29, 30-39, or >=40."
      },
      "relative_degree": {
       "type": "string",
       "description": "Relative degree as assigned by the caller: first, second, third, or general_population (Williams 1993). magent does not take a pedigree."
      },
      "total_cholesterol_mg_dl": {
       "type": "number",
       "description": "Total cholesterol in mg/dL (50-800). Provide exactly one of total_cholesterol_mg_dl or total_cholesterol_mmol_l. Meets the published cutoff iff this value is greater than the age- and relative-degree-specific mg/dL cutoff. magent does not assay lipids."
      },
      "total_cholesterol_mmol_l": {
       "type": "number",
       "description": "Total cholesterol in mmol/L (1.3-20). Converted as mg/dL = mmol/L * 38.67, then compared with the US MEDPED mg/dL cutoff. Provide exactly one lipid parameter."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/magent-us-medped-total-cholesterol-cutoff-checker-187bd2cb/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)
