femtos

Elysium · Market data

Forming candle

The forming candle, pushed once per block where it changes.

WebSocket channel elysium.candles on wss://api.femtos.xyz/v1/ws

Parameters

ParamInExample or values
pairfilter<pair>
tffilter1s, 15s, 1m, 5m, 15m, 1h, 4h, 1d

Subscribe

{"op":"subscribe","channel":"elysium.candles","filter":{"pair":"<pair>","tf":"1m"}}

Key: Authorization: Bearer $FEMTOS_KEY or X-API-KEY. Get a free key, or with no browser through agent onboarding.

Response fields

FieldTypeMeaning
snapshot: trueCandle[]last 300 candles at subscribe
dataCandlethe forming candle, same shape as REST

Related: Market data

  • Candles GET /v1/candles
    OHLCV of one pool in pair price, USD and market cap, ascending, UTC-aligned.
  • Trades GET /v1/trades
    Latest swaps of one pool, newest first.
  • Trades stream WS elysium.trades
    The swaps of one pool, one message per block that has some.
  • Daily token volume GET /v1/volume
    USD swap volume of a token per UTC day, both sides of every priced swap. Testnet pool prices.
  • Token transfers GET /v1/transfers
    ERC-20 Transfer events of one token, newest first.
  • Liquidity events GET /v1/liquidity
    Liquidity added to and removed from one pool, newest first.

More