Skip to main content
GET
Get OHLCV candles for an app token
Status: proposed. This endpoint is designed here but not yet implemented on app.elata.bio/api.

Authorizations

Authorization
string
header
required

SIWE-issued JWT, scoped to a wallet address. Obtain via Sign-In With Ethereum (EIP-4361) against app.elata.bio. Required for personalized Portfolio and Rewards endpoints. The sub claim is the wallet address; a request whose path {address} does not match the sub is rejected.

Path Parameters

tokenAddress
string
required

ERC-20 address of the app token.

Pattern: ^0x[a-fA-F0-9]{40}$

Query Parameters

interval
enum<string>
required
Available options:
1m,
5m,
15m,
1h,
4h,
1d
from
string<date-time>
to
string<date-time>

Response

200 - application/json

Candle series.

interval
string
candles
object[]