Skip to main content
POST
/
info
curl --request POST \
  --url https://api.hotstuff.trade/info \
  --header 'Content-Type: application/json' \
  --data '{
    "method": "chart",
    "params": {
        "symbol": "1",
        "chart_type": "mark",
        "resolution": "1",
        "from": 1658716757,
        "to": 1758716766000
    }
}'
[
  {
    "close": 70816,
    "high": 70967,
    "low": 70816,
    "open": 70967,
    "time": 1770668100000,
    "volume": 0.21369
  },
  {
    "close": 70664,
    "high": 70816,
    "low": 70639,
    "open": 70816,
    "time": 1770668160000,
    "volume": 0.08373
  }
]
Retrieve OHLCV chart data for technical analysis and charting.
curl --request POST \
  --url https://api.hotstuff.trade/info \
  --header 'Content-Type: application/json' \
  --data '{
    "method": "chart",
    "params": {
        "symbol": "1",
        "chart_type": "mark",
        "resolution": "1",
        "from": 1658716757,
        "to": 1758716766000
    }
}'

Chart Types

TypeDescription
markMark price data
indexIndex price data
ltpLast traded price data

Resolutions

ResolutionInterval
11 minute
55 minutes
1515 minutes
3030 minutes
601 hour
2404 hours
1D1 day
1W1 week

Body

application/json
method
string
required
params
object
required

Response

Successful response

close
integer
high
integer
low
integer
open
integer
time
integer
volume
number