Roy 2021 4PEPS Table 3: age <50 −2, 50–64 −1, ≥65 0; chronic respiratory disease −1; HR…
Roy 2021 4PEPS Table 3: age <50 −2, 50–64 −1, ≥65 0; chronic respiratory disease −1; HR <80 −1; chest pain and acute dyspnea +1; male +2; estrogen treatment +2; prior VTE +2; syncope +2; 4-week immobility +2; SpO2 <95% +3; calf pain or unilateral edema +3; PE…
by api.magentlab.com · discovered, not yet claimed by its owner · updated 2026-10-12
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
Roy 2021 4PEPS Table 3: age <50 −2, 50–64 −1, ≥65 0; chronic respiratory disease −1; HR <80 −1; chest pain and acute dyspnea +1; male +2; estrogen treatment +2; prior VTE +2; syncope +2; 4-week immobility +2; SpO2 <95% +3; calf pain or unilateral edema +3; PE most likely +5. Max 22. Bands: very_low <0, low 0–5, moderate 6–12, high ≥13. Not imaging or D-dimer. magent does not examine the patient or decide PE most likely.
Tags: 4peps · pe · vte · pretest · calculator · bazaar
Call contract
- Method
- POST
- Input
- HTTP request
- Output
- json
- Last paid call
- 2026-10-12
{
"items": [
{
"age": 40,
"calf_pain_or_unilateral_edema": false,
"chest_pain_and_acute_dyspnea": false,
"chronic_respiratory_disease": false,
"heart_rate_bpm": 90,
"hormonal_estrogenic_treatment": false,
"immobility_4w": false,
"pe_most_likely": false,
"personal_history_vte": false,
"sex": "female",
"spo2_percent": 98,
"syncope": false
},
{
"age": 40,
"calf_pain_or_unilateral_edema": false,
"chest_pain_and_acute_dyspnea": false,
"chronic_respiratory_disease": false,
"heart_rate_bpm": 90,
"hormonal_estrogenic_treatment": false,
"immobility_4w": false,
"pe_most_likely": false,
"personal_history_vte": false,
"sex": "female",
"spo2_percent": 98,
"syncope": false
}
]
}{
"count": 2,
"items": [
{
"citation": {
"authors": "Roy PM, Friou E, Germeau B, et al.",
"doi": "10.1001/jamacardio.2021.0064",
"id": "roy-2021",
"pmid": "33656522",
"source": "JAMA Cardiol. 2021;6(6):669-677",
"title": "Derivation and Validation of a 4-Level Clinical Pretest Probability Score for Suspected Pulmonary Embolism to Safely Decrease Imaging Testing"
},
"components": [
{
"factor": "age",
"points": -2,
"present": true,
"value": 40
},
{
"factor": "chronic_respiratory_disease",
"points": 0,
"present": false
},
{
"factor": "heart_rate_bpm",
"points": 0,
"present": false,
"value": 90
},
{
"factor": "chest_pain_and_acute_dyspnea",
"points": 0,
"present": false
},
{
"factor": "sex",
"points": 0,
"present": false,
"value": "female"
},
{
"factor": "hormonal_estrogenic_treatment",
"points": 0,
"present": false
},
{
"factor": "personal_history_vte",
"points": 0,
"present": false
},
{
"factor": "syncope",
"points": 0,
"present": false
},
{
"factor": "immobility_4w",
"points": 0,
"present": false
},
{
"factor": "spo2_percent",
"points": 0,
"present": false,
"value": 98
},
{
"factor": "calf_pain_or_unilateral_edema",
"points": 0,
"present": false
},
{
"factor": "pe_most_likely",
"points": 0,
"present": false
}
],
"cpp": "very_low",
"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": "4peps",
"formula_expression": "4PEPS = age (<50 -2, 50-64 -1, ≥65 0) + chronic_respiratory_disease (-1) + heart_rate_bpm (<80 -1) + chest_pain_and_acute_dyspnea (1) + male (2) + hormonal_estrogenic_treatment (2) + personal_history_vte (2) + syncope (2) + immobility_4w (2) + spo2_percent (<95 3) + calf_pain_or_unilateral_edema (3) + pe_most_likely (5); Roy 2021 Table 3; cpp very_low <0, low 0-5, moderate 6-12, high ≥13; max 22 (age ≥65 plus all positive items; score may be negative)",
"max_score": 22,
"score": -2
},
{
"citation": {
"authors": "Roy PM, Friou E, Germeau B, et al.",
"doi": "10.1001/jamacardio.2021.0064",
"id": "roy-2021",
"pmid": "33656522",
"source": "JAMA Cardiol. 2021;6(6):669-677",
"title": "Derivation and Validation of a 4-Level Clinical Pretest Probability Score for Suspected Pulmonary Embolism to Safely Decrease Imaging Testing"
},
"components": [
{
"factor": "age",
"points": -2,
"present": true,
"value": 40
},
{
"factor": "chronic_respiratory_disease",
"points": 0,
"present": false
},
{
"factor": "heart_rate_bpm",
"points": 0,
"present": false,
"value": 90
},
{
"factor": "chest_pain_and_acute_dyspnea",
"points": 0,
"present": false
},
{
"factor": "sex",
"points": 0,
"present": false,
"value": "female"
},
{
"factor": "hormonal_estrogenic_treatment",
"points": 0,
"present": false
},
{
"factor": "personal_history_vte",
"points": 0,
"present": false
},
{
"factor": "syncope",
"points": 0,
"present": false
},
{
"factor": "immobility_4w",
"points": 0,
"present": false
},
{
"factor": "spo2_percent",
"points": 0,
"present": false,
"value": 98
},
{
"factor": "calf_pain_or_unilateral_edema",
"points": 0,
"present": false
},
{
"factor": "pe_most_likely",
"points": 0,
"present": false
}
],
"cpp": "very_low",
"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": "4peps",
"formula_expression": "4PEPS = age (<50 -2, 50-64 -1, ≥65 0) + chronic_respiratory_disease (-1) + heart_rate_bpm (<80 -1) + chest_pain_and_acute_dyspnea (1) + male (2) + hormonal_estrogenic_treatment (2) + personal_history_vte (2) + syncope (2) + immobility_4w (2) + spo2_percent (<95 3) + calf_pain_or_unilateral_edema (3) + pe_most_likely (5); Roy 2021 Table 3; cpp very_low <0, low 0-5, moderate 6-12, high ≥13; max 22 (age ≥65 plus all positive items; score may be negative)",
"max_score": 22,
"score": -2
}
],
"path": "/api/calc/4peps"
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/39341.jsonfor the price and payment options. - Pay. Call
GET https://api.magentlab.com/api/calc/4peps. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.005 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 5 calls · 2 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.005 | 0x836Be278f1739fB4308091cD1852F7971Bc19Ee2 | 600s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"amountUsd": 0.005,
"maxTimeoutSeconds": 600
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {},
"type": "string"
}Examples
curl "https://api.magentlab.com/api/calc/4peps"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://api.magentlab.com/api/calc/4peps");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://api.magentlab.com/api/calc/4peps")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- api.magentlab.com
- Endpoint
- https://api.magentlab.com/api/calc/4peps
- Machine-readable
/resources/39341.json