# magent ASCVD Pooled Cohort Equations Calculator

> magent ASCVD Pooled Cohort Equations Calculator 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-15).

Calculates Goff 2013 ACC/AHA Pooled Cohort Equations (PCE) 10-year hard ASCVD risk percentage for patients aged 40–79 using sex, cohort, cholesterol, blood pressure, smoking, and diabetes inputs.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/ascvd_pce
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/magent-ascvd-pooled-cohort-equations-calculator-354a3324
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-ysmL_KIwCzsg43VW-01x

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-ascvd-pooled-cohort-equations-calculator-354a3324
```

Example prompt: Calculate the Goff 2013 ACC/AHA pooled cohort 10-year hard ASCVD risk for a 58-year-old male in the white cohort, total cholesterol 210 mg/dL, HDL 45 mg/dL, systolic BP 140 mm Hg on antihypertensive treatment, current smoker, no diabetes.

## When to prefer this

Choose this endpoint when you need a strictly faithful implementation of the Goff 2013 ACC/AHA Table A Pooled Cohort Equations with no silent race-reassignment (Recommendation 2). Prefer it over PREVENT 2024, Framingham CHD, or SCORE2 calculators when the clinical context specifically calls for 2013 PCE. It is appropriate when the caller has already assigned cohort and clinical values and wants a deterministic, auditable arithmetic result.

## Known failure modes

- Age outside 40–79 range returns an error (endpoint is defined only for that age band)
- Cohort value other than 'white' or 'african_american' is rejected (no silent swap to white equations)
- Total cholesterol or HDL outside valid physiological ranges returns a validation error
- Missing any required query parameter returns a 400 or equivalent error
- Systolic BP outside 50–250 mm Hg range may be rejected

## How this service works

Goff 2013 ACC/AHA pooled-cohort 10-year hard ASCVD percent for age 40-79 from sex, caller-assigned white or african_american cohort, total and HDL cholesterol, treated or untreated systolic BP, smoking, and diabetes. Table A coefficients. Caller assigns cohort; magent does not assign race and does not apply Recommendation 2 as a silent swap. Not PREVENT 2024, not Framingham CHD, not SCORE2, not a diagnosis or statin order. magent does not assay lipids.

## Output

Returns the Goff 2013 ACC/AHA Pooled Cohort Equations (Table A) computed 10-year hard ASCVD risk as a percentage, using sex- and cohort-specific coefficients. The result is a deterministic arithmetic output with no diagnosis, statin recommendation, or race reassignment applied.

## 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",
      "cohort",
      "total_cholesterol_mg_dl",
      "hdl_mg_dl",
      "sbp_mm_hg",
      "antihypertensive",
      "smoker",
      "diabetes"
     ],
     "properties": {
      "age": {
       "type": "integer",
       "description": "Age in years (integer 40-79). Goff 2013 Table A 10-year hard ASCVD is for ages 40-79. magent does not take a date of birth."
      },
      "sex": {
       "enum": [
        "female",
        "male"
       ],
       "type": "string",
       "description": "Sex used by the sex-specific Table A coefficients (female or male). Not cohort."
      },
      "cohort": {
       "enum": [
        "white",
        "african_american"
       ],
       "type": "string",
       "description": "Caller-assigned cohort as used in Goff 2013 Table A: white or african_american (paper terms). Not param race. magent does not assign race or ethnicity. Recommendation 2 (use the White equations for other groups) is not applied as a silent swap; other strings are rejected."
      },
      "smoker": {
       "type": "boolean",
       "description": "Current cigarette smoking as assigned by the caller (true or false). Adds the Table A smoker term and ln(age) × smoker when that cell is not N/A. magent does not take a smoking history."
      },
      "diabetes": {
       "type": "boolean",
       "description": "Diabetes as assigned by the caller (true or false). Adds the Table A diabetes term. magent does not assay glucose."
      },
      "hdl_mg_dl": {
       "type": "number",
       "description": "HDL cholesterol in mg/dL (5-150). Enters as ln(HDL-C). magent does not assay lipids."
      },
      "sbp_mm_hg": {
       "type": "number",
       "description": "Systolic blood pressure in mm Hg (50-250). Enters as ln(SBP) with the treated or untreated Table A coefficient according to antihypertensive. magent does not measure blood pressure."
      },
      "antih
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/magent-ascvd-pooled-cohort-equations-calculator-354a3324/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)
