67trust / 100

Calc Acr Eular Pmr

by magent in Other

x402 APIFailing, checked 57 min ago

ACR/EULAR 2012 PMR classification (Dasgupta Table 4). Required: age 50–120, bilateral shoulder aching, abnormal CRP or ESR. Score morning stiffness >45 min 2, hip pain or limited ROM 1, RF or ACPA absent 2, other joint pain absent 1. Without ultrasound: max 6, classified iff ≥4. With ultrasound: add shoulder-and-hip 1 and both shoulders 1; max 8, classified iff ≥5. Not a diagnosis (not meant for diagnostic purposes). magent does not assay CRP/ESR/RF/ACPA or perform ultrasound.

POST
https://api.magentlab.com/api/calc/acr_eular_pmr
Price
$0.007
per call in USDC
Uptime
88.9%
last 30 days
Response time
169 ms
521 ms slowest 5%
Last check
Failed
57 min ago, next in 3 min

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Latest check failed 57 min ago: Timed out

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

How to call it

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

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/acr_eular_pmr
content-type: application/json

{
  "items": [
    {
      "abnormal_crp_or_esr": true,
      "age": 70,
      "bilateral_shoulder_aching": true,
      "hip_pain_or_limited_rom": true,
      "include_ultrasound": false,
      "morning_stiffness_gt_45": true,
      "other_joint_pain_absent": true,
      "rf_or_acpa_absent": true,
      "us_both_shoulders": false,
      "us_shoulder_and_hip": false
    },
    {
      "abnormal_crp_or_esr": true,
      "age": 70,
      "bilateral_shoulder_aching": true,
      "hip_pain_or_limited_rom": true,
      "include_ultrasound": false,
      "morning_stiffness_gt_45": true,
      "other_joint_pain_absent": true,
      "rf_or_acpa_absent": true,
      "us_both_shoulders": false,
      "us_shoulder_and_hip": false
    }
  ]
}

Parameters

ParameterTypeRequiredDescription
itemsarray of objectYes

Example response

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

