{
  "x402Version": 2,
  "id": 39406,
  "slug": "39406",
  "resource": "https://api.magentlab.com/api/calc/manchester",
  "description": "Cerny 1987 Manchester score for small-cell lung cancer: LDH above laboratory ULN, sodium <132 mmol/L, ALP >1.5×ULN, bicarbonate <24 mmol/L, Karnofsky <60, extensive stage; 1 point each, max 6. Good 0–1, intermediate 2–3, poor ≥4. Deterministic published score with citation; not a diagnosis; not the BRCA Manchester score. magent does not stage the cancer, assay labs, or assign Karnofsky performance status.",
  "type": "http",
  "serviceName": "magent",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 600
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "iconUrl": "https://api.magentlab.com/favicon.ico",
        "input": {
          "body": {
            "items": [
              {
                "alp_gt_1_5_uln": false,
                "bicarbonate_mmol_l": 24,
                "extensive_stage": false,
                "kps": 80,
                "ldh_gt_uln": false,
                "sodium_mmol_l": 140
              },
              {
                "alp_gt_1_5_uln": false,
                "bicarbonate_mmol_l": 24,
                "extensive_stage": false,
                "kps": 80,
                "ldh_gt_uln": false,
                "sodium_mmol_l": 140
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "bicarbonate_mmol_l": 24,
                "citation": {
                  "authors": "Cerny T, Blair V, Anderson H, Bramwell V, Thatcher N",
                  "doi": "10.1002/ijc.2910390204",
                  "id": "cerny-1987",
                  "pmid": "3026969",
                  "source": "Int J Cancer. 1987;39(2):146-149",
                  "title": "Pretreatment prognostic factors and scoring system in 407 small-cell lung cancer patients"
                },
                "components": [
                  {
                    "factor": "ldh_gt_uln",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "sodium_lt_132",
                    "points": 0,
                    "present": false,
                    "value": 140
                  },
                  {
                    "factor": "alp_gt_1_5_uln",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "bicarbonate_lt_24",
                    "points": 0,
                    "present": false,
                    "value": 24
                  },
                  {
                    "factor": "kps_lt_60",
                    "points": 0,
                    "present": false,
                    "value": 80
                  },
                  {
                    "factor": "extensive_stage",
                    "points": 0,
                    "present": false
                  }
                ],
                "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                "formula": "manchester",
                "formula_expression": "Manchester = ldh_gt_uln 1 + sodium_lt_132 1 + alp_gt_1_5_uln 1 + bicarbonate_lt_24 1 + kps_lt_60 1 + extensive_stage 1; Cerny 1987; max 6; good 0-1, intermediate 2-3, poor ≥4",
                "kps": 80,
                "max_score": 6,
                "prognostic_group": "good",
                "score": 0,
                "sodium_mmol_l": 140
              },
              {
                "bicarbonate_mmol_l": 24,
                "citation": {
                  "authors": "Cerny T, Blair V, Anderson H, Bramwell V, Thatcher N",
                  "doi": "10.1002/ijc.2910390204",
                  "id": "cerny-1987",
                  "pmid": "3026969",
                  "source": "Int J Cancer. 1987;39(2):146-149",
                  "title": "Pretreatment prognostic factors and scoring system in 407 small-cell lung cancer patients"
                },
                "components": [
                  {
                    "factor": "ldh_gt_uln",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "sodium_lt_132",
                    "points": 0,
                    "present": false,
                    "value": 140
                  },
                  {
                    "factor": "alp_gt_1_5_uln",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "bicarbonate_lt_24",
                    "points": 0,
                    "present": false,
                    "value": 24
                  },
                  {
                    "factor": "kps_lt_60",
                    "points": 0,
                    "present": false,
                    "value": 80
                  },
                  {
                    "factor": "extensive_stage",
                    "points": 0,
                    "present": false
                  }
                ],
                "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                "formula": "manchester",
                "formula_expression": "Manchester = ldh_gt_uln 1 + sodium_lt_132 1 + alp_gt_1_5_uln 1 + bicarbonate_lt_24 1 + kps_lt_60 1 + extensive_stage 1; Cerny 1987; max 6; good 0-1, intermediate 2-3, poor ≥4",
                "kps": 80,
                "max_score": 6,
                "prognostic_group": "good",
                "score": 0,
                "sodium_mmol_l": 140
              }
            ],
            "path": "/api/calc/manchester"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "alp_gt_1_5_uln": {
                          "description": "ALP >1.5 × laboratory ULN as assigned by the caller (Cerny 1987). true scores 1. magent does not assay ALP or apply ULN.",
                          "type": "boolean"
                        },
                        "bicarbonate_mmol_l": {
                          "description": "Serum bicarbonate in mmol/L (2-45). Cerny 1987 scores 1 when bicarbonate is <24 mmol/L; 24 scores 0.",
                          "type": "number"
                        },
                        "extensive_stage": {
                          "description": "Extensive-stage small-cell lung cancer as assigned by the caller (Cerny 1987). true scores 1. magent does not stage the cancer.",
                          "type": "boolean"
                        },
                        "kps": {
                          "description": "Karnofsky 1949 Performance Status 10, 20, 30, 40, 50, 60, 70, 80, 90, or 100 as assigned by the caller. Cerny 1987 scores 1 when kps is <60; 60 scores 0. Grade 0 (dead) is not scored. magent does not observe the patient.",
                          "type": "integer"
                        },
                        "ldh_gt_uln": {
                          "description": "LDH exceeds the laboratory upper limit of normal as assigned by the caller (Cerny 1987). true scores 1. magent does not assay LDH or apply ULN.",
                          "type": "boolean"
                        },
                        "sodium_mmol_l": {
                          "description": "Serum sodium in mmol/L (110-160). Cerny 1987 scores 1 when sodium is <132 mmol/L; 132 scores 0.",
                          "type": "number"
                        }
                      },
                      "required": [
                        "ldh_gt_uln",
                        "sodium_mmol_l",
                        "alp_gt_1_5_uln",
                        "bicarbonate_mmol_l",
                        "kps",
                        "extensive_stage"
                      ],
                      "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"
      }
    }
  },
  "tags": [
    "manchester",
    "sclc",
    "prognosis",
    "hematology",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T14:57:36.582Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-12T14:57:36.444Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "alp_gt_1_5_uln": false,
                  "bicarbonate_mmol_l": 24,
                  "extensive_stage": false,
                  "kps": 80,
                  "ldh_gt_uln": false,
                  "sodium_mmol_l": 140
                },
                {
                  "alp_gt_1_5_uln": false,
                  "bicarbonate_mmol_l": 24,
                  "extensive_stage": false,
                  "kps": 80,
                  "ldh_gt_uln": false,
                  "sodium_mmol_l": 140
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "bicarbonate_mmol_l": 24,
                  "citation": {
                    "authors": "Cerny T, Blair V, Anderson H, Bramwell V, Thatcher N",
                    "doi": "10.1002/ijc.2910390204",
                    "id": "cerny-1987",
                    "pmid": "3026969",
                    "source": "Int J Cancer. 1987;39(2):146-149",
                    "title": "Pretreatment prognostic factors and scoring system in 407 small-cell lung cancer patients"
                  },
                  "components": [
                    {
                      "factor": "ldh_gt_uln",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "sodium_lt_132",
                      "points": 0,
                      "present": false,
                      "value": 140
                    },
                    {
                      "factor": "alp_gt_1_5_uln",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "bicarbonate_lt_24",
                      "points": 0,
                      "present": false,
                      "value": 24
                    },
                    {
                      "factor": "kps_lt_60",
                      "points": 0,
                      "present": false,
                      "value": 80
                    },
                    {
                      "factor": "extensive_stage",
                      "points": 0,
                      "present": false
                    }
                  ],
                  "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                  "formula": "manchester",
                  "formula_expression": "Manchester = ldh_gt_uln 1 + sodium_lt_132 1 + alp_gt_1_5_uln 1 + bicarbonate_lt_24 1 + kps_lt_60 1 + extensive_stage 1; Cerny 1987; max 6; good 0-1, intermediate 2-3, poor ≥4",
                  "kps": 80,
                  "max_score": 6,
                  "prognostic_group": "good",
                  "score": 0,
                  "sodium_mmol_l": 140
                },
                {
                  "bicarbonate_mmol_l": 24,
                  "citation": {
                    "authors": "Cerny T, Blair V, Anderson H, Bramwell V, Thatcher N",
                    "doi": "10.1002/ijc.2910390204",
                    "id": "cerny-1987",
                    "pmid": "3026969",
                    "source": "Int J Cancer. 1987;39(2):146-149",
                    "title": "Pretreatment prognostic factors and scoring system in 407 small-cell lung cancer patients"
                  },
                  "components": [
                    {
                      "factor": "ldh_gt_uln",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "sodium_lt_132",
                      "points": 0,
                      "present": false,
                      "value": 140
                    },
                    {
                      "factor": "alp_gt_1_5_uln",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "bicarbonate_lt_24",
                      "points": 0,
                      "present": false,
                      "value": 24
                    },
                    {
                      "factor": "kps_lt_60",
                      "points": 0,
                      "present": false,
                      "value": 80
                    },
                    {
                      "factor": "extensive_stage",
                      "points": 0,
                      "present": false
                    }
                  ],
                  "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                  "formula": "manchester",
                  "formula_expression": "Manchester = ldh_gt_uln 1 + sodium_lt_132 1 + alp_gt_1_5_uln 1 + bicarbonate_lt_24 1 + kps_lt_60 1 + extensive_stage 1; Cerny 1987; max 6; good 0-1, intermediate 2-3, poor ≥4",
                  "kps": 80,
                  "max_score": 6,
                  "prognostic_group": "good",
                  "score": 0,
                  "sodium_mmol_l": 140
                }
              ],
              "path": "/api/calc/manchester"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "alp_gt_1_5_uln": {
                            "description": "ALP >1.5 × laboratory ULN as assigned by the caller (Cerny 1987). true scores 1. magent does not assay ALP or apply ULN.",
                            "type": "boolean"
                          },
                          "bicarbonate_mmol_l": {
                            "description": "Serum bicarbonate in mmol/L (2-45). Cerny 1987 scores 1 when bicarbonate is <24 mmol/L; 24 scores 0.",
                            "type": "number"
                          },
                          "extensive_stage": {
                            "description": "Extensive-stage small-cell lung cancer as assigned by the caller (Cerny 1987). true scores 1. magent does not stage the cancer.",
                            "type": "boolean"
                          },
                          "kps": {
                            "description": "Karnofsky 1949 Performance Status 10, 20, 30, 40, 50, 60, 70, 80, 90, or 100 as assigned by the caller. Cerny 1987 scores 1 when kps is <60; 60 scores 0. Grade 0 (dead) is not scored. magent does not observe the patient.",
                            "type": "integer"
                          },
                          "ldh_gt_uln": {
                            "description": "LDH exceeds the laboratory upper limit of normal as assigned by the caller (Cerny 1987). true scores 1. magent does not assay LDH or apply ULN.",
                            "type": "boolean"
                          },
                          "sodium_mmol_l": {
                            "description": "Serum sodium in mmol/L (110-160). Cerny 1987 scores 1 when sodium is <132 mmol/L; 132 scores 0.",
                            "type": "number"
                          }
                        },
                        "required": [
                          "ldh_gt_uln",
                          "sodium_mmol_l",
                          "alp_gt_1_5_uln",
                          "bicarbonate_mmol_l",
                          "kps",
                          "extensive_stage"
                        ],
                        "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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.magentlab.com",
    "manifest_name": "api.magentlab.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}