WEEX API introduction

Welcome to WEEX API!

This is the official WEEX API document, and it will be continuously updated, please stay tuned for the latest updates.

Welcome to WEEX API!

This is the official WEEX API document, and it will be continuously updated, please stay tuned for the latest updates.

You can switch to different API business in the top menu, and switch to different language by clicking the button in the top right.

On the right side of the document are examples for request parameters and response results.

👉 WEEX Exchange API Docs

Check Server Time

Rate limit rule: 20 request/2s

HTTP Request Check server time

  • GET /api/spot/v1/public/time

Response

{
    "code": "00000",
    "msg": "success",
    "requestTime": 1622097118135,
    "data": 1622097118134
}

Coin Basic Information

Rate limit rule: 20 request/2s

HTTP Request get all coins information on the platform

  • GET /api/spot/v1/public/currencies

Response:

{
    "code":"00000",
    "msg":"success",
    "requestTime":1622097139437,
    "data":[
        {
            "coinId":"1",
            "coinName":"BTC",
            "transfer":"true",
            "chains":[
                {
                    "chain":null,
                    "needTag":"false",
                    "withdrawAble":"true",
                    "rechargeAble":"true",
                    "withdrawFee":"0.005",
                    "depositConfirm":"1",
                    "withdrawConfirm":"1",
                    "minDepositAmount":"0.001",
                    "minWithdrawAmount":"0.001",
                    "browserUrl":"https://blockchair.com/bitcoin/testnet/transaction/"
                }
            ]
        },
        {
            "coinId":"2",
            "coinName":"USDT",
            "transfer":"true",
            "chains":[
                {
                    "chain":"ERC20",
                    "needTag":"false",
                    "withdrawAble":"true",
                    "rechargeAble":"true",
                    "withdrawFee":"0.01",
                    "depositConfirm":"12",
                    "withdrawConfirm":"1",
                    "minDepositAmount":"0.1",
                    "minWithdrawAmount":"0.1",
                    "browserUrl":"https://ropsten.etherscan.io/tx/"
                }
            ]
        }
    ]
}

Response Field

FieldDescription
coinIdCurrency ID
coinNameCurrency name
transferIs it possible to transfer
chains
> chainChain name
> needTagIs tag needed
> withdrawAbleWithdrawable or not
> rechargeAbleIs it possible to deposit
> withdrawFeeWithdrawal fee
> depositConfirmDeposit no. of confirmation block
> withdrawConfirmWithdrawal no. of confirmation block
> minDepositAmountMinimum deposit Amount
> minWithdrawAmountMinimum withdrawal Amount
> browserUrlBlockchain browser url

Get All Coin Pairs Information

Rate limit rule: 20 request/1s

HTTP Request get basic configuration information of all trading pairs

  • GET /api/spot/v1/public/products

Response:

{
    "code":"00000",
    "msg":"success",
    "requestTime":1622097197283,
    "data":[
        {
            "symbol":"BTCUSDT_SPBL",
            "symbolName":"BTCUSDT",
            "baseCoin":"BTC",
            "quoteCoin":"USDT",
            "minTradeAmount":"0.0001",
            "maxTradeAmount":"10000",
            "takerFeeRate":"0.001",
            "makerFeeRate":"0.001",
            "priceScale":"4",
            "quantityScale":"8",
            "status":"online"
        },
        {
            "symbol":"EOSUSDT_SPBL",
            "symbolName":"EOSUSDT",
            "baseCoin":"EOS",
            "quoteCoin":"USDT",
            "minTradeAmount":"1",
            "maxTradeAmount":"1",
            "takerFeeRate":"1",
            "makerFeeRate":"1",
            "priceScale":"1",
            "quantityScale":"1",
            "status":"online"
        }
    ]
}

Response Field

FieldDescription
symbolCoin pair
baseCoinBase coin
quoteCoinQuote coin
minTradeAmountMinimum trade size
maxTradeAmountMaximum trade size
takerFeeRateTaker fee rate
makerFeeRateMaker fee rate
priceScalePricing scale
quantityScaleQuantity scale
statusStatus

Get Coin Pairs Information By Symbol

Rate limit rule: 20 request/1s

HTTP Request

  • GET /api/spot/v1/public/product

Request parameter

ParametersTypeRequiredDescription
symbolStringYesName of Currency pair

Response:

{
    "code":"00000",
    "msg":"success",
    "requestTime":1622097197283,
    "data":[
        {
            "symbol":"BTCUSDT_SPBL",
            "symbolName":"BTCUSDT",
            "baseCoin":"BTC",
            "quoteCoin":"USDT",
            "minTradeAmount":"0.0001",
            "maxTradeAmount":"10000",
            "takerFeeRate":"0.001",
            "makerFeeRate":"0.001",
            "priceScale":"4",
            "quantityScale":"8",
            "status":"online"
        }
    ]
}

Response Field

FieldDescription
symbolCurrency pair
baseCoinBase Currency
quoteCoinQuote Currency
minTradeAmountMinimum trade size
maxTradeAmountMaximum trade size
takerFeeRateTaker fee rate
makerFeeRateMaker fee rate
priceScalePricing scale
quantityScaleQuantity scale
statusStatus

