the402 endpoint detail

← All endpoints

api.magentlab.com calc lace

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

answers 402

LACE (van Walraven 2010 CMAJ Table 3) from length of stay in days (<1 0; 1 1; 2 2; 3 3; 4-6 4; 7-13 5; >=14 7), acute (emergent) admission (true 3), caller-supplied Charlson comorbidity index (0-3 identity; >=4 5), and ED visits in the previous 6 months (0-3 identity; >=4 4). Score 0-19 only; no unpublished high-risk class. Not a discharge order. magent does not compute Charlson.

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
59 ms
Payment options
1 usable of 1
Last checked
2026-09-06T01:17:13.772Z (2h ago)
Category
search

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