(opens in a new tab)DiscordDiscord (opens in a new tab)
  • Introduction
    • Overview
    • ELP Design
    • Supply Liquidity
    • Mint ELFi Token
    • Burn ELFi Token
    • Overview
    • Margin Mode
    • Collateral Backed by Cross Margin
    • Trading Assets
    • How to Trade
    • How to Manage Positions
    • How to Close a Position
    • How to TP and SL
    • Trading Fees
    • Funding Fees
    • Overview
    • Withdrawal Limit
    • Redeem Limit
    • Official
    • Report
    • Overview
    • Rest
    • Contracts
    • Tokens
    • SDK
    • About Degen
    • What is the difference between ELFi isolated and cross?
    • How is the market price on ELFi generated?
    • What collateral is used for long and short trades?
    • Can I go long and short on the same contract simultaneously?
    • What types of orders can I use to trade?
    • What is liability?
    • How does liability affect me?
    • How do I repay my liability?
    • Term And Conditions
    • 500% APR Boosting Event

On This Page

  • Oracle Data
  • Tickers
  • Kline/Candlestick data
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
OverviewContracts