Skip to main content

Request message format

Subscribe / Unsubscribe

Subscribe/Unsubscribe
{
"method": "SUBSCRIBE/UNSUBSCRIBE",
"params": [
"{order}@{listenKey}",
"{trade}@{listenKey}",
"{balance}@{listenKey}",
"{position}@{listenKey}",
"{notify}@{listenKey}"
],
"id": "{id}" // user defined
}

Example: Subscribe

Subscribe Example
{
"method": "SUBSCRIBE",
"params": ["order@A246C3DF8EE532DC75007BC5D86698541678596355681"],
"id": "test1"
}