Real-time data from a DWC hydroponics smart farm in Chiang Mai. Sensors, growing-phase status, batch traceability, and business analytics — all available as a clean RESTful API.
The public endpoints require no signup. Just hit them with curl, fetch, or your browser:
# Latest sensor readings curl https://verdex-web.verdexfarm.workers.dev/api/v1/sensors # Farm status with health score curl https://verdex-web.verdexfarm.workers.dev/api/v1/farm/status # Last 24 hours of historical sensor data curl "https://verdex-web.verdexfarm.workers.dev/api/v1/sensors/history?hours=24"
Authenticated routes require an X-API-Key header. Request a key via LINE OA:
curl -H "X-API-Key: your_key_here" \ https://verdex-web.verdexfarm.workers.dev/api/v1/orders
Returns the most recent sensor sample (within the last 30 minutes) along with status (OK / WARNING / NO_DATA) and threshold reference values.
Try it →Combines the planting calendar with live sensor readings to compute a health score. The score starts at 100 and is penalized based on how far each reading deviates from its optimal range.
Try it →status (string, optional) — pending, confirmed, delivered, cancelled.
limit (integer, default 50, max 200).
Returns all restaurants currently in the CRM with name, channel, delivery day, and status. Contact details and pricing are intentionally excluded from the public API surface.
days (integer, default 30, max 365) — History window.
{
"ok": true,
"data": { /* endpoint payload */ },
"meta": {
"timestamp": "2026-04-09T10:23:11.412Z",
"version": "1.0"
}
}
{
"ok": false,
"error": {
"code": "RATE_LIMITED",
"message": "Rate limit exceeded. Maximum 60 requests per minute."
}
}
Error codes: INFLUX_ERROR, DATABASE_ERROR, NO_DATABASE, NOT_FOUND, UNAUTHORIZED, RATE_LIMITED, METHOD_NOT_ALLOWED, INTERNAL_ERROR.