API reference · Market data
Price history
USD closes per unit of up to 25 tokens over a window, or the price of 100 tokens at one time (at=).
GET https://api.femtos.xyz/v1/prices/history
Parameters
| Param | In | Example or values | Meaning |
|---|---|---|---|
layer | query | elysium (Elysium); hypercore (HyperCore); hyperevm (HyperEVM) | Layer: hyperevm / elysium (0x token addresses) or hypercore (token names HYPE, PURR, token ids, perp coins BTC). Absent: hypercore when every token is a name, else hyperevm |
tokens | query | <token> (Elysium); HYPE,PURR,BTC (HyperCore); 0x5555555555555555555555555555555555555555,<evmToken>,0xb88339cb7199b77e23db6e890353e22632ba630f (HyperEVM) | Comma list, at most 100: 0x addresses (hyperevm, elysium) or HyperCore token names / ids / perp coins (hypercore) |
from | query | 1792368000000 | Series start (Unix ms, inclusive, aligned down to the unit) |
to | query | 1792454400000 | Series end (Unix ms, exclusive; default now) |
interval | query | 1m, 5m, 15m, 1h, 4h, 1d | Series unit |
at | query | (optional) | Time (Unix ms): price at or before it |
Example
Elysium
curl -H "Authorization: Bearer $FEMTOS_KEY" "https://api.femtos.xyz/v1/prices/history?layer=elysium&tokens=<token>&from=1792368000000&to=1792454400000&interval=1h"HyperCore
curl -H "Authorization: Bearer $FEMTOS_KEY" "https://api.femtos.xyz/v1/prices/history?layer=hypercore&tokens=HYPE%2CPURR%2CBTC&from=1792368000000&to=1792454400000&interval=1h"HyperEVM
curl -H "Authorization: Bearer $FEMTOS_KEY" "https://api.femtos.xyz/v1/prices/history?layer=hyperevm&tokens=0x5555555555555555555555555555555555555555%2C<evmToken>%2C0xb88339cb7199b77e23db6e890353e22632ba630f&from=1792368000000&to=1792454400000&interval=1h"Key: Authorization: Bearer $FEMTOS_KEY. Get a free key, or with no browser through agent onboarding.
Response fields
| Field | Type | Meaning |
|---|---|---|
series[] | object | {token, symbol, source, pool, market, points, reason, spam, spamReason} |
at | ms | The time asked |
prices[] | object | {token, symbol, priceUsd, source, t, block, tx, logIndex, pool, market, reason, spam, …} |
interval | string | Unit |
from | ms | First unit |
to | ms | End (exclusive) |
billing | heavy | heavy over 30 days |
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. - 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
- This page as Markdown
- The whole API reference
- What Elysium serves
- What HyperCore 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