{"api":"v1","generated_at":"2026-10-01T10:19:47.617Z","licence":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/","attribution":"TOLL, with a link to the page cited"},"page":"https://tollindex.com/e/api-magentlab-com-api-calc-pcp-hf-6d2dc3","pinned_page":"https://tollindex.com/e/api-magentlab-com-api-calc-pcp-hf-6d2dc3/at/2026-10-01T05-50Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-10-01T05:50:06.230Z","snapshot_stamp":"2026-10-01T05-50Z","endpoint":{"slug":"api-magentlab-com-api-calc-pcp-hf-6d2dc3","canonical_url":"https://api.magentlab.com/api/calc/pcp_hf","resource":"https://api.magentlab.com/api/calc/pcp_hf","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"Khan 2019 PCP-HF 10-year incident heart-failure percent for age 30-79 from sex, caller-assigned white or black cohort, treated or untreated systolic BP and fasting glucose, total and HDL cholesterol, BMI, smoking, and QRS duration. Table 2 coefficients. Caller assigns cohort; magent does not assign race. Not PREVENT 2024, not 2013 PCE, not a diagnosis or treatment order. magent does not assay lipids, measure blood pressure, or interpret an ECG.","service_name":"magent","declared_category":null,"declared_tags":["pcp-hf","heart-failure","hemodynamics","cvd-risk","calculator"],"route_template":null,"registry_updated":"2026-09-28T13:44:31.283Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"calc pcp hf","category":"other","first_observed_by_toll":"2026-09-28T13:51:25.436Z","last_observed_by_toll":"2026-10-01T05:50:06.230Z","observation_began":"2026-09-10"},"presence":{"listed_now":true,"first_absent_at":null,"delisting_confirmed_at":null,"events":[{"registry":"cdp","at":"2026-09-28T13:51:25.437Z","event":"listed"},{"registry":"cdp","at":"2026-09-30T12:32:05.628Z","event":"delisted"},{"registry":"cdp","at":"2026-09-30T22:14:11.940Z","event":"relisted"}]},"accepts":[{"registry":"cdp","ordinal":0,"network":"eip155:8453","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","asset_name":"USD Coin","symbol":"USDC","decimals":6,"amount_display":"0.005 USDC","amount_units":0.005,"decimals_known":true,"pay_to":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"counters":{"observed_at":"2026-10-01T05:50:06.230Z","calls_30d":2,"unique_payers_30d":1,"last_called_at":"2026-09-28T13:44:31.160Z"},"validation":{"latest":{"observed_at":"2026-10-01T07:56:42.330Z","state":"pass","failed_checks":[],"endpoint_http_status":402,"run_id":"daily-2026-10-01"},"uptime":[{"days":7,"observed":5,"passed":5,"ratio":1},{"days":30,"observed":5,"passed":5,"ratio":1},{"days":90,"observed":5,"passed":5,"ratio":1}],"history_90d":[{"observed_at":"2026-10-01T07:56:42.330Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-01","state_changed":false},{"observed_at":"2026-09-30T07:16:35.598Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-30","state_changed":false},{"observed_at":"2026-09-29T19:33:02.959Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-29","state_changed":false},{"observed_at":"2026-09-28T16:57:35.021Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-28","state_changed":false},{"observed_at":"2026-09-28T16:43:28.628Z","state":"pass","failed_checks":[],"run_id":"new-after-daily-2026-09-28","state_changed":true}]},"seller":{"wallet":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","page":"https://tollindex.com/seller/0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","endpoints":844,"hosts":1},"reports":0,"registry_record":{"cdp":[{"tags":["pcp-hf","heart-failure","hemodynamics","cvd-risk","calculator"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/pcp_hf","assetTransferMethod":"eip3009"},"payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","amount":"5000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":600}],"quality":{"lastCalledAt":"2026-09-28T13:44:31.16Z","l30DaysTotalCalls":2,"l30DaysUniquePayers":1},"resource":"https://api.magentlab.com/api/calc/pcp_hf","extensions":{"bazaar":{"info":{"input":{"body":{"items":[{"age":50,"sex":"female","cohort":"white","qrs_ms":90,"smoker":false,"bmi_kg_m2":22,"hdl_mg_dl":55,"sbp_mm_hg":120,"glucose_mg_dl":90,"antihypertensive":false,"diabetes_medication":false,"total_cholesterol_mg_dl":180},{"age":50,"sex":"female","cohort":"white","qrs_ms":90,"smoker":false,"bmi_kg_m2":22,"hdl_mg_dl":55,"sbp_mm_hg":120,"glucose_mg_dl":90,"antihypertensive":false,"diabetes_medication":false,"total_cholesterol_mg_dl":180}]},"type":"http","method":"POST"},"output":{"type":"json","example":{"path":"/api/calc/pcp_hf","count":2,"items":[{"age":50,"sex":"female","cohort":"white","qrs_ms":90,"smoker":false,"formula":"pcp_hf","citation":{"id":"khan-2019-pcp-hf","doi":"10.1016/j.jacc.2019.02.057","pmid":"31097157","title":"10-Year Risk Equations for Incident Heart Failure in the General Population","source":"J Am Coll Cardiol. 2019;73(19):2388-2397","authors":"Khan SS, Ning H, Shah SJ, Yancy CW, Carnethon M, Berry JD, et al."},"bmi_kg_m2":22,"hdl_mg_dl":55,"sbp_mm_hg":120,"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.","glucose_mg_dl":90,"individual_sum":98.7374,"antihypertensive":false,"formula_expression":"10-year incident HF % = 100*(1-S0**exp(IndX-MeanCV)); Khan 2019 Table 2; Ln=natural log; age 30-79; cohort white|black (caller-assigned paper terms; not param race); antihypertensive true uses treated SBP terms only; diabetes_medication true uses treated glucose terms only (not both); interactions only where Table 2 is not N/A; WHITE MALE: ln_age 41.94, ln_age^2 -0.88, ln_treated_sbp 1.03, ln_untreated_sbp 0.91, smoker 0.74, ln_treated_glucose 0.90, ln_untreated_glucose 0.78, ln_tc 0.49, ln_hdl -0.44, ln_bmi 37.2, ln_age*ln_bmi -8.83, ln_qrs 0.63, MeanCV 171.5, S0 0.98752; WHITE FEMALE: ln_age 20.55, ln_treated_sbp 12.95, ln_age*ln_treated_sbp -2.96, ln_untreated_sbp 11.86, ln_age*ln_untreated_sbp -2.73, smoker 11.02, ln_age*smoker -2.50, ln_treated_glucose 1.04, ln_untreated_glucose 0.91, ln_hdl -0.07, ln_bmi 1.33, ln_qrs 1.06, MeanCV 99.73, S0 0.99348; BLACK MALE: ln_age 2.88, ln_treated_sbp 2.31, ln_untreated_sbp 2.17, smoker 1.66, ln_age*smoker -0.25, ln_treated_glucose 0.64, ln_untreated_glucose 0.58, ln_hdl -0.81, ln_bmi 1.16, ln_qrs 0.73, MeanCV 28.73, S0 0.98295; BLACK FEMALE: ln_age 51.75, ln_treated_sbp 29.0, ln_age*ln_treated_sbp -6.59, ln_untreated_sbp 28.18, ln_age*ln_untreated_sbp -6.42, smoker 0.76, ln_treated_glucose 0.97, ln_untreated_glucose 0.80, ln_tc 0.32, ln_bmi 21.24, ln_age*ln_bmi -5.0, ln_qrs 1.27, MeanCV 233.9, S0 0.99260; round 1 decimal; not PREVENT 2024; not 2013 PCE; not a diagnosis","diabetes_medication":false,"ten_year_hf_percent":0.2,"total_cholesterol_mg_dl":180},{"age":50,"sex":"female","cohort":"white","qrs_ms":90,"smoker":false,"formula":"pcp_hf","citation":{"id":"khan-2019-pcp-hf","doi":"10.1016/j.jacc.2019.02.057","pmid":"31097157","title":"10-Year Risk Equations for Incident Heart Failure in the General Population","source":"J Am Coll Cardiol. 2019;73(19):2388-2397","authors":"Khan SS, Ning H, Shah SJ, Yancy CW, Carnethon M, Berry JD, et al."},"bmi_kg_m2":22,"hdl_mg_dl":55,"sbp_mm_hg":120,"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.","glucose_mg_dl":90,"individual_sum":98.7374,"antihypertensive":false,"formula_expression":"10-year incident HF % = 100*(1-S0**exp(IndX-MeanCV)); Khan 2019 Table 2; Ln=natural log; age 30-79; cohort white|black (caller-assigned paper terms; not param race); antihypertensive true uses treated SBP terms only; diabetes_medication true uses treated glucose terms only (not both); interactions only where Table 2 is not N/A; WHITE MALE: ln_age 41.94, ln_age^2 -0.88, ln_treated_sbp 1.03, ln_untreated_sbp 0.91, smoker 0.74, ln_treated_glucose 0.90, ln_untreated_glucose 0.78, ln_tc 0.49, ln_hdl -0.44, ln_bmi 37.2, ln_age*ln_bmi -8.83, ln_qrs 0.63, MeanCV 171.5, S0 0.98752; WHITE FEMALE: ln_age 20.55, ln_treated_sbp 12.95, ln_age*ln_treated_sbp -2.96, ln_untreated_sbp 11.86, ln_age*ln_untreated_sbp -2.73, smoker 11.02, ln_age*smoker -2.50, ln_treated_glucose 1.04, ln_untreated_glucose 0.91, ln_hdl -0.07, ln_bmi 1.33, ln_qrs 1.06, MeanCV 99.73, S0 0.99348; BLACK MALE: ln_age 2.88, ln_treated_sbp 2.31, ln_untreated_sbp 2.17, smoker 1.66, ln_age*smoker -0.25, ln_treated_glucose 0.64, ln_untreated_glucose 0.58, ln_hdl -0.81, ln_bmi 1.16, ln_qrs 0.73, MeanCV 28.73, S0 0.98295; BLACK FEMALE: ln_age 51.75, ln_treated_sbp 29.0, ln_age*ln_treated_sbp -6.59, ln_untreated_sbp 28.18, ln_age*ln_untreated_sbp -6.42, smoker 0.76, ln_treated_glucose 0.97, ln_untreated_glucose 0.80, ln_tc 0.32, ln_bmi 21.24, ln_age*ln_bmi -5.0, ln_qrs 1.27, MeanCV 233.9, S0 0.99260; round 1 decimal; not PREVENT 2024; not 2013 PCE; not a diagnosis","diabetes_medication":false,"ten_year_hf_percent":0.2,"total_cholesterol_mg_dl":180}]}},"iconUrl":"https://api.magentlab.com/favicon.ico"},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"body":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"type":"object","required":["age","sex","cohort","sbp_mm_hg","antihypertensive","glucose_mg_dl","diabetes_medication","bmi_kg_m2","total_cholesterol_mg_dl","hdl_mg_dl","smoker","qrs_ms"],"properties":{"age":{"type":"integer","description":"Age in years (integer 30-79). Khan 2019 Table 2 10-year incident HF is for ages 30-79. magent does not take a date of birth."},"sex":{"enum":["female","male"],"type":"string","description":"Sex used by the sex-specific Table 2 coefficients (female or male). Not cohort."},"cohort":{"enum":["white","black"],"type":"string","description":"Caller-assigned cohort as used in Khan 2019 Table 2: white or black (paper terms). Not param race. magent does not assign race or ethnicity. Other strings are rejected."},"qrs_ms":{"type":"number","description":"QRS duration in ms (40-300). Enters as ln(QRS). magent does not interpret an ECG."},"smoker":{"type":"boolean","description":"Current cigarette smoking as assigned by the caller (true or false). Adds the Table 2 smoker term and ln(age) × smoker when that cell is not N/A. magent does not take a smoking history."},"bmi_kg_m2":{"type":"number","description":"Body-mass index in kg/m2 (10-80). Enters as ln(BMI) and ln(age)×ln(BMI) when that Table 2 cell is not N/A. magent does not measure height or weight."},"hdl_mg_dl":{"type":"number","description":"HDL cholesterol in mg/dL (5-150). Enters as ln(HDL-C) when that Table 2 cell is not N/A. 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 2 coefficient according to antihypertensive. magent does not measure blood pressure."},"glucose_mg_dl":{"type":"number","description":"Fasting glucose in mg/dL (40-600). Enters as ln(glucose) with the treated or untreated Table 2 coefficient according to diabetes_medication. magent does not assay glucose."},"antihypertensive":{"type":"boolean","description":"Current antihypertensive treatment as assigned by the caller (true or false). true uses the Table 2 treated-SBP coefficient (and age × treated SBP when that cell is not N/A). false uses untreated SBP. Not both."},"diabetes_medication":{"type":"boolean","description":"Current diabetes medication as assigned by the caller (true or false). true uses the Table 2 treated-glucose coefficient. false uses untreated glucose. Not both."},"total_cholesterol_mg_dl":{"type":"number","description":"Total cholesterol in mg/dL (50-800). Enters as ln(total cholesterol) when that Table 2 cell is not N/A. magent does not assay lipids."}}},"maxItems":25,"minItems":1}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"type":"string","const":"POST"},"headers":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}}}},"description":"Khan 2019 PCP-HF 10-year incident heart-failure percent for age 30-79 from sex, caller-assigned white or black cohort, treated or untreated systolic BP and fasting glucose, total and HDL cholesterol, BMI, smoking, and QRS duration. Table 2 coefficients. Caller assigns cohort; magent does not assign race. Not PREVENT 2024, not 2013 PCE, not a diagnosis or treatment order. magent does not assay lipids, measure blood pressure, or interpret an ECG.","lastUpdated":"2026-09-28T13:44:31.283Z","serviceName":"magent","x402Version":2}]}}