{
  "x402Version": 2,
  "id": 39458,
  "slug": "39458",
  "resource": "https://api.magentlab.com/api/calc/2helps2b",
  "description": "Struck 2017 2HELPS2B: BIRDs 2 points; LPD or LRDA or BIPD, prior seizure, sporadic epileptiform discharges, frequency >2.0 Hz, and plus features 1 point each. Max 7. Published probable seizure risk: 0→5%, 1→12%, 2→27%, 3→50%, 4→73%, 5→88%, 6–7→>95%. Not a seizure diagnosis or monitoring-duration protocol. magent does not read EEG.",
  "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": [
              {
                "birds": false,
                "frequency_gt_2hz": false,
                "lpd_lrda_bipd": false,
                "plus_features": false,
                "prior_seizure": false,
                "sporadic_epileptiform": false
              },
              {
                "birds": false,
                "frequency_gt_2hz": false,
                "lpd_lrda_bipd": false,
                "plus_features": false,
                "prior_seizure": false,
                "sporadic_epileptiform": false
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Struck AF, Ustun B, Rodriguez Ruiz AA, Lee JW, LaRoche SM, Hirsch LJ, Gilmore EJ, Vlachy J, Haider HA, Rudin C, Westover MB",
                  "doi": "10.1001/jamaneurol.2017.2459",
                  "id": "struck-2017",
                  "pmid": "29052706",
                  "source": "JAMA Neurol. 2017;74(12):1419-1424",
                  "title": "Association of an electroencephalography-based risk score with seizure probability in hospitalized patients"
                },
                "components": [
                  {
                    "factor": "birds",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "lpd_lrda_bipd",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "prior_seizure",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "sporadic_epileptiform",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "frequency_gt_2hz",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "plus_features",
                    "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": "2helps2b",
                "formula_expression": "2HELPS2B = birds (true 2) + lpd_lrda_bipd (true 1) + prior_seizure (true 1) + sporadic_epileptiform (true 1) + frequency_gt_2hz (true 1) + plus_features (true 1); Struck 2017; max 7; 0→5%, 1→12%, 2→27%, 3→50%, 4→73%, 5→88%, 6-7→>95%",
                "max_score": 7,
                "score": 0,
                "seizure_risk": "5%"
              },
              {
                "citation": {
                  "authors": "Struck AF, Ustun B, Rodriguez Ruiz AA, Lee JW, LaRoche SM, Hirsch LJ, Gilmore EJ, Vlachy J, Haider HA, Rudin C, Westover MB",
                  "doi": "10.1001/jamaneurol.2017.2459",
                  "id": "struck-2017",
                  "pmid": "29052706",
                  "source": "JAMA Neurol. 2017;74(12):1419-1424",
                  "title": "Association of an electroencephalography-based risk score with seizure probability in hospitalized patients"
                },
                "components": [
                  {
                    "factor": "birds",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "lpd_lrda_bipd",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "prior_seizure",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "sporadic_epileptiform",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "frequency_gt_2hz",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "plus_features",
                    "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": "2helps2b",
                "formula_expression": "2HELPS2B = birds (true 2) + lpd_lrda_bipd (true 1) + prior_seizure (true 1) + sporadic_epileptiform (true 1) + frequency_gt_2hz (true 1) + plus_features (true 1); Struck 2017; max 7; 0→5%, 1→12%, 2→27%, 3→50%, 4→73%, 5→88%, 6-7→>95%",
                "max_score": 7,
                "score": 0,
                "seizure_risk": "5%"
              }
            ],
            "path": "/api/calc/2helps2b"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "birds": {
                          "description": "Brief (ictal) rhythmic discharges (BIRDs) as assigned by the caller (Struck 2017). true scores 2. magent does not read EEG.",
                          "type": "boolean"
                        },
                        "frequency_gt_2hz": {
                          "description": "Frequency >2.0 Hz for any periodic or rhythmic pattern as assigned by the caller (Struck 2017). true scores 1. magent does not read EEG.",
                          "type": "boolean"
                        },
                        "lpd_lrda_bipd": {
                          "description": "LPD or LRDA or BIPD as assigned by the caller (Struck 2017). true scores 1. magent does not read EEG.",
                          "type": "boolean"
                        },
                        "plus_features": {
                          "description": "Plus features (superimposed rhythmic, sharp, or fast activity) as assigned by the caller (Struck 2017). true scores 1. magent does not read EEG.",
                          "type": "boolean"
                        },
                        "prior_seizure": {
                          "description": "Prior seizure, acute or remote, as assigned by the caller (Struck 2017). true scores 1.",
                          "type": "boolean"
                        },
                        "sporadic_epileptiform": {
                          "description": "Sporadic epileptiform discharges as assigned by the caller (Struck 2017). true scores 1. magent does not read EEG.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "birds",
                        "lpd_lrda_bipd",
                        "prior_seizure",
                        "sporadic_epileptiform",
                        "frequency_gt_2hz",
                        "plus_features"
                      ],
                      "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": [
    "2helps2b",
    "eeg",
    "seizure",
    "neurology",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T14:50:00.902Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-12T14:50:00.764Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "birds": false,
                  "frequency_gt_2hz": false,
                  "lpd_lrda_bipd": false,
                  "plus_features": false,
                  "prior_seizure": false,
                  "sporadic_epileptiform": false
                },
                {
                  "birds": false,
                  "frequency_gt_2hz": false,
                  "lpd_lrda_bipd": false,
                  "plus_features": false,
                  "prior_seizure": false,
                  "sporadic_epileptiform": false
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Struck AF, Ustun B, Rodriguez Ruiz AA, Lee JW, LaRoche SM, Hirsch LJ, Gilmore EJ, Vlachy J, Haider HA, Rudin C, Westover MB",
                    "doi": "10.1001/jamaneurol.2017.2459",
                    "id": "struck-2017",
                    "pmid": "29052706",
                    "source": "JAMA Neurol. 2017;74(12):1419-1424",
                    "title": "Association of an electroencephalography-based risk score with seizure probability in hospitalized patients"
                  },
                  "components": [
                    {
                      "factor": "birds",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "lpd_lrda_bipd",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "prior_seizure",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "sporadic_epileptiform",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "frequency_gt_2hz",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "plus_features",
                      "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": "2helps2b",
                  "formula_expression": "2HELPS2B = birds (true 2) + lpd_lrda_bipd (true 1) + prior_seizure (true 1) + sporadic_epileptiform (true 1) + frequency_gt_2hz (true 1) + plus_features (true 1); Struck 2017; max 7; 0→5%, 1→12%, 2→27%, 3→50%, 4→73%, 5→88%, 6-7→>95%",
                  "max_score": 7,
                  "score": 0,
                  "seizure_risk": "5%"
                },
                {
                  "citation": {
                    "authors": "Struck AF, Ustun B, Rodriguez Ruiz AA, Lee JW, LaRoche SM, Hirsch LJ, Gilmore EJ, Vlachy J, Haider HA, Rudin C, Westover MB",
                    "doi": "10.1001/jamaneurol.2017.2459",
                    "id": "struck-2017",
                    "pmid": "29052706",
                    "source": "JAMA Neurol. 2017;74(12):1419-1424",
                    "title": "Association of an electroencephalography-based risk score with seizure probability in hospitalized patients"
                  },
                  "components": [
                    {
                      "factor": "birds",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "lpd_lrda_bipd",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "prior_seizure",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "sporadic_epileptiform",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "frequency_gt_2hz",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "plus_features",
                      "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": "2helps2b",
                  "formula_expression": "2HELPS2B = birds (true 2) + lpd_lrda_bipd (true 1) + prior_seizure (true 1) + sporadic_epileptiform (true 1) + frequency_gt_2hz (true 1) + plus_features (true 1); Struck 2017; max 7; 0→5%, 1→12%, 2→27%, 3→50%, 4→73%, 5→88%, 6-7→>95%",
                  "max_score": 7,
                  "score": 0,
                  "seizure_risk": "5%"
                }
              ],
              "path": "/api/calc/2helps2b"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "birds": {
                            "description": "Brief (ictal) rhythmic discharges (BIRDs) as assigned by the caller (Struck 2017). true scores 2. magent does not read EEG.",
                            "type": "boolean"
                          },
                          "frequency_gt_2hz": {
                            "description": "Frequency >2.0 Hz for any periodic or rhythmic pattern as assigned by the caller (Struck 2017). true scores 1. magent does not read EEG.",
                            "type": "boolean"
                          },
                          "lpd_lrda_bipd": {
                            "description": "LPD or LRDA or BIPD as assigned by the caller (Struck 2017). true scores 1. magent does not read EEG.",
                            "type": "boolean"
                          },
                          "plus_features": {
                            "description": "Plus features (superimposed rhythmic, sharp, or fast activity) as assigned by the caller (Struck 2017). true scores 1. magent does not read EEG.",
                            "type": "boolean"
                          },
                          "prior_seizure": {
                            "description": "Prior seizure, acute or remote, as assigned by the caller (Struck 2017). true scores 1.",
                            "type": "boolean"
                          },
                          "sporadic_epileptiform": {
                            "description": "Sporadic epileptiform discharges as assigned by the caller (Struck 2017). true scores 1. magent does not read EEG.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "birds",
                          "lpd_lrda_bipd",
                          "prior_seizure",
                          "sporadic_epileptiform",
                          "frequency_gt_2hz",
                          "plus_features"
                        ],
                        "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"
  }
}