https://api.magentlab.com/api/calc/gap_indexGET /api/calc/gap_index · x402 API by magentlab
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.
What does this x402 API do?
https://api.magentlab.com/api/calc/gap_index. This is an x402-gated GET API resource from magentlab. TOLL·402 confirmed a protocol-valid HTTP 402 quote on 2026-08-25. No normalized USD price is recorded; the listing names Base. No settled paid call has been verified.
- Published price
- No normalized USD price is recorded
- Networks
- Base
- Latest evidence
- TOLL·402 confirmed a protocol-valid HTTP 402 quote on 2026-08-25
- Resource ID
- 61e10b98ed5e4a9d127e024e
Start with a quote-only recipe. Payment signing stays in your project.
const response = await fetch("https://api.magentlab.com/api/calc/gap_index", {
method: "GET",
});
console.log(response.status);
console.log(Object.fromEntries(response.headers));
console.log((await response.text()).slice(0, 1000));
// A valid 402 is a quote, not a completed paid call.This sends no payment. Inspect the 402 response before adding a wallet-enabled client.
- Live 402 quote confirmed
GET returned a protocol-valid 402 quote (402). No payment was made.
- Origin reachable
HEAD https://api.magentlab.com/ returned 301.
- Observed in cdp-bazaar
The registry record was observed and retained with provenance.
- Observed in 402-index
Discovered through bazaar.
- Registry record checked
Registry health: healthy.
What evidence supports this listing?
Each record has an exact-route quote outcome. Unresolved templates and potentially mutating methods are labeled instead of being invoked without provider-specific test input. A quote is still separate from a settled paid call. Read the discovery and verification methodology →
Which networks and payment options does it accept?
The normalized listing price is No normalized USD price is recorded. Raw protocol requirements remain visible below for implementation and audit use.