# magent Perioperative DOAC Interruption Calculator (Douketis 2022 ACCP)

> magent Perioperative DOAC Interruption Calculator (Douketis 2022 ACCP) is a paid API for AI agents from api.magentlab.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns hold-before and resume-after day counts for elective perioperative DOAC interruption based on drug and procedure bleed risk, per Douketis 2022 ACCP PAUSE-style recommendations 22-25.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/periop_doac
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/magent-perioperative-doac-interruption-calculator-douketis-2022-accp-bd6b8060
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6IRYlh24YaGfH0XQKfBOW

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability magent-perioperative-doac-interruption-calculator-douketis-2022-accp-bd6b8060
```

Example prompt: My patient is on apixaban and is having an elective high-bleed-risk procedure — using the Douketis 2022 ACCP PAUSE recommendations, how many days before surgery should we hold it and when can we restart?

## When to prefer this

Use this endpoint when you need guideline-concordant PAUSE-style hold and restart day counts for elective procedures involving a DOAC (apixaban, rivaroxaban, edoxaban, or dabigatran) and you already know the procedure bleed risk category and, for dabigatran, the patient's CrCl. Prefer this over general anticoagulation references when you need a structured, machine-readable output aligned to Douketis 2022 ACCP recommendations 22-25. Do not use for warfarin, urgent surgery, or when CrCl needs to be computed.

## Known failure modes

- Missing required bleed_risk parameter returns validation error
- crcl_ml_min provided for apixaban/rivaroxaban/edoxaban returns error (must be absent)
- crcl_ml_min absent for dabigatran returns error (required for that drug)
- crcl_ml_min outside 15-120 range may return validation error
- Invalid/unrecognized DOAC name returns error
- Warfarin or VKA submitted — endpoint does not support these agents
- Urgent or emergent surgery context not supported

## How this service works

Douketis 2022 ACCP elective perioperative DOAC interruption (PAUSE-style, recommendations 22-25). Returns hold_days_before and resume_days_after from INN (apixaban, rivaroxaban, edoxaban, dabigatran) and bleed_risk. dabigatran also needs caller-assigned CrCl. heparin_bridge is always false (recommendation 26). Not warfarin, not urgent surgery, not a prescription. magent does not assay CrCl.

## Output

Returns hold_days_before (number of days to stop the DOAC prior to surgery) and resume_days_after (number of days post-procedure before restarting), plus heparin_bridge (always false per recommendation 26). Specific to the given DOAC and bleed risk tier, with dabigatran values further stratified by caller-supplied CrCl.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "doac",
      "bleed_risk"
     ],
     "properties": {
      "doac": {
       "enum": [
        "apixaban",
        "rivaroxaban",
        "edoxaban",
        "dabigatran"
       ],
       "type": "string",
       "description": "Direct oral anticoagulant INN, case-insensitive: apixaban, rivaroxaban, edoxaban, or dabigatran. Elective procedures only. Not warfarin or a VKA."
      },
      "bleed_risk": {
       "enum": [
        "low_to_moderate",
        "high"
       ],
       "type": "string",
       "description": "Procedure bleed-risk category from Douketis 2022, case-insensitive: low_to_moderate or high. Caller assigns the category. Not urgent surgery."
      },
      "crcl_ml_min": {
       "type": "number",
       "description": "Caller-assigned creatinine clearance in mL/min (15-120). Required only when doac is dabigatran. Must be absent for apixaban, rivaroxaban, and edoxaban. magent does not assay CrCl."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/magent-perioperative-doac-interruption-calculator-douketis-2022-accp-bd6b8060/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.magentlab.com](https://www.zero.xyz/host/api.magentlab.com/llms.txt)
