Skip to main content
GET
/
market
/
apps
/
{tokenAddress}
/
candles
Get OHLCV candles for an app token
curl --request GET \
  --url https://app.elata.bio/api/market/apps/{tokenAddress}/candles \
  --header 'Authorization: Bearer <token>'
{
  "interval": "<string>",
  "candles": [
    {
      "t": "2023-11-07T05:31:56Z",
      "o": 123,
      "h": 123,
      "l": 123,
      "c": 123,
      "v": 123
    }
  ]
}
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[]