{
  "x402Version": 2,
  "id": 39374,
  "slug": "39374",
  "resource": "https://api.magentlab.com/api/calc/phenytoin_correction",
  "description": "Sheiner–Tozer / Winter–Tozer albumin-adjusted total phenytoin: Ccorr = Cobs / ((0.2 or 0.1) × albumin_g_dl + 0.1). Renal factor 0.1 when renal_impairment is true. Deterministic published arithmetic with citation; not a free phenytoin level or a dose.",
  "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": [
              {
                "albumin_g_dl": 2,
                "albumin_g_l": 20,
                "phenytoin_mcg_ml": 8,
                "renal_impairment": false
              },
              {
                "albumin_g_dl": 2,
                "albumin_g_l": 20,
                "phenytoin_mcg_ml": 8,
                "renal_impairment": false
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "albumin_g_dl": 2,
                "binding_factor": 0.2,
                "citation": {
                  "authors": "Liponi DF, Winter ME, Tozer TN",
                  "doi": "10.1212/WNL.34.3.395",
                  "id": "liponi-1984",
                  "source": "Neurology. 1984;34(3):395-397",
                  "title": "Renal function and therapeutic concentrations of phenytoin"
                },
                "corrected_phenytoin_mcg_ml": 16,
                "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": "sheiner_tozer",
                "formula_expression": "corrected_phenytoin_mcg_ml = phenytoin_mcg_ml / ((binding_factor * albumin_g_dl) + 0.1); binding_factor 0.2, or 0.1 if renal_impairment",
                "phenytoin_mcg_ml": 8,
                "renal_impairment": false
              },
              {
                "albumin_g_dl": 2,
                "binding_factor": 0.2,
                "citation": {
                  "authors": "Liponi DF, Winter ME, Tozer TN",
                  "doi": "10.1212/WNL.34.3.395",
                  "id": "liponi-1984",
                  "source": "Neurology. 1984;34(3):395-397",
                  "title": "Renal function and therapeutic concentrations of phenytoin"
                },
                "corrected_phenytoin_mcg_ml": 16,
                "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": "sheiner_tozer",
                "formula_expression": "corrected_phenytoin_mcg_ml = phenytoin_mcg_ml / ((binding_factor * albumin_g_dl) + 0.1); binding_factor 0.2, or 0.1 if renal_impairment",
                "phenytoin_mcg_ml": 8,
                "renal_impairment": false
              }
            ],
            "path": "/api/calc/phenytoin_correction"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "albumin_g_dl": {
                          "description": "Serum albumin in g/dL (1-6). Provide this or albumin_g_l.",
                          "type": "number"
                        },
                        "albumin_g_l": {
                          "description": "Serum albumin in g/L (10-60). Converted as g/dL = g/L / 10.",
                          "type": "number"
                        },
                        "phenytoin_mcg_ml": {
                          "description": "Observed total phenytoin in µg/mL (same as mg/L). Range 0.1-80.",
                          "type": "number"
                        },
                        "renal_impairment": {
                          "description": "true uses binding factor 0.1 (Liponi/Winter–Tozer end-stage renal adjustment). false uses 0.2. true or false.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "phenytoin_mcg_ml",
                        "renal_impairment"
                      ],
                      "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": [
    "phenytoin",
    "sheiner-tozer",
    "medications",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T15:03:15.617Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-12T15:03:15.503Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "albumin_g_dl": 2,
                  "albumin_g_l": 20,
                  "phenytoin_mcg_ml": 8,
                  "renal_impairment": false
                },
                {
                  "albumin_g_dl": 2,
                  "albumin_g_l": 20,
                  "phenytoin_mcg_ml": 8,
                  "renal_impairment": false
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "albumin_g_dl": 2,
                  "binding_factor": 0.2,
                  "citation": {
                    "authors": "Liponi DF, Winter ME, Tozer TN",
                    "doi": "10.1212/WNL.34.3.395",
                    "id": "liponi-1984",
                    "source": "Neurology. 1984;34(3):395-397",
                    "title": "Renal function and therapeutic concentrations of phenytoin"
                  },
                  "corrected_phenytoin_mcg_ml": 16,
                  "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": "sheiner_tozer",
                  "formula_expression": "corrected_phenytoin_mcg_ml = phenytoin_mcg_ml / ((binding_factor * albumin_g_dl) + 0.1); binding_factor 0.2, or 0.1 if renal_impairment",
                  "phenytoin_mcg_ml": 8,
                  "renal_impairment": false
                },
                {
                  "albumin_g_dl": 2,
                  "binding_factor": 0.2,
                  "citation": {
                    "authors": "Liponi DF, Winter ME, Tozer TN",
                    "doi": "10.1212/WNL.34.3.395",
                    "id": "liponi-1984",
                    "source": "Neurology. 1984;34(3):395-397",
                    "title": "Renal function and therapeutic concentrations of phenytoin"
                  },
                  "corrected_phenytoin_mcg_ml": 16,
                  "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": "sheiner_tozer",
                  "formula_expression": "corrected_phenytoin_mcg_ml = phenytoin_mcg_ml / ((binding_factor * albumin_g_dl) + 0.1); binding_factor 0.2, or 0.1 if renal_impairment",
                  "phenytoin_mcg_ml": 8,
                  "renal_impairment": false
                }
              ],
              "path": "/api/calc/phenytoin_correction"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "albumin_g_dl": {
                            "description": "Serum albumin in g/dL (1-6). Provide this or albumin_g_l.",
                            "type": "number"
                          },
                          "albumin_g_l": {
                            "description": "Serum albumin in g/L (10-60). Converted as g/dL = g/L / 10.",
                            "type": "number"
                          },
                          "phenytoin_mcg_ml": {
                            "description": "Observed total phenytoin in µg/mL (same as mg/L). Range 0.1-80.",
                            "type": "number"
                          },
                          "renal_impairment": {
                            "description": "true uses binding factor 0.1 (Liponi/Winter–Tozer end-stage renal adjustment). false uses 0.2. true or false.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "phenytoin_mcg_ml",
                          "renal_impairment"
                        ],
                        "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"
  }
}