跳到主要内容

Health & Metrics

GET /health · GET /health/liquidation-avax · GET /metrics

Unauthenticated operational probes at the root of each deployment.

GET /health — liveness

curl -s https://api-avax.sparkydex.app/health
{ "status": "ok", "version": "0.3.1" }

Always 200 while the process is up; it does not check Postgres, Redis or the chain RPC. version is the backend crate version.

GET /health/liquidation-avax

Snapshot of the on-chain liquidation keeper: enabled flag, chain info, and per-status submission counters. Intended for operators.

GET /metrics

Prometheus text exposition (HTTP latency histograms, engine counters, Tokio runtime metrics). Usually firewalled to internal networks.

GET /fapi/v1/ping

The Binance-shaped connectivity check — returns {} (see Test Connectivity).