femtos

Elysium · Market data

Swaps by wallet

Every swap a wallet sent (or a pool’s, a token’s), newest first, filterable by token, side, size and time.

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

Parameters

ParamInExample or values
layerqueryelysium
traderquery<creator>
tokenquery(optional)
sidequery(empty), buy, sell
minUsdquery(optional)
limitquery20
cursorquery(optional)

Example

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

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

Response fields

FieldTypeMeaning
rows[]objectNewest first: {t, block, tx, logIndex, id, pair, protocol, base, quote, baseAddress, quoteAddress, side, …}
coverageall | pricedpriced: a token of more than 20 pools, read through its priced swaps only (volume_usd set)
scannedintIndex rows read for this page (filters apply to them: at most 1000 per source per call)
spamHiddenintRows of spam tokens left out (includeSpam=true shows them)
next_cursorstring | nullOpaque cursor of the next page; null when nothing is left in the window. A filtered page can hold fewer rows than limit, even none: keep paging while next_cursor is not null

Next page: cursor = the next_cursor of the previous answer, the same on every list (pagination).

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.
  • 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.
  • Transfers by wallet GET /v1/transfers
    ERC-20 transfers sent and received by a wallet, newest first, filterable by token, direction, size and time.
  • Pool detail GET /v1/pools/{address}
    One pool: dex, fee, tokens, liquidity in USD, depth, 5m to 24h activity, top LPs.
  • Transaction GET /v1/tx/{hash}
    One transaction: status, gas, decoded transfers, swaps and liquidity, bridge legs and journey.
  • Token prices GET /v1/prices
    USD price of up to 100 tokens in one call, each with its source and provenance.
  • Price history GET /v1/prices/history
    USD closes per unit of up to 25 tokens over a window, or the price of 100 tokens at one time (at=).
  • Token candles GET /v1/candles
    OHLCV of a token in USD through its reference pool, the most liquid one.
  • Token metadata GET /v1/tokens
    Metadata of up to 100 tokens: supply, creator, logo and socials when indexed, family, spam. Also POST with a JSON body.
  • Token overview GET /v1/tokens/{address}
    One token across all its pools: price, FDV, market cap, liquidity, windows, holders, top pools.

More