Skip to main content
GET
/
api
/
v3
/
jettons
/
{address}
/
ohlcv-chart
Get jetton OHLCV candlestick data
curl --request GET \
  --url https://tokens.swap.coffee/api/v3/jettons/{address}/ohlcv-chart \
  --header 'X-Api-Key: <api-key>'
{
  "candles": [
    {
      "time": "2024-01-15T10:00:00Z",
      "open": 1.234,
      "high": 1.245,
      "low": 1.221,
      "close": 1.24,
      "volume": 12345.67
    }
  ]
}

Authorizations

X-Api-Key
string
header
required

Path Parameters

address
string
required

The jetton master address

Query Parameters

interval
enum<string>
required

Candle grain (size of one candle)

Available options:
1m,
5m,
15m,
30m,
1h,
4h,
6h,
12h,
1d,
24h,
1w,
7d
limit
integer
default:70

Desired number of non-empty candles (default 70, max 1000)

Required range: 1 <= x <= 1000
before
string<date-time>

Upper bound timestamp (exclusive), default now

currency
enum<string>
default:usd

Currency for OHLC values

Available options:
usd,
ton

Response

OHLCV data

candles
object[]
required

Array of OHLC candles sorted by time ascending