{
  "x402Version": 2,
  "id": 39540,
  "slug": "39540",
  "resource": "https://api.magentlab.com/api/calc/atlas",
  "description": "Miller 2013 ATLAS for Clostridioides difficile: age (<60 0, 60–79 1, ≥80 2), systemic antibiotics during CDI therapy (0 or 2), WBC (<16 0, 16–25 1, >25 ×10^9/L 2), albumin (>35 0, 26–35 1, ≤25 g/L 2), creatinine (≤120 0, 121–179 1, ≥180 µmol/L 2); max 10. Predicted cure percent = 100 − 5.08 × score (1 decimal). Not a CDI diagnosis, stool culture, or metronidazole/vancomycin/fidaxomicin order.",
  "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,
                "albumin_g_dl": 4,
                "albumin_g_l": 40,
                "creatinine_mg_dl": 0.9,
                "creatinine_umol_l": 80,
                "systemic_antibiotics": false,
                "wbc_k_ul": 8,
                "wbc_ul": 8000
              },
              {
                "age": 40,
                "albumin_g_dl": 4,
                "albumin_g_l": 40,
                "creatinine_mg_dl": 0.9,
                "creatinine_umol_l": 80,
                "systemic_antibiotics": false,
                "wbc_k_ul": 8,
                "wbc_ul": 8000
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "age_years": 40,
                "albumin_g_l": 40,
                "atlas_score": 0,
                "citation": {
                  "authors": "Miller MA, Louie T, Mullane K, Weiss K, Lentnek A, Golan Y, Kean Y, Sears P",
                  "doi": "10.1186/1471-2334-13-148",
                  "id": "miller-2013",
                  "pmid": "23530807",
                  "source": "BMC Infect Dis. 2013;13:148",
                  "title": "Derivation and validation of a simple clinical bedside score (ATLAS) for Clostridium difficile infection which predicts response to therapy"
                },
                "components": [
                  {
                    "factor": "age",
                    "points": 0,
                    "present": false,
                    "value": 40
                  },
                  {
                    "factor": "systemic_antibiotics",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "leukocyte",
                    "points": 0,
                    "present": false,
                    "value": 8000
                  },
                  {
                    "factor": "albumin",
                    "points": 0,
                    "present": false,
                    "value": 40
                  },
                  {
                    "factor": "creatinine",
                    "points": 0,
                    "present": false,
                    "value": 80
                  }
                ],
                "creatinine_umol_l": 80,
                "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": "atlas",
                "formula_expression": "ATLAS = age (<60 0, 60–79 1, ≥80 2) + systemic_antibiotics (false 0, true 2) + leukocyte (<16 ×10^9/L 0, 16–25 1, >25 2) + albumin (>35 g/L 0, 26–35 1, ≤25 2) + creatinine (≤120 µmol/L 0, 121–179 1, ≥180 2); Miller 2013 Table 1 five-component ATLAS; max 10; predicted_cure_percent = 100 − 5.08 × score (1 decimal)",
                "max_score": 10,
                "predicted_cure_percent": 100,
                "score": 0,
                "systemic_antibiotics": false,
                "wbc_per_ul": 8000
              },
              {
                "age_years": 40,
                "albumin_g_l": 40,
                "atlas_score": 0,
                "citation": {
                  "authors": "Miller MA, Louie T, Mullane K, Weiss K, Lentnek A, Golan Y, Kean Y, Sears P",
                  "doi": "10.1186/1471-2334-13-148",
                  "id": "miller-2013",
                  "pmid": "23530807",
                  "source": "BMC Infect Dis. 2013;13:148",
                  "title": "Derivation and validation of a simple clinical bedside score (ATLAS) for Clostridium difficile infection which predicts response to therapy"
                },
                "components": [
                  {
                    "factor": "age",
                    "points": 0,
                    "present": false,
                    "value": 40
                  },
                  {
                    "factor": "systemic_antibiotics",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "leukocyte",
                    "points": 0,
                    "present": false,
                    "value": 8000
                  },
                  {
                    "factor": "albumin",
                    "points": 0,
                    "present": false,
                    "value": 40
                  },
                  {
                    "factor": "creatinine",
                    "points": 0,
                    "present": false,
                    "value": 80
                  }
                ],
                "creatinine_umol_l": 80,
                "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": "atlas",
                "formula_expression": "ATLAS = age (<60 0, 60–79 1, ≥80 2) + systemic_antibiotics (false 0, true 2) + leukocyte (<16 ×10^9/L 0, 16–25 1, >25 2) + albumin (>35 g/L 0, 26–35 1, ≤25 2) + creatinine (≤120 µmol/L 0, 121–179 1, ≥180 2); Miller 2013 Table 1 five-component ATLAS; max 10; predicted_cure_percent = 100 − 5.08 × score (1 decimal)",
                "max_score": 10,
                "predicted_cure_percent": 100,
                "score": 0,
                "systemic_antibiotics": false,
                "wbc_per_ul": 8000
              }
            ],
            "path": "/api/calc/atlas"
          },
          "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 (18-120). Miller 2013 Table 1: <60 scores 0; 60–79 inclusive scores 1; ≥80 scores 2.",
                          "type": "integer"
                        },
                        "albumin_g_dl": {
                          "description": "Serum albumin in g/dL (1-6). Converted as g/L = g/dL × 10. Provide this or albumin_g_l, not both.",
                          "type": "number"
                        },
                        "albumin_g_l": {
                          "description": "Serum albumin in g/L (10-60). Provide this or albumin_g_dl, not both. Miller 2013: >35 scores 0; 26–35 inclusive scores 1; ≤25 scores 2. magent does not assay albumin.",
                          "type": "number"
                        },
                        "creatinine_mg_dl": {
                          "description": "Serum creatinine in mg/dL (0.1-20). Converted as µmol/L = mg/dL × 88.42. Provide this or creatinine_umol_l, not both.",
                          "type": "number"
                        },
                        "creatinine_umol_l": {
                          "description": "Serum creatinine in µmol/L (9-1768). Provide this or creatinine_mg_dl, not both. Miller 2013: ≤120 scores 0; 121–179 inclusive scores 1; ≥180 scores 2. magent does not assay creatinine.",
                          "type": "number"
                        },
                        "systemic_antibiotics": {
                          "description": "Systemic antibiotics on one or more days of CDI therapy (Miller 2013). true scores 2; false scores 0. There is no 1-point cell. magent does not review the medication list.",
                          "type": "boolean"
                        },
                        "wbc_k_ul": {
                          "description": "Total leukocyte count in 10^3/µL (same as ×10^9/L). Provide wbc_k_ul or wbc_ul, not both. Range 0.01-500. Miller 2013: <16 scores 0; 16–25 inclusive scores 1; >25 scores 2.",
                          "type": "number"
                        },
                        "wbc_ul": {
                          "description": "Total leukocyte count in cells/µL. Provide wbc_k_ul or wbc_ul, not both. Range 10-500000. Miller 2013: <16000 scores 0; 16000–25000 inclusive scores 1; >25000 scores 2.",
                          "type": "number"
                        }
                      },
                      "required": [
                        "age",
                        "systemic_antibiotics"
                      ],
                      "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": [
    "atlas",
    "cdi",
    "c-difficile",
    "infection",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T14:17:23.578Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-12T14:17:23.445Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "age": 40,
                  "albumin_g_dl": 4,
                  "albumin_g_l": 40,
                  "creatinine_mg_dl": 0.9,
                  "creatinine_umol_l": 80,
                  "systemic_antibiotics": false,
                  "wbc_k_ul": 8,
                  "wbc_ul": 8000
                },
                {
                  "age": 40,
                  "albumin_g_dl": 4,
                  "albumin_g_l": 40,
                  "creatinine_mg_dl": 0.9,
                  "creatinine_umol_l": 80,
                  "systemic_antibiotics": false,
                  "wbc_k_ul": 8,
                  "wbc_ul": 8000
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "age_years": 40,
                  "albumin_g_l": 40,
                  "atlas_score": 0,
                  "citation": {
                    "authors": "Miller MA, Louie T, Mullane K, Weiss K, Lentnek A, Golan Y, Kean Y, Sears P",
                    "doi": "10.1186/1471-2334-13-148",
                    "id": "miller-2013",
                    "pmid": "23530807",
                    "source": "BMC Infect Dis. 2013;13:148",
                    "title": "Derivation and validation of a simple clinical bedside score (ATLAS) for Clostridium difficile infection which predicts response to therapy"
                  },
                  "components": [
                    {
                      "factor": "age",
                      "points": 0,
                      "present": false,
                      "value": 40
                    },
                    {
                      "factor": "systemic_antibiotics",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "leukocyte",
                      "points": 0,
                      "present": false,
                      "value": 8000
                    },
                    {
                      "factor": "albumin",
                      "points": 0,
                      "present": false,
                      "value": 40
                    },
                    {
                      "factor": "creatinine",
                      "points": 0,
                      "present": false,
                      "value": 80
                    }
                  ],
                  "creatinine_umol_l": 80,
                  "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": "atlas",
                  "formula_expression": "ATLAS = age (<60 0, 60–79 1, ≥80 2) + systemic_antibiotics (false 0, true 2) + leukocyte (<16 ×10^9/L 0, 16–25 1, >25 2) + albumin (>35 g/L 0, 26–35 1, ≤25 2) + creatinine (≤120 µmol/L 0, 121–179 1, ≥180 2); Miller 2013 Table 1 five-component ATLAS; max 10; predicted_cure_percent = 100 − 5.08 × score (1 decimal)",
                  "max_score": 10,
                  "predicted_cure_percent": 100,
                  "score": 0,
                  "systemic_antibiotics": false,
                  "wbc_per_ul": 8000
                },
                {
                  "age_years": 40,
                  "albumin_g_l": 40,
                  "atlas_score": 0,
                  "citation": {
                    "authors": "Miller MA, Louie T, Mullane K, Weiss K, Lentnek A, Golan Y, Kean Y, Sears P",
                    "doi": "10.1186/1471-2334-13-148",
                    "id": "miller-2013",
                    "pmid": "23530807",
                    "source": "BMC Infect Dis. 2013;13:148",
                    "title": "Derivation and validation of a simple clinical bedside score (ATLAS) for Clostridium difficile infection which predicts response to therapy"
                  },
                  "components": [
                    {
                      "factor": "age",
                      "points": 0,
                      "present": false,
                      "value": 40
                    },
                    {
                      "factor": "systemic_antibiotics",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "leukocyte",
                      "points": 0,
                      "present": false,
                      "value": 8000
                    },
                    {
                      "factor": "albumin",
                      "points": 0,
                      "present": false,
                      "value": 40
                    },
                    {
                      "factor": "creatinine",
                      "points": 0,
                      "present": false,
                      "value": 80
                    }
                  ],
                  "creatinine_umol_l": 80,
                  "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": "atlas",
                  "formula_expression": "ATLAS = age (<60 0, 60–79 1, ≥80 2) + systemic_antibiotics (false 0, true 2) + leukocyte (<16 ×10^9/L 0, 16–25 1, >25 2) + albumin (>35 g/L 0, 26–35 1, ≤25 2) + creatinine (≤120 µmol/L 0, 121–179 1, ≥180 2); Miller 2013 Table 1 five-component ATLAS; max 10; predicted_cure_percent = 100 − 5.08 × score (1 decimal)",
                  "max_score": 10,
                  "predicted_cure_percent": 100,
                  "score": 0,
                  "systemic_antibiotics": false,
                  "wbc_per_ul": 8000
                }
              ],
              "path": "/api/calc/atlas"
            },
            "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 (18-120). Miller 2013 Table 1: <60 scores 0; 60–79 inclusive scores 1; ≥80 scores 2.",
                            "type": "integer"
                          },
                          "albumin_g_dl": {
                            "description": "Serum albumin in g/dL (1-6). Converted as g/L = g/dL × 10. Provide this or albumin_g_l, not both.",
                            "type": "number"
                          },
                          "albumin_g_l": {
                            "description": "Serum albumin in g/L (10-60). Provide this or albumin_g_dl, not both. Miller 2013: >35 scores 0; 26–35 inclusive scores 1; ≤25 scores 2. magent does not assay albumin.",
                            "type": "number"
                          },
                          "creatinine_mg_dl": {
                            "description": "Serum creatinine in mg/dL (0.1-20). Converted as µmol/L = mg/dL × 88.42. Provide this or creatinine_umol_l, not both.",
                            "type": "number"
                          },
                          "creatinine_umol_l": {
                            "description": "Serum creatinine in µmol/L (9-1768). Provide this or creatinine_mg_dl, not both. Miller 2013: ≤120 scores 0; 121–179 inclusive scores 1; ≥180 scores 2. magent does not assay creatinine.",
                            "type": "number"
                          },
                          "systemic_antibiotics": {
                            "description": "Systemic antibiotics on one or more days of CDI therapy (Miller 2013). true scores 2; false scores 0. There is no 1-point cell. magent does not review the medication list.",
                            "type": "boolean"
                          },
                          "wbc_k_ul": {
                            "description": "Total leukocyte count in 10^3/µL (same as ×10^9/L). Provide wbc_k_ul or wbc_ul, not both. Range 0.01-500. Miller 2013: <16 scores 0; 16–25 inclusive scores 1; >25 scores 2.",
                            "type": "number"
                          },
                          "wbc_ul": {
                            "description": "Total leukocyte count in cells/µL. Provide wbc_k_ul or wbc_ul, not both. Range 10-500000. Miller 2013: <16000 scores 0; 16000–25000 inclusive scores 1; >25000 scores 2.",
                            "type": "number"
                          }
                        },
                        "required": [
                          "age",
                          "systemic_antibiotics"
                        ],
                        "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"
  }
}