Rockall 1996 pre-endoscopy (admission) score after acute upper GI haemorrhage
Rockall 1996 pre-endoscopy (admission) 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 (failure, IHD, or any major) 2, renal/liver/metastatic 3. Max 7. Not complete Rockall, AIMS65, or GBS. Caller assigns comorbidity.
Asked 1.4x its listed price for its own exampleour last check, 2026-09-28
1 of 1checks answered this week
272 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_pre
| Category | Everything else |
|---|---|
| Provider host | api.magentlab.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 0 from 0 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-28 | valid payment request | 402 | $0.007 | 272 ms |
Example input (from the provider)
{
"body": {
"items": [
{
"age": 50,
"comorbidity": "none",
"heart_rate_bpm": 80,
"systolic_mm_hg": 120
},
{
"age": 50,
"comorbidity": "none",
"heart_rate_bpm": 80,
"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"
},
"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"
},
"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"
],
"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"
}