{
  "x402Version": 2,
  "id": 38878,
  "slug": "38878",
  "resource": "https://api.magentlab.com/api/calc/rmi",
  "description": "Jacobs 1990 risk of malignancy index: RMI = U × M × CA125 (U/ml). Caller assigns ultrasound_score 0, 1, or 3 (never 2) and postmenopausal (M=3 if true, else 1). Returns rmi to 1 decimal and exceeds_200 (true if RMI > 200). Not an ovarian-cancer diagnosis and not later RMI-2 or RMI-3.",
  "type": "http",
  "serviceName": "magent",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 600
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "iconUrl": "https://api.magentlab.com/favicon.ico",
        "input": {
          "body": {
            "items": [
              {
                "ca125_u_ml": 50,
                "postmenopausal": true,
                "ultrasound_score": 3
              },
              {
                "ca125_u_ml": 50,
                "postmenopausal": true,
                "ultrasound_score": 3
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "ca125_u_ml": 50,
                "citation": {
                  "authors": "Jacobs I, Oram D, Fairbanks J, Turner J, Frost C, Grudzinskas JG",
                  "doi": "10.1111/j.1471-0528.1990.tb02448.x",
                  "id": "jacobs-1990-rmi",
                  "pmid": "2223684",
                  "source": "Br J Obstet Gynaecol. 1990;97(10):922-929",
                  "title": "A risk of malignancy index incorporating CA 125, ultrasound and menopausal status for the accurate preoperative diagnosis of ovarian cancer"
                },
                "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.",
                "exceeds_200": true,
                "formula": "rmi",
                "formula_expression": "RMI = U × M × CA125 (U/ml); U is ultrasound_score 0, 1, or 3 (never 2); M is 1 if premenopausal, 3 if postmenopausal; exceeds_200 if RMI > 200 (Jacobs 1990)",
                "postmenopausal": true,
                "rmi": 450,
                "ultrasound_score": 3
              },
              {
                "ca125_u_ml": 50,
                "citation": {
                  "authors": "Jacobs I, Oram D, Fairbanks J, Turner J, Frost C, Grudzinskas JG",
                  "doi": "10.1111/j.1471-0528.1990.tb02448.x",
                  "id": "jacobs-1990-rmi",
                  "pmid": "2223684",
                  "source": "Br J Obstet Gynaecol. 1990;97(10):922-929",
                  "title": "A risk of malignancy index incorporating CA 125, ultrasound and menopausal status for the accurate preoperative diagnosis of ovarian cancer"
                },
                "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.",
                "exceeds_200": true,
                "formula": "rmi",
                "formula_expression": "RMI = U × M × CA125 (U/ml); U is ultrasound_score 0, 1, or 3 (never 2); M is 1 if premenopausal, 3 if postmenopausal; exceeds_200 if RMI > 200 (Jacobs 1990)",
                "postmenopausal": true,
                "rmi": 450,
                "ultrasound_score": 3
              }
            ],
            "path": "/api/calc/rmi"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "ca125_u_ml": {
                          "description": "Serum CA125 in U/ml (0-50000). Enters the product unrounded. Jacobs 1990 uses U/ml. magent does not assay CA125.",
                          "type": "number"
                        },
                        "postmenopausal": {
                          "description": "true if postmenopausal (M=3), false if premenopausal (M=1). Jacobs 1990: more than one year since final period, or age >50 after hysterectomy. Caller sets the flag; magent does not date menses.",
                          "type": "boolean"
                        },
                        "ultrasound_score": {
                          "description": "Caller-assigned Jacobs 1990 ultrasound score: 0 if no features, 1 if one feature, 3 if two or more of multilocular cyst, solid areas, bilateral lesions, ascites, or intra-abdominal metastases. Never 2. magent does not read ultrasound.",
                          "enum": [
                            0,
                            1,
                            3
                          ],
                          "type": "integer"
                        }
                      },
                      "required": [
                        "ca125_u_ml",
                        "ultrasound_score",
                        "postmenopausal"
                      ],
                      "type": "object"
                    },
                    "maxItems": 25,
                    "minItems": 1,
                    "type": "array"
                  }
                },
                "required": [
                  "items"
                ],
                "type": "object"
              },
              "headers": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "method": {
                "const": "POST",
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "rmi",
    "ca125",
    "ovarian",
    "hematology",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T15:00:15.534Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-12T15:00:15.412Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "ca125_u_ml": 50,
                  "postmenopausal": true,
                  "ultrasound_score": 3
                },
                {
                  "ca125_u_ml": 50,
                  "postmenopausal": true,
                  "ultrasound_score": 3
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "ca125_u_ml": 50,
                  "citation": {
                    "authors": "Jacobs I, Oram D, Fairbanks J, Turner J, Frost C, Grudzinskas JG",
                    "doi": "10.1111/j.1471-0528.1990.tb02448.x",
                    "id": "jacobs-1990-rmi",
                    "pmid": "2223684",
                    "source": "Br J Obstet Gynaecol. 1990;97(10):922-929",
                    "title": "A risk of malignancy index incorporating CA 125, ultrasound and menopausal status for the accurate preoperative diagnosis of ovarian cancer"
                  },
                  "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.",
                  "exceeds_200": true,
                  "formula": "rmi",
                  "formula_expression": "RMI = U × M × CA125 (U/ml); U is ultrasound_score 0, 1, or 3 (never 2); M is 1 if premenopausal, 3 if postmenopausal; exceeds_200 if RMI > 200 (Jacobs 1990)",
                  "postmenopausal": true,
                  "rmi": 450,
                  "ultrasound_score": 3
                },
                {
                  "ca125_u_ml": 50,
                  "citation": {
                    "authors": "Jacobs I, Oram D, Fairbanks J, Turner J, Frost C, Grudzinskas JG",
                    "doi": "10.1111/j.1471-0528.1990.tb02448.x",
                    "id": "jacobs-1990-rmi",
                    "pmid": "2223684",
                    "source": "Br J Obstet Gynaecol. 1990;97(10):922-929",
                    "title": "A risk of malignancy index incorporating CA 125, ultrasound and menopausal status for the accurate preoperative diagnosis of ovarian cancer"
                  },
                  "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.",
                  "exceeds_200": true,
                  "formula": "rmi",
                  "formula_expression": "RMI = U × M × CA125 (U/ml); U is ultrasound_score 0, 1, or 3 (never 2); M is 1 if premenopausal, 3 if postmenopausal; exceeds_200 if RMI > 200 (Jacobs 1990)",
                  "postmenopausal": true,
                  "rmi": 450,
                  "ultrasound_score": 3
                }
              ],
              "path": "/api/calc/rmi"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "ca125_u_ml": {
                            "description": "Serum CA125 in U/ml (0-50000). Enters the product unrounded. Jacobs 1990 uses U/ml. magent does not assay CA125.",
                            "type": "number"
                          },
                          "postmenopausal": {
                            "description": "true if postmenopausal (M=3), false if premenopausal (M=1). Jacobs 1990: more than one year since final period, or age >50 after hysterectomy. Caller sets the flag; magent does not date menses.",
                            "type": "boolean"
                          },
                          "ultrasound_score": {
                            "description": "Caller-assigned Jacobs 1990 ultrasound score: 0 if no features, 1 if one feature, 3 if two or more of multilocular cyst, solid areas, bilateral lesions, ascites, or intra-abdominal metastases. Never 2. magent does not read ultrasound.",
                            "enum": [
                              0,
                              1,
                              3
                            ],
                            "type": "integer"
                          }
                        },
                        "required": [
                          "ca125_u_ml",
                          "ultrasound_score",
                          "postmenopausal"
                        ],
                        "type": "object"
                      },
                      "maxItems": 25,
                      "minItems": 1,
                      "type": "array"
                    }
                  },
                  "required": [
                    "items"
                  ],
                  "type": "object"
                },
                "headers": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "method": {
                  "const": "POST",
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.magentlab.com",
    "manifest_name": "api.magentlab.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}