Example response, 84 lines
{
  "count": 2,
  "items": [
    {
      "algorithm": "without_ultrasound",
      "citation": {
        "authors": "Dasgupta B, Cimmino MA, Maradit-Kremers H, Schmidt WA, Schirmer M, Salvarani C, Bachta A, Dejaco C, Duftner C, Jensen HS, Poór G, Kaposi NP, Mandl P, Balint PV, Schmidt Z, Iagnocco A, Nannini C, Cantini F, Macchioni P, Pipitone N, Amo MD, Espígol-Frigolé G, Cid MC, Martínez-Taboada VM, Nordborg E, Direskeneli H, Aydin SZ, Ahmed K, Hazleman B, Silverman B, Pease C, Wakefield RJ, Luqmani R, Abril A, Michet CJ, Mazlumzadeh M, Salvarani C",
        "doi": "10.1136/annrheumdis-2011-200329",
        "id": "dasgupta-2012",
        "pmid": "22388996",
        "source": "Ann Rheum Dis. 2012;71(4):484-492",
        "title": "2012 provisional classification criteria for polymyalgia rheumatica: a European League Against Rheumatism/American College of Rheumatology collaborative initiative"
      },
      "classified": true,
      "components": [
        {
          "factor": "morning_stiffness_gt_45",
          "points": 2,
          "present": true
        },
        {
          "factor": "hip_pain_or_limited_rom",
          "points": 1,
          "present": true
        },
        {
          "factor": "rf_or_acpa_absent",
          "points": 2,
          "present": true
        },
        {
          "factor": "other_joint_pain_absent",
          "points": 1,
          "present": true
        }
      ],
      "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": "acr_eular_pmr",
      "formula_expression": "ACR/EULAR 2012 PMR classification (Dasgupta Table 4): required age 50–120, bilateral_shoulder_aching true, abnormal_crp_or_esr true (else do not score). Score = morning_stiffness_gt_45 2 + hip_pain_or_limited_rom 1 + rf_or_acpa_absent 2 + other_joint_pain_absent 1. Without ultrasound: max 6, classified iff score ≥4. With ultrasound: add us_shoulder_and_hip 1 + us_both_shoulders 1; max 8, classified iff score ≥5. Not a diagnosis (not meant for diagnostic purposes)",
      "max_score": 6,
      "score": 6
    },
    {
      "algorithm": "without_ultrasound",
      "citation": {
        "authors": "Dasgupta B, Cimmino MA, Maradit-Kremers H, Schmidt WA, Schirmer M, Salvarani C, Bachta A, Dejaco C, Duftner C, Jensen HS, Poór G, Kaposi NP, Mandl P, Balint PV, Schmidt Z, Iagnocco A, Nannini C, Cantini F, Macchioni P, Pipitone N, Amo MD, Espígol-Frigolé G, Cid MC, Martínez-Taboada VM, Nordborg E, Direskeneli H, Aydin SZ, Ahmed K, Hazleman B, Silverman B, Pease C, Wakefield RJ, Luqmani R, Abril A, Michet CJ, Mazlumzadeh M, Salvarani C",
        "doi": "10.1136/annrheumdis-2011-200329",
        "id": "dasgupta-2012",
        "pmid": "22388996",
        "source": "Ann Rheum Dis. 2012;71(4):484-492",
        "title": "2012 provisional classification criteria for polymyalgia rheumatica: a European League Against Rheumatism/American College of Rheumatology collaborative initiative"
      },
      "classified": true,
      "components": [
        {
          "factor": "morning_stiffness_gt_45",
          "points": 2,
          "present": true
        },
        {
          "factor": "hip_pain_or_limited_rom",
          "points": 1,
          "present": true
        },
        {
          "factor": "rf_or_acpa_absent",
          "points": 2,
          "present": true
        },
        {
          "factor": "other_joint_pain_absent",
          "points": 1,
          "present": true
        }
      ],
      "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": "acr_eular_pmr",
      "formula_expression": "ACR/EULAR 2012 PMR classification (Dasgupta Table 4): required age 50–120, bilateral_shoulder_aching true, abnormal_crp_or_esr true (else do not score). Score = morning_stiffness_gt_45 2 + hip_pain_or_limited_rom 1 + rf_or_acpa_absent 2 + other_joint_pain_absent 1. Without ultrasound: max 6, classified iff score ≥4. With ultrasound: add us_shoulder_and_hip 1 + us_both_shoulders 1; max 8, classified iff score ≥5. Not a diagnosis (not meant for diagnostic purposes)",
      "max_score": 6,
      "score": 6
    }
  ],
  "path": "/api/calc/acr_eular_pmr"
}

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/acr_eular_pmr' \
  -H 'content-type: application/json' \
  --data-raw '{"items":[{"abnormal_crp_or_esr":true,"age":70,"bilateral_shoulder_aching":true,"hip_pain_or_limited_rom":true,"include_ultrasound":false,"morning_stiffness_gt_45":true,"other_joint_pain_absent":true,"rf_or_acpa_absent":true,"us_both_shoulders":false,"us_shoulder_and_hip":false},{"abnormal_crp_or_esr":true,"age":70,"bilateral_shoulder_aching":true,"hip_pain_or_limited_rom":true,"include_ultrasound":false,"morning_stiffness_gt_45":true,"other_joint_pain_absent":true,"rf_or_acpa_absent":true,"us_both_shoulders":false,"us_shoulder_and_hip":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/acr_eular_pmr' \
  -H 'content-type: application/json' \
  --data-raw '{"items":[{"abnormal_crp_or_esr":true,"age":70,"bilateral_shoulder_aching":true,"hip_pain_or_limited_rom":true,"include_ultrasound":false,"morning_stiffness_gt_45":true,"other_joint_pain_absent":true,"rf_or_acpa_absent":true,"us_both_shoulders":false,"us_shoulder_and_hip":false},{"abnormal_crp_or_esr":true,"age":70,"bilateral_shoulder_aching":true,"hip_pain_or_limited_rom":true,"include_ultrasound":false,"morning_stiffness_gt_45":true,"other_joint_pain_absent":true,"rf_or_acpa_absent":true,"us_both_shoulders":false,"us_shoulder_and_hip":false}]}' \
  | 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%2Facr_eular_pmr&method=POST
const res = await pay("https://api.magentlab.com/api/calc/acr_eular_pmr", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "items": [
      {
        "abnormal_crp_or_esr": true,
        "age": 70,
        "bilateral_shoulder_aching": true,
        "hip_pain_or_limited_rom": true,
        "include_ultrasound": false,
        "morning_stiffness_gt_45": true,
        "other_joint_pain_absent": true,
        "rf_or_acpa_absent": true,
        "us_both_shoulders": false,
        "us_shoulder_and_hip": false
      },
      {
        "abnormal_crp_or_esr": true,
        "age": 70,
        "bilateral_shoulder_aching": true,
        "hip_pain_or_limited_rom": true,
        "include_ultrasound": false,
        "morning_stiffness_gt_45": true,
        "other_joint_pain_absent": true,
        "rf_or_acpa_absent": true,
        "us_both_shoulders": false,
        "us_shoulder_and_hip": 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/acr_eular_pmr",
        json={
            "items": [
                {
                    "abnormal_crp_or_esr": True,
                    "age": 70,
                    "bilateral_shoulder_aching": True,
                    "hip_pain_or_limited_rom": True,
                    "include_ultrasound": False,
                    "morning_stiffness_gt_45": True,
                    "other_joint_pain_absent": True,
                    "rf_or_acpa_absent": True,
                    "us_both_shoulders": False,
                    "us_shoulder_and_hip": False,
                },
                {
                    "abnormal_crp_or_esr": True,
                    "age": 70,
                    "bilateral_shoulder_aching": True,
                    "hip_pain_or_limited_rom": True,
                    "include_ultrasound": False,
                    "morning_stiffness_gt_45": True,
                    "other_joint_pain_absent": True,
                    "rf_or_acpa_absent": True,
                    "us_both_shoulders": False,
                    "us_shoulder_and_hip": 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

WhenResultHTTPTimePrice
57 min agoTimed out---
7 h agoTimed out---
11 h agoTimed out---
16 h agoTimed out---
21 h agoPassed402163 ms$0.007
Show 10 older checks
26 h agoPassed402358 ms$0.007
31 h agoPassed402148 ms$0.007
35 h agoPassed402165 ms$0.007
40 h agoPassed402177 ms$0.007
44 h agoPassed402169 ms$0.007
2 days agoPassed402144 ms$0.007
2 days agoPassed402145 ms$0.007
2 days agoPassed402148 ms$0.007
3 days agoPassed402256 ms$0.007
3 days agoPassed402249 ms$0.007

History

11 Oct 2026Price changed from $0.005 to $0.007