# GO-FAR Score Calculator (Ebell 2013)

> GO-FAR Score Calculator (Ebell 2013) 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-13).

Computes the Ebell 2013 GO-FAR integer score to estimate probability of neurologically intact survival (CPC 1) after in-hospital CPR.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/go_far
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/go-far-score-calculator-ebell-2013-b170a713
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QfD6yaXAPCADOvJ7yLyhf

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 go-far-score-calculator-ebell-2013-b170a713
```

Example prompt: Calculate the GO-FAR score for an 82-year-old patient admitted from a skilled nursing facility who has metastatic cancer and was neurologically intact at admission — no trauma, no stroke, no sepsis, no hepatic or respiratory insufficiency, no renal issues, no hypotension, no pneumonia.

## When to prefer this

Use this endpoint when you need a fast, standardized Ebell 2013 GO-FAR score computation from structured clinical flags without implementing the scoring logic yourself. Prefer it for pre-arrest counseling support, EHR integration, or automated risk stratification workflows. Note: this is GO-FAR version 1 (Ebell 2013), not GO-FAR 2; choose accordingly if your protocol specifies a version. This endpoint does not diagnose conditions — callers must supply clinically determined flags.

## Known failure modes

- Missing required boolean flag fields returns a 400 validation error
- Age outside accepted integer range (18-120) returns a 400 error
- Non-boolean values for flag parameters cause schema validation failure
- Network or payment authorization failure returns 402 or 5xx
- Caller misclassifies clinical flags — score is arithmetically correct but clinically misleading

## How this service works

Ebell 2013 GO-FAR integer score for CPC 1 after in-hospital CPR. Exclusive age (<70=0, 70-74=2, 75-79=5, 80-84=6, >=85=11) plus 12 caller-assigned flags (intact CPC 1 at admission -15; trauma 10; stroke 8; cancer 7; septicemia 7; medical noncardiac 7; hepatic 6; SNF 6; hypotension 5; renal 4; respiratory 4; pneumonia 1). Range -15 to 76. Bands: >=24 very_low, 14-23 low, -5 to 13 average, <=-6 above_average. Not GO-FAR 2. Not a DNAR order.

## Output

Returns the computed GO-FAR integer score (range -15 to 76) and the corresponding survival probability band: above_average (≤-6), average (-5 to 13), low (14-23), or very_low (≥24). Higher scores indicate lower likelihood of neurologically intact survival (CPC 1) after in-hospital CPR.

## 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": [
      "age",
      "neurologically_intact_or_minimal_deficits",
      "major_trauma",
      "acute_stroke",
      "metastatic_or_hematologic_cancer",
      "septicemia",
      "medical_noncardiac_diagnosis",
      "hepatic_insufficiency",
      "admit_from_skilled_nursing",
      "hypotension_or_hypoperfusion",
      "renal_insufficiency_or_dialysis",
      "respiratory_insufficiency",
      "pneumonia"
     ],
     "properties": {
      "age": {
       "type": "integer",
       "description": "Age in years (18-120). Ebell 2013 exclusive bands: younger than 70 scores 0; 70-74 scores 2; 75-79 scores 5; 80-84 scores 6; 85 or older scores 11. Age 69 scores 0; 70 scores 2."
      },
      "pneumonia": {
       "type": "boolean",
       "description": "Pneumonia as assigned by the caller (Ebell 2013 Table 3). true scores 1. magent does not diagnose pneumonia."
      },
      "septicemia": {
       "type": "boolean",
       "description": "Septicemia as assigned by the caller (Ebell 2013 Table 3). true scores 7. magent does not diagnose infection."
      },
      "acute_stroke": {
       "type": "boolean",
       "description": "Acute stroke as assigned by the caller (Ebell 2013 Table 3). true scores 8. magent does not diagnose stroke."
      },
      "major_trauma": {
       "type": "boolean",
       "description": "Major trauma as assigned by the caller (Ebell 2013 Table 3). true scores 10. magent does not examine the patient."
      },
      "hepatic_insufficiency": {
       "type": "boolean",
       "description": "Hepatic insufficiency as assigned by the caller (Ebell 2013 Table 3). true scores 6. magent does not grade liver tests."
      },
      "respiratory_insufficiency": {
       "type": "boolean",
       "description": "Respiratory insufficiency as assigned by the caller (Ebell 2013 Table 3). true scores 4. magent does not interpret blood gas or ventilator settings."
      },
      "admit
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/go-far-score-calculator-ebell-2013-b170a713/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)