Spot Market Data Endpoints

Get Ticker By Symbol

Rate limit rule: 20 request/1s

HTTP Request

  • GET /api/spot/v1/market/ticker

Request parameter

ParametersTypeRequiredDescription
symbolStringYesCurrency pair

Response:

{
    "code":"00000",
    "data":{
        "symbol":"BTCUSDT",
        "high24h":"34413.1",
        "low24h":"34413.1",
        "close":"34413.1",
        "quoteVol":"0",
        "baseVol":"0",
        "usdtVol":"0",
        "ts":"1625125755277"
    },
    "msg":"success",
    "requestTime":1625125756372
}

Response Field

FieldDescription
symbolCurrency pair
high24h24h highest price
closeLatest transaction price
low24h24h lowest price
quoteVolQuote Currency volume
baseVolBase Currency volume
usdtVolUSDT volume
tsSystem timestamp

Get The Latest Ticker For All Symbols

Rate limit rule: 20 request/1s

HTTP Request Get the latest ticker for all coin pairs

  • GET /api/spot/v1/market/tickers

Response:

{
    "code":"00000",
    "data":[
      {
        "symbol":"BTCUSDT",
        "high24h":"34413.1",
        "low24h":"34413.1",
        "close":"34413.1",
        "quoteVol":"0",
        "baseVol":"0",
        "usdtVol":"0",
        "ts":"1625125755277"
    }
    ]
    "msg":"success",
    "requestTime":1625125756372
}

Response Field

FieldDescription
symbolCurrency pair
high24h24h highest price
closeLatest transaction price
low24h24h lowest price
tsSystem timestamp
baseVolBase coin volume
quoteVolQuote coin volume
usdtVolUSDT volume

Recent Trades List

Rate limit rule: 20 request/1s

HTTP Request

  • GET /api/spot/v1/market/fills

Request parameter

ParametersTypeRequiredDescription
symbolStringYesCurrency pair
limitStringNoDefault 100

Response:

{
    "code":"00000",
    "msg":"success",
    "requestTime":1622097283024,
    "data":[
        {
            "symbol":"BFTUSDT_SPBL",
            "tradeId":"781698148534505473",
            "side":"buy",
            "fillPrice":"2.38735",
            "fillQuantity":"2470.6224",
            "fillTime":"1622097282536"
        },
        {
            "symbol":"BFTUSDT_SPBL",
            "tradeId":"781698140590493697",
            "side":"sell",
            "fillPrice":"2.38649",
            "fillQuantity":"3239.7976",
            "fillTime":"1622097280642"
        }
    ]
}

Response Field

FieldDescription
symbolCurrency pair
tradeIdtrade id
sideTrade direction
fillPriceTransaction price
fillQuantityTransaction quantity
fillTimeTransaction time

Kline/Candlestick Data

Rate limit rule: 20 request/1s

HTTP Request

  • GET /api/spot/v1/market/candles

Request parameter

ParametersTypeRequiredDescription
symbolStringYesCurrency pair
periodStringYesCandlestick line time unit, granularity (​​refer to the following list for values)
afterStringNoTime after
beforeStringNoTime before
limitStringNoDefault 100
Descriptiongranularity
1min60
5min300
15min900
30min1800
1h3600
4h14400
12h43200
1d86400
7d604800

Response:

{
    "code":"00000",
    "msg":"success",
    "requestTime":1622097356073,
    "data":[
        {
            "open":"2.34517",
            "high":"2.34771",
            "low":"2.34214",
            "close":"2.34555",
            "quoteVol":"189631.101357091",
            "baseVol":"80862.6823",
            "usdtVol":"189631.101357091",
            "ts":"1622091360000"
        },
        {
            "open":"2.34391",
            "high":"2.34903",
            "low":"2.34391",
            "close":"2.34608",
            "quoteVol":"167725.002115681",
            "baseVol":"71479.3205",
            "usdtVol":"167725.002115681",
            "ts":"1622091420000"
        }
    ]
}

Response Field

FieldDescription
tsSystem timestamp
openOpening price
highHighest price
lowLowest price
closeClosing price
baseVolBase Currency volume
quoteVolQuote Currency volume
usdtVolUSDT volume

Order Book

Rate limit rule: 20 request/1s

HTTP Request

  • GET /api/spot/v1/market/depth

Request parameter

ParametersTypeRequiredDescription
symbolStringYesCurrency pair
typeStringYesDefault: step0: do not merge, value: step0, step1, step2, step3, step4, step5
limitStringYesDefault 500

Response:

{
    "code":"00000",
    "msg":"success",
    "requestTime":1622102974025,
    "data":{
        "asks":[
            [
                "38084.5",
                "0.0039"
            ],
            [
                "38085.7",
                "0.0018"
            ],
            [
                "38086.7",
                "0.0310"
            ],
            [
                "38088.2",
                "0.5303"
            ]
        ],
        "bids":[
            [
                "38073.7",
                "0.4993000000000000"
            ],
            [
                "38073.4",
                "0.4500"
            ],
            [
                "38073.3",
                "0.1179"
            ],
            [
                "38071.5",
                "0.2162"
            ]
        ],
        "timestamp":"1622102974025"
    }
}

