MA
Agent Service · x402 · early usage

Perry 2021 Canadian TIA Score (Table 1) for 7-day stroke or carotid revascularization a…

Perry 2021 Canadian TIA Score (Table 1) for 7-day stroke or carotid revascularization after TIA. Clinical: first TIA 2, symptoms >=10 min 2, past carotid stenosis 2, antiplatelet 3, gait 1, unilateral weakness 1, vertigo -3, diastolic >=110 3, dysarthria/apha…

by api.magentlab.com · discovered, not yet claimed by its owner · updated 2026-10-12

30d calls3
30d payers1
MethodPOST
Outputjson

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

Perry 2021 Canadian TIA Score (Table 1) for 7-day stroke or carotid revascularization after TIA. Clinical: first TIA 2, symptoms >=10 min 2, past carotid stenosis 2, antiplatelet 3, gait 1, unilateral weakness 1, vertigo -3, diastolic >=110 3, dysarthria/aphasia 1. Investigations: AF on ECG 2, infarct on CT 1, platelets >=400 2, glucose >=15 mmol/L 3. Age required, 0 points. Total -3 to 23. Bands <=3 low (0.5%), 4-8 medium (2.3%), >=9 high (5.9%). Not ABCD2. Not a diagnosis or admit order.

Tags: canadian-tia · tia · stroke · neurology · calculator · bazaar

Call contract

