ZeqEpi — Epidemic Modeling
SIR/SEIR epidemic modeling via ODE solver with HulyaPulse temporal resolution. Model disease spread with real-time R(t)-modulated transmission rates.
| Endpoint | POST /api/health/epidemic/simulate |
| Auth | api-key |
| Rate limit | 10/min |
| Category | healthcare |
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
model | string | No | 'sir', 'seir', 'seirs'. Default: 'seir'. |
population | number | Yes | Total population. |
infectedInitial | number | Yes | Initial infected count. |
R0 | number | Yes | Basic reproduction number. |
tDays | number | No | Simulation duration in days. Default: 180. |
Returns
{ timeSeries: [{ day, S, E?, I, R }], peakDay, peakInfected, totalInfected, herdImmunityThreshold }
Example
curl -sS -X POST \
-H "Authorization: Bearer zsm_..." \
-H "Content-Type: application/json" \
-d '{
"model": "seir",
"population": 0,
"infectedInitial": 0,
"R0": 0,
"tDays": 180
}' \
"https://zeqsdk.com/api/health/epidemic/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-epidemiology.