Spot Account Endpoints

Get Assets

Rate limit rule: 10 request/1s

HTTP Request

  • GET /api/spot/v1/account/assets

Response:

{
  "code":"00000",
  "message":"success",
  "data":[
    {
        "coinId":"10012",
        "coinName":"usdt",
        "available":"0",
        "frozen":"0",
        "lock":"0",
        "uTime":"1622697148"
    }
]
}

Response Field

FieldDescription
coinIdCurrency id
coinNameCurrency name
availableAvailable assets
frozenFrozen assets
lockLocked assets
uTimeUpdated time

Get Bill Record

Rate limit rule: 10 request/1s

HTTP Request

  • POST /api/spot/v1/account/bills

Request parameter

ParametersTypeRequiredDescription
coinIdIntegerNoCurrency ID
groupTypeStringNoTransaction group type
bizTypeStringNoBusiness type
afterStringNoSend in billId, the data before this billId
beforeStringNoSend in billId, the data after this billId
limitIntegerNodefault 100, Max. 500

Response:

{
  "code":"00000",
  "message":"success",
  "data":[{
      "cTime":"1622697148",
      "coinId":"22",
      "coinName":"usdt",
      "groupType":"deposit",
      "bizType":"transfer-in", 
      "quantity":"1",
      "balance": "1",
      "fees":"0",
      "billId":"1291"
}]
}

Response Field

FieldDescription
cTimeCreated time
coinIdCurrency Id
coinNameCurrency name
groupTypeTransaction group type
bizTypeBusiness type
quantityQuantity
balanceAssets before action
feesTransaction fees
billIdid

Get Transfer Record

Rate limit rule: 10 request/1s

HTTP Request

  • GET /api/spot/v1/account/transferRecords

Request parameter

ParametersTypeRequiredDescription
coinIdIntegerNoCurrency ID
fromTypeStringNoAccount Type
afterLongNoafter transfer balance
beforeLongNobefore transfer balance
limitIntegerNodefault 100, Max. 500

Response:

{
    "code":"00000",
    "data":[
        {
            "coinName":"btc",
            "status":"SUCCESS",
            "toType":"USD_MIX",
            "toSymbol":"",
            "fromType":"CONTRACT",
            "fromSymbol":"BTC/USD",
            "amount":"1000.00000000",
            "tradeTime":"1631070374488"
        }
    ],
    "msg":"success",
    "requestTime":1631608142260
}

Response Field

FieldDescription
coinNameCurrency name
statusStatus
toTypeTransfer in account type
toSymbolTransfer to account Symbol
fromTypeTransfer out account type
fromSymbolTransfer in account Symbol
amountNumber of transfers
tradeTimeTransfer time

Spot Trade Endpoints

New Order

Rate limit rule: 10 requests/1s

HTTP Request new order

  • POST /api/spot/v1/trade/orders

Request Parameter

ParametersTypeRequiredDescription
symbolStringYesSymbol:/products
sideStringYesTrade Direction
orderTypeStringYesTrade Type limit/market
forceStringYesOrder Type
priceStringNoLimit Order Price
quantityStringYesAmount
clientOrderIdStringNoClient Order ID

Response:

{
    "code":"00000",
    "msg":"success",
    "data":{
        "orderId":"1001",
        "clientOrderId":"hgXjh89AsxleMSw"
    }
}

Response Field

FieldDescription
orderIdorder id
clientOrderIdclient order id

Place Multiple Orders

Rate limit rule: 5 requests/1s

HTTP Request Place Multiple Orders

  • POST /api/spot/v1/trade/batch-orders

Request Parameter

ParametersTypeRequiredDescription
symbolStringYesSymbol: /products
orderListListYesList of Orders
  • orderList Field
ParametersTypeRequiredDescription
sideStringYesTrade Direction
orderTypeStringYesTrade Type limit/market
forceStringYesOrder Type
priceStringNoLimit Order Price
quantityStringYesAmoun
clientOrderIdStringNoClient Order ID

Response:

{
    "code":"00000",
    "msg":"success",
    "data":{
        "resultList":[
            {
                "clientOrderId":"hgXjh89AsxleMSw",
                "orderId":"1001"
            }
        ]
    }
}

Cancel Order

Rate limit rule: 10 requests/1s

HTTP Request Cancel order

  • POST /api/spot/v1/trade/cancel-order

Request Parameter

ParametersTypeRequiredDescription
symbolStringYesSymbol :/products
orderIdStringYesOrder id array

Response:

{

  "code":"00000",
   "message":"success",
   "data":"1001"

}

Cancel Multiple Orders

Rate limit rule: 10 request/1s

HTTP Request Cancel multiple orders

  • POST /api/spot/v1/trade/cancel-batch-orders

Request Parameter

ParametersTypeRequiredDescription
symbolStringYesSymbol:/products
orderIdsString[]YesOrder id array

Response:

{

  "code":"00000",
   "message":"success",
    "data":[
    "1001",
    "1002"
    ]

}   

Get Order details

