75trust / 100

Calc Flipi24

by magent in Productivity & SaaS

x402 APIPassing, checked 6 h ago

Maurer 2025 FLIPI24: 24-month event probability in newly diagnosed follicular lymphoma from age (nonlinear, inflection at 75), hemoglobin, WBC, LDH/ULN, and beta-2 microglobulin. Table S5 Cox algorithm assuming R-CHOP or B-R-like immunochemotherapy and 50% anti-CD20 maintenance. Low/intermediate/high at 0.10 and 0.15. Not Solal-Céligny FLIPI 2004. Not a diagnosis or treatment order. magent does not assay labs.

GET https://api.magentlab.com/api/calc/flipi24

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
138 ms typical, 138 ms slowest 5%
Last check
6 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.magentlab.com/api/calc/flipi24?age=61&b2m_mg_l=2&hemoglobin_g_dl=13&ldh_uln_ratio=1&wbc_10e9_l=7"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.magentlab.com%2Fapi%2Fcalc%2Fflipi24
const res = await pay("https://api.magentlab.com/api/calc/flipi24?age=61&b2m_mg_l=2&hemoglobin_g_dl=13&ldh_uln_ratio=1&wbc_10e9_l=7");
console.log(await res.json());

Example input

{
  "age": 61,
  "b2m_mg_l": 2,
  "hemoglobin_g_dl": 13,
  "ldh_uln_ratio": 1,
  "wbc_10e9_l": 7
}

Example output

{
  "age": 61,
  "b2m_mg_l": 2,
  "citation": {
    "authors": "Maurer MJ, et al.",
    "doi": "10.1200/jco-25-00892",
    "id": "maurer-2025-flipi24",
    "pmid": "41329901",
    "source": "J Clin Oncol. 2026;44(2):117-128",
    "title": "FLIPI24: A Modern Prognostic Model and Clinical Trial Enrichment Tool for Newly Diagnosed Follicular Lymphoma"
  },
  "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.",
  "efs24_event_probability": 0.1156,
  "formula": "flipi24",
  "formula_expression": "efs24_event_probability = 1 - 0.89^exp(lp); lp = 0.01*age60 + 0.038*age_over_75 + 0.364*ldh_uln + 0.159*b2m_mg_l - 0.081*hemoglobin_g_dl + 0.075*wbc_10e9_l - 0.7115; age60 = clamp(age, 60, 90); age_over_75 = min(15, max(0, clamp(age, 0, 90)-75)); ldh_uln clamp 0.5-5; b2m clamp 1-10 mg/L; hemoglobin clamp 8-17 g/dL; wbc clamp 4-11 10^9/L; Maurer 2025 Table S5; S0(24)=0.89; 50% anti-CD20 maintenance is in the 0.7115 centering; risk low if p<=0.10, intermediate if p<=0.15, else high; assumes R-CHOP or B-R-like immunochemotherapy",
  "hemoglobin_g_dl": 13,
  "ldh_uln_ratio": 1,
  "linear_predictor": 0.0525,
  "risk_group": "intermediate",
  "wbc_10e9_l": 7
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
6 h agoPassed402138 ms$0.005