Health
GET /health
Returns proxy health status including WebSocket connections, feed staleness, and blend diagnostics.
bash
curl https://mainnet.proxy.ryze.pro/healthResponse 200 (status: "ok")
json
{
"status": "ok",
"uptime_s": 86400,
"timestamp": "2026-04-15T12:00:00Z",
"feeds": {
"count": 4,
"oldest_age_ms": 730,
"avg_price_age_ms": 185
},
"websockets": {
"connected": 3,
"total": 3,
"total_updates_processed": 150000,
"total_updates_deduped": 300000,
"avg_update_interval_ms": 500
},
"sse": {
"clients": 5
},
"blend_prices": [
{
"feed_id": "2",
"symbol": "ff61491a...",
"token": "0x4200000000000000000000000000000000000006",
"pyth_price": "1600250000000000000000",
"cex_price": "1600300000000000000000",
"blend_factor": "500000000000000000",
"blended_price": "1600275000000000000000"
}
]
}Fields
| Field | Type | Description |
|---|---|---|
status | string | "ok" or "degraded" |
uptime_s | number | Seconds since proxy start |
feeds.count | number | Number of active price feeds |
feeds.oldest_age_ms | number | Age of stalest feed in ms |
feeds.avg_price_age_ms | number | Average feed age in ms |
websockets.connected | number | Active upstream connections |
websockets.total | number | Total configured connections (3) |
websockets.total_updates_processed | number | Unique price updates received |
websockets.total_updates_deduped | number | Duplicate updates dropped |
sse.clients | number | Connected SSE subscribers |
blend_prices | array | Current blend state per feed |
Degraded Status
The proxy reports "degraded" when:
- No WebSocket connections are active
- No updates received after 10 seconds of uptime
- Any price feed is older than 10 seconds