# Pool detail · API reference · Femtos

> One pool: dex, fee, tokens, liquidity in USD, depth, 5m to 24h activity, top LPs. GET /v1/pools/{address} on Elysium and HyperEVM: parameters, response fields and a live call per layer.

- Base URL: `https://api.femtos.xyz/v1` (REST) · `wss://api.femtos.xyz/v1/ws` (WebSocket) · MCP: `https://api.femtos.xyz/mcp`
- Auth: `Authorization: Bearer $FEMTOS_KEY`. Free key: https://femtos.xyz/account/new (browser), or with
  no browser: `GET https://femtos.xyz/accounts/agent/challenge`, solve its proof of work, then `POST https://femtos.xyz/accounts/agent/signup`
  (https://femtos.xyz/agents.md#agent-onboarding)
- Decimals are exact strings, times Unix milliseconds, addresses lowercase `0x`
- Whole API in one file: https://femtos.xyz/agents.md · OpenAPI: https://api.femtos.xyz/v1/openapi.json · Index: https://femtos.xyz/llms.txt
- Page with live calls: https://femtos.xyz/reference/pool

## Pool detail — GET `/v1/pools/{address}`

One pool: dex, fee, tokens, liquidity in USD, depth, 5m to 24h activity, top LPs.

Layers: Elysium, HyperEVM. Not on HyperCore: HyperCore trades on its order book, not on pools: its markets, trades and candles are on the same pages.
Page with live calls: https://femtos.xyz/reference/pool?layer=<elysium|hyperevm>

| Param | In | Example or values | Meaning |
|---|---|---|---|
| `address` | path | `<pair>` (Elysium); `<evmPair>` (HyperEVM) | Pool address, or <PoolManager>:<PoolId> |
| `layer` | query | `elysium` (Elysium); `hyperevm` (HyperEVM) | EVM layer |

Elysium:

```bash
curl -H "Authorization: Bearer $FEMTOS_KEY" "https://api.femtos.xyz/v1/pools/<pair>?layer=elysium"
```

HyperEVM:

```bash
curl -H "Authorization: Bearer $FEMTOS_KEY" "https://api.femtos.xyz/v1/pools/<evmPair>?layer=hyperevm"
```

| Field | Type | Meaning |
|---|---|---|
| `dex` | string | Protocol |
| `factory` | string | Factory / PoolManager |
| `feeTier` | int \| null | Fee tier (hundredths of a bip: 500 = 0.05 %) |
| `tickSpacing` | int \| null | Tick spacing |
| `hooks` | string \| null | Uniswap V4 / PancakeSwap Infinity hooks contract |
| `token0` | object | token0: {address, symbol, name, decimals, priceUsd, spam, spamReason} |
| `token1` | object | token1: {address, symbol, name, decimals, priceUsd, spam, spamReason} |
| `liquidity` | object \| null | What the pool holds; null when unknown (a vault pool without L, e.g. Balancer): {method, exact, amount0, amount1, amount0Raw, amount1Raw, usd, partial, at, block} |
| `depth2pct` | object \| null | Concentrated pools: depth to ±2 % from L and √P: {approx, up, down, liquidity, sqrtPriceX96, block} |
| `windows` | object | From the candle tables: 5m / 1h from 1 min candles, 6h from 5 min, 24h from 1 h; a window starts at its first candle at or after head − length: {5m, 1h, 6h, 24h} |
| `topLps[]` | object \| null | V2-style pools with at most 2000 LP holders: the 10 largest: {address, balanceRaw, share, burned} |
| `lpHolders` | int \| string \| null | V2-style pools: holders of the LP token (">2000" when more); null otherwise |
| `block` | int | Creation block (provenance) |
| `tx` | string \| null | Creation transaction (pool-created event in that block) |
| `lastSwap` | object \| null | The pool's last swap (provenance of the state): {block, t, tx, logIndex} |

## Related (Market data)

- [Markets](https://femtos.xyz/reference/markets.md) `GET /v1/markets`: Every tradable perp, spot, HIP-3 and outcome market with 24 h stats. (Elysium, HyperCore, HyperEVM)
- [Candles](https://femtos.xyz/reference/candles.md) `GET /v1/candles`: OHLCV of any HyperCore market down to 1 s, ascending, UTC-aligned. (Elysium, HyperCore, HyperEVM)
- [Forming candle](https://femtos.xyz/reference/ws/candles.md) `WS elysium.candles · hc.candles · hyperevm.candles`: The forming candle, pushed once per block where it changes. (Elysium, HyperCore, HyperEVM)
- [Token candles](https://femtos.xyz/reference/token-candles.md) `GET /v1/candles`: OHLCV of a token through its USDC market (a perp coin: the perp). (Elysium, HyperCore, HyperEVM)
- [Trades](https://femtos.xyz/reference/trades.md) `GET /v1/trades`: Latest fills of one market, newest first. (Elysium, HyperCore, HyperEVM)
- [Trades stream](https://femtos.xyz/reference/ws/trades.md) `WS elysium.trades · hc.trades · hyperevm.trades`: All trades of one market as they happen: raced between our node and Hyperliquid's public feed, first copy sent, the other dropped. (Elysium, HyperCore, HyperEVM)
- [Order book](https://femtos.xyz/reference/book.md) `GET /v1/book`: L2 book of one market with order counts, from our node. (HyperCore)
- [Book stream](https://femtos.xyz/reference/ws/book.md) `WS hc.book`: Full-depth book, then the levels each block changes. (HyperCore)
- [Best bid / offer](https://femtos.xyz/reference/ws/bbo.md) `WS hc.bbo`: 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). (HyperCore)
- [Order updates](https://femtos.xyz/reference/ws/orders.md) `WS hc.orders`: Every order status change, filterable by coin, user and status. (HyperCore)
- [Token prices](https://femtos.xyz/reference/prices.md) `GET /v1/prices`: USD price of up to 100 tokens in one call, each with its source and provenance. (Elysium, HyperCore, HyperEVM)
- [Price history](https://femtos.xyz/reference/price-history.md) `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=). (Elysium, HyperCore, HyperEVM)
- [HYPE price](https://femtos.xyz/reference/ws/prices.md) `WS prices.hype`: HYPE from the Hyperliquid oracle, perp mark and exchanges. (HyperCore)
- [Liquidity events](https://femtos.xyz/reference/liquidity.md) `GET /v1/liquidity`: Liquidity added to and removed from one pool, newest first. (Elysium, HyperEVM)
- [Daily token volume](https://femtos.xyz/reference/volume.md) `GET /v1/volume`: USD swap volume of a token per UTC day, both sides of every priced swap. (Elysium, HyperEVM)

Every page: https://femtos.xyz/reference.md
