Skip to main content

ZeqPharma — Pharmacokinetics

Drug absorption, distribution, metabolism, and excretion modeling via the HULYAS ODE solver. Compartmental PK models integrated with RK4 on the Zeqond timebase.

EndpointPOST /api/health/pharma/simulate
Authapi-key
Rate limit20/min
Categoryhealthcare

Parameters

NameTypeRequiredDescription
drugNamestringYesDrug identifier.
doseAmountnumberYesDose in mg.
routestringNo'oral', 'iv', 'im', 'sc'. Default: 'oral'.
bodyMassKgnumberNoPatient body mass. Default: 70.
tMaxHoursnumberNoSimulation 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.