# EGSYS Score Calculator (Del Rosso 2008)

> EGSYS Score Calculator (Del Rosso 2008) 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 EGSYS (Evaluation of Guidelines in SYncope Study) score to triage cardiac versus non-cardiac syncope based on six clinical flags.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/egsys
- 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/egsys-score-calculator-del-rosso-2008-7088cb4c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LqipYOmEYPb3j-uiS2XU2

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 egsys-score-calculator-del-rosso-2008-7088cb4c
```

Example prompt: Calculate the EGSYS score for a syncope patient who had palpitations before the episode and has abnormal ECG findings, but no syncope during effort, no syncope while supine, no autonomic prodromes were absent, and there were no precipitating factors absent — so flag palpitations true, abnormal ECG true, effort false, supine false, no_autonomic_prodromes false, no_precipitating_factors true.

## When to prefer this

Use this endpoint when you need a fast, validated arithmetic computation of the EGSYS score from pre-assessed clinical flags. It is ideal for clinical decision-support pipelines where a clinician or structured data source has already determined the six binary features. Prefer this over manual calculation to avoid arithmetic errors in automated workflows.

## Known failure modes

- Missing required boolean flags returns a 400 validation error
- Non-boolean values for flag parameters cause a schema validation failure
- Network timeout if the API is temporarily unavailable
- Payment failure via x402 protocol if USDC balance is insufficient

## How this service works

Del Rosso 2008 EGSYS: palpitations +4, abnormal ECG or heart disease +3, syncope during effort +3, syncope while supine +2, absence of autonomic prodromes −1, absence of predisposing and/or precipitating factors −1. Range −2 to 12. Discriminator is score ≥3 versus <3 (cardiac-syncope triage). Caller assigns six flags. Not a medical device, not a cardiac-syncope diagnosis, and magent does not take a history.

## Output

Returns the computed EGSYS integer score (range −2 to 12) derived from the six weighted clinical flags. A score ≥3 indicates higher likelihood of cardiac syncope; <3 suggests non-cardiac etiology. The response includes the total score and likely the individual component contributions.

## 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": [
      "palpitations",
      "abnormal_ecg_or_heart_disease",
      "syncope_during_effort",
      "syncope_supine",
      "no_autonomic_prodromes",
      "no_precipitating_factors"
     ],
     "properties": {
      "palpitations": {
       "type": "boolean",
       "description": "Palpitations preceding syncope (Del Rosso 2008, +4). true or false as assigned by the caller. magent does not take a history."
      },
      "syncope_supine": {
       "type": "boolean",
       "description": "Syncope while supine (Del Rosso 2008, +2). true or false as assigned by the caller."
      },
      "syncope_during_effort": {
       "type": "boolean",
       "description": "Syncope during effort (Del Rosso 2008, +3). true or false as assigned by the caller."
      },
      "no_autonomic_prodromes": {
       "type": "boolean",
       "description": "Absence of autonomic prodromes (Del Rosso 2008, −1). true or false as assigned by the caller."
      },
      "no_precipitating_factors": {
       "type": "boolean",
       "description": "Absence of predisposing and/or precipitating factors (Del Rosso 2008, −1). true or false as assigned by the caller."
      },
      "abnormal_ecg_or_heart_disease": {
       "type": "boolean",
       "description": "Abnormal ECG and/or heart disease (Del Rosso 2008, +3). true or false as assigned by the caller. magent does not read an ECG."
      }
     }
    }
   },
   "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/egsys-score-calculator-del-rosso-2008-7088cb4c/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)
