femtos

HyperEVM · Market data

Token prices

USD price of up to 100 tokens in one call, each with its source and provenance.

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

Parameters

ParamInExample or values
layerqueryhyperevm
tokensquery0x5555555555555555555555555555555555555555,<evmToken>,0xb88339cb7199b77e23db6e890353e22632ba630f

Example

curl -H "Authorization: Bearer $FEMTOS_KEY" "https://api.femtos.xyz/v1/prices?layer=hyperevm&tokens=0x5555555555555555555555555555555555555555%2C<evmToken>%2C0xb88339cb7199b77e23db6e890353e22632ba630f"

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

Response fields

FieldTypeMeaning
layerstringLayer
prices[]object{token, symbol, priceUsd, source, t, block, tx, logIndex, pool, market, reason, spam, …}
asOfint | nullTime of `height`: the layer head the answer is cut at (EVM: indexed head; HyperCore: ingested head) (Unix ms)
heightint | nullHead block of the layer the answer is cut at
testnetbooleanElysium testnet: USD values from testnet pools, nominal
syncingtruePresent while the layer syncs: data only up to dataUntil
dataUntilint | nullIndexed head time while the layer syncs (Unix ms)

Related: Market data

  • Markets GET /v1/markets
    Active HyperEVM pools with 24 h stats.
  • Candles GET /v1/candles
    OHLCV of one pool in pair price, USD and market cap, ascending, UTC-aligned.
  • Forming candle WS hyperevm.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 hyperevm.trades
    The swaps of one pool, one message per block that has some.
  • Swaps by wallet GET /v1/trades
    Every swap a wallet sent (or a pool’s, a token’s), newest first, filterable by token, side, size and time.
  • 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.
  • 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.

More