candleSnapshot

post
/info

Request candlestick snapshots.

Body

Request candlestick snapshots.

typeundefined · enumRequired

Type of request.

Possible values:
Responses
200

Array of candlestick data points.

application/json
post
/info
POST /info HTTP/1.1
Host: api.hyperliquid.xyz
Content-Type: application/json
Accept: */*
Content-Length: 89

{
  "type": "candleSnapshot",
  "req": {
    "coin": "text",
    "interval": "1m",
    "startTime": 1,
    "endTime": 1
  }
}
[
  {
    "t": 1,
    "T": 1,
    "s": "text",
    "i": "1m",
    "o": "text",
    "c": "text",
    "h": "text",
    "l": "text",
    "v": "text",
    "n": 1
  }
]

Last updated