the402 endpoint detail

← All endpoints

api.magentlab.com calc resp

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

answers 402

Schmidt 2014 RESP Table 3 (-22 to 15): age 18-49 0, 50-59 -2, >=60 -3; immunocompromised -2; MV lt_48h +3, h48_to_7d +1, gt_7d 0; one diagnosis (viral/bacterial pneumonia +3, asthma +11, trauma_burn +3, aspiration_pneumonitis +5, other acute +1, nonrespiratory 0); CNS -7; nonpulmonary infection -3; NMB +1; NO -1; bicarbonate -2; arrest -2; PaCO2 >=75 -1; PIP >=42 -1. Class I >=6 92%, II 3-5 76%, I

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

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