# Health endpoint

> GET /api/feed/health. A small public JSON summary of engine freshness and venue health, useful for uptime probes.

```http
GET https://deskr.trade/api/feed/health
```

No auth, `Cache-Control: no-store`. It powers the status dot in the app sidebar and works as a target for an external uptime probe.

```json
{
  "tone": "pos",
  "label": "Data live",
  "reason": "Engine output 46s ago · 11 of 11 venues up.",
  "up": 11,
  "total": 11,
  "age": 46,
  "at": 1795744357,
  "symbols": 60,
  "venues": [
    { "v": "okx", "state": "up", "lastOk": 1795744357, "latMs": 291, "errors": 0, "coins": 53 }
  ]
}
```

| Field | Meaning |
|---|---|
| `tone` | `pos` (green): engine output less than 120 s old and at least 2 venues up. `warn` (amber): older than 120 s, or fewer than 2 venues up. `neg` (red): no output at all, or none for 15 minutes. |
| `label`, `reason` | Human-readable status |
| `up`, `total` | Venues currently up / configured |
| `age` | Seconds since the engine last wrote its state |
| `at` | Unix time of that state |
| `symbols` | Coins currently tracked |
| `venues[]` | Per-venue `state` (`up`, `down` or `unknown`), last success, latency, errors and coins covered |

For a probe, alert on `tone` other than `pos`. Pages switch to **STALE since HH:MM UTC** once engine data is more than 5 minutes old.

The human-readable version is [/app/status](https://deskr.trade/app/status).
