← All endpoints
api.magentlab.com calc gap_index
https://api.magentlab.com/api/calc/gap_index
answers 402
Ley 2012 GAP index (points) from sex (male 1), age (≤60 → 0, 61–65 → 1, >65 → 2), FVC % predicted (>75 → 0, 50–75 → 1, <50 → 2), and DLCO % predicted (>55 → 0, 36–55 → 1, ≤35 → 2; cannot perform → 3). Returns a 0–8 total and stage 1–3 (0–3 / 4–5 / 6–8). Deterministic published points with citation. Not a transplant listing and not a continuous GAP calculator.
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
- 96 ms
- Payment options
- 1 usable of 1
- Last checked
- 2026-09-06T01:17:17.145Z (2h ago)
- Category
- search
Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fapi.magentlab.com%2Fapi%2Fcalc%2Fgap_index"