ToolAssay

Rockall 1996 complete (post-endoscopy) score after acute upper GI haemorrhage

Rockall 1996 complete (post-endoscopy) score after acute upper GI haemorrhage: age <60 0, 60-79 1, >=80 2; shock SBP<100 2 (hypotension; tachycardia not added), else HR>=100 1, else 0; comorbidity none 0, cardiac 2, renal/liver/metastatic 3; diagnosis none or mallory_weiss 0, other 1, malignancy 2; stigmata none_or_spot 0, blood_clot_vessel 2. Max 11. Not pre-endoscopy-only Rockall, AIMS65, or GBS. Caller assigns comorbidity, diagnosis, and stigmata.

Asked 1.4x its listed price for its own exampleour last check, 2026-09-28
1 of 1checks answered this week
306 msmedian answer time
$0.005listed price per call
$0.007price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://api.magentlab.com/api/calc/rockall

CategoryEverything else
Provider hostapi.magentlab.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days0 from 0 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-09-28 valid payment request 402$0.007 306 ms

Example input (from the provider)

{
  "body": {
    "items": [
      {
        "age": 50,
        "comorbidity": "none",
        "diagnosis": "none",
        "heart_rate_bpm": 80,
        "stigmata": "none_or_spot",
        "systolic_mm_hg": 120
      },
      {
        "age": 50,
        "comorbidity": "none",
        "diagnosis": "none",
        "heart_rate_bpm": 80,
        "stigmata": "none_or_spot",
        "systolic_mm_hg": 120
      }
    ]
  },
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "items": {
              "items": {
                "properties": {
                  "age": {
                    "description": "Age in years (18-120). <60 scores 0; 60-79 scores 1; \u226580 scores 2. 59 does not score; 60 scores 1; 79 scores 1; 80 scores 2.",
                    "type": "integer"
                  },
                  "comorbidity": {
                    "description": "Caller-assigned comorbidity: none (0), cardiac (2; cardiac failure, IHD, or any major comorbidity), or renal_liver_metastatic (3; renal failure, liver failure, or disseminated malignancy). magent does not assign comorbidity.",
                    "type": "string"
                  },
                  "diagnosis": {
                    "description": "Caller-assigned diagnosis: none (0; no lesion identified and no stigmata of recent haemorrhage), mallory_weiss (0), other (1; all other diagnoses), or malignancy (2; malignancy of the upper GI tract). magent does not assign diagnosis.",
                    "type": "string"
                  },
                  "heart_rate_bpm": {
                    "description": "Heart rate in beats per minute (integer 30-220). With SBP \u2265100, HR \u2265100 scores 1 (tachycardia); 99 does not. Not added when SBP <100.",
                    "type": "integer"
                  },
                  "stigmata": {
                    "description": "Caller-assigned stigmata of recent haemorrhage: none_or_spot (0; none or dark spot only) or blood_clot_vessel (2; blood in the upper GI tract, adherent clot, visible or spurting vessel). magent does not assign stigmata.",
                    "type": "string"
                  },
                  "systolic_mm_hg": {
                    "description": "Systolic blood pressure in mm Hg (50-250). SBP <100 scores 2 (hypotension) and tachycardia is not added; 100 does not score hypotension.",
                    "type": "number"
                  }
                },
                "required": [
                  "age",
                  "heart_rate_bpm",
                  "systolic_mm_hg",
                  "comorbidity",
                  "diagnosis",
                  "stigmata"
                ],
                "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"
}

This page as JSON