MA
Agent Service · x402 · early usage

CAROC 2010 10-year MOF category from age, sex, femoral-neck T-score, and fragility or g…

CAROC 2010 10-year MOF category from age, sex, femoral-neck T-score, and fragility or glucocorticoid flags. Basal low/moderate/high from printed T-score bands; hip or spine fragility or multiple fractures is high; fracture after 40 plus steroids is high; eith…

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

30d calls5
30d payers2
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

CAROC 2010 10-year MOF category from age, sex, femoral-neck T-score, and fragility or glucocorticoid flags. Basal low/moderate/high from printed T-score bands; hip or spine fragility or multiple fractures is high; fracture after 40 plus steroids is high; either flag alone bumps one class. Labels <10%, 10-20%, >20%. Not FRAX or a drug order. Not a medical device.

Tags: caroc · osteoporosis · fracture-risk · body-size · calculator · bazaar

Call contract

Method
POST
Input
HTTP request
Output
json
Last paid call
2026-10-13
Input example from Bazaar metadata
{
  "items": [
    {
      "age": 50,
      "femoral_neck_t_score": -1,
      "fragility_fracture_after_40": false,
      "hip_or_spine_fragility": false,
      "multiple_fragility_fractures": false,
      "prolonged_glucocorticoids": false,
      "sex": "female"
    },
    {
      "age": 50,
      "femoral_neck_t_score": -1,
      "fragility_fracture_after_40": false,
      "hip_or_spine_fragility": false,
      "multiple_fragility_fractures": false,
      "prolonged_glucocorticoids": false,
      "sex": "female"
    }
  ]
}
Output example
{
  "count": 2,
  "items": [
    {
      "age": 50,
      "basal_risk_level": "low",
      "citation": {
        "authors": "Papaioannou A, Morin S, Cheung AM, Atkinson S, Brown JP, Feldman S, et al.",
        "doi": "10.1503/cmaj.100771",
        "id": "papaioannou-2010",
        "pmid": "20937681",
        "source": "CMAJ. 2010;182(17):1864-1873",
        "title": "2010 clinical practice guidelines for the diagnosis and management of osteoporosis in Canada: summary"
      },
      "components": [
        {
          "factor": "hip_or_spine_fragility",
          "met": false
        },
        {
          "factor": "multiple_fragility_fractures",
          "met": false
        },
        {
          "factor": "fragility_fracture_after_40",
          "met": false
        },
        {
          "factor": "prolonged_glucocorticoids",
          "met": false
        },
        {
          "factor": "basal_low",
          "met": true,
          "value": -1
        },
        {
          "factor": "basal_moderate",
          "met": false,
          "value": -1
        },
        {
          "factor": "basal_high",
          "met": false,
          "value": -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.",
      "femoral_neck_t_score": -1,
      "formula": "caroc",
      "formula_expression": "CAROC 2010 10-year MOF category from age, sex, and caller-assigned femoral-neck T-score, then clinical bumps. row_age = min(85, max(50, 5 * floor(age / 5))) for age 50-89. Basal low if T-score is strictly above the printed moderate floor; high if strictly below the moderate ceiling; moderate inclusive between. Women 50/55: low > -2.5, moderate -2.5 to -3.8, high < -3.8; 60: > -2.3 / -2.3 to -3.7 / < -3.7; 65: > -1.9 / -1.9 to -3.5 / < -3.5; 70: > -1.7 / -1.7 to -3.2 / < -3.2; 75: > -1.2 / -1.2 to -2.9 / < -2.9; 80: > -0.5 / -0.5 to -2.6 / < -2.6; 85: > +0.1 / +0.1 to -2.2 / < -2.2. Men 50/55: low > -2.5, moderate -2.5 to -3.9, high < -3.9; 60: > -2.5 / -2.5 to -3.7 / < -3.7; 65: > -2.4 / -2.4 to -3.7 / < -3.7; 70: > -2.3 / -2.3 to -3.7 / < -3.7; 75: > -2.3 / -2.3 to -3.8 / < -3.8; 80: > -2.1 / -2.1 to -3.8 / < -3.8; 85: > -2.0 / -2.0 to -3.8 / < -3.8. hip_or_spine_fragility or multiple_fragility_fractures → high; else fragility_fracture_after_40 and prolonged_glucocorticoids → high; else either of those two flags bumps one class (low→moderate, moderate→high). Labels: low <10%, moderate 10-20%, high >20% 10-year MOF. Papaioannou 2010 / Lentle table. Not FRAX.",
      "fragility_fracture_after_40": false,
      "hip_or_spine_fragility": false,
      "multiple_fragility_fractures": false,
      "prolonged_glucocorticoids": false,
      "risk_level": "low",
      "row_age": 50,
      "sex": "female",
      "ten_year_mof_label": "<10%"
    },
    {
      "age": 50,
      "basal_risk_level": "low",
      "citation": {
        "authors": "Papaioannou A, Morin S, Cheung AM, Atkinson S, Brown JP, Feldman S, et al.",
        "doi": "10.1503/cmaj.100771",
        "id": "papaioannou-2010",
        "pmid": "20937681",
        "source": "CMAJ. 2010;182(17):1864-1873",
        "title": "2010 clinical practice guidelines for the diagnosis and management of osteoporosis in Canada: summary"
      },
      "components": [
        {
          "factor": "hip_or_spine_fragility",
          "met": false
        },
        {
          "factor": "multiple_fragility_fractures",
          "met": false
        },
        {
          "factor": "fragility_fracture_after_40",
          "met": false
        },
        {
          "factor": "prolonged_glucocorticoids",
          "met": false
        },
        {
          "factor": "basal_low",
          "met": true,
          "value": -1
        },
        {
          "factor": "basal_moderate",
          "met": false,
          "value": -1
        },
        {
          "factor": "basal_high",
          "met": false,
          "value": -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.",
      "femoral_neck_t_score": -1,
      "formula": "caroc",
      "formula_expression": "CAROC 2010 10-year MOF category from age, sex, and caller-assigned femoral-neck T-score, then clinical bumps. row_age = min(85, max(50, 5 * floor(age / 5))) for age 50-89. Basal low if T-score is strictly above the printed moderate floor; high if strictly below the moderate ceiling; moderate inclusive between. Women 50/55: low > -2.5, moderate -2.5 to -3.8, high < -3.8; 60: > -2.3 / -2.3 to -3.7 / < -3.7; 65: > -1.9 / -1.9 to -3.5 / < -3.5; 70: > -1.7 / -1.7 to -3.2 / < -3.2; 75: > -1.2 / -1.2 to -2.9 / < -2.9; 80: > -0.5 / -0.5 to -2.6 / < -2.6; 85: > +0.1 / +0.1 to -2.2 / < -2.2. Men 50/55: low > -2.5, moderate -2.5 to -3.9, high < -3.9; 60: > -2.5 / -2.5 to -3.7 / < -3.7; 65: > -2.4 / -2.4 to -3.7 / < -3.7; 70: > -2.3 / -2.3 to -3.7 / < -3.7; 75: > -2.3 / -2.3 to -3.8 / < -3.8; 80: > -2.1 / -2.1 to -3.8 / < -3.8; 85: > -2.0 / -2.0 to -3.8 / < -3.8. hip_or_spine_fragility or multiple_fragility_fractures → high; else fragility_fracture_after_40 and prolonged_glucocorticoids → high; else either of those two flags bumps one class (low→moderate, moderate→high). Labels: low <10%, moderate 10-20%, high >20% 10-year MOF. Papaioannou 2010 / Lentle table. Not FRAX.",
      "fragility_fracture_after_40": false,
      "hip_or_spine_fragility": false,
      "multiple_fragility_fractures": false,
      "prolonged_glucocorticoids": false,
      "risk_level": "low",
      "row_age": 50,
      "sex": "female",
      "ten_year_mof_label": "<10%"
    }
  ],
  "path": "/api/calc/caroc"
}

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/39260.json for the price and payment options.
  3. Pay. Call GET https://api.magentlab.com/api/calc/caroc. 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
5 calls · 2 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/caroc"
# -> 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/caroc");
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/caroc")
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/caroc
Machine-readable
/resources/39260.json