{
  "x402Version": 2,
  "id": 39371,
  "slug": "39371",
  "resource": "https://api.magentlab.com/api/calc/bed",
  "description": "Fowler 1989 BED without a time or repopulation term: BED = n * d * (1 + d / (alpha/beta)). n equal fractions (1-50), d Gy per fraction (0.5-30), caller-assigned tissue alpha/beta (1-20 Gy). Rounds to 1 decimal. Rejects non-positive n*d or alpha/beta. No T_k/T_pot, no EQD2. Not a radiotherapy prescription. magent does not plan radiotherapy. Not a medical device.",
  "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": [
              {
                "alpha_beta": 3,
                "d_gy": 2,
                "n": 30
              },
              {
                "alpha_beta": 3,
                "d_gy": 2,
                "n": 30
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "alpha_beta": 3,
                "bed_gy": 100,
                "citation": {
                  "authors": "Fowler JF",
                  "doi": "10.1259/0007-1285-62-740-679",
                  "id": "fowler-1989",
                  "pmid": "2670032",
                  "source": "Br J Radiol. 1989;62(740):679-694",
                  "title": "The linear-quadratic formula and progress in fractionated radiotherapy"
                },
                "d_gy": 2,
                "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": "bed",
                "formula_expression": "bed_gy = n * d_gy * (1 + d_gy / alpha_beta)",
                "n": 30
              },
              {
                "alpha_beta": 3,
                "bed_gy": 100,
                "citation": {
                  "authors": "Fowler JF",
                  "doi": "10.1259/0007-1285-62-740-679",
                  "id": "fowler-1989",
                  "pmid": "2670032",
                  "source": "Br J Radiol. 1989;62(740):679-694",
                  "title": "The linear-quadratic formula and progress in fractionated radiotherapy"
                },
                "d_gy": 2,
                "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": "bed",
                "formula_expression": "bed_gy = n * d_gy * (1 + d_gy / alpha_beta)",
                "n": 30
              }
            ],
            "path": "/api/calc/bed"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "alpha_beta": {
                          "description": "Caller-assigned tissue α/β in Gy (1-20, magent clamp). magent does not assign α/β from a tissue table.",
                          "type": "number"
                        },
                        "d_gy": {
                          "description": "Dose per fraction in Gy (0.5-30, magent clamp). Caller supplies d. magent does not prescribe dose.",
                          "type": "number"
                        },
                        "n": {
                          "description": "Number of equal fractions (integer 1-50, magent clamp; Fowler 1989 does not publish an input band). Caller supplies n. magent does not plan a fraction schedule.",
                          "type": "integer"
                        }
                      },
                      "required": [
                        "n",
                        "d_gy",
                        "alpha_beta"
                      ],
                      "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": [
    "bed",
    "linear-quadratic",
    "fowler",
    "medications",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T15:03:36.798Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-12T15:03:36.667Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "alpha_beta": 3,
                  "d_gy": 2,
                  "n": 30
                },
                {
                  "alpha_beta": 3,
                  "d_gy": 2,
                  "n": 30
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "alpha_beta": 3,
                  "bed_gy": 100,
                  "citation": {
                    "authors": "Fowler JF",
                    "doi": "10.1259/0007-1285-62-740-679",
                    "id": "fowler-1989",
                    "pmid": "2670032",
                    "source": "Br J Radiol. 1989;62(740):679-694",
                    "title": "The linear-quadratic formula and progress in fractionated radiotherapy"
                  },
                  "d_gy": 2,
                  "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": "bed",
                  "formula_expression": "bed_gy = n * d_gy * (1 + d_gy / alpha_beta)",
                  "n": 30
                },
                {
                  "alpha_beta": 3,
                  "bed_gy": 100,
                  "citation": {
                    "authors": "Fowler JF",
                    "doi": "10.1259/0007-1285-62-740-679",
                    "id": "fowler-1989",
                    "pmid": "2670032",
                    "source": "Br J Radiol. 1989;62(740):679-694",
                    "title": "The linear-quadratic formula and progress in fractionated radiotherapy"
                  },
                  "d_gy": 2,
                  "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": "bed",
                  "formula_expression": "bed_gy = n * d_gy * (1 + d_gy / alpha_beta)",
                  "n": 30
                }
              ],
              "path": "/api/calc/bed"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "alpha_beta": {
                            "description": "Caller-assigned tissue α/β in Gy (1-20, magent clamp). magent does not assign α/β from a tissue table.",
                            "type": "number"
                          },
                          "d_gy": {
                            "description": "Dose per fraction in Gy (0.5-30, magent clamp). Caller supplies d. magent does not prescribe dose.",
                            "type": "number"
                          },
                          "n": {
                            "description": "Number of equal fractions (integer 1-50, magent clamp; Fowler 1989 does not publish an input band). Caller supplies n. magent does not plan a fraction schedule.",
                            "type": "integer"
                          }
                        },
                        "required": [
                          "n",
                          "d_gy",
                          "alpha_beta"
                        ],
                        "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"
  }
}