API reference · Market data

Markets

  • Elysium: Active Elysium pools with 24 h stats.
  • HyperCore: Every tradable perp, spot, HIP-3 and outcome market with 24 h stats.
  • HyperEVM: Active HyperEVM pools with 24 h stats.

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

Parameters

ParamInExample or valuesMeaning
layerqueryelysium (Elysium); hypercore (HyperCore); hyperevm (HyperEVM)Layer (none: HyperCore + Elysium + top 100 HyperEVM pools)
includeSpamquery(empty), trueEVM pools of spam tokens (base or quote flagged in tokens.spam), flagged spam / spamReason; left out by default (and out of X-Total-Count) (Elysium, HyperEVM)
cursorquery(optional)Next page: `next_cursor` of the previous answer (Elysium, HyperEVM)
includeOutcomesquery(empty), trueHyperCore outcome markets (HyperCore)

Example

Elysium

curl -H "Authorization: Bearer $FEMTOS_KEY" "https://api.femtos.xyz/v1/markets?layer=elysium"

HyperCore

curl -H "Authorization: Bearer $FEMTOS_KEY" "https://api.femtos.xyz/v1/markets?layer=hypercore"

HyperEVM

curl -H "Authorization: Bearer $FEMTOS_KEY" "https://api.femtos.xyz/v1/markets?layer=hyperevm"

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

Response fields

FieldTypeMeaning
idstringMarket id: HyperCore coin, EVM pair address (use as `market` / `pair`)
symbolstringBASE/QUOTE
basestringBase symbol
quotestringQuote symbol
kindperp | spot | hip3 | outcome | poolperp, spot, hip3 (HIP-3 dex perp), outcome (HyperCore outcome market), pool (EVM DEX pool)
protocolstringEVM pools: DEX protocol (Elysium, HyperEVM)
feeTierintEVM pools: fee tier (Elysium, HyperEVM)
pricedecimal | nullLast price in quote (EVM: last daily close)
change24hnumber | null% change over 24 h
volume24hUsddecimal | null24 h volume, USD
trades24hint24 h trades
mcapUsddecimal | nullEVM pools: market cap at the last daily close (Elysium, HyperEVM)
spambooleanEVM pools: base or quote is a spam token (tokens.spam); out of /api/markets unless includeSpam (Elysium, HyperEVM)
spamReasonstring | nullEVM pools: the spam token's reason. Why the indexer flags it, comma list, strongest first: homoglyph:<T> (looks like token T), impostor:<T> (claims to be T; never alone), phishing_name, fake_transfers, unreadable_balance (balanceOf reverts: no ERC-20 behind its Transfer logs), verifier_ignore; null when not spam (Elysium, HyperEVM)
Link rel="next"headeran array: the next page URL, its cursor to pass as cursor (Elysium, HyperEVM)
szDecimalsintHyperCore: size decimals of the market (HyperCore)
maxLeverageintHyperCore perps: maximum leverage (HyperCore)
dexstringHIP-3: the dex of the perp (xyz in xyz:TSLA) (HyperCore)
outcomeobjectHyperCore outcome markets: what the market settles on: {id, side, title, sideName, description, question} (HyperCore)

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

Related: Market data

  • Candles GET /v1/candles Elysium, HyperCore, HyperEVM
    OHLCV of any HyperCore market down to 1 s, ascending, UTC-aligned.
  • Forming candle WS elysium.candles · hc.candles · hyperevm.candles Elysium, HyperCore, HyperEVM
    The forming candle, pushed once per block where it changes.
  • Token candles GET /v1/candles Elysium, HyperCore, HyperEVM
    OHLCV of a token through its USDC market (a perp coin: the perp).
  • Trades GET /v1/trades Elysium, HyperCore, HyperEVM
    Latest fills of one market, newest first.
  • Trades stream WS elysium.trades · hc.trades · hyperevm.trades Elysium, HyperCore, HyperEVM
    All trades of one market as they happen: raced between our node and Hyperliquid's public feed, first copy sent, the other dropped.
  • Order book GET /v1/book HyperCore
    L2 book of one market with order counts, from our node.
  • Book stream WS hc.book HyperCore
    Full-depth book, then the levels each block changes.
  • Best bid / offer WS hc.bbo HyperCore
    Top of book of one market each block: raced between Hyperliquid's public feed and our node (newest block wins, our node corrects the same block).
  • Order updates WS hc.orders HyperCore
    Every order status change, filterable by coin, user and status.
  • Token prices GET /v1/prices Elysium, HyperCore, HyperEVM
    USD price of up to 100 tokens in one call, each with its source and provenance.
  • Price history GET /v1/prices/history Elysium, HyperCore, HyperEVM
    USD closes per unit of up to 25 tokens over a window, or the price of 100 tokens at one time (at=).
  • HYPE price WS prices.hype HyperCore
    HYPE from the Hyperliquid oracle, perp mark and exchanges.
  • Pool detail GET /v1/pools/{address} Elysium, HyperEVM
    One pool: dex, fee, tokens, liquidity in USD, depth, 5m to 24h activity, top LPs.
  • Liquidity events GET /v1/liquidity Elysium, HyperEVM
    Liquidity added to and removed from one pool, newest first.
  • Daily token volume GET /v1/volume Elysium, HyperEVM
    USD swap volume of a token per UTC day, both sides of every priced swap.

More

Agent guide (agents.md)llms.txtOpenAPIMCP serverGet an API keyChangelog