81trust / 100
Calc Sipa
by magent in Onchain & crypto
x402 APIPassing, checked 1 h ago
Acker 2015 SIPA: heart rate in bpm divided by cuff systolic pressure in mm Hg, rounded to two decimals. Elevated if the ratio exceeds the age-band cutoff: 1.22 (ages 4-6), 1.0 (7-12), or 0.9 (13-16). Ages 4-16 only; not for infants or adults 17 and older. Not a diagnosis of shock and not the adult shock-index greater-than-0.9 rule. magent does not measure vitals.
GET https://api.magentlab.com/api/calc/sipa
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 133 ms typical, 133 ms slowest 5%
- Last check
- 1 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.magentlab.com/api/calc/sipa?age=10&heart_rate_bpm=80&systolic_mm_hg=100"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.magentlab.com%2Fapi%2Fcalc%2Fsipa
const res = await pay("https://api.magentlab.com/api/calc/sipa?age=10&heart_rate_bpm=80&systolic_mm_hg=100");
console.log(await res.json());Example input
{
"age": 10,
"heart_rate_bpm": 80,
"systolic_mm_hg": 100
}Example output
{
"age": 10,
"citation": {
"authors": "Acker SN, Ross JT, Partrick DA, Tong S, Bensard DD",
"doi": "10.1016/j.jpedsurg.2014.08.009",
"id": "acker-2015",
"pmid": "25638631",
"source": "J Pediatr Surg. 2015;50(2):331-334",
"title": "Pediatric specific shock index accurately identifies severely injured children"
},
"criteria": [
{
"factor": "age_4_6",
"met": false,
"value": 1.22
},
{
"factor": "age_7_12",
"met": true,
"value": 1
},
{
"factor": "age_13_16",
"met": false,
"value": 0.9
}
],
"cutoff": 1,
"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.",
"elevated": false,
"formula": "sipa",
"formula_expression": "sipa = heart_rate_bpm / systolic_mm_hg; elevated iff sipa > cutoff (Acker 2015: age 4-6 → 1.22, 7-12 → 1.0, 13-16 → 0.9)",
"heart_rate_bpm": 80,
"sipa": 0.8,
"systolic_mm_hg": 100
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 1 h ago | Passed | 402 | 133 ms | $0.005 |
| 7 h ago | Passed | 402 | 273 ms | $0.005 |