ZeqPharma — Pharmacokinetics
Drug absorption, distribution, metabolism, and excretion modeling via the HULYAS ODE solver. Compartmental PK models integrated with RK4 on the Zeqond timebase.
| Endpoint | POST /api/health/pharma/simulate |
| Auth | api-key |
| Rate limit | 20/min |
| Category | healthcare |
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
drugName | string | Yes | Drug identifier. |
doseAmount | number | Yes | Dose in mg. |
route | string | No | 'oral', 'iv', 'im', 'sc'. Default: 'oral'. |
bodyMassKg | number | No | Patient body mass. Default: 70. |
tMaxHours | number | No | Simulation duration in hours. Default: 24. |
Returns
{ concentration: [{ t, plasma, tissue }], tMax, cMax, halfLife, auc, clearance }
Example
curl -sS -X POST \
-H "Authorization: Bearer zsm_..." \
-H "Content-Type: application/json" \
-d '{
"drugName": "<drugName>",
"doseAmount": 0,
"route": "oral",
"bodyMassKg": 70,
"tMaxHours": 24
}' \
"https://zeqsdk.com/api/health/pharma/simulate"
This protocol is a named building block — one of the operations you
compose inside a state contract. Call it directly with
the request above, or invoke it from a contract that fires on your machine's
clock. Browse the whole library at GET /api/protocols; fetch this one at
GET /api/protocols/zeq-pharma.