{
  "x402Version": 2,
  "id": 39196,
  "slug": "39196",
  "resource": "https://api.magentlab.com/api/calc/edacs",
  "description": "Than 2014 EDACS from age bands, male sex, known CAD or three risk factors (age 18-50 only), diaphoresis, radiation, inspiration (−4), and palpation (−6). Returns the point total (may be negative) and whether the score is <16. The paper ADP also requires ECG and 0/2h troponin, which magent does not take. Not a diagnosis or discharge order. Deterministic published arithmetic with citation.",
  "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,
                "diaphoresis": false,
                "known_cad_or_three_risk_factors": false,
                "pain_radiates_arm_shoulder_neck_jaw": false,
                "pain_reproduced_by_palpation": false,
                "pain_with_inspiration": false,
                "sex": "female"
              },
              {
                "age": 40,
                "diaphoresis": false,
                "known_cad_or_three_risk_factors": false,
                "pain_radiates_arm_shoulder_neck_jaw": false,
                "pain_reproduced_by_palpation": false,
                "pain_with_inspiration": false,
                "sex": "female"
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "age_years": 40,
                "citation": {
                  "authors": "Than M, Flaws D, Sanders S, et al.",
                  "doi": "10.1111/1742-6723.12164",
                  "id": "than-2014",
                  "pmid": "24428678",
                  "source": "Emerg Med Australas. 2014;26(1):34-44",
                  "title": "Development and validation of the Emergency Department Assessment of Chest pain Score and 2 h accelerated diagnostic protocol"
                },
                "components": [
                  {
                    "factor": "age",
                    "points": 2,
                    "present": true,
                    "value": 40
                  },
                  {
                    "factor": "sex_male",
                    "points": 0,
                    "present": false,
                    "value": "female"
                  },
                  {
                    "factor": "known_cad_or_three_risk_factors",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "diaphoresis",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "pain_radiates_arm_shoulder_neck_jaw",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "pain_with_inspiration",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "pain_reproduced_by_palpation",
                    "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": "edacs",
                "formula_expression": "EDACS = age (18-45:2, 46-50:4, 51-55:6, 56-60:8, 61-65:10, 66-70:12, 71-75:14, 76-80:16, 81-85:18, >=86:20) + male 6 + known_cad_or_three_risk_factors 4 if age 18-50 else 0 + diaphoresis 3 + pain_radiates_arm_shoulder_neck_jaw 5 + pain_with_inspiration -4 + pain_reproduced_by_palpation -6; score may be negative; paper ADP uses EDACS < 16 plus ECG and 0/2h troponin",
                "score": 2,
                "score_lt_16": true,
                "sex": "female"
              },
              {
                "age_years": 40,
                "citation": {
                  "authors": "Than M, Flaws D, Sanders S, et al.",
                  "doi": "10.1111/1742-6723.12164",
                  "id": "than-2014",
                  "pmid": "24428678",
                  "source": "Emerg Med Australas. 2014;26(1):34-44",
                  "title": "Development and validation of the Emergency Department Assessment of Chest pain Score and 2 h accelerated diagnostic protocol"
                },
                "components": [
                  {
                    "factor": "age",
                    "points": 2,
                    "present": true,
                    "value": 40
                  },
                  {
                    "factor": "sex_male",
                    "points": 0,
                    "present": false,
                    "value": "female"
                  },
                  {
                    "factor": "known_cad_or_three_risk_factors",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "diaphoresis",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "pain_radiates_arm_shoulder_neck_jaw",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "pain_with_inspiration",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "pain_reproduced_by_palpation",
                    "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": "edacs",
                "formula_expression": "EDACS = age (18-45:2, 46-50:4, 51-55:6, 56-60:8, 61-65:10, 66-70:12, 71-75:14, 76-80:16, 81-85:18, >=86:20) + male 6 + known_cad_or_three_risk_factors 4 if age 18-50 else 0 + diaphoresis 3 + pain_radiates_arm_shoulder_neck_jaw 5 + pain_with_inspiration -4 + pain_reproduced_by_palpation -6; score may be negative; paper ADP uses EDACS < 16 plus ECG and 0/2h troponin",
                "score": 2,
                "score_lt_16": true,
                "sex": "female"
              }
            ],
            "path": "/api/calc/edacs"
          },
          "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). 18-45 scores 2; then +2 per 5-year band through 81-85 (18); ≥86 scores 20.",
                          "type": "integer"
                        },
                        "diaphoresis": {
                          "description": "Diaphoresis with the pain. true scores +3.",
                          "type": "boolean"
                        },
                        "known_cad_or_three_risk_factors": {
                          "description": "Caller-assigned known CAD or ≥3 risk factors (Than 2014). Scores +4 only when age is 18-50; required even when age >50 (then 0). magent does not count risk factors. true or false.",
                          "type": "boolean"
                        },
                        "pain_radiates_arm_shoulder_neck_jaw": {
                          "description": "Pain radiates to arm, shoulder, neck, or jaw. true scores +5. magent does not interpret the history.",
                          "type": "boolean"
                        },
                        "pain_reproduced_by_palpation": {
                          "description": "Pain reproduced by palpation. true scores −6.",
                          "type": "boolean"
                        },
                        "pain_with_inspiration": {
                          "description": "Pain occurred or worsened with inspiration. true scores −4.",
                          "type": "boolean"
                        },
                        "sex": {
                          "description": "male scores 6; female scores 0.",
                          "enum": [
                            "female",
                            "male"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "age",
                        "sex",
                        "known_cad_or_three_risk_factors",
                        "diaphoresis",
                        "pain_radiates_arm_shoulder_neck_jaw",
                        "pain_with_inspiration",
                        "pain_reproduced_by_palpation"
                      ],
                      "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": [
    "edacs",
    "acs",
    "chest-pain",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T03:06:24.339Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T03:06:24.094Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "age": 40,
                  "diaphoresis": false,
                  "known_cad_or_three_risk_factors": false,
                  "pain_radiates_arm_shoulder_neck_jaw": false,
                  "pain_reproduced_by_palpation": false,
                  "pain_with_inspiration": false,
                  "sex": "female"
                },
                {
                  "age": 40,
                  "diaphoresis": false,
                  "known_cad_or_three_risk_factors": false,
                  "pain_radiates_arm_shoulder_neck_jaw": false,
                  "pain_reproduced_by_palpation": false,
                  "pain_with_inspiration": false,
                  "sex": "female"
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "age_years": 40,
                  "citation": {
                    "authors": "Than M, Flaws D, Sanders S, et al.",
                    "doi": "10.1111/1742-6723.12164",
                    "id": "than-2014",
                    "pmid": "24428678",
                    "source": "Emerg Med Australas. 2014;26(1):34-44",
                    "title": "Development and validation of the Emergency Department Assessment of Chest pain Score and 2 h accelerated diagnostic protocol"
                  },
                  "components": [
                    {
                      "factor": "age",
                      "points": 2,
                      "present": true,
                      "value": 40
                    },
                    {
                      "factor": "sex_male",
                      "points": 0,
                      "present": false,
                      "value": "female"
                    },
                    {
                      "factor": "known_cad_or_three_risk_factors",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "diaphoresis",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "pain_radiates_arm_shoulder_neck_jaw",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "pain_with_inspiration",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "pain_reproduced_by_palpation",
                      "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": "edacs",
                  "formula_expression": "EDACS = age (18-45:2, 46-50:4, 51-55:6, 56-60:8, 61-65:10, 66-70:12, 71-75:14, 76-80:16, 81-85:18, >=86:20) + male 6 + known_cad_or_three_risk_factors 4 if age 18-50 else 0 + diaphoresis 3 + pain_radiates_arm_shoulder_neck_jaw 5 + pain_with_inspiration -4 + pain_reproduced_by_palpation -6; score may be negative; paper ADP uses EDACS < 16 plus ECG and 0/2h troponin",
                  "score": 2,
                  "score_lt_16": true,
                  "sex": "female"
                },
                {
                  "age_years": 40,
                  "citation": {
                    "authors": "Than M, Flaws D, Sanders S, et al.",
                    "doi": "10.1111/1742-6723.12164",
                    "id": "than-2014",
                    "pmid": "24428678",
                    "source": "Emerg Med Australas. 2014;26(1):34-44",
                    "title": "Development and validation of the Emergency Department Assessment of Chest pain Score and 2 h accelerated diagnostic protocol"
                  },
                  "components": [
                    {
                      "factor": "age",
                      "points": 2,
                      "present": true,
                      "value": 40
                    },
                    {
                      "factor": "sex_male",
                      "points": 0,
                      "present": false,
                      "value": "female"
                    },
                    {
                      "factor": "known_cad_or_three_risk_factors",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "diaphoresis",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "pain_radiates_arm_shoulder_neck_jaw",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "pain_with_inspiration",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "pain_reproduced_by_palpation",
                      "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": "edacs",
                  "formula_expression": "EDACS = age (18-45:2, 46-50:4, 51-55:6, 56-60:8, 61-65:10, 66-70:12, 71-75:14, 76-80:16, 81-85:18, >=86:20) + male 6 + known_cad_or_three_risk_factors 4 if age 18-50 else 0 + diaphoresis 3 + pain_radiates_arm_shoulder_neck_jaw 5 + pain_with_inspiration -4 + pain_reproduced_by_palpation -6; score may be negative; paper ADP uses EDACS < 16 plus ECG and 0/2h troponin",
                  "score": 2,
                  "score_lt_16": true,
                  "sex": "female"
                }
              ],
              "path": "/api/calc/edacs"
            },
            "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). 18-45 scores 2; then +2 per 5-year band through 81-85 (18); ≥86 scores 20.",
                            "type": "integer"
                          },
                          "diaphoresis": {
                            "description": "Diaphoresis with the pain. true scores +3.",
                            "type": "boolean"
                          },
                          "known_cad_or_three_risk_factors": {
                            "description": "Caller-assigned known CAD or ≥3 risk factors (Than 2014). Scores +4 only when age is 18-50; required even when age >50 (then 0). magent does not count risk factors. true or false.",
                            "type": "boolean"
                          },
                          "pain_radiates_arm_shoulder_neck_jaw": {
                            "description": "Pain radiates to arm, shoulder, neck, or jaw. true scores +5. magent does not interpret the history.",
                            "type": "boolean"
                          },
                          "pain_reproduced_by_palpation": {
                            "description": "Pain reproduced by palpation. true scores −6.",
                            "type": "boolean"
                          },
                          "pain_with_inspiration": {
                            "description": "Pain occurred or worsened with inspiration. true scores −4.",
                            "type": "boolean"
                          },
                          "sex": {
                            "description": "male scores 6; female scores 0.",
                            "enum": [
                              "female",
                              "male"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "age",
                          "sex",
                          "known_cad_or_three_risk_factors",
                          "diaphoresis",
                          "pain_radiates_arm_shoulder_neck_jaw",
                          "pain_with_inspiration",
                          "pain_reproduced_by_palpation"
                        ],
                        "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"
  }
}