Rate limit rule: 10 request/1s

HTTP Request get order details by order id or client order id

  • POST /api/spot/v1/trade/orderInfo

Request Parameter

ParametersTypeRequiredDescription
symbolStringYesSymnol:/products
orderIdStringYesOrder id
clientOrderIdStringNoCustom order id

Response:

{
  "code":"00000",
  "message":"success",
"data":[{
  "accountId":"10012",
  "symbol":"btcusdt_spbl",
  "orderId":"2222222",
  "clientOrderId":"xxxxxxx",
  "price":"34245.12",
  "quantity":"1",  
  "orderType":"limit",
  "side":"buy",
  "status":"new",
  "fillPrice":"0",
  "fillQuantity":"0",
  "fillTotalAmount":"0",
  "cTime":"1622697148"
}]
}

Response Field

FieldDescription
accountIdaccount id
symbolCurrency pair name
orderIdOrder id
clientOrderIdCustom id
priceprice
quantityOrder quantity
orderTypeOrder type
sideOrder direction
statusstatus
fillPriceTransaction price
fillQuantityTransaction quantity
fillTotalAmountTotal transcation volume
cTimeCreated time

Get Pending Orders

Rate limit rule: 10 request/1s

HTTP Request Get unfilled and partially filled uncancelled orders

  • POST /api/spot/v1/trade/open-orders

Request Parameter

ParametersTypeRequiredDescription
symbolStringYesSymbol:/products

Response:

{
  "code":"00000",
  "message":"success",
"data":[{
  "accountId":"10012",
  "symbol":"btcusdt_spbl",
  "orderId":"2222222",
  "clientOrderId":"xxxxxxx",
  "price":"34829.12",
  "quantity":"1",  
  "orderType":"limit",
  "side":"buy",
  "status":"new",
  "fillPrice":"0",
  "fillQuantity":"0",
  "fillTotalAmount":"0",
  "cTime":"1622697148"
}]
}

Response Field

FieldDescription
accountIdAccount ID
symbolCurrency pair
orderIdorder id
clientOrderIdCustom id
priceOrder price
quantityOrder quantity
orderTypeOrder type
sideOrder direction
statusstatus
fillPriceTransaction price
fillQuantityTransaction quantity
fillTotalAmountTotal transcation volume
cTimeCreated time

Get Traded Order Record

Rate limit rule: 20 request/1s

HTTP Request Get all filled and cancelled orders

  • POST /api/spot/v1/trade/history

Request Parameter

参数名TypeRequiredDescription
symbolStringYesSymbol:/products
afterStringNouse orderId, the data before this orderId desc
beforeStringNouse orderId, the data after this orderId asc
limitIntegerNodefault 100, max. is 500

Response:

{
  "code":"00000",
  "message":"success",
"data":[{
  "accountId":"10012",
  "symbol":"btcusdt_spbl",
  "orderId":"2222222",
  "clientOrderId":"xxxxxxx",
  "price":"34982.12",
  "quantity":"1",  
  "orderType":"limit",
  "side":"buy",
  "status":"new",
  "fillPrice":"34982.12",
  "fillQuantity":"1",
  "fillTotalAmount":"34982.12",
  "cTime":"1622697148"
}]
}

Response Field

FieldDescription
accountIdAccount ID
symbolCurrency pair
orderIdOrder id
clientOrderIdCustom ID
priceOrder price
quantityOrder quantity
orderTypeOrder type
sideOrder direction
statusOrder status
fillPriceTransaction price
fillQuantityTransaction quantity
fillTotalAmountTotal transcation volume
cTimeCreated time

Get Transaction Details

Rate limit rule: 20 request/1s

HTTP Request get transaction detail history

  • POST /api/spot/v1/trade/fills

Request Parameter

ParametersTypeRequiredDescription
symbolStringYesSymbol:/products
orderIdStringNoOrder ID
afterStringNouse in orderId, the data before this orderId desc
beforeStringNouse in the orderId, the data after this orderId asc
limitIntegerNodefault 100, max. 500

Response:

{
  "code":"",
  "message":"",
  "data":[{
  "accountId":"1001",
  "symbol":"btcusdt_spbl",
  "orderId":"100021",
  "fillId":"102211",
  "orderType":"limit",
  "side":"buy",
  "fillPrice":"38293.12",
  "fillQuantity":"1",
  "fillTotalAmount":"38293.12",
  "cTime":"1622697148",
  "feeCcy":"btc",
  "fees":"0.0001"
}]
}

Response Field

FieldDescription
accountIdAccount ID
symbolCurrency pair
orderIdOrder id
fillIdTransaction ID
orderTypeOrder type
sideOrder direction
fillPriceTransaction price
fillQuantityTransaction quantity
fillTotalAmountTotal transaction volume
cTimeCreatied time
feeCcyCoin for transaction fee
feesTransaction fees

Common Error Codes

