{
  "x402Version": 2,
  "id": 38758,
  "slug": "38758",
  "resource": "https://api.magentlab.com/api/calc/vacs_1",
  "description": "Tate 2013 VACS Index 1.0 (not VACS 2.0): age, CD4, HIV-1 RNA, hemoglobin g/dL, caller-assigned FIB-4 and eGFR, and hepatitis C. Points 0-164. No published named mortality bands. magent does not compute FIB-4 or MDRD/CKD-EPI and does not order ART.",
  "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": [
              {
                "age": 40,
                "cd4_cells_mm3": 600,
                "egfr_ml_min_1_73m2": 90,
                "fib4": 1,
                "hemoglobin_g_dl": 15,
                "hepatitis_c": false,
                "hiv_rna_copies_ml": 200
              },
              {
                "age": 40,
                "cd4_cells_mm3": 600,
                "egfr_ml_min_1_73m2": 90,
                "fib4": 1,
                "hemoglobin_g_dl": 15,
                "hepatitis_c": false,
                "hiv_rna_copies_ml": 200
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "age": 40,
                "cd4_cells_mm3": 600,
                "citation": {
                  "authors": "Tate JP, Justice AC, Hughes MD, Bonnet F, Reiss P, Mocroft A, et al.",
                  "doi": "10.1097/QAD.0b013e32835b8c7f",
                  "id": "tate-2013",
                  "pmid": "23242319",
                  "source": "AIDS. 2013;27(4):563-572",
                  "title": "The VACS Index: An internationally generalizable risk index for mortality after one year of antiretroviral therapy"
                },
                "components": [
                  {
                    "factor": "age",
                    "points": 0,
                    "present": false,
                    "value": 40
                  },
                  {
                    "factor": "cd4_cells_mm3",
                    "points": 0,
                    "present": false,
                    "value": 600
                  },
                  {
                    "factor": "hiv_rna_copies_ml",
                    "points": 0,
                    "present": false,
                    "value": 200
                  },
                  {
                    "factor": "hemoglobin_g_dl",
                    "points": 0,
                    "present": false,
                    "value": 15
                  },
                  {
                    "factor": "fib4",
                    "points": 0,
                    "present": false,
                    "value": 1
                  },
                  {
                    "factor": "egfr_ml_min_1_73m2",
                    "points": 0,
                    "present": false,
                    "value": 90
                  },
                  {
                    "factor": "hepatitis_c",
                    "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.",
                "egfr_ml_min_1_73m2": 90,
                "fib4": 1,
                "formula": "vacs_1",
                "formula_expression": "VACS 1.0 = age (<50 0; 50-64 12; ≥65 27) + cd4_cells_mm3 (≥500 0; 350-499 6; 200-349 6; 100-199 10; 50-99 28; <50 29) + hiv_rna_copies_ml (<500 0; 500-99999 7; ≥100000 14) + hemoglobin_g_dl (≥14 0; 12-13.9 10; 10-11.9 22; <10 38) + fib4 (<1.45 0; 1.45-3.25 6; >3.25 25) + egfr_ml_min_1_73m2 (≥60 0; 45-59.9 6; 30-44.9 8; <30 26) + hepatitis_c 5; Tate 2013 VACS Index column (Brown 2014 Table 1 reprint); max 164; caller-assigned FIB-4 and eGFR; not VACS 2.0",
                "hemoglobin_g_dl": 15,
                "hepatitis_c": false,
                "hiv_rna_copies_ml": 200,
                "max_score": 164,
                "score": 0
              },
              {
                "age": 40,
                "cd4_cells_mm3": 600,
                "citation": {
                  "authors": "Tate JP, Justice AC, Hughes MD, Bonnet F, Reiss P, Mocroft A, et al.",
                  "doi": "10.1097/QAD.0b013e32835b8c7f",
                  "id": "tate-2013",
                  "pmid": "23242319",
                  "source": "AIDS. 2013;27(4):563-572",
                  "title": "The VACS Index: An internationally generalizable risk index for mortality after one year of antiretroviral therapy"
                },
                "components": [
                  {
                    "factor": "age",
                    "points": 0,
                    "present": false,
                    "value": 40
                  },
                  {
                    "factor": "cd4_cells_mm3",
                    "points": 0,
                    "present": false,
                    "value": 600
                  },
                  {
                    "factor": "hiv_rna_copies_ml",
                    "points": 0,
                    "present": false,
                    "value": 200
                  },
                  {
                    "factor": "hemoglobin_g_dl",
                    "points": 0,
                    "present": false,
                    "value": 15
                  },
                  {
                    "factor": "fib4",
                    "points": 0,
                    "present": false,
                    "value": 1
                  },
                  {
                    "factor": "egfr_ml_min_1_73m2",
                    "points": 0,
                    "present": false,
                    "value": 90
                  },
                  {
                    "factor": "hepatitis_c",
                    "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.",
                "egfr_ml_min_1_73m2": 90,
                "fib4": 1,
                "formula": "vacs_1",
                "formula_expression": "VACS 1.0 = age (<50 0; 50-64 12; ≥65 27) + cd4_cells_mm3 (≥500 0; 350-499 6; 200-349 6; 100-199 10; 50-99 28; <50 29) + hiv_rna_copies_ml (<500 0; 500-99999 7; ≥100000 14) + hemoglobin_g_dl (≥14 0; 12-13.9 10; 10-11.9 22; <10 38) + fib4 (<1.45 0; 1.45-3.25 6; >3.25 25) + egfr_ml_min_1_73m2 (≥60 0; 45-59.9 6; 30-44.9 8; <30 26) + hepatitis_c 5; Tate 2013 VACS Index column (Brown 2014 Table 1 reprint); max 164; caller-assigned FIB-4 and eGFR; not VACS 2.0",
                "hemoglobin_g_dl": 15,
                "hepatitis_c": false,
                "hiv_rna_copies_ml": 200,
                "max_score": 164,
                "score": 0
              }
            ],
            "path": "/api/calc/vacs_1"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "age": {
                          "description": "Age in years (integer 18-120). Tate 2013 VACS Index: <50 scores 0; 50-64 scores 12; ≥65 scores 27.",
                          "type": "integer"
                        },
                        "cd4_cells_mm3": {
                          "description": "CD4 count in cells/mm³ (integer 1-2000). Tate 2013: ≥500 scores 0; 350-499 scores 6; 200-349 scores 6; 100-199 scores 10; 50-99 scores 28; <50 scores 29. magent does not assay CD4.",
                          "type": "integer"
                        },
                        "egfr_ml_min_1_73m2": {
                          "description": "Caller-assigned eGFR in mL/min/1.73m² (5-200). Tate 2013: ≥60 scores 0; 45-59.9 scores 6; 30-44.9 scores 8; <30 scores 26. magent does not compute MDRD or CKD-EPI.",
                          "type": "number"
                        },
                        "fib4": {
                          "description": "Caller-assigned FIB-4 (0.1-20). Tate 2013: <1.45 scores 0; 1.45-3.25 scores 6; >3.25 scores 25. magent does not recompute FIB-4.",
                          "type": "number"
                        },
                        "hemoglobin_g_dl": {
                          "description": "Hemoglobin in g/dL (3-22). Tate 2013: ≥14 scores 0; 12-13.9 scores 10; 10-11.9 scores 22; <10 scores 38. magent does not assay hemoglobin.",
                          "type": "number"
                        },
                        "hepatitis_c": {
                          "description": "Caller-assigned hepatitis C co-infection (Tate 2013). true scores 5. magent does not diagnose hepatitis C.",
                          "type": "boolean"
                        },
                        "hiv_rna_copies_ml": {
                          "description": "HIV-1 RNA in copies/mL (0-10000000). Tate 2013: <500 scores 0; 500-99999 scores 7; ≥100000 scores 14. magent does not assay viral load.",
                          "type": "number"
                        }
                      },
                      "required": [
                        "age",
                        "cd4_cells_mm3",
                        "hiv_rna_copies_ml",
                        "hemoglobin_g_dl",
                        "fib4",
                        "egfr_ml_min_1_73m2",
                        "hepatitis_c"
                      ],
                      "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": [
    "vacs-1",
    "hiv",
    "mortality",
    "art",
    "infection",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T08:51:20.268Z",
  "quality": {
    "calls30d": 6,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-13T08:51:20.097Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "age": 40,
                  "cd4_cells_mm3": 600,
                  "egfr_ml_min_1_73m2": 90,
                  "fib4": 1,
                  "hemoglobin_g_dl": 15,
                  "hepatitis_c": false,
                  "hiv_rna_copies_ml": 200
                },
                {
                  "age": 40,
                  "cd4_cells_mm3": 600,
                  "egfr_ml_min_1_73m2": 90,
                  "fib4": 1,
                  "hemoglobin_g_dl": 15,
                  "hepatitis_c": false,
                  "hiv_rna_copies_ml": 200
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "age": 40,
                  "cd4_cells_mm3": 600,
                  "citation": {
                    "authors": "Tate JP, Justice AC, Hughes MD, Bonnet F, Reiss P, Mocroft A, et al.",
                    "doi": "10.1097/QAD.0b013e32835b8c7f",
                    "id": "tate-2013",
                    "pmid": "23242319",
                    "source": "AIDS. 2013;27(4):563-572",
                    "title": "The VACS Index: An internationally generalizable risk index for mortality after one year of antiretroviral therapy"
                  },
                  "components": [
                    {
                      "factor": "age",
                      "points": 0,
                      "present": false,
                      "value": 40
                    },
                    {
                      "factor": "cd4_cells_mm3",
                      "points": 0,
                      "present": false,
                      "value": 600
                    },
                    {
                      "factor": "hiv_rna_copies_ml",
                      "points": 0,
                      "present": false,
                      "value": 200
                    },
                    {
                      "factor": "hemoglobin_g_dl",
                      "points": 0,
                      "present": false,
                      "value": 15
                    },
                    {
                      "factor": "fib4",
                      "points": 0,
                      "present": false,
                      "value": 1
                    },
                    {
                      "factor": "egfr_ml_min_1_73m2",
                      "points": 0,
                      "present": false,
                      "value": 90
                    },
                    {
                      "factor": "hepatitis_c",
                      "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.",
                  "egfr_ml_min_1_73m2": 90,
                  "fib4": 1,
                  "formula": "vacs_1",
                  "formula_expression": "VACS 1.0 = age (<50 0; 50-64 12; ≥65 27) + cd4_cells_mm3 (≥500 0; 350-499 6; 200-349 6; 100-199 10; 50-99 28; <50 29) + hiv_rna_copies_ml (<500 0; 500-99999 7; ≥100000 14) + hemoglobin_g_dl (≥14 0; 12-13.9 10; 10-11.9 22; <10 38) + fib4 (<1.45 0; 1.45-3.25 6; >3.25 25) + egfr_ml_min_1_73m2 (≥60 0; 45-59.9 6; 30-44.9 8; <30 26) + hepatitis_c 5; Tate 2013 VACS Index column (Brown 2014 Table 1 reprint); max 164; caller-assigned FIB-4 and eGFR; not VACS 2.0",
                  "hemoglobin_g_dl": 15,
                  "hepatitis_c": false,
                  "hiv_rna_copies_ml": 200,
                  "max_score": 164,
                  "score": 0
                },
                {
                  "age": 40,
                  "cd4_cells_mm3": 600,
                  "citation": {
                    "authors": "Tate JP, Justice AC, Hughes MD, Bonnet F, Reiss P, Mocroft A, et al.",
                    "doi": "10.1097/QAD.0b013e32835b8c7f",
                    "id": "tate-2013",
                    "pmid": "23242319",
                    "source": "AIDS. 2013;27(4):563-572",
                    "title": "The VACS Index: An internationally generalizable risk index for mortality after one year of antiretroviral therapy"
                  },
                  "components": [
                    {
                      "factor": "age",
                      "points": 0,
                      "present": false,
                      "value": 40
                    },
                    {
                      "factor": "cd4_cells_mm3",
                      "points": 0,
                      "present": false,
                      "value": 600
                    },
                    {
                      "factor": "hiv_rna_copies_ml",
                      "points": 0,
                      "present": false,
                      "value": 200
                    },
                    {
                      "factor": "hemoglobin_g_dl",
                      "points": 0,
                      "present": false,
                      "value": 15
                    },
                    {
                      "factor": "fib4",
                      "points": 0,
                      "present": false,
                      "value": 1
                    },
                    {
                      "factor": "egfr_ml_min_1_73m2",
                      "points": 0,
                      "present": false,
                      "value": 90
                    },
                    {
                      "factor": "hepatitis_c",
                      "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.",
                  "egfr_ml_min_1_73m2": 90,
                  "fib4": 1,
                  "formula": "vacs_1",
                  "formula_expression": "VACS 1.0 = age (<50 0; 50-64 12; ≥65 27) + cd4_cells_mm3 (≥500 0; 350-499 6; 200-349 6; 100-199 10; 50-99 28; <50 29) + hiv_rna_copies_ml (<500 0; 500-99999 7; ≥100000 14) + hemoglobin_g_dl (≥14 0; 12-13.9 10; 10-11.9 22; <10 38) + fib4 (<1.45 0; 1.45-3.25 6; >3.25 25) + egfr_ml_min_1_73m2 (≥60 0; 45-59.9 6; 30-44.9 8; <30 26) + hepatitis_c 5; Tate 2013 VACS Index column (Brown 2014 Table 1 reprint); max 164; caller-assigned FIB-4 and eGFR; not VACS 2.0",
                  "hemoglobin_g_dl": 15,
                  "hepatitis_c": false,
                  "hiv_rna_copies_ml": 200,
                  "max_score": 164,
                  "score": 0
                }
              ],
              "path": "/api/calc/vacs_1"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "age": {
                            "description": "Age in years (integer 18-120). Tate 2013 VACS Index: <50 scores 0; 50-64 scores 12; ≥65 scores 27.",
                            "type": "integer"
                          },
                          "cd4_cells_mm3": {
                            "description": "CD4 count in cells/mm³ (integer 1-2000). Tate 2013: ≥500 scores 0; 350-499 scores 6; 200-349 scores 6; 100-199 scores 10; 50-99 scores 28; <50 scores 29. magent does not assay CD4.",
                            "type": "integer"
                          },
                          "egfr_ml_min_1_73m2": {
                            "description": "Caller-assigned eGFR in mL/min/1.73m² (5-200). Tate 2013: ≥60 scores 0; 45-59.9 scores 6; 30-44.9 scores 8; <30 scores 26. magent does not compute MDRD or CKD-EPI.",
                            "type": "number"
                          },
                          "fib4": {
                            "description": "Caller-assigned FIB-4 (0.1-20). Tate 2013: <1.45 scores 0; 1.45-3.25 scores 6; >3.25 scores 25. magent does not recompute FIB-4.",
                            "type": "number"
                          },
                          "hemoglobin_g_dl": {
                            "description": "Hemoglobin in g/dL (3-22). Tate 2013: ≥14 scores 0; 12-13.9 scores 10; 10-11.9 scores 22; <10 scores 38. magent does not assay hemoglobin.",
                            "type": "number"
                          },
                          "hepatitis_c": {
                            "description": "Caller-assigned hepatitis C co-infection (Tate 2013). true scores 5. magent does not diagnose hepatitis C.",
                            "type": "boolean"
                          },
                          "hiv_rna_copies_ml": {
                            "description": "HIV-1 RNA in copies/mL (0-10000000). Tate 2013: <500 scores 0; 500-99999 scores 7; ≥100000 scores 14. magent does not assay viral load.",
                            "type": "number"
                          }
                        },
                        "required": [
                          "age",
                          "cd4_cells_mm3",
                          "hiv_rna_copies_ml",
                          "hemoglobin_g_dl",
                          "fib4",
                          "egfr_ml_min_1_73m2",
                          "hepatitis_c"
                        ],
                        "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"
  }
}