Market Status methods

Used to get information about market activity for a specific pair

List of Market Status methods:

Market Status Query method

Used for one-time data get requests.

Method

state.query

Request "params" parameters

Name
Type
Description
Example

market*

STRING

Any public pair

BTC_USDT

period*

NUMERIC

Time interval (60 = 1 min, 900 = 15 min, 1800 = 30 min, 3600 = 1 h, 14400 = 4 h, 86400 = 1 d, etc)

86400

Request example

{
  "method":"state.query",
  "params":
    [
      "BTC_USDT",
      86400
    ],
  "id":1
}

Response "result" parameters

Name
Type

period

NUMERIC

last

STRING

open

STRING

close

STRING

high

STRING

low

STRING

deal

STRING

volume

STRING

change

STRING

Response example

Market Status Subscribe method

Used to subscribe to receive real-time updates.

Method

Request "prarams" paramaeters

Name
Type
Desciption
Example

market*

STRING

Any public pair

ETH_BTC

period*

NUMERIC

Time interval (60 = 1 min, 900 = 15 min, 1800 = 30 min, 3600 = 1 h, 14400 = 4 h, 86400 = 1 d, etc)

86400

Request example

Response example (successfully subscribed)

Response "result" parameters ("state.update")

Name
Type

period

NUMERIC

volume

STRING

last

STRING

open

STRING

low

STRING

close

STRING

high

STRING

deal

STRING

Response example ("state.update")

Market Status Unsubscribe method

Used to unsubscribe from the Market Status Subscribe method.

Method

Request example

Response example (successfully unsubscribed)