Error MessageError Codehttp status code
The request header “ACCESS_KEY” cannot be empty40001400
The request header “ACCESS_SIGN” cannot be empty40002400
The request header “ACCESS_TIMESTAMP” cannot be empty40003400
Invalid ACCESS_TIMESTAMP40005400
Invalid ACCESS_KEY40006400
Invalid Content_Type,please use“application/json”format40007400
Requested timestamp expired40008400
api verification failed40009400
Request is too frequent429429
The request header “ACCESS_PASSPHRASE” cannot be empty40011400
apikey/passphrase is incorrect40012400
User has been frozen40013400
Incorrect permissions40014400
System error40015400
The user must bind a mobile phone or Google authenticator40016400
Parameter verification failed40017400
Illegal IP request40018400

Spot Error Codes

Error MessageError Codehttp status code
Batch processing orders can only process up to 5040912400
OrderId or clientId must be passed one40913400
The contract configuration does not exist, please check the parameters40102400
Server upgrade, please try again later40200400
Client_oid length is not greater than 40, and cannot be Martian characters40305400
Wrong format40409400
Only check the data of the last three months40704400
Start time is greater than end time40707400
Parameter is empty40724400
Spot service return an error40725400

Websocket Market Streams

The base API endpoint is: https://api.WEEX.com

A User Data Stream listenKey is valid for 60 minutes after creation.

Doing a PUT on a listenKey will extend its validity for 60 minutes.

Doing a DELETE on a listenKey will close the stream and invalidate the listenKey.

Websocket baseurl: wss://wbs.WEEX.com/ws

User Data Streams are accessed at /ws?listenKey=listenKey
e.g.: wss://wbs.weex.com/ws?listenKey=pqia91ma19a5s61cv6a81va65sd099v8a65a1a5s61cv6a81va65sdf19v8a65a1

A single connection is only valid for 24 hours; expect to be disconnected at the 24-hour mark.

Each UID can apply for a maximum of 60 listen keys (excluding invalid listen keys).

Each listen key can support up to 5 websocket connections (which means each UID can apply for a maximum of 60 listen keys and 300 websocket links).


Listen Key

Create a ListenKey

Response:

{
  "listenKey": "pqia91ma19a5s61cv6a81va65sdf19v8a65a1a5s61cv6a81va65sdf19v8a65a1"
}

Permission: SPOT_ACCOUNT_R

HTTP Method:
POST /api/v3/userDataStream

Start a new user data stream. The stream will close after 60 minutes unless a keepalive is sent.

Request:

  • NONE

Query All ListenKeys

Response:

{
    "listenKey": [
        "c285bc363cfeac6646576b801a2ed1f9523310fcda9e927e509aaaaaaaaaaaaaa",
        "87cb8da0fb150e36c232c2c060bc3848693312008caf3acae73bbbbbbbbbbbb",
        "dc027517ebee2328b75268461a9df4d21addfac6ebebab8f5a6cccccccccccccc"
    ]
}

Permission: SPOT_ACCOUNT_R

HTTP Method:
GET /api/v3/userDataStream

Retrieve all valid listen keys.

Request:

  • NONE

Keep-alive a ListenKey

Response:

{
    "listenKey": "pqia91ma19a5s61cv6a81va65sdf19v8a65a1a5s61cv6a81va65sdf19v8a65a1"
}

HTTP Method:
PUT /api/v3/userDataStream

Keep alive a user data stream to prevent a timeout. User data streams will close after 60 minutes. It’s recommended to send a ping every 30 minutes.

Request:

NameTypeMandatoryDescription
listenKeySTRINGYES

Close a ListenKey

Response:

{
  "listenKey": "pqia91ma19a5s61cv6a81va65sdf19v8a65a1a5s61cv6a81va65sdf19v8a65a1"
}

HTTP Method:
DELETE /api/v3/userDataStream

Close out a user data stream.


Spot Account Update

The server will push an update of the account assets when the account balance changes.

Request:

{
  "method": "SUBSCRIPTION",
  "params": [
    "spot@private.account.v3.api"
  ]
}

Response:

{
    "c": "spot@private.account.v3.api",
    "d": {
        "a": "USDT",
        "c": 1678185928428,
        "f": "302.185113007893322435",
        "fd": "-4.990689704",
        "l": "4.990689704",
        "ld": "4.990689704",
        "o": "ENTRUST_PLACE"
    },
    "t": 1678185928435
}

Request:
spot@private.account.v3.api


Response Fields:

NameTypeDescription
djsonaccount updates
> astringasset
> clongchange time
> fstringfree balance
> fdstringfree changed amount
> lstringfrozen amount
> ldstringfrozen changed amount
> ostringchanged type
tlongeventTime

Spot Account Deals

Request:

{
  "method": "SUBSCRIPTION",
  "params": [
    "spot@private.deals.v3.api"
  ]
}

Response:

{
  "c": "spot@private.deals.v3.api",
  "d": {
    "p": "1.804",
    "v": "0.31",
    "a": "0.55924",
    "S": 1,
    "T": 1678901086198,
    "t": "5bbb6ad8b4474570b155610e30d960cd",
    "c": "",
    "i": "2dd9655f9fa2438fa1709510d7c1afd9",
    "m": 0,
    "st": 0,
    "n": "0.000248206380027431",
    "N": "MX"
  },
  "s": "MXUSDT",
  "t": 1661938980285
}

