Swensen 1997 Mayo Clinic logistic probability of malignancy for a 4-30 mm radiol
Swensen 1997 Mayo Clinic logistic probability of malignancy for a 4-30 mm radiologically indeterminate solitary pulmonary nodule. Inputs: age, current or former smoking, extrathoracic cancer diagnosed ≥5 years before the nodule, largest diameter in mm, caller-assigned spiculation, and caller-assigned upper-lobe location. Returns logit x and P = e^x / (1 + e^x). magent does not read the film. Not Gould 2007, not Brock, not a diagnosis, not a biopsy order, and 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/mayo_spn
| 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 | 242 ms |
Example input (from the provider)
{
"body": {
"items": [
{
"age": 50,
"cancer": false,
"diameter_mm": 8,
"smoke": false,
"spiculation": false,
"upper_lobe": false
},
{
"age": 50,
"cancer": false,
"diameter_mm": 8,
"smoke": false,
"spiculation": false,
"upper_lobe": false
}
]
},
"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). Swensen 1997 is an adult derivation; 18 is an implementation clamp.",
"type": "integer"
},
"cancer": {
"description": "Extrathoracic cancer diagnosed \u22655 years before the nodule (Swensen 1997). true scores 1; false scores 0. The derivation excluded cancer within 5 years. The caller assigns the history.",
"type": "boolean"
},
"diameter_mm": {
"description": "Largest nodule diameter in millimetres (4-30). Swensen 1997 derivation range. magent does not measure the film.",
"type": "number"
},
"smoke": {
"description": "Cigarette smoking as coded in Swensen 1997. true = current or former smoker (1); false = never (0). The caller assigns smoking history.",
"type": "boolean"
},
"spiculation": {
"description": "Spiculated edge as assigned by the caller (Swensen 1997). true or false. magent does not read the film.",
"type": "boolean"
},
"upper_lobe": {
"description": "Upper-lobe location as assigned by the caller (Swensen 1997). true or false. magent does not read the film.",
"type": "boolean"
}
},
"required": [
"age",
"smoke",
"cancer",
"diameter_mm",
"spiculation",
"upper_lobe"
],
"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"
}