Health
GET /health
Check Router service health including Valkey connectivity, pool state, and price feed staleness.
bash
curl https://mainnet.router.ryze.pro/healthResponse 200
json
{
"ok": true,
"status": "ok",
"service": "ryze-router",
"version": "1.0.0",
"valkey_ok": true,
"pools_loaded": 2,
"pools": [
"0x22f902cEfcF8b0bEc6489Cb8ac11FdDa9B2aF125",
"0x40F3DAaE59BfE03f9Fb019Bb089Bb0C381DE27Cf"
],
"wbr_config_loaded": true,
"prices": {
"feeds_count": 3,
"oldest_age_ms": 1500,
"stale": false
},
"blend_prices": { ... },
"pyth_pro": { ... },
"timestamp": "2026-04-15T12:00:00Z"
}Response 503
Returned when critical components are unhealthy (no pools, stale prices, Valkey down).
Fields
| Field | Type | Description |
|---|---|---|
ok | boolean | Overall health |
status | string | "ok" or "unhealthy" |
service | string | Always "ryze-router" |
version | string | Router version |
valkey_ok | boolean | Valkey/Redis connectivity |
pools_loaded | number | Number of pools in memory |
pools | string[] | Pool addresses |
wbr_config_loaded | boolean | WBR config available |
prices.feeds_count | number | Active price feeds |
prices.oldest_age_ms | number | Staleness of oldest feed (ms) |
prices.stale | boolean | true if any price > 30s old |
blend_prices | object | Per-token blend diagnostics |
pyth_pro | object | Pyth Pro (Lazer) statistics |