Revised Tokuhashi 2005 (0-15)
Revised Tokuhashi 2005 (0-15). KPS poor/moderate/good 0/1/2. Extraspinal ge_3/one_or_two/none 0/1/2. Vertebral ge_3/two/one 0/1/2. Visceral unremovable/removable/none 0/1/2. Primary lung osteosarcoma stomach bladder esophagus pancreas 0; liver gallbladder unidentified 1; others 2; kidney uterus 3; rectum 4; thyroid prostate breast carcinoid 5. Palsy complete/incomplete/none 0/1/2. Bands 0-8/9-11/12-15. Not an operative order. Not 1990. Not SINS. Does not read imaging. Not a medical device.
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/tokuhashi
| 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 | 278 ms |
Example input (from the provider)
{
"body": {
"items": [
{
"extraspinal": "ge_3",
"kps": "poor",
"palsy": "complete",
"primary": "lung",
"vertebral": "ge_3",
"visceral": "unremovable"
},
{
"extraspinal": "ge_3",
"kps": "poor",
"palsy": "complete",
"primary": "lung",
"vertebral": "ge_3",
"visceral": "unremovable"
}
]
},
"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": {
"extraspinal": {
"description": "Caller-assigned number of extraspinal bone metastases (Tokuhashi 2005). ge_3 (\u22653) scores 0; one_or_two scores 1; none scores 2. magent does not read imaging.",
"enum": [
"ge_3",
"one_or_two",
"none"
],
"type": "string"
},
"kps": {
"description": "Caller-assigned Karnofsky performance status band (Tokuhashi 2005). poor (KPS 10\u201340%) scores 0; moderate (50\u201370%) scores 1; good (80\u2013100%) scores 2. magent does not observe the patient.",
"enum": [
"poor",
"moderate",
"good"
],
"type": "string"
},
"palsy": {
"description": "Caller-assigned spinal cord palsy (Tokuhashi 2005). complete (Frankel A/B) scores 0; incomplete (Frankel C/D) scores 1; none (Frankel E) scores 2. magent does not examine the patient.",
"enum": [
"complete",
"incomplete",
"none"
],
"type": "string"
},
"primary": {
"description": "Caller-assigned Tokuhashi 2005 primary site group. lung, osteosarcoma, stomach, bladder, esophagus, pancreas score 0; liver, gallbladder, unidentified score 1; others scores 2; kidney, uterus score 3; rectum scores 4; thyroid, prostate, breast, carcinoid score 5. others is the published catch-all token. magent does not infer histology.",
"enum": [
"lung",
"osteosarcoma",
"stomach",
"bladder",
"esophagus",
"pancreas",
"liver",
"gallbladder",
"unidentified",
"others",
"kidney",
"uterus",
"rectum",
"thyroid",
"prostate",
"breast",
"carcinoid"
],
"type": "string"
},
"vertebral": {
"description": "Caller-assigned number of vertebral metastases (Tokuhashi 2005). ge_3 (\u22653) scores 0; two scores 1; one scores 2. There is no vertebral none token. magent does not read imaging.",
"enum": [
"ge_3",
"two",
"one"
],
"type": "string"
},
"visceral": {
"description": "Caller-assigned metastases to major internal organs (Tokuhashi 2005). unremovable scores 0; removable scores 1; none scores 2. magent does not read imaging.",
"enum": [
"unremovable",
"removable",
"none"
],
"type": "string"
}
},
"required": [
"kps",
"extraspinal",
"vertebral",
"visceral",
"primary",
"palsy"
],
"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"
}