Skip to Content
Scalar
Trading APIs

Health check

Performs a live round trip through the trading chain — validator, matching engine, chain executor — and reports each hop. Returns 200 when every hop is healthy, 503 otherwise. Requires no authentication and exposes no configuration, addresses, or versions.

GET
/health

Performs a live round trip through the trading chain — validator, matching engine, chain executor — and reports each hop. Returns 200 when every hop is healthy, 503 otherwise. Requires no authentication and exposes no configuration, addresses, or versions.

Response Body

Every service in the chain is healthy

application/json
  1. response

Aggregated health of the trading chain.

error?|

Set when the chain could not be reached at all, so no per-service attribution is possible.

services*

Per-service breakdown, keyed by service name.

status*string

healthy only when every service that reported is healthy.

Example Request
curl -X GET 'https://testnet-api.scalar.market/health'
Example Response
{
  "error": "string",
  "services": {
    "property1": {
      "detail": "string",
      "latency_ms": 0,
      "status": "string"
    },
    "property2": {
      "detail": "string",
      "latency_ms": 0,
      "status": "string"
    }
  },
  "status": "string"
}