Skip to main content

ZeqEcosystem — Population Dynamics

Population dynamics modeling (Lotka-Volterra + operator coupling). Predator-prey, competition, and mutualism simulated with the HULYAS ODE solver.

EndpointPOST /api/bio/ecosystem/simulate
Authapi-key
Rate limit20/min
Categorybiology

Parameters

NameTypeRequiredDescription
speciesarrayYesArray of { name, population, growthRate, carryingCapacity }.
interactionsarrayNoArray of { predator, prey, rate } interaction terms.
tYearsnumberNoSimulation duration in years. Default: 50.

Returns

{ timeSeries: [{ t, populations }], equilibrium, extinctions, oscillationPeriod }

Example

curl -sS -X POST \
-H "Authorization: Bearer zsm_..." \
-H "Content-Type: application/json" \
-d '{
"species": [],
"interactions": [],
"tYears": 50
}' \
"https://zeqsdk.com/api/bio/ecosystem/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-ecosystem.