femtos

Elysium · Market data

Trades stream

The swaps of one pool, one message per block that has some.

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

Parameters

ParamInExample or values
pairfilter<pair>

Subscribe

{"op":"subscribe","channel":"elysium.trades","filter":{"pair":"<pair>"}}

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

Response fields

FieldTypeMeaning
snapshot: trueTrade[]last 50 swaps at subscribe
dataTrade[]the swaps of one block
latency_ms.source_to_sentintblock → sent by the server

Related: Market data

  • Candles GET /v1/candles
    OHLCV of one pool in pair price, USD and market cap, ascending, UTC-aligned.
  • Forming candle WS elysium.candles
    The forming candle, pushed once per block where it changes.
  • Trades GET /v1/trades
    Latest swaps of one pool, newest first.
  • 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