# Kasymjanova 2010 Prognostic Index for Advanced NSCLC (magent)

> Kasymjanova 2010 Prognostic Index for Advanced NSCLC (magent) is a paid API for AI agents from api.magentlab.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Computes the Kasymjanova 2010 prognostic index (PI 0–2) for advanced non-small-cell lung cancer using caller-supplied CRP (mg/L) and WBC (×10⁹/L) values.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/kasymjanova
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kasymjanova-2010-prognostic-index-for-advanced-nsclc-magent-5f439c91
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bovcfJ_QI8bSBdA4-_5R0

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability kasymjanova-2010-prognostic-index-for-advanced-nsclc-magent-5f439c91
```

Example prompt: My patient with advanced NSCLC has a CRP of 18 mg/L and a WBC of 9.5 ×10⁹/L — can you calculate the Kasymjanova 2010 prognostic index for me?

## When to prefer this

Use this endpoint when you need to compute the Kasymjanova 2010 prognostic index specifically for advanced NSCLC risk stratification using CRP (mg/L) and WBC (×10⁹/L) values already obtained from a lab. It is not a substitute for Glasgow Prognostic Score, mGPS (McMillan), or any other CRP/albumin composite score. Prefer it over manual calculation when automating oncology workflows that require a discrete PI 0/1/2 classification.

## Known failure modes

- Missing crp_mg_l or wbc_10e9_l query parameter returns a validation error
- CRP or WBC values outside allowed ranges (0–500) may be rejected
- Non-numeric values for CRP or WBC cause a bad request error
- Payment not received (x402 protocol) results in 402 Payment Required response

## How this service works

Kasymjanova 2010 prognostic index for advanced NSCLC from caller-supplied CRP in mg/L and WBC in ×10^9/L. CRP is elevated if crp_mg_l > 10 (10 is not elevated). WBC is elevated if wbc_10e9_l > 11 (11 is not elevated). PI 0 if neither marker is elevated, PI 1 if exactly one is elevated, PI 2 if both are elevated. Not Glasgow Prognostic Score, not mGPS (McMillan), not a cancer diagnosis, and not a chemotherapy order. magent does not assay CRP or WBC.

## Output

Returns the Kasymjanova 2010 prognostic index integer (0, 1, or 2): PI 0 means neither CRP nor WBC is elevated, PI 1 means exactly one marker is elevated (CRP > 10 mg/L or WBC > 11 ×10⁹/L), and PI 2 means both markers are elevated. The response does not perform laboratory assays or provide a cancer diagnosis.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "crp_mg_l",
      "wbc_10e9_l"
     ],
     "properties": {
      "crp_mg_l": {
       "type": "number",
       "description": "C-reactive protein in mg/L (0-500), not mg/dL. Kasymjanova 2010 elevated CRP is >10 mg/L. CRP = 10 is not elevated. magent does not assay CRP."
      },
      "wbc_10e9_l": {
       "type": "number",
       "description": "White-cell count in ×10^9/L (0.01-500). Kasymjanova 2010 elevated WBC is >11 ×10^9/L. WBC = 11 is not elevated. magent does not assay WBC."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/kasymjanova-2010-prognostic-index-for-advanced-nsclc-magent-5f439c91/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.magentlab.com](https://www.zero.xyz/host/api.magentlab.com/llms.txt)
