the402 endpoint detail

← All endpoints

api.magentlab.com calc hospital

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

answers 402

HOSPITAL (Donze 2013 JAMA Intern Med acronym table): hemoglobin_lt_12 (last Hb <12 g/dL) 1; oncology_service 2; sodium_lt_135 (last Na <135 mmol/L) 1; procedure (any ICD-coded procedure during the stay) 1; urgent_or_emergent_admission 1; admissions_12mo 0-1→0, 2-5→2, >5→5; los_ge_5_days 2. Max 13. Bands 0-4 low, 5-6 intermediate, >=7 high for potentially avoidable 30-day readmission (SQLape), not

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

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