Elysium · 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 |
|---|---|---|
layer | query | elysium |
tokens | query | <token> |
from | query | 1792368000000 |
to | query | 1792454400000 |
interval | query | 1m, 5m, 15m, 1h, 4h, 1d |
at | query | (optional) |
Example
curl -H "Authorization: Bearer $FEMTOS_KEY" "https://api.femtos.xyz/v1/prices/history?layer=elysium&tokens=<token>&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
- Candles GET /v1/candles
OHLCV of one pool in pair price, USD and market cap, ascending, UTC-aligned. - Forming candle WS elysium.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 elysium.trades
The swaps of one pool, one message per block that has some. - Daily token volume GET /v1/volume
USD swap volume of a token per UTC day, both sides of every priced swap. Testnet pool prices. - Token transfers GET /v1/transfers
ERC-20 Transfer events of one token, newest first. - Liquidity events GET /v1/liquidity
Liquidity added to and removed from one pool, newest first. - 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. - Token prices GET /v1/prices
USD price of up to 100 tokens in one call, each with its source and provenance. - Token candles GET /v1/candles
OHLCV of a token in USD through its reference pool, the most liquid one. - Token metadata GET /v1/tokens
Metadata of up to 100 tokens: supply, creator, logo and socials when indexed, family, spam. Also POST with a JSON body. - Token overview GET /v1/tokens/{address}
One token across all its pools: price, FDV, market cap, liquidity, windows, holders, top pools.