Exchange

Top-level exchange metadata. Poll the status endpoint before trading to confirm the venue is accepting orders.

Get exchange status

Public
GET/api/exchange/status

Returns the operational status of the exchange and a server timestamp. Public — no authentication required. Use it as a lightweight liveness probe before submitting orders.

Request

cURL
curl "https://api.majjha.com/api/exchange/status"

Response

200 OK
{
  "status": "operational",
  "timestamp": 1717459200
}