{
  "x402Version": 2,
  "id": 38898,
  "slug": "38898",
  "resource": "https://api.magentlab.com/api/calc/virsta",
  "description": "Tubiana 2016 VIRSTA from nine caller-assigned SAB flags plus CRP mg/L. Points: emboli 5, meningitis 5, device or previous IE 4 (one item), IVDU 4, native valve 3, persistent bacteremia 3, vertebral osteomyelitis 2, community/non-nosocomial 2, severe sepsis/shock 1, CRP >190 mg/L 1. Max 30. high_risk iff score ≥ 3. Not an endocarditis diagnosis.",
  "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": [
              {
                "cerebral_or_peripheral_emboli": false,
                "community_or_non_nosocomial": false,
                "crp_mg_l": 50,
                "intracardiac_device_or_previous_ie": false,
                "iv_drug_use": false,
                "meningitis": false,
                "native_valve_disease": false,
                "persistent_bacteremia": false,
                "severe_sepsis_or_shock": false,
                "vertebral_osteomyelitis": false
              },
              {
                "cerebral_or_peripheral_emboli": false,
                "community_or_non_nosocomial": false,
                "crp_mg_l": 50,
                "intracardiac_device_or_previous_ie": false,
                "iv_drug_use": false,
                "meningitis": false,
                "native_valve_disease": false,
                "persistent_bacteremia": false,
                "severe_sepsis_or_shock": false,
                "vertebral_osteomyelitis": false
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Tubiana S, Duval X, Alla F, Selton-Suty C, Tattevin P, Delahaye F, Piroth L, Chirouze C, Lavigne JP, Erpelding ML, Hoen B, Vandenesch F, Iung B, Le Moing V",
                  "doi": "10.1016/j.jinf.2016.02.003",
                  "id": "tubiana-2016",
                  "pmid": "26916042",
                  "source": "J Infect. 2016;72(5):544-553",
                  "title": "The VIRSTA score, a prediction score to estimate risk of infective endocarditis and determine priority for echocardiography in patients with Staphylococcus aureus bacteremia"
                },
                "components": [
                  {
                    "factor": "cerebral_or_peripheral_emboli",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "meningitis",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "intracardiac_device_or_previous_ie",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "iv_drug_use",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "native_valve_disease",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "persistent_bacteremia",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "vertebral_osteomyelitis",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "community_or_non_nosocomial",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "severe_sepsis_or_shock",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "crp_gt_190",
                    "points": 0,
                    "present": false,
                    "value": 50
                  }
                ],
                "crp_mg_l": 50,
                "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": "virsta",
                "formula_expression": "VIRSTA = cerebral_or_peripheral_emboli (5 if present) + meningitis (5) + intracardiac_device_or_previous_ie (4) + iv_drug_use (4) + native_valve_disease (3) + persistent_bacteremia (3) + vertebral_osteomyelitis (2) + community_or_non_nosocomial (2) + severe_sepsis_or_shock (1) + (crp_mg_l > 190 → 1); Tubiana 2016 caller-assigned items; CRP cutoff is above 190 mg/L (not ≥190); intracardiac device or previous IE is one 4-point item; max 30; high_risk iff score ≥ 3",
                "high_risk": false,
                "max_score": 30,
                "score": 0
              },
              {
                "citation": {
                  "authors": "Tubiana S, Duval X, Alla F, Selton-Suty C, Tattevin P, Delahaye F, Piroth L, Chirouze C, Lavigne JP, Erpelding ML, Hoen B, Vandenesch F, Iung B, Le Moing V",
                  "doi": "10.1016/j.jinf.2016.02.003",
                  "id": "tubiana-2016",
                  "pmid": "26916042",
                  "source": "J Infect. 2016;72(5):544-553",
                  "title": "The VIRSTA score, a prediction score to estimate risk of infective endocarditis and determine priority for echocardiography in patients with Staphylococcus aureus bacteremia"
                },
                "components": [
                  {
                    "factor": "cerebral_or_peripheral_emboli",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "meningitis",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "intracardiac_device_or_previous_ie",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "iv_drug_use",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "native_valve_disease",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "persistent_bacteremia",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "vertebral_osteomyelitis",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "community_or_non_nosocomial",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "severe_sepsis_or_shock",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "crp_gt_190",
                    "points": 0,
                    "present": false,
                    "value": 50
                  }
                ],
                "crp_mg_l": 50,
                "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": "virsta",
                "formula_expression": "VIRSTA = cerebral_or_peripheral_emboli (5 if present) + meningitis (5) + intracardiac_device_or_previous_ie (4) + iv_drug_use (4) + native_valve_disease (3) + persistent_bacteremia (3) + vertebral_osteomyelitis (2) + community_or_non_nosocomial (2) + severe_sepsis_or_shock (1) + (crp_mg_l > 190 → 1); Tubiana 2016 caller-assigned items; CRP cutoff is above 190 mg/L (not ≥190); intracardiac device or previous IE is one 4-point item; max 30; high_risk iff score ≥ 3",
                "high_risk": false,
                "max_score": 30,
                "score": 0
              }
            ],
            "path": "/api/calc/virsta"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "cerebral_or_peripheral_emboli": {
                          "description": "Caller-assigned cerebral or peripheral (extracerebral) emboli (Tubiana 2016). true scores 5. magent does not diagnose emboli or endocarditis.",
                          "type": "boolean"
                        },
                        "community_or_non_nosocomial": {
                          "description": "Community-acquired or non-nosocomial healthcare-associated Staphylococcus aureus bacteremia (Tubiana 2016), as assigned by the caller. true scores 2; nosocomial is false (0). magent does not classify acquisition.",
                          "type": "boolean"
                        },
                        "crp_mg_l": {
                          "description": "C-reactive protein in mg/L (0-500). Tubiana 2016 scores 1 if CRP is above 190 mg/L (not ≥190). magent does not assay CRP.",
                          "type": "number"
                        },
                        "intracardiac_device_or_previous_ie": {
                          "description": "Permanent intracardiac device or previous infective endocarditis as one Tubiana 2016 item. true scores 4 if either is present; the two are not added separately. magent does not diagnose IE.",
                          "type": "boolean"
                        },
                        "iv_drug_use": {
                          "description": "Caller-assigned intravenous drug use (Tubiana 2016). true scores 4. magent does not take a social history.",
                          "type": "boolean"
                        },
                        "meningitis": {
                          "description": "Caller-assigned meningitis (Tubiana 2016). true scores 5. magent does not diagnose meningitis or endocarditis.",
                          "type": "boolean"
                        },
                        "native_valve_disease": {
                          "description": "Caller-assigned preexisting native valve disease (Tubiana 2016). true scores 3. magent does not diagnose valve disease.",
                          "type": "boolean"
                        },
                        "persistent_bacteremia": {
                          "description": "H48-persistent bacteremia (positive blood culture after 48 hours) as assigned by the caller (Tubiana 2016). true scores 3. magent does not interpret cultures.",
                          "type": "boolean"
                        },
                        "severe_sepsis_or_shock": {
                          "description": "Caller-assigned severe sepsis or septic shock (Tubiana 2016). true scores 1. magent does not diagnose sepsis.",
                          "type": "boolean"
                        },
                        "vertebral_osteomyelitis": {
                          "description": "Caller-assigned vertebral osteomyelitis / spondylodiscitis (Tubiana 2016). true scores 2. magent does not diagnose osteomyelitis.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "cerebral_or_peripheral_emboli",
                        "meningitis",
                        "intracardiac_device_or_previous_ie",
                        "iv_drug_use",
                        "native_valve_disease",
                        "persistent_bacteremia",
                        "vertebral_osteomyelitis",
                        "community_or_non_nosocomial",
                        "severe_sepsis_or_shock",
                        "crp_mg_l"
                      ],
                      "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": [
    "virsta",
    "endocarditis",
    "bacteremia",
    "sab",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T16:17:19.618Z",
  "quality": {
    "calls30d": 6,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-13T16:17:19.152Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "cerebral_or_peripheral_emboli": false,
                  "community_or_non_nosocomial": false,
                  "crp_mg_l": 50,
                  "intracardiac_device_or_previous_ie": false,
                  "iv_drug_use": false,
                  "meningitis": false,
                  "native_valve_disease": false,
                  "persistent_bacteremia": false,
                  "severe_sepsis_or_shock": false,
                  "vertebral_osteomyelitis": false
                },
                {
                  "cerebral_or_peripheral_emboli": false,
                  "community_or_non_nosocomial": false,
                  "crp_mg_l": 50,
                  "intracardiac_device_or_previous_ie": false,
                  "iv_drug_use": false,
                  "meningitis": false,
                  "native_valve_disease": false,
                  "persistent_bacteremia": false,
                  "severe_sepsis_or_shock": false,
                  "vertebral_osteomyelitis": false
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Tubiana S, Duval X, Alla F, Selton-Suty C, Tattevin P, Delahaye F, Piroth L, Chirouze C, Lavigne JP, Erpelding ML, Hoen B, Vandenesch F, Iung B, Le Moing V",
                    "doi": "10.1016/j.jinf.2016.02.003",
                    "id": "tubiana-2016",
                    "pmid": "26916042",
                    "source": "J Infect. 2016;72(5):544-553",
                    "title": "The VIRSTA score, a prediction score to estimate risk of infective endocarditis and determine priority for echocardiography in patients with Staphylococcus aureus bacteremia"
                  },
                  "components": [
                    {
                      "factor": "cerebral_or_peripheral_emboli",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "meningitis",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "intracardiac_device_or_previous_ie",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "iv_drug_use",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "native_valve_disease",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "persistent_bacteremia",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "vertebral_osteomyelitis",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "community_or_non_nosocomial",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "severe_sepsis_or_shock",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "crp_gt_190",
                      "points": 0,
                      "present": false,
                      "value": 50
                    }
                  ],
                  "crp_mg_l": 50,
                  "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": "virsta",
                  "formula_expression": "VIRSTA = cerebral_or_peripheral_emboli (5 if present) + meningitis (5) + intracardiac_device_or_previous_ie (4) + iv_drug_use (4) + native_valve_disease (3) + persistent_bacteremia (3) + vertebral_osteomyelitis (2) + community_or_non_nosocomial (2) + severe_sepsis_or_shock (1) + (crp_mg_l > 190 → 1); Tubiana 2016 caller-assigned items; CRP cutoff is above 190 mg/L (not ≥190); intracardiac device or previous IE is one 4-point item; max 30; high_risk iff score ≥ 3",
                  "high_risk": false,
                  "max_score": 30,
                  "score": 0
                },
                {
                  "citation": {
                    "authors": "Tubiana S, Duval X, Alla F, Selton-Suty C, Tattevin P, Delahaye F, Piroth L, Chirouze C, Lavigne JP, Erpelding ML, Hoen B, Vandenesch F, Iung B, Le Moing V",
                    "doi": "10.1016/j.jinf.2016.02.003",
                    "id": "tubiana-2016",
                    "pmid": "26916042",
                    "source": "J Infect. 2016;72(5):544-553",
                    "title": "The VIRSTA score, a prediction score to estimate risk of infective endocarditis and determine priority for echocardiography in patients with Staphylococcus aureus bacteremia"
                  },
                  "components": [
                    {
                      "factor": "cerebral_or_peripheral_emboli",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "meningitis",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "intracardiac_device_or_previous_ie",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "iv_drug_use",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "native_valve_disease",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "persistent_bacteremia",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "vertebral_osteomyelitis",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "community_or_non_nosocomial",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "severe_sepsis_or_shock",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "crp_gt_190",
                      "points": 0,
                      "present": false,
                      "value": 50
                    }
                  ],
                  "crp_mg_l": 50,
                  "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": "virsta",
                  "formula_expression": "VIRSTA = cerebral_or_peripheral_emboli (5 if present) + meningitis (5) + intracardiac_device_or_previous_ie (4) + iv_drug_use (4) + native_valve_disease (3) + persistent_bacteremia (3) + vertebral_osteomyelitis (2) + community_or_non_nosocomial (2) + severe_sepsis_or_shock (1) + (crp_mg_l > 190 → 1); Tubiana 2016 caller-assigned items; CRP cutoff is above 190 mg/L (not ≥190); intracardiac device or previous IE is one 4-point item; max 30; high_risk iff score ≥ 3",
                  "high_risk": false,
                  "max_score": 30,
                  "score": 0
                }
              ],
              "path": "/api/calc/virsta"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "cerebral_or_peripheral_emboli": {
                            "description": "Caller-assigned cerebral or peripheral (extracerebral) emboli (Tubiana 2016). true scores 5. magent does not diagnose emboli or endocarditis.",
                            "type": "boolean"
                          },
                          "community_or_non_nosocomial": {
                            "description": "Community-acquired or non-nosocomial healthcare-associated Staphylococcus aureus bacteremia (Tubiana 2016), as assigned by the caller. true scores 2; nosocomial is false (0). magent does not classify acquisition.",
                            "type": "boolean"
                          },
                          "crp_mg_l": {
                            "description": "C-reactive protein in mg/L (0-500). Tubiana 2016 scores 1 if CRP is above 190 mg/L (not ≥190). magent does not assay CRP.",
                            "type": "number"
                          },
                          "intracardiac_device_or_previous_ie": {
                            "description": "Permanent intracardiac device or previous infective endocarditis as one Tubiana 2016 item. true scores 4 if either is present; the two are not added separately. magent does not diagnose IE.",
                            "type": "boolean"
                          },
                          "iv_drug_use": {
                            "description": "Caller-assigned intravenous drug use (Tubiana 2016). true scores 4. magent does not take a social history.",
                            "type": "boolean"
                          },
                          "meningitis": {
                            "description": "Caller-assigned meningitis (Tubiana 2016). true scores 5. magent does not diagnose meningitis or endocarditis.",
                            "type": "boolean"
                          },
                          "native_valve_disease": {
                            "description": "Caller-assigned preexisting native valve disease (Tubiana 2016). true scores 3. magent does not diagnose valve disease.",
                            "type": "boolean"
                          },
                          "persistent_bacteremia": {
                            "description": "H48-persistent bacteremia (positive blood culture after 48 hours) as assigned by the caller (Tubiana 2016). true scores 3. magent does not interpret cultures.",
                            "type": "boolean"
                          },
                          "severe_sepsis_or_shock": {
                            "description": "Caller-assigned severe sepsis or septic shock (Tubiana 2016). true scores 1. magent does not diagnose sepsis.",
                            "type": "boolean"
                          },
                          "vertebral_osteomyelitis": {
                            "description": "Caller-assigned vertebral osteomyelitis / spondylodiscitis (Tubiana 2016). true scores 2. magent does not diagnose osteomyelitis.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "cerebral_or_peripheral_emboli",
                          "meningitis",
                          "intracardiac_device_or_previous_ie",
                          "iv_drug_use",
                          "native_valve_disease",
                          "persistent_bacteremia",
                          "vertebral_osteomyelitis",
                          "community_or_non_nosocomial",
                          "severe_sepsis_or_shock",
                          "crp_mg_l"
                        ],
                        "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"
  }
}