Calc Slicc Sle
by magent in Other
SLICC 2012 SLE classification (Petri Table 3). classified iff biopsy-proven lupus nephritis plus ANA or anti-dsDNA, or at least four criteria including at least one clinical and one immunologic. 11 clinical and 6 immunologic caller flags. Direct Coombs counts only in the absence of hemolytic anemia. Criteria need not be concurrent. Not a diagnosis. Not 1997 ACR. Not 2019 EULAR/ACR. magent does not examine skin, assay serologies, or read a biopsy.
https://api.magentlab.com/api/calc/slicc_sle- Price
- $0.007
- per call in USDC
- Uptime
- 89.2%
- last 30 days
- Response time
- 300 ms
- 537 ms slowest 5%
- Last check
- Failed
- 3 h ago, next any minute now
Reliability
Latest check failed 3 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/slicc_sle
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/slicc_sle
content-type: application/json
{
"items": [
{
"acute_cutaneous_lupus": true,
"ana": true,
"anti_dsdna": true,
"anti_sm": false,
"antiphospholipid": false,
"biopsy_lupus_nephritis": false,
"chronic_cutaneous_lupus": false,
"direct_coombs": false,
"hemolytic_anemia": false,
"leukopenia_or_lymphopenia": false,
"low_complement": false,
"neurologic": false,
"nonscarring_alopecia": false,
"oral_or_nasal_ulcers": true,
"renal": false,
"serositis": false,
"synovitis": true,
"thrombocytopenia": false
},
{
"acute_cutaneous_lupus": true,
"ana": true,
"anti_dsdna": true,
"anti_sm": false,
"antiphospholipid": false,
"biopsy_lupus_nephritis": false,
"chronic_cutaneous_lupus": false,
"direct_coombs": false,
"hemolytic_anemia": false,
"leukopenia_or_lymphopenia": false,
"low_complement": false,
"neurologic": false,
"nonscarring_alopecia": false,
"oral_or_nasal_ulcers": true,
"renal": false,
"serositis": false,
"synovitis": true,
"thrombocytopenia": false
}
]
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
items | array of object | Yes |
Example response
The provider's example. We can't check it without paying.
Example response, 40 lines
{
"count": 2,
"items": [
{
"citation": {
"authors": "Petri M, Orbai AM, Alarcón GS, Gordon C, Merrill JT, Fortin PR, Bruce IN, Isenberg D, Wallace DJ, Nived O, Sturfelt G, Ramsey-Goldman R, Bae SC, Hanly JG, Sánchez-Guerrero J, Clarke A, Aranow C, Manzi S, Urowitz M, Gladman D, Kalunian K, Costner M, Werth VP, Zoma A, Bernatsky S, Ruiz-Irastorza G, Khamashta MA, Jacobsen S, Buyon JP, Maddison P, Dooley MA, van Vollenhoven RF, Ginzler E, Stoll T, Peschken C, Jorizzo JL, Callen JP, Lim SS, Fessler BJ, Inanc M, Kamen DL, Rahman A, Steinsson K, Franks AG, Sigler L, Hameed S, Fang H, Pham N, Brey R, Weisman MH, McGwin G, Magder LS",
"doi": "10.1002/art.34473",
"id": "petri-2012",
"pmid": "22553077",
"source": "Arthritis Rheum. 2012;64(8):2677-2686",
"title": "Derivation and validation of the Systemic Lupus International Collaborating Clinics classification criteria for systemic lupus erythematosus"
},
"classified": true,
"clinical_count": 3,
"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.",
"formula": "slicc_sle",
"formula_expression": "SLICC 2012 SLE classification (Petri Table 3 + classification rule): 11 clinical flags (acute_cutaneous_lupus, chronic_cutaneous_lupus, oral_or_nasal_ulcers, nonscarring_alopecia, synovitis, serositis, renal, neurologic, hemolytic_anemia, leukopenia_or_lymphopenia, thrombocytopenia) and 6 immunologic flags (ana, anti_dsdna, anti_sm, antiphospholipid, low_complement, direct_coombs). clinical_count = count of clinical flags that are true. immunologic_count = count of immunologic flags that are true, except direct_coombs counts only when hemolytic_anemia is false. nephritis_shortcut iff biopsy_lupus_nephritis and (ana or anti_dsdna). classified iff nephritis_shortcut or (clinical_count ≥1 and immunologic_count ≥1 and clinical_count + immunologic_count ≥4). Criteria need not be concurrent. Not a diagnosis. Not 1997 ACR. Not 2019 EULAR/ACR",
"immunologic_count": 2,
"nephritis_shortcut": false
},
{
"citation": {
"authors": "Petri M, Orbai AM, Alarcón GS, Gordon C, Merrill JT, Fortin PR, Bruce IN, Isenberg D, Wallace DJ, Nived O, Sturfelt G, Ramsey-Goldman R, Bae SC, Hanly JG, Sánchez-Guerrero J, Clarke A, Aranow C, Manzi S, Urowitz M, Gladman D, Kalunian K, Costner M, Werth VP, Zoma A, Bernatsky S, Ruiz-Irastorza G, Khamashta MA, Jacobsen S, Buyon JP, Maddison P, Dooley MA, van Vollenhoven RF, Ginzler E, Stoll T, Peschken C, Jorizzo JL, Callen JP, Lim SS, Fessler BJ, Inanc M, Kamen DL, Rahman A, Steinsson K, Franks AG, Sigler L, Hameed S, Fang H, Pham N, Brey R, Weisman MH, McGwin G, Magder LS",
"doi": "10.1002/art.34473",
"id": "petri-2012",
"pmid": "22553077",
"source": "Arthritis Rheum. 2012;64(8):2677-2686",
"title": "Derivation and validation of the Systemic Lupus International Collaborating Clinics classification criteria for systemic lupus erythematosus"
},
"classified": true,
"clinical_count": 3,
"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.",
"formula": "slicc_sle",
"formula_expression": "SLICC 2012 SLE classification (Petri Table 3 + classification rule): 11 clinical flags (acute_cutaneous_lupus, chronic_cutaneous_lupus, oral_or_nasal_ulcers, nonscarring_alopecia, synovitis, serositis, renal, neurologic, hemolytic_anemia, leukopenia_or_lymphopenia, thrombocytopenia) and 6 immunologic flags (ana, anti_dsdna, anti_sm, antiphospholipid, low_complement, direct_coombs). clinical_count = count of clinical flags that are true. immunologic_count = count of immunologic flags that are true, except direct_coombs counts only when hemolytic_anemia is false. nephritis_shortcut iff biopsy_lupus_nephritis and (ana or anti_dsdna). classified iff nephritis_shortcut or (clinical_count ≥1 and immunologic_count ≥1 and clinical_count + immunologic_count ≥4). Criteria need not be concurrent. Not a diagnosis. Not 1997 ACR. Not 2019 EULAR/ACR",
"immunologic_count": 2,
"nephritis_shortcut": false
}
],
"path": "/api/calc/slicc_sle"
}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/slicc_sle' \
-H 'content-type: application/json' \
--data-raw '{"items":[{"acute_cutaneous_lupus":true,"ana":true,"anti_dsdna":true,"anti_sm":false,"antiphospholipid":false,"biopsy_lupus_nephritis":false,"chronic_cutaneous_lupus":false,"direct_coombs":false,"hemolytic_anemia":false,"leukopenia_or_lymphopenia":false,"low_complement":false,"neurologic":false,"nonscarring_alopecia":false,"oral_or_nasal_ulcers":true,"renal":false,"serositis":false,"synovitis":true,"thrombocytopenia":false},{"acute_cutaneous_lupus":true,"ana":true,"anti_dsdna":true,"anti_sm":false,"antiphospholipid":false,"biopsy_lupus_nephritis":false,"chronic_cutaneous_lupus":false,"direct_coombs":false,"hemolytic_anemia":false,"leukopenia_or_lymphopenia":false,"low_complement":false,"neurologic":false,"nonscarring_alopecia":false,"oral_or_nasal_ulcers":true,"renal":false,"serositis":false,"synovitis":true,"thrombocytopenia":false}]}'
# 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/slicc_sle' \
-H 'content-type: application/json' \
--data-raw '{"items":[{"acute_cutaneous_lupus":true,"ana":true,"anti_dsdna":true,"anti_sm":false,"antiphospholipid":false,"biopsy_lupus_nephritis":false,"chronic_cutaneous_lupus":false,"direct_coombs":false,"hemolytic_anemia":false,"leukopenia_or_lymphopenia":false,"low_complement":false,"neurologic":false,"nonscarring_alopecia":false,"oral_or_nasal_ulcers":true,"renal":false,"serositis":false,"synovitis":true,"thrombocytopenia":false},{"acute_cutaneous_lupus":true,"ana":true,"anti_dsdna":true,"anti_sm":false,"antiphospholipid":false,"biopsy_lupus_nephritis":false,"chronic_cutaneous_lupus":false,"direct_coombs":false,"hemolytic_anemia":false,"leukopenia_or_lymphopenia":false,"low_complement":false,"neurologic":false,"nonscarring_alopecia":false,"oral_or_nasal_ulcers":true,"renal":false,"serositis":false,"synovitis":true,"thrombocytopenia":false}]}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: 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%2Fslicc_sle&method=POST
const res = await pay("https://api.magentlab.com/api/calc/slicc_sle", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"items": [
{
"acute_cutaneous_lupus": true,
"ana": true,
"anti_dsdna": true,
"anti_sm": false,
"antiphospholipid": false,
"biopsy_lupus_nephritis": false,
"chronic_cutaneous_lupus": false,
"direct_coombs": false,
"hemolytic_anemia": false,
"leukopenia_or_lymphopenia": false,
"low_complement": false,
"neurologic": false,
"nonscarring_alopecia": false,
"oral_or_nasal_ulcers": true,
"renal": false,
"serositis": false,
"synovitis": true,
"thrombocytopenia": false
},
{
"acute_cutaneous_lupus": true,
"ana": true,
"anti_dsdna": true,
"anti_sm": false,
"antiphospholipid": false,
"biopsy_lupus_nephritis": false,
"chronic_cutaneous_lupus": false,
"direct_coombs": false,
"hemolytic_anemia": false,
"leukopenia_or_lymphopenia": false,
"low_complement": false,
"neurologic": false,
"nonscarring_alopecia": false,
"oral_or_nasal_ulcers": true,
"renal": false,
"serositis": false,
"synovitis": true,
"thrombocytopenia": false
}
]
}),
});
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/slicc_sle",
json={
"items": [
{
"acute_cutaneous_lupus": True,
"ana": True,
"anti_dsdna": True,
"anti_sm": False,
"antiphospholipid": False,
"biopsy_lupus_nephritis": False,
"chronic_cutaneous_lupus": False,
"direct_coombs": False,
"hemolytic_anemia": False,
"leukopenia_or_lymphopenia": False,
"low_complement": False,
"neurologic": False,
"nonscarring_alopecia": False,
"oral_or_nasal_ulcers": True,
"renal": False,
"serositis": False,
"synovitis": True,
"thrombocytopenia": False,
},
{
"acute_cutaneous_lupus": True,
"ana": True,
"anti_dsdna": True,
"anti_sm": False,
"antiphospholipid": False,
"biopsy_lupus_nephritis": False,
"chronic_cutaneous_lupus": False,
"direct_coombs": False,
"hemolytic_anemia": False,
"leukopenia_or_lymphopenia": False,
"low_complement": False,
"neurologic": False,
"nonscarring_alopecia": False,
"oral_or_nasal_ulcers": True,
"renal": False,
"serositis": False,
"synovitis": True,
"thrombocytopenia": False,
},
],
},
)
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
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Timed out | - | - | - |
| 9 h ago | Timed out | - | - | - |
| 14 h ago | Timed out | - | - | - |
| 18 h ago | Timed out | - | - | - |
| 23 h ago | Passed | 402 | 883 ms | $0.007 |
Show 10 older checks
| 28 h ago | Passed | 402 | 359 ms | $0.007 |
| 33 h ago | Passed | 402 | 501 ms | $0.007 |
| 37 h ago | Passed | 402 | 160 ms | $0.007 |
| 42 h ago | Passed | 402 | 195 ms | $0.007 |
| 46 h ago | Passed | 402 | 310 ms | $0.007 |
| 2 days ago | Passed | 402 | 229 ms | $0.007 |
| 2 days ago | Passed | 402 | 178 ms | $0.007 |
| 2 days ago | Passed | 402 | 338 ms | $0.007 |
| 3 days ago | Passed | 402 | 157 ms | $0.007 |
| 3 days ago | Passed | 402 | 402 ms | $0.007 |
History
| 11 Oct 2026 | Price changed from $0.005 to $0.007 |