Request:
spot@private.deals.v3.api


Response Fields:

NameTypeDescription
djsondealsInfo
> Sinttradetype 1:buy 2:sell
> TlongtradeTime
> cstringclientOrderId
> istringorderId
> mintisMaker
> pstringprice
> stbyteisSelfTrade
> tstringtradeId
> vstringquantity
> astringdeals amount
> nstringcommission fee
> NstringcommissionAsset
sstringsymbol
tlongeventTime

Spot Account Orders

Request:

{
  "method": "SUBSCRIPTION",
  "params": [
    "spot@private.orders.v3.api"
  ]
}

Request:
spot@private.orders.v3.api


1. Limit/Market Orders

Response:

{
  "c": "spot@private.orders.v3.api",
  "d": {
    "A": 8.0,
    "O": 1661938138000,
    "S": 1,
    "V": 10,
    "a": 8,
    "c": "",
    "i": "e03a5c7441e44ed899466a7140b71391",
    "m": 0,
    "o": 1,
    "p": 0.8,
    "s": 1,
    "v": 10,
    "ap": 0,
    "cv": 0,
    "ca": 0
  },
  "s": "MXUSDT",
  "t": 1661938138193
}

Response Fields:

NameTypeDescription
djsonorderInfo
> AbigDecimalremainAmount
> OlongcreateTime
> Sinttradetype 1:buy 2:sell
> VbigDecimalremainQuantity
> abigDecimalamount
> cstringclientOrderId
> istringorderId
> mintisMaker
> ointLIMIT_ORDER(1), POST_ONLY(2), IMMEDIATE_OR_CANCEL(3), FILL_OR_KILL(4), MARKET_ORDER(5); STOP_LIMIT(100)
> pbigDecimalprice
> sintstatus 1:New order 2:Filled 3:Partially filled 4:Order canceled 5:Order filled partially, and then the rest of the order is canceled
> vbigDecimalquantity
>

ap | bigDecimal | avgPrice |
| > cv | bigDecimal | cumulativeQuantity |
| > ca | bigDecimal | cumulativeAmount |
| t | long | eventTime |
| s | string | symbol |


2. Stop Limit Order

Response:

{
  "c": "spot@private.orders.v3.api",
  "d": {
    "N": "USDT",
    "O": 1661938853715,
    "P": 0.9,
    "S": 1,
    "T": 1,
    "i": "f6d82e5f41d745f59fe9d3cafffd80b5",
    "o": 100,
    "p": 1.01,
    "s": "NEW",
    "v": 6
  },
  "s": "MXUSDT",
  "t": 1661938853727
}

Response Fields:

NameTypeDescription
djsonorderInfo
> NstringcommissionAsset
> OlongcreateTime
> PbigDecimaltriggerPrice
> Sinttradetype 1:buy 2:sell
> Tint0: GE(price is higher than triggerPrice) 1: LE(price is lower than triggerPrice)
> istringorderId
> ointorderType LIMIT_ORDER(1), POST_ONLY(2), IMMEDIATE_OR_CANCEL(3), FILL_OR_KILL(4), MARKET_ORDER(5); STOP_LIMIT(100)
> pbigDecimalprice
> sstringstate NEW, CANCELED, EXECUTED, FAILED
> vbigDecimalquantity
sstringsymbol
tlongeventTime

WEEX唯客官網:www.weex.com

你也可以在 CMCCoingecko非小號X(Twitter)YoutubeFacebookLinkedin微博 上關注我们,第一时间获取更多投資導航和福利活動!了解平台幣 WXT 最新資訊請訪問 WXT專區

在線諮詢:

WEEX唯客中文交流群:https://t.me/weex_group

WEEX唯客英文交流群:https://t.me/Weex_Global

讚! (5)
Previous 2024年 4月 9日 上午2:15
Next 2024年 4月 17日 上午3:38

