femtos

Elysium · Market data

Trades

Latest swaps of one pool, newest first.

GET https://api.femtos.xyz/v1/trades

Parameters

ParamInExample or values
layerqueryelysium
marketquery<pair>
limitquery50

Example

curl -H "Authorization: Bearer $FEMTOS_KEY" "https://api.femtos.xyz/v1/trades?layer=elysium&market=<pair>&limit=50"

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

Response fields

FieldTypeMeaning
t · blockintblock time (ms), block
px · pxUsddecimalprice in quote, in USD
sz · vq · usddecimalsize in token, quote, USD
sideB | Abuy or sell of the token
mcapUsddecimal | nullmarket cap after the swap
traderstringtx.from (the wallet, not the router)
idstring<tx>:<log index>, dedupe REST + WS on it
tx · logIndexstring · intsource: the Swap log, with block

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 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