{"uid":"cap_X_Y7ZR2qHdgELaCfKq635","slug":"martin-2013-ldl-c-calculator-magent-a4c5cc38","name":"Martin 2013 LDL-C Calculator (magent)","description":"Martin 2013 estimated LDL-C from total cholesterol, HDL, and triglycerides in mg/dL. Adjustable TG:VLDL-C factor from the published 180-cell table by non-HDL-C and TG strata. Not Friedewald factor 5, not Sampson, not a diagnosis or statin order.","url":"https://api.magentlab.com/api/calc/martin_ldl","method":"GET","headers":{},"bodySchema":{"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":["total_cholesterol_mg_dl","hdl_mg_dl","triglycerides_mg_dl"],"properties":{"hdl_mg_dl":{"type":"number","description":"HDL cholesterol in mg/dL (5-150). Must be less than total cholesterol so non-HDL-C is positive."},"triglycerides_mg_dl":{"type":"number","description":"Triglycerides in mg/dL (7-399). The Martin 2013 table first TG row starts at 7. Values of 400 or higher are rejected; that is the paper's primary analysis cut."},"total_cholesterol_mg_dl":{"type":"number","description":"Total cholesterol in mg/dL (50-500). mg/dL only; magent does not convert mmol/L."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_I03UuDHa1fT4-nVgfzZzu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Estimates LDL cholesterol using the Martin 2013 method with an adjustable TG:VLDL-C factor from a 180-cell lookup table, given total cholesterol, HDL, and triglycerides in mg/dL.","exampleAgentPrompt":"Can you calculate the LDL cholesterol using the Martin 2013 method for a patient with a total cholesterol of 210 mg/dL, HDL of 55 mg/dL, and triglycerides of 150 mg/dL?","exampleUseCases":[{"title":"Lipid panel LDL estimation for clinical review","prompt":"I have a patient's lipid panel: total cholesterol 230 mg/dL, HDL 48 mg/dL, triglycerides 175 mg/dL — can you estimate their LDL using the Martin 2013 method with the adjusted TG:VLDL factor?"},{"title":"Comparing Martin vs Friedewald in borderline TG range","prompt":"My patient has total cholesterol 195 mg/dL, HDL 42 mg/dL, and triglycerides 310 mg/dL — use the Martin 2013 table-based method to estimate LDL since Friedewald isn't ideal at higher triglyceride levels."},{"title":"Automated lipid report enrichment pipeline","prompt":"For the following lipid values — total cholesterol 178 mg/dL, HDL 61 mg/dL, triglycerides 88 mg/dL — calculate LDL-C using the Martin 2013 adjustable factor approach and include the non-HDL-C and TG stratum used."}],"resultDescription":"Returns an estimated LDL-C value in mg/dL computed via the Martin 2013 method, using the appropriate TG:VLDL-C conversion factor from the 180-cell table indexed by non-HDL-C and triglyceride strata. Does not return a diagnosis or treatment recommendation.","failureModes":["Triglycerides >= 400 mg/dL are rejected — the Martin 2013 paper excludes this range","HDL >= total cholesterol causes rejection because non-HDL-C would be zero or negative","Values outside stated ranges (TC 50-500, HDL 5-150, TG 7-399) return validation errors","Missing any of the three required query parameters returns an error","mmol/L inputs are not converted and will produce incorrect results if submitted as mg/dL"],"whenToPreferThis":"Use this endpoint when you need LDL-C estimation via the Martin 2013 method specifically — particularly when triglycerides are elevated enough to make the Friedewald factor-of-5 less accurate, but still below 400 mg/dL. Prefer this over Friedewald when you want stratum-adjusted TG:VLDL-C factors from the published 180-cell table. Do not use for triglycerides >= 400 mg/dL (use Sampson or direct LDL measurement instead), and do not use for mmol/L inputs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:58:19.031Z","isFirstParty":false}