相關推薦

  • WEEX觀察:SEC聚焦金融監管與隱私,全球加密政策或迎關鍵調整

    近期,美國證券交易委員會(SEC)旗下的加密貨幣工作小組宣布,將於10月17日舉行一場以「金融監管與隱私」為核心議題的公開圓桌會議。該會議由委員 Hester Peirce 主導,是 SEC 在前主席 Gary Gensler 離任後舉行的第六場數位資產專題活動。自8月以來,SEC已展開一系列與加密產業相關的討論,並計劃在12月前完成十場圓桌會議,逐步形成系統性政策考量。 這意味著,在經歷數年的強監管與高壓執法之後,美國監管機構的立場正在出現微妙轉變:一方面,他們仍然強調金融體系的安全與透明;另一方面,也開始正視用戶隱私保護與產業發展需求之間的平衡。 政策調整訊號逐步釋放 WEEX唯客Blog從已公佈的資訊來看,SEC近期提出了兩項值得關注的舉措: 同時,SEC與商品期貨交易委員會(CFTC)在2025年以來也表現出更為克制的監管姿態,多項針對加密公司的調查與訴訟被撤銷。這種態度的轉變,反映出美國監管層正探索更成熟的市場結構,例如 24/7資本市場模式 的可能性,以及如何實現現貨與衍生性商品市場的協調監管。此外,美國國會正在審議的《負責任金融創新法案》也被外界寄予厚望。該法案預計在2026年前成為法律,進一步明確 SEC 與 CFTC 的監管邊界。如果順利落地,美國加密市場的法律框架將更加清晰,對全球市場也會產生外溢效應。 隱私與合規的長期博弈 在所有議題中,「隱私」無疑是最敏感的一環。監管機構關注的重點在於:如何確保打擊洗錢、恐怖主義融資等違法行為的同時,不至於過度侵犯一般用戶的合法隱私。這意味著像零知識證明、隱私交易工具、混幣器等技術可能會被重新審視。對於使用者而言,他們既希望資金與資料安全,也希望個人隱私不被過度收集;而對監管者而言,透明度和可追溯性則是不可讓步的底線。如何找到平衡點,將決定加密產業下一階段的發展空間。 全球市場的連鎖反應 作為全球金融的風向標,美國的政策動嚮往往會對其他司法轄區產生示範效應。歐盟、日本、新加坡等地的監管機構,也可能根據美國經驗調整本地規則。這不僅影響交易所的跨國合規成本,也關係到投資人能否享受更穩定的市場環境。因此,無論是專案方、投資機構或交易平台,都需要對這些變化保持高度關注。對使用者而言,更清晰的監管框架意味著安全與預期的提升;對於產業而言,則可能推動形成更接近國際標準的合規體系。 WEEX視角:合規與使用者體驗並重 對全球化交易所而言,合規不僅是一種責任,更是一種長期競爭力。 WEEX唯客交易所在過去幾年中,始終將風控系統建設與用戶保障放在首位,並持續關注各國監管動態,以確保平台能夠在合規框架內穩定運作。同時,WEEX唯客交易所也不斷提升用戶體驗: 從WEEX唯客Blog的角度來看,SEC即將舉行的這類討論並非單一市場事件,而是產業逐步走向 「合規化、透明化、長期化」 的關鍵節點。合規框架越清晰,使用者的信心就越強,這也為真正專注於長期發展的平台帶來更多空間。

    1天前
    22
  • WEEX亮相2025台北區塊鏈週,聚焦AI賦能與品牌全球化對話

    2025年9月4日至6日,台北區塊鏈週(Taipei Blockchain Week,簡稱TBW)在松山文創園區隆重舉行。今年大會以「Onboard AI:以AI引領加密貨幣創新」為主題,吸引了來自全球的產業領袖、知名專案方、投資機構與開發者,共同探討人工智慧與區塊鏈結合所帶來的新機會。作為今年的白銀贊助商,WEEX唯客受邀出席本次盛會,並憑藉人氣火爆的展位、COO Andrew Weiner參與的高規格圓桌,以及與本地社區的深入交流,成為全場矚目的焦點之一。 活動盛況:科技與生活的融合,亞洲產業盛事再升級 台北區塊鏈週已逐漸成長為亞洲最具影響力的區塊鏈盛會之一。本屆活動規模再創新高: AI圓桌:Andrew深入探討“頂級交易所如何部署AI” 身為白銀贊助商,WEEX不僅以品牌身分亮相,更憑藉著極高的展位人氣成為焦點: 在互動環節中,WEEX COO Andrew向社群成員分享了平台的發展歷程,以及在全球合規與使用者保護機制上的最新進展。同時,Andrew也介紹了WXT生態的未來規劃,並耐心解答了與會者的疑問。 值得一提的是,WEEX團隊也與台灣知名KOL「區塊先生」展開面對面交流,就如何透過合規和技術創新推動加密產業健康發展進行了深入探討。這不僅加深了本地社群對WEEX唯客的了解,也進一步鞏固了品牌的社群連結力。 產業趨勢:AI+區塊鏈的未來 根據活動期間的多場討論,AI與區塊鏈的結合正處於快速發展階段: 這些趨勢不僅關乎整個產業的未來走向,也為像WEEX唯客這樣的全球化平台帶來了新的發展機會。 WEEX品牌全球化與社區發展策略 透過此次活動,WEEX進一步彰顯其全球策略佈局與社區共建理念: 合規聲明:本文為WEEX圍繞台北區塊鏈週的產業交流紀要,僅為產業洞察與品牌發展方向記錄,不涉及市場促銷、功能推廣或用戶邀約。部分產品與服務可能因法域差異而不對特定地區使用者開放。 從裡約到台北,從歐洲到中東,WEEX唯客正透過持續的國際化參與,不斷加強與全球產業的對話與協作。在台北區塊鏈週這一亞洲頂級舞台上,WEEX唯客以贊助商身份亮相,憑藉思想分享、社區互動與合作拓展,再次印證了其「合規優先、用戶至上、技術驅動、社區共建」的發展策略。未來,WEEX唯客將持續深耕全球市場,以AI與區塊鏈的結合為契機,為建構更透明、更可靠、更具創新性的加密產業生態貢獻。

    3天前
    50
  • WEEX交易所團隊受邀參與多特蒙德產業交流,聚焦歐洲加密生態與未來機會

    2025年9月3日至4日,WEEX團隊受邀參與在德國多特蒙德舉行的CONF3RENCE歡迎晚會。本次交流活動匯集了來自全球的區塊鏈從業人員、投資機構、專案方與意見領袖,在輕鬆氛圍中探討產業趨勢與合作機會。 對WEEX唯客而言,這不僅是一次深入歐洲市場的交流契機,也體現了團隊持續關注國際產業動態、加強全球對話的努力。 思想分享與交流 在與與會的社群成員溝通中,WEEX唯客團隊圍繞著公司發展、市場發展趨勢及使用者需求等議題進行了分享。團隊強調了開放交流的重要性,希望透過跨區域的產業對話,推動加密生態更加透明與永續。德國是歐洲區塊鏈創新活躍的地區之一。 WEEX唯客團隊藉此機會,與來自歐洲的專案方和社區建立了聯繫,深入了解了當地市場在合規探索、用戶教育、機構興趣等方面的最新進展。部分KOL提到,隨著加密產業逐漸成熟,用戶對交易所的關注點已不僅僅停留在費率和流動性,更強調「透明度」「資金安全」和「產品易用性」。此觀點與WEEX的持續投入方向高度契合。WEEX團隊則分享了平台在使用者保護、風險控制與市場教育方面的實務經驗,並獲得了在場多位產業人士的正面回饋。透過這種雙向溝通,WEEX也收穫了關於歐洲用戶偏好和內容傳播方式的寶貴意見。 純交流定位需要特別說明的是,WEEX本次參與活動僅限於閉門交流,不涉及任何商業推廣或產品功能展示。作為一家正在進行全球化佈局的企業,WEEX將繼續以行業對話和思想分享的方式,擴展更多合作可能。 WEEX的開放姿態 作為一個持續推動全球化的交易平台,WEEX一直保持著與產業夥伴開放對話的姿態。無論是與用戶代表、KOL,或是與各類區塊鏈專案的交流,WEEX都希望透過這種多元合作,不斷提升用戶信任度,打造更完善的國際化服務生態。

    3天前
    41
  • WEEX唯客上線C2C交易平台:打造安全又方便的用戶交易體驗!

    在全球加密市場用戶需求日益多元化的背景下,WEEX唯客宣布正式上線 C2C(Customer to Customer)交易平台,率先支持越南盾(VND)與俄羅斯盧布(RUB)市場,為用戶帶來更靈活的點對點交易體驗。這項措施不僅標誌著WEEX全球化策略的進一步落地,也為用戶提供了更安全、更有效率的數位資產買賣通道。 安全與便利並重,打造零門檻體驗 與傳統撮合交易不同,C2C模式允許用戶之間自由發布買賣廣告並達成交易,價格由市場參與者自主決定,平台負責撮合與保障。在此次上線的功能中,WEEX唯客重點圍繞著 「安全」「便利」「零門檻」 三個關鍵字展開: 這一系列設計,不僅讓新用戶更容易入場,也為有經驗的交易者提供了更具彈性的買賣場景。 越南與俄羅斯率先上線,協助國際化佈局 首批上線的越南、俄羅斯市場,皆是近年來全球加密貨幣活躍度快速提升的地區: WEEX在這兩個市場率先開放C2C功能,不僅順應了使用者的真實需求,也意味著其全球化佈局的進一步加深。未來,WEEX將持續拓展更多新興市場,為全球用戶提供無國界的資產流通體驗。 用戶價值與產業意義 C2C交易平台的上線,不僅是WEEX唯客在產品層面的功能補充,更是品牌價值的延伸: 作為成立於2018年的全球化加密貨幣交易平台,WEEX始終秉持著合規、安全、創新的營運理念。這次C2C交易平台的上線,不僅拓寬了用戶的交易場景,也再次印證了其在國際化道路上的穩健步伐。隨著更多國家與地區的開放,WEEX正加速建立一個真正 全球互聯、用戶友好、安全合規 的加密交易生態。

    2025年 8月 26日
    991
  • 【上線預告】WEEX即將上線PROPS (Propbase) 現貨!

    尊敬的WEEX用戶, 【PROPS (Propbase) 簡介】 Propbase 是一個尖端的房地產通證化平台,它利用Aptos 區塊鏈的強大功能,為用戶提供一種全新且激動人心的房地產投資方式。我們的原生實用型通證PROPS 為整個生態系統提供動力,並為所有智能合約交互、房產交易費用以及Propbase DApp 上新房源的訪問提供統一的方案。 其它信息 PROPS-USDT 官網 PROPS-USDT X WEEX 手續費

    2025年 8月 25日
    860
  • 【上線預告】WEEX即將上線HELLO (HELLO Labs) 現貨!

    尊敬的WEEX用戶, 【HELLO (HELLO Labs) 簡介】 HELLO Labs 是Web3 的媒體與風險投資層,它將好萊塢級的內容、以創始人為中心的加速器以及鏈上基礎設施整合到一個強大的發布平台中。 AppleTV、Amazon Prime 和YouTube 上都有展示。 其它信息 HELLO-USDT 官網 HELLO-USDT X WEEX 手續費

    2025年 8月 25日
    874
內容目錄