API
Rest

Rest

Rest endpoints for ELFi Protocol information. The endpoints is compatible with all chains

The base endpoint is: https://api.elfi.xyz (opens in a new tab)

Oracle Data

Tickers

Latest price for all tokens.

GET /prices/tickers

Kline/Candlestick data

Kline/candlestick bars for a symbol

GET /prices/candles

Parameters

NameTypeMandatoryDescription
tokenSymbolstringyesthe address of index token
periodstringyes1m, 5m, 15m, 1h, 4h or 1d
limitintnodefault:500