Every candle is one closed minute. colour is green when close is greater than or equal to open, otherwise red. time is the candle open, shifted into the timezone you asked for. epoch stays UTC.
Pair names drop the slash. EUR/USD is EURUSD. An OTC name ending in (OTC) becomes EURUSD_otc.
The current minute is never inside /candles. It is the forming object on /tick. History older than 8 days is deleted.
Endpoint reference
GET/health
Process liveness. Always HTTP 200 while this service can answer, including while the broker feed is reconnecting.
Field
Meaning
binomo
true when the worker is connected
worker
CONNECTED, CONNECTING, CONN_FAILED, or ERROR
tick_silence_s
Seconds since the last price. -1 means no tick yet
mongo
Database ping
example
curl "__ORIGIN__/health"
GET/api/v1/markets
Every pair the worker knows, with payout and whether the broker chart is open right now.
Field
Meaning
data[].symbol
API pair name
data[].open
Chart is in session
data[].payout_percent
Last known payout
open_pairs
Symbols currently open
example
curl "__ORIGIN__/api/v1/markets"
GET/api/v1/status
Open flag, payout, and the time of the newest stored candle for one pair.