API reference · Market data
Liquidity events
Liquidity added to and removed from one pool, newest first.
- Not on HyperCore: HyperCore trades on its order book, not on pools: its markets, trades and candles are on the same pages
- No data on HyperEVM yet: answers 503 on HyperEVM until indexer_hyperevm has its events index by contract (idx_events_contract_type, dropped for the catch-up)
GET https://api.femtos.xyz/v1/liquidity
Parameters
| Param | In | Example or values | Meaning |
|---|---|---|---|
layer | query | elysium (Elysium); hyperevm (HyperEVM) | EVM layer |
pair | query | 0xc6f0177141b2741171519c0ef76ad62e5602968b (Elysium); 0x6c9a33e3b592c0d65b3ba59355d5be0d38259285 (HyperEVM) | Pool address or <PoolManager>:<PoolId> |
limit | query | 20 | Rows |
cursor | query | (optional) | Next page: `next_cursor` of the previous answer |
Example
Elysium
curl -H "Authorization: Bearer $FEMTOS_KEY" "https://api.femtos.xyz/v1/liquidity?layer=elysium&pair=0xc6f0177141b2741171519c0ef76ad62e5602968b&limit=20"HyperEVM
curl -H "Authorization: Bearer $FEMTOS_KEY" "https://api.femtos.xyz/v1/liquidity?layer=hyperevm&pair=0x6c9a33e3b592c0d65b3ba59355d5be0d38259285&limit=20"Key: Authorization: Bearer $FEMTOS_KEY. Get a free key, or with no browser through agent onboarding.
Response fields
| Field | Type | Meaning |
|---|---|---|
rows[] | object | Newest first: {block, t, tx, logIndex, kind, provider, amount0, amount1, usd, liquidityDelta, tickLower, tickUpper} |
rows[].liquidityDelta | string | null | V4 ModifyLiquidity liquidity delta |
token0 | object | {address, symbol, decimals, spam, spamReason} |
token1 | object | {address, symbol, decimals, spam, spamReason} |
next_cursor | string | null | Opaque cursor of the next page: pass it as `cursor`, unchanged. null on the last page |
Next page: cursor = the next_cursor of the previous answer, the same on every list (pagination).
Related: Market data
- Markets GET /v1/markets Elysium, HyperCore, HyperEVM
Every tradable perp, spot, HIP-3 and outcome market with 24 h stats. - 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. - Daily token volume GET /v1/volume Elysium, HyperEVM
USD swap volume of a token per UTC day, both sides of every priced swap.
More
- This page as Markdown
- The whole API reference
- What Elysium serves
- What HyperEVM serves
- The whole API in one Markdown file
- OpenAPI 3.1 document
Agent guide (agents.md)llms.txtOpenAPIMCP serverGet an API keyChangelog