Skip to content

Health

GET /health

Check Router service health including Valkey connectivity, pool state, and price feed staleness.

bash
curl https://mainnet.router.ryze.pro/health

Response 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

FieldTypeDescription
okbooleanOverall health
statusstring"ok" or "unhealthy"
servicestringAlways "ryze-router"
versionstringRouter version
valkey_okbooleanValkey/Redis connectivity
pools_loadednumberNumber of pools in memory
poolsstring[]Pool addresses
wbr_config_loadedbooleanWBR config available
prices.feeds_countnumberActive price feeds
prices.oldest_age_msnumberStaleness of oldest feed (ms)
prices.stalebooleantrue if any price > 30s old
blend_pricesobjectPer-token blend diagnostics
pyth_proobjectPyth Pro (Lazer) statistics