Method
POST
Input
HTTP request
Output
json
Last paid call
2026-10-12
Input example from Bazaar metadata
{
  "items": [
    {
      "af_on_ecg": false,
      "age": 70,
      "carotid_stenosis": false,
      "diastolic_mm_hg": 80,
      "dysarthria_or_aphasia": false,
      "first_tia": false,
      "gait_disturbance": false,
      "glucose_mg_dl": 90,
      "glucose_mmol_l": 5,
      "infarct_on_ct": false,
      "on_antiplatelet": false,
      "platelets_10e9_l": 200,
      "symptoms_ge_10_min": false,
      "unilateral_weakness": false,
      "vertigo": false
    },
    {
      "af_on_ecg": false,
      "age": 70,
      "carotid_stenosis": false,
      "diastolic_mm_hg": 80,
      "dysarthria_or_aphasia": false,
      "first_tia": false,
      "gait_disturbance": false,
      "glucose_mg_dl": 90,
      "glucose_mmol_l": 5,
      "infarct_on_ct": false,
      "on_antiplatelet": false,
      "platelets_10e9_l": 200,
      "symptoms_ge_10_min": false,
      "unilateral_weakness": false,
      "vertigo": false
    }
  ]
}
Output example
{
  "count": 2,
  "items": [
    {
      "age_years": 70,
      "citation": {
        "authors": "Perry JJ, Sivilotti MLA, Émond M, Stiell IG, Stotts G, Lee J, Worster A, Morris J, Cheung KW, Jin AY, Oczkowski WJ, Sahlas DJ, Murray HE, Mackey A, Verreault S, Camden MC, Yip S, Teal P, Gladstone DJ, Boulos MI, Chagnon N, Shouldice E, Atzema C, Slaoui T, Teitlebaum J, Abdulaziz K, Nemnom MJ, Wells GA, Sharma M",
        "doi": "10.1136/bmj.n49",
        "id": "perry-2021",
        "pmid": "33541890",
        "source": "BMJ. 2021;372:n49",
        "title": "Prospective validation of Canadian TIA Score and comparison with ABCD2 and ABCD2i for subsequent stroke risk after transient ischaemic attack: multicentre prospective cohort study"
      },
      "components": [
        {
          "factor": "first_tia",
          "points": 0,
          "present": false
        },
        {
          "factor": "symptoms_ge_10_min",
          "points": 0,
          "present": false
        },
        {
          "factor": "carotid_stenosis",
          "points": 0,
          "present": false
        },
        {
          "factor": "on_antiplatelet",
          "points": 0,
          "present": false
        },
        {
          "factor": "gait_disturbance",
          "points": 0,
          "present": false
        },
        {
          "factor": "unilateral_weakness",
          "points": 0,
          "present": false
        },
        {
          "factor": "vertigo",
          "points": 0,
          "present": false
        },
        {
          "factor": "diastolic_mm_hg",
          "points": 0,
          "present": false,
          "value": 80
        },
        {
          "factor": "dysarthria_or_aphasia",
          "points": 0,
          "present": false
        },
        {
          "factor": "af_on_ecg",
          "points": 0,
          "present": false
        },
        {
          "factor": "infarct_on_ct",
          "points": 0,
          "present": false
        },
        {
          "factor": "platelets_10e9_l",
          "points": 0,
          "present": false,
          "value": 200
        },
        {
          "factor": "glucose",
          "points": 0,
          "present": false,
          "value": 5
        }
      ],
      "diastolic_mm_hg": 80,
      "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": "canadian_tia",
      "formula_expression": "Canadian TIA Score = first_tia 2 + symptoms_ge_10_min 2 + carotid_stenosis 2 + on_antiplatelet 3 + gait_disturbance 1 + unilateral_weakness 1 + vertigo -3 + (diastolic_mm_hg >= 110) 3 + dysarthria_or_aphasia 1 + af_on_ecg 2 + infarct_on_ct 1 + (platelets_10e9_l >= 400) 2 + (glucose >= 15 mmol/L) 3; age 18-120 required, 0 points; total -3 to 23; tia_risk low <=3 (0.5%), medium 4-8 (2.3%), high >=9 (5.9%) 7-day stroke or carotid revascularization (Perry 2021 Table 1 / Table 4); max 23",
      "glucose_mmol_l": 5,
      "max_score": 23,
      "platelets_10e9_l": 200,
      "score": 0,
      "tia_risk": "low"
    },
    {
      "age_years": 70,
      "citation": {
        "authors": "Perry JJ, Sivilotti MLA, Émond M, Stiell IG, Stotts G, Lee J, Worster A, Morris J, Cheung KW, Jin AY, Oczkowski WJ, Sahlas DJ, Murray HE, Mackey A, Verreault S, Camden MC, Yip S, Teal P, Gladstone DJ, Boulos MI, Chagnon N, Shouldice E, Atzema C, Slaoui T, Teitlebaum J, Abdulaziz K, Nemnom MJ, Wells GA, Sharma M",
        "doi": "10.1136/bmj.n49",
        "id": "perry-2021",
        "pmid": "33541890",
        "source": "BMJ. 2021;372:n49",
        "title": "Prospective validation of Canadian TIA Score and comparison with ABCD2 and ABCD2i for subsequent stroke risk after transient ischaemic attack: multicentre prospective cohort study"
      },
      "components": [
        {
          "factor": "first_tia",
          "points": 0,
          "present": false
        },
        {
          "factor": "symptoms_ge_10_min",
          "points": 0,
          "present": false
        },
        {
          "factor": "carotid_stenosis",
          "points": 0,
          "present": false
        },
        {
          "factor": "on_antiplatelet",
          "points": 0,
          "present": false
        },
        {
          "factor": "gait_disturbance",
          "points": 0,
          "present": false
        },
        {
          "factor": "unilateral_weakness",
          "points": 0,
          "present": false
        },
        {
          "factor": "vertigo",
          "points": 0,
          "present": false
        },
        {
          "factor": "diastolic_mm_hg",
          "points": 0,
          "present": false,
          "value": 80
        },
        {
          "factor": "dysarthria_or_aphasia",
          "points": 0,
          "present": false
        },
        {
          "factor": "af_on_ecg",
          "points": 0,
          "present": false
        },
        {
          "factor": "infarct_on_ct",
          "points": 0,
          "present": false
        },
        {
          "factor": "platelets_10e9_l",
          "points": 0,
          "present": false,
          "value": 200
        },
        {
          "factor": "glucose",
          "points": 0,
          "present": false,
          "value": 5
        }
      ],
      "diastolic_mm_hg": 80,
      "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": "canadian_tia",
      "formula_expression": "Canadian TIA Score = first_tia 2 + symptoms_ge_10_min 2 + carotid_stenosis 2 + on_antiplatelet 3 + gait_disturbance 1 + unilateral_weakness 1 + vertigo -3 + (diastolic_mm_hg >= 110) 3 + dysarthria_or_aphasia 1 + af_on_ecg 2 + infarct_on_ct 1 + (platelets_10e9_l >= 400) 2 + (glucose >= 15 mmol/L) 3; age 18-120 required, 0 points; total -3 to 23; tia_risk low <=3 (0.5%), medium 4-8 (2.3%), high >=9 (5.9%) 7-day stroke or carotid revascularization (Perry 2021 Table 1 / Table 4); max 23",
      "glucose_mmol_l": 5,
      "max_score": 23,
      "platelets_10e9_l": 200,
      "score": 0,
      "tia_risk": "low"
    }
  ],
  "path": "/api/calc/canadian_tia"
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/39523.json for the price and payment options.
  3. Pay. Call GET https://api.magentlab.com/api/calc/canadian_tia. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with 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
3 calls · 1 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.0050x836Be278f1739fB4308091cD1852F7971Bc19Ee2600s
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
curl "https://api.magentlab.com/api/calc/canadian_tia"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.magentlab.com/api/calc/canadian_tia");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://api.magentlab.com/api/calc/canadian_tia")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
api.magentlab.com
Endpoint
https://api.magentlab.com/api/calc/canadian_tia
Machine-readable
/resources/39523.json