{
  "x402Version": 2,
  "id": 39058,
  "slug": "39058",
  "resource": "https://api.magentlab.com/api/calc/lent",
  "description": "Clive 2014 LENT score for malignant pleural effusion: pleural LDH IU/L (<1500 → 0, >1500 → 1), ECOG 0-4 (0→0, 1→1, 2→2, 3-4→3), serum NLR as a number (<9 → 0, >9 → 1), tumour type (mesothelioma/haematological 0; breast/gynaecological/renal_cell 1; lung/other 2). Score 0-7: 0-1 low, 2-4 moderate, 5-7 high. Equality at 1500 or 9 is not scored. Not a diagnosis or treatment order.",
  "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": [
              {
                "ecog": 0,
                "nlr": 5,
                "pleural_ldh_u_l": 1000,
                "tumor_type": "mesothelioma"
              },
              {
                "ecog": 0,
                "nlr": 5,
                "pleural_ldh_u_l": 1000,
                "tumor_type": "mesothelioma"
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Clive AO, Kahan BC, Hooper CE, Bhatnagar R, Morley AJ, Zahan-Evans N, Bintcliffe OJ, Boshuizen RC, Fysh ETH, Tobin CL, Medford ARL, Harvey JE, van den Heuvel MM, Lee YCG, Maskell NA",
                  "doi": "10.1136/thoraxjnl-2014-205285",
                  "id": "clive-2014",
                  "pmid": "25100651",
                  "source": "Thorax. 2014;69(12):1098-1104",
                  "title": "Predicting survival in malignant pleural effusion: development and validation of the LENT prognostic score"
                },
                "components": [
                  {
                    "factor": "pleural_ldh",
                    "points": 0,
                    "present": false,
                    "value": 1000
                  },
                  {
                    "factor": "ecog",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "nlr",
                    "points": 0,
                    "present": false,
                    "value": 5
                  },
                  {
                    "factor": "tumor_type",
                    "points": 0,
                    "present": false,
                    "value": "mesothelioma"
                  }
                ],
                "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.",
                "ecog": 0,
                "formula": "lent",
                "formula_expression": "LENT = L (pleural LDH IU/L: <1500 → 0, >1500 → 1) + E (ECOG 0→0, 1→1, 2→2, 3-4→3) + N (serum NLR: <9 → 0, >9 → 1) + T (mesothelioma/haematological → 0; breast/gynaecological/renal_cell → 1; lung/other → 2); Clive 2014 Table 3; max 7; 0-1 low, 2-4 moderate, 5-7 high",
                "max_score": 7,
                "nlr": 5,
                "pleural_ldh_u_l": 1000,
                "risk": "low",
                "score": 0,
                "tumor_type": "mesothelioma"
              },
              {
                "citation": {
                  "authors": "Clive AO, Kahan BC, Hooper CE, Bhatnagar R, Morley AJ, Zahan-Evans N, Bintcliffe OJ, Boshuizen RC, Fysh ETH, Tobin CL, Medford ARL, Harvey JE, van den Heuvel MM, Lee YCG, Maskell NA",
                  "doi": "10.1136/thoraxjnl-2014-205285",
                  "id": "clive-2014",
                  "pmid": "25100651",
                  "source": "Thorax. 2014;69(12):1098-1104",
                  "title": "Predicting survival in malignant pleural effusion: development and validation of the LENT prognostic score"
                },
                "components": [
                  {
                    "factor": "pleural_ldh",
                    "points": 0,
                    "present": false,
                    "value": 1000
                  },
                  {
                    "factor": "ecog",
                    "points": 0,
                    "present": true,
                    "value": 0
                  },
                  {
                    "factor": "nlr",
                    "points": 0,
                    "present": false,
                    "value": 5
                  },
                  {
                    "factor": "tumor_type",
                    "points": 0,
                    "present": false,
                    "value": "mesothelioma"
                  }
                ],
                "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.",
                "ecog": 0,
                "formula": "lent",
                "formula_expression": "LENT = L (pleural LDH IU/L: <1500 → 0, >1500 → 1) + E (ECOG 0→0, 1→1, 2→2, 3-4→3) + N (serum NLR: <9 → 0, >9 → 1) + T (mesothelioma/haematological → 0; breast/gynaecological/renal_cell → 1; lung/other → 2); Clive 2014 Table 3; max 7; 0-1 low, 2-4 moderate, 5-7 high",
                "max_score": 7,
                "nlr": 5,
                "pleural_ldh_u_l": 1000,
                "risk": "low",
                "score": 0,
                "tumor_type": "mesothelioma"
              }
            ],
            "path": "/api/calc/lent"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "ecog": {
                          "description": "Oken 1982 ECOG performance status 0-4 as assigned by the caller. Clive 2014: 0→0, 1→1, 2→2, 3-4→3. Grade 5 (dead) is not scored. magent does not observe the patient.",
                          "type": "integer"
                        },
                        "nlr": {
                          "description": "Serum neutrophil-to-lymphocyte ratio as a number (0.05-200, not 9). Clive 2014 Table 3: <9 scores 0, >9 scores 1. Equality at 9 is not scored. Pass nlr; magent does not compute it from percents.",
                          "type": "number"
                        },
                        "pleural_ldh_u_l": {
                          "description": "Pleural fluid LDH in IU/L (1-20000, not 1500). Clive 2014 Table 3: <1500 scores 0, >1500 scores 1. Equality at 1500 is not scored.",
                          "type": "number"
                        },
                        "tumor_type": {
                          "description": "Clive 2014 tumour type. mesothelioma or haematological (also hematological) scores 0; breast, gynaecological (also gynecological), or renal_cell scores 1; lung or other scores 2. magent does not assign tumour type from histology text.",
                          "enum": [
                            "mesothelioma",
                            "haematological",
                            "breast",
                            "gynaecological",
                            "renal_cell",
                            "lung",
                            "other"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "pleural_ldh_u_l",
                        "ecog",
                        "nlr",
                        "tumor_type"
                      ],
                      "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": [
    "lent",
    "pleural",
    "respiratory",
    "prognosis",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T07:36:33.486Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T07:36:33.362Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "ecog": 0,
                  "nlr": 5,
                  "pleural_ldh_u_l": 1000,
                  "tumor_type": "mesothelioma"
                },
                {
                  "ecog": 0,
                  "nlr": 5,
                  "pleural_ldh_u_l": 1000,
                  "tumor_type": "mesothelioma"
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Clive AO, Kahan BC, Hooper CE, Bhatnagar R, Morley AJ, Zahan-Evans N, Bintcliffe OJ, Boshuizen RC, Fysh ETH, Tobin CL, Medford ARL, Harvey JE, van den Heuvel MM, Lee YCG, Maskell NA",
                    "doi": "10.1136/thoraxjnl-2014-205285",
                    "id": "clive-2014",
                    "pmid": "25100651",
                    "source": "Thorax. 2014;69(12):1098-1104",
                    "title": "Predicting survival in malignant pleural effusion: development and validation of the LENT prognostic score"
                  },
                  "components": [
                    {
                      "factor": "pleural_ldh",
                      "points": 0,
                      "present": false,
                      "value": 1000
                    },
                    {
                      "factor": "ecog",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "nlr",
                      "points": 0,
                      "present": false,
                      "value": 5
                    },
                    {
                      "factor": "tumor_type",
                      "points": 0,
                      "present": false,
                      "value": "mesothelioma"
                    }
                  ],
                  "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.",
                  "ecog": 0,
                  "formula": "lent",
                  "formula_expression": "LENT = L (pleural LDH IU/L: <1500 → 0, >1500 → 1) + E (ECOG 0→0, 1→1, 2→2, 3-4→3) + N (serum NLR: <9 → 0, >9 → 1) + T (mesothelioma/haematological → 0; breast/gynaecological/renal_cell → 1; lung/other → 2); Clive 2014 Table 3; max 7; 0-1 low, 2-4 moderate, 5-7 high",
                  "max_score": 7,
                  "nlr": 5,
                  "pleural_ldh_u_l": 1000,
                  "risk": "low",
                  "score": 0,
                  "tumor_type": "mesothelioma"
                },
                {
                  "citation": {
                    "authors": "Clive AO, Kahan BC, Hooper CE, Bhatnagar R, Morley AJ, Zahan-Evans N, Bintcliffe OJ, Boshuizen RC, Fysh ETH, Tobin CL, Medford ARL, Harvey JE, van den Heuvel MM, Lee YCG, Maskell NA",
                    "doi": "10.1136/thoraxjnl-2014-205285",
                    "id": "clive-2014",
                    "pmid": "25100651",
                    "source": "Thorax. 2014;69(12):1098-1104",
                    "title": "Predicting survival in malignant pleural effusion: development and validation of the LENT prognostic score"
                  },
                  "components": [
                    {
                      "factor": "pleural_ldh",
                      "points": 0,
                      "present": false,
                      "value": 1000
                    },
                    {
                      "factor": "ecog",
                      "points": 0,
                      "present": true,
                      "value": 0
                    },
                    {
                      "factor": "nlr",
                      "points": 0,
                      "present": false,
                      "value": 5
                    },
                    {
                      "factor": "tumor_type",
                      "points": 0,
                      "present": false,
                      "value": "mesothelioma"
                    }
                  ],
                  "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.",
                  "ecog": 0,
                  "formula": "lent",
                  "formula_expression": "LENT = L (pleural LDH IU/L: <1500 → 0, >1500 → 1) + E (ECOG 0→0, 1→1, 2→2, 3-4→3) + N (serum NLR: <9 → 0, >9 → 1) + T (mesothelioma/haematological → 0; breast/gynaecological/renal_cell → 1; lung/other → 2); Clive 2014 Table 3; max 7; 0-1 low, 2-4 moderate, 5-7 high",
                  "max_score": 7,
                  "nlr": 5,
                  "pleural_ldh_u_l": 1000,
                  "risk": "low",
                  "score": 0,
                  "tumor_type": "mesothelioma"
                }
              ],
              "path": "/api/calc/lent"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "ecog": {
                            "description": "Oken 1982 ECOG performance status 0-4 as assigned by the caller. Clive 2014: 0→0, 1→1, 2→2, 3-4→3. Grade 5 (dead) is not scored. magent does not observe the patient.",
                            "type": "integer"
                          },
                          "nlr": {
                            "description": "Serum neutrophil-to-lymphocyte ratio as a number (0.05-200, not 9). Clive 2014 Table 3: <9 scores 0, >9 scores 1. Equality at 9 is not scored. Pass nlr; magent does not compute it from percents.",
                            "type": "number"
                          },
                          "pleural_ldh_u_l": {
                            "description": "Pleural fluid LDH in IU/L (1-20000, not 1500). Clive 2014 Table 3: <1500 scores 0, >1500 scores 1. Equality at 1500 is not scored.",
                            "type": "number"
                          },
                          "tumor_type": {
                            "description": "Clive 2014 tumour type. mesothelioma or haematological (also hematological) scores 0; breast, gynaecological (also gynecological), or renal_cell scores 1; lung or other scores 2. magent does not assign tumour type from histology text.",
                            "enum": [
                              "mesothelioma",
                              "haematological",
                              "breast",
                              "gynaecological",
                              "renal_cell",
                              "lung",
                              "other"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "pleural_ldh_u_l",
                          "ecog",
                          "nlr",
                          "tumor_type"
                        ],
                        "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"
  }
}