the402 endpoint detail

← All endpoints

api.magentlab.com calc du_bois

https://api.magentlab.com/api/calc/du_bois

answers 402

du Bois 2011 abbreviated four-predictor IPF score from age (<60 → 0, 60–69 → 4, ≥70 → 8), 24-week respiratory hospitalization (true → 14), FVC % predicted (<50 → 18, 51–65 → 13, 66–79 → 8, >80 → 0; 50 and 80 unpublished), and 24-week FVC % change (≤ −10 → 21, > −10 and < −4.9 → 10, ≥ −4.9 → 0). Returns a 0–61 total only. Does not interpolate Table 4 risk percents. Not GAP and not a transplant list

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.005
Network
base
Pay to
0x836Be278f1739fB4308091cD1852F7971Bc19Ee2
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
78 ms
Payment options
1 usable of 1
Last checked
2026-09-06T01:17:31.754Z (2h ago)
Category
other

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fapi.magentlab.com%2Fapi%2Fcalc%2Fdu_bois"