Mazzaferro 2009 Up-to-seven
Mazzaferro 2009 Up-to-seven: meets_up_to_seven is true iff tumor_count plus largest_cm is 7 or less and microvascular_invasion is false. Returns the boolean and size_number_sum, not a 5-year survival percentage. Pathology/explant-style inputs as assigned by the caller; magent does not interpret imaging or histology. Not Milan, not Metroticket 2.0 AFP criteria, not a contour calculator, not a medical device, and not a transplant listing.
Asked 1.4x its listed price for its own exampleour last check, 2026-09-28
1 of 1checks answered this week
233 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/up_to_7
| 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 | 233 ms |
Example input (from the provider)
{
"body": {
"items": [
{
"largest_cm": 4,
"microvascular_invasion": false,
"tumor_count": 3
},
{
"largest_cm": 4,
"microvascular_invasion": false,
"tumor_count": 3
}
]
},
"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": {
"largest_cm": {
"description": "Largest tumor diameter in centimetres (0.1-30) as assigned by the caller. Added to tumor_count as size_number_sum. Equality at 7.0 meets; 7.1 fails. magent does not interpret imaging or histology.",
"type": "number"
},
"microvascular_invasion": {
"description": "Microvascular invasion as assigned by the caller (pathology/explant-style). true fails Up-to-seven even when size_number_sum is 7 or less. true or false. magent does not interpret imaging or histology.",
"type": "boolean"
},
"tumor_count": {
"description": "Number of HCC nodules (integer 1-20) as assigned by the caller. Added to largest_cm as size_number_sum. The Up-to-seven ceiling is size_number_sum <= 7. magent does not interpret imaging or histology.",
"type": "integer"
}
},
"required": [
"tumor_count",
"largest_cm",
"microvascular_invasion"
],
"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"
}