68trust / 100

Calc I See

by magent in Other

x402 APIFailing, checked 2 h ago

Dellon 2022 I-SEE Table I: symptoms 0/1/2/4, food_impaction 0/2/4, stacking complications (hospitalization 4, perforation 15, malnutrition 15, persistent_inflammation 15), inflam endoscopy 0-2, peak eos 0-2, fibro endoscopy 0/1/2/15, histologic fibrosis 2. Max 78. Bands <1 inactive, 1-6 mild, 7-14 moderate, ≥15 severe. magent does not perform endoscopy or count eos. Not EREFS. Not a diagnosis.

POST
https://api.magentlab.com/api/calc/i_see
Price
$0.007
per call in USDC
Uptime
94.1%
last 30 days
Response time
268 ms
607 ms slowest 5%
Last check
Failed
2 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Latest check failed 2 h ago: Timed out

Status and outage history · Atom feed · Watch with other listings

How to call it

POST https://api.magentlab.com/api/calc/i_see

Each call costs $0.007 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://api.magentlab.com/api/calc/i_see
content-type: application/json

{
  "items": [
    {
      "esophageal_perforation": false,
      "fibro_endoscopy": "none",
      "food_impaction": "none",
      "histologic_fibrosis": false,
      "hospitalization_eoe": false,
      "inflam_endoscopy": "localized",
      "malnutrition": false,
      "peak_eos": "15_60",
      "persistent_inflammation": false,
      "symptoms": "daily"
    },
    {
      "esophageal_perforation": false,
      "fibro_endoscopy": "none",
      "food_impaction": "none",
      "histologic_fibrosis": false,
      "hospitalization_eoe": false,
      "inflam_endoscopy": "localized",
      "malnutrition": false,
      "peak_eos": "15_60",
      "persistent_inflammation": false,
      "symptoms": "daily"
    }
  ]
}

Parameters

ParameterTypeRequiredDescription
itemsarray of objectYes

Example response

The provider's example. We can't check it without paying.

Example response, 172 lines
{
  "count": 2,
  "items": [
    {
      "citation": {
        "authors": "Dellon ES, Khoury P, Muir AB, Liacouras CA, Safroneeva E, Atkins D, Collins MH, Gonsalves N, Falk GW, Spergel JM, Schoepfer AM, Menard-Katcher C, Furuta GT, Aceves S",
        "doi": "10.1016/j.jaci.2022.03.015",
        "id": "dellon-2022",
        "pmid": "35606166",
        "source": "J Allergy Clin Immunol. 2022;150(1):33-47",
        "title": "A Clinical Severity Index for Eosinophilic Esophagitis: Development, Consensus, and Future Directions"
      },
      "components": [
        {
          "factor": "symptoms",
          "points": 2,
          "present": true,
          "value": "daily"
        },
        {
          "factor": "food_impaction",
          "points": 0,
          "present": true,
          "value": "none"
        },
        {
          "factor": "hospitalization_eoe",
          "points": 0,
          "present": false
        },
        {
          "factor": "esophageal_perforation",
          "points": 0,
          "present": false
        },
        {
          "factor": "malnutrition",
          "points": 0,
          "present": false
        },
        {
          "factor": "persistent_inflammation",
          "points": 0,
          "present": false
        },
        {
          "factor": "inflam_endoscopy",
          "points": 1,
          "present": true,
          "value": "localized"
        },
        {
          "factor": "peak_eos",
          "points": 1,
          "present": true,
          "value": "15_60"
        },
        {
          "factor": "fibro_endoscopy",
          "points": 0,
          "present": true,
          "value": "none"
        },
        {
          "factor": "histologic_fibrosis",
          "points": 0,
          "present": false
        }
      ],
      "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
      "esophageal_perforation": false,
      "fibro_endoscopy": "none",
      "food_impaction": "none",
      "formula": "i_see",
      "formula_expression": "I-SEE = symptoms (none 0, weekly 1, daily 2, multiple_or_social 4) + food_impaction (none 0, adult_ge_18 2, child_lt_18 4) + hospitalization_eoe 4 + esophageal_perforation 15 + malnutrition 15 + persistent_inflammation 15 + inflam_endoscopy (none 0, localized 1, diffuse 2) + peak_eos (lt_15 0, 15_60 1, gt_60 2) + fibro_endoscopy (none 0, passes_easily 1, dilation_or_snug 2, cannot_pass_or_repeated 15) + histologic_fibrosis 2; Dellon 2022 Table I; complications stack (each selected feature gets points); exclusive within other rows; bands <1 inactive, 1-6 mild, 7-14 moderate, ≥15 severe; max 78; not EREFS",
      "histologic_fibrosis": false,
      "hospitalization_eoe": false,
      "inflam_endoscopy": "localized",
      "isee_band": "mild",
      "malnutrition": false,
      "max_score": 78,
      "peak_eos": "15_60",
      "persistent_inflammation": false,
      "score": 4,
      "symptoms": "daily"
    },
    {
      "citation": {
        "authors": "Dellon ES, Khoury P, Muir AB, Liacouras CA, Safroneeva E, Atkins D, Collins MH, Gonsalves N, Falk GW, Spergel JM, Schoepfer AM, Menard-Katcher C, Furuta GT, Aceves S",
        "doi": "10.1016/j.jaci.2022.03.015",
        "id": "dellon-2022",
        "pmid": "35606166",
        "source": "J Allergy Clin Immunol. 2022;150(1):33-47",
        "title": "A Clinical Severity Index for Eosinophilic Esophagitis: Development, Consensus, and Future Directions"
      },
      "components": [
        {
          "factor": "symptoms",
          "points": 2,
          "present": true,
          "value": "daily"
        },
        {
          "factor": "food_impaction",
          "points": 0,
          "present": true,
          "value": "none"
        },
        {
          "factor": "hospitalization_eoe",
          "points": 0,
          "present": false
        },
        {
          "factor": "esophageal_perforation",
          "points": 0,
          "present": false
        },
        {
          "factor": "malnutrition",
          "points": 0,
          "present": false
        },
        {
          "factor": "persistent_inflammation",
          "points": 0,
          "present": false
        },
        {
          "factor": "inflam_endoscopy",
          "points": 1,
          "present": true,
          "value": "localized"
        },
        {
          "factor": "peak_eos",
          "points": 1,
          "present": true,
          "value": "15_60"
        },
        {
          "factor": "fibro_endoscopy",
          "points": 0,
          "present": true,
          "value": "none"
        },
        {
          "factor": "histologic_fibrosis",
          "points": 0,
          "present": false
        }
      ],
      "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
      "esophageal_perforation": false,
      "fibro_endoscopy": "none",
      "food_impaction": "none",
      "formula": "i_see",
      "formula_expression": "I-SEE = symptoms (none 0, weekly 1, daily 2, multiple_or_social 4) + food_impaction (none 0, adult_ge_18 2, child_lt_18 4) + hospitalization_eoe 4 + esophageal_perforation 15 + malnutrition 15 + persistent_inflammation 15 + inflam_endoscopy (none 0, localized 1, diffuse 2) + peak_eos (lt_15 0, 15_60 1, gt_60 2) + fibro_endoscopy (none 0, passes_easily 1, dilation_or_snug 2, cannot_pass_or_repeated 15) + histologic_fibrosis 2; Dellon 2022 Table I; complications stack (each selected feature gets points); exclusive within other rows; bands <1 inactive, 1-6 mild, 7-14 moderate, ≥15 severe; max 78; not EREFS",
      "histologic_fibrosis": false,
      "hospitalization_eoe": false,
      "inflam_endoscopy": "localized",
      "isee_band": "mild",
      "malnutrition": false,
      "max_score": 78,
      "peak_eos": "15_60",
      "persistent_inflammation": false,
      "score": 4,
      "symptoms": "daily"
    }
  ],
  "path": "/api/calc/i_see"
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.007.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://api.magentlab.com/api/calc/i_see' \
  -H 'content-type: application/json' \
  --data-raw '{"items":[{"esophageal_perforation":false,"fibro_endoscopy":"none","food_impaction":"none","histologic_fibrosis":false,"hospitalization_eoe":false,"inflam_endoscopy":"localized","malnutrition":false,"peak_eos":"15_60","persistent_inflammation":false,"symptoms":"daily"},{"esophageal_perforation":false,"fibro_endoscopy":"none","food_impaction":"none","histologic_fibrosis":false,"hospitalization_eoe":false,"inflam_endoscopy":"localized","malnutrition":false,"peak_eos":"15_60","persistent_inflammation":false,"symptoms":"daily"}]}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://api.magentlab.com/api/calc/i_see' \
  -H 'content-type: application/json' \
  --data-raw '{"items":[{"esophageal_perforation":false,"fibro_endoscopy":"none","food_impaction":"none","histologic_fibrosis":false,"hospitalization_eoe":false,"inflam_endoscopy":"localized","malnutrition":false,"peak_eos":"15_60","persistent_inflammation":false,"symptoms":"daily"},{"esophageal_perforation":false,"fibro_endoscopy":"none","food_impaction":"none","histologic_fibrosis":false,"hospitalization_eoe":false,"inflam_endoscopy":"localized","malnutrition":false,"peak_eos":"15_60","persistent_inflammation":false,"symptoms":"daily"}]}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.007 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.007" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.007 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.magentlab.com%2Fapi%2Fcalc%2Fi_see&method=POST
const res = await pay("https://api.magentlab.com/api/calc/i_see", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "items": [
      {
        "esophageal_perforation": false,
        "fibro_endoscopy": "none",
        "food_impaction": "none",
        "histologic_fibrosis": false,
        "hospitalization_eoe": false,
        "inflam_endoscopy": "localized",
        "malnutrition": false,
        "peak_eos": "15_60",
        "persistent_inflammation": false,
        "symptoms": "daily"
      },
      {
        "esophageal_perforation": false,
        "fibro_endoscopy": "none",
        "food_impaction": "none",
        "histologic_fibrosis": false,
        "hospitalization_eoe": false,
        "inflam_endoscopy": "localized",
        "malnutrition": false,
        "peak_eos": "15_60",
        "persistent_inflammation": false,
        "symptoms": "daily"
      }
    ]
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.007 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.007"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://api.magentlab.com/api/calc/i_see",
        json={
            "items": [
                {
                    "esophageal_perforation": False,
                    "fibro_endoscopy": "none",
                    "food_impaction": "none",
                    "histologic_fibrosis": False,
                    "hospitalization_eoe": False,
                    "inflam_endoscopy": "localized",
                    "malnutrition": False,
                    "peak_eos": "15_60",
                    "persistent_inflammation": False,
                    "symptoms": "daily",
                },
                {
                    "esophageal_perforation": False,
                    "fibro_endoscopy": "none",
                    "food_impaction": "none",
                    "histologic_fibrosis": False,
                    "hospitalization_eoe": False,
                    "inflam_endoscopy": "localized",
                    "malnutrition": False,
                    "peak_eos": "15_60",
                    "persistent_inflammation": False,
                    "symptoms": "daily",
                },
            ],
        },
    )
    print(res.status_code, res.text)

Security scan

1 finding

  • Charges more than its listed price in payment
    Listed at $0.005, charges $0.007

Recent checks

WhenResultHTTPTimePrice
2 h agoTimed out---
6 h agoTimed out---
11 h agoPassed402441 ms$0.007
16 h agoPassed402180 ms$0.007
21 h agoPassed402185 ms$0.007
Show 10 older checks
25 h agoPassed402543 ms$0.007
30 h agoPassed402255 ms$0.007
35 h agoPassed402268 ms$0.007
39 h agoPassed402230 ms$0.007
43 h agoPassed402333 ms$0.007
47 h agoPassed402483 ms$0.007
2 days agoPassed402169 ms$0.007
2 days agoPassed402607 ms$0.007
3 days agoPassed402326 ms$0.007
3 days agoPassed402168 ms$0.007

History

11 Oct 2026Price changed from $0.005 to $0.007