resources/magentlab/GET /api/calc/years
GET402 quotelive quote

https://api.magentlab.com/api/calc/yearsGET /api/calc/years · x402 API by magentlab

YEARS algorithm (van der Hulle 2017 Lancet). Count three caller-assigned items (clinical signs of DVT, hemoptysis, PE most likely) and exclude PE only when D-dimer (ng/mL FEU) is strictly below 1000 with 0 items or 500 with 1-3 items. Equality is not excluded. Not a diagnosis, not Wells, not PERC. magent does not decide PE most likely. The 2017 cohort excluded pregnancy.

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

What does this x402 API do?

https://api.magentlab.com/api/calc/years. 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
0364e17d33b5596c40b103bb
USE THIS RESOURCE

Start with a quote-only recipe. Payment signing stays in your project.

CODE
AI CODING TOOLS
quote-check.ts
const response = await fetch("https://api.magentlab.com/api/calc/years", {
  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.

STATUS HISTORY

  1. Live 402 quote confirmed

    GET returned a protocol-valid 402 quote (402). No payment was made.

  2. Origin reachable

    HEAD https://api.magentlab.com/ returned 301.

  3. Observed in cdp-bazaar

    The registry record was observed and retained with provenance.

  4. Observed in 402-index

    Discovered through bazaar.

  5. Registry record checked

    Registry health: healthy.

What evidence supports this listing?

cdp-bazaarobserved 2026-08-25 · open source record ↗
402-indexobserved 2026-08-25 · open source record ↗
origin checkHEAD https://api.magentlab.com/ → 301 on 2026-08-25
route quotelive 402 quote confirmed · GET 402 · 2026-08-25

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.

Baseexact5000 atomic · 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
Basebatch-settlement5000 atomic · 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
magentlab GET /api/calc/years · 0364e1 x402 API · TOLL·402