# ED Buprenorphine Dose Lookup (D'Onofrio 2015)

> ED Buprenorphine Dose Lookup (D'Onofrio 2015) 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 the buprenorphine dose in milligrams for a given protocol day (1, 2, or 3) from the D'Onofrio 2015 JAMA ED-initiated buprenorphine take-home schedule.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/ed_buprenorphine
- 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/ed-buprenorphine-dose-lookup-d-onofrio-2015-7c811967
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_on6zvvAstcQDQ_zknHnjI

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 ed-buprenorphine-dose-lookup-d-onofrio-2015-7c811967
```

Example prompt: What's the buprenorphine dose for day 1 of the D'Onofrio 2015 ED-initiated take-home protocol?

## When to prefer this

Use this endpoint when you need a fast, authoritative lookup of the ED-initiated buprenorphine dose per the D'Onofrio 2015 JAMA protocol (PMID 25919527) for take-home dispensing on days 1–3. Do not use this for COWS scoring, home-induction decision trees, X-waiver guidance, or any withdrawal scoring — those are out of scope.

## Known failure modes

- Invalid or missing 'day' parameter (not 1, 2, or 3) returns an error
- Day value outside the 1–3 range is not supported by the protocol and may return an error or empty response
- Non-integer day value may fail schema validation

## How this service works

ED-initiated buprenorphine milligrams from D'Onofrio 2015 (JAMA; PMID 25919527): dose_mg is 8 on protocol day 1 and 16 on days 2 and 3. Take-home schedule only. Not a home-induction decision tree, not COWS scoring, and not a prescription or X-waiver. magent does not score withdrawal.

## Output

A numeric dose value in milligrams reflecting the D'Onofrio 2015 ED-initiated buprenorphine take-home schedule: 8 mg on day 1 and 16 mg on days 2 and 3.

## 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": [
      "day"
     ],
     "properties": {
      "day": {
       "type": "integer",
       "description": "D'Onofrio 2015 protocol day 1, 2, or 3. Day 1 is 8 mg. Days 2 and 3 are 16 mg. Not a home-induction tree. magent does not score COWS."
      }
     }
    }
   },
   "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/ed-buprenorphine-dose-lookup-d-onofrio-2015-7c811967/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)
