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": [
"0x7B41aA91947398CD9244AD4e314C253D9B1B5206",
"0xB0DF78D13B2FEF75BE063aF18CB7e575d5A2a319"
],
"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 |