WEEX交易所API文檔 | WEEX Exchange API Docs

WEEX Public API v3

Contents

This api provides access to such information as tickers of currency pairs, active orders on different pairs, the latest trades for each pair etc.

All API requests are made from this address:
https://wex.nz/api/3/<method_name>/<pair_listing>

Currency pairs are hyphen-separated (-), e.g.:
https://wex.nz/api/3/ticker/btc_usd-btc_rur

You can use as many pairs in the listing as you wish. Duplicates are not allowed. It is also possible to use only one pair:
https://wex.nz/api/3/ticker/btc_usd
A set of pairs works with all the methods presented in the public api except info.

All information is cached every 2 seconds, so there’s no point in making more frequent requests.
All API responses have the following format JSON.

Important! API will display an error if we disable one of the pairs listed in your request. If you are not going to synchronize the state of pairs using the method info, you need to send the GET-parameter ignore_invalid equal to 1, e.g.:
https://wex.nz/api/3/ticker/btc_usd-btc_btc?ignore_invalid=1
Without the parameter ignore_invalid this request would have caused an error because of a non-existent pair.


Methods

info

This method provides all the information about currently active pairs, such as the maximum number of digits after the decimal point, the minimum price, the maximum price, the minimum transaction size, whether the pair is hidden, the commission for each pair.

Request example:

curl -X GET \
  https://wex.nz/api/3/info

Response example:

{
  "server_time": 1370814956,
  "pairs": {
    "btc_usd": {
      "decimal_places": 3,
      "min_price": 0.1,
      "max_price": 400,
      "min_amount": 0.01,
      "hidden": 0,
      "fee": 0.2
    }
    # etc
  }
}

decimal_places: number of decimals allowed during trading.
min_price: minimum price allowed during trading.
max_price: maximum price allowed during trading.
min_amount: minimum sell / buy transaction size.
hidden: whether the pair is hidden, 0 or 1.
fee: commission for this pair.

A hidden pair (hidden=1) remains active but is not displayed in the list of pairs on the main page.
The Commission is displayed for all users, it will not change even if it was reduced on your account in case of promotional pricing.
If one of the pairs is disabled, it will simply disappear from the list.


ticker

This method provides all the information about currently active pairs, such as: the maximum price, the minimum price, average price, trade volume, trade volume in currency, the last trade, Buy and Sell price.
All information is provided over the past 24 hours.

Request example:

curl -X GET \
  https://wex.nz/api/3/ticker/btc_usd

Response example:

{
  "btc_usd": {
    "high": 109.88,
    "low": 91.14,
    "avg": 100.51,
    "vol": 1632898.2249,
    "vol_cur": 16541.51969,
    "last": 101.773,
    "buy": 101.9,
    "sell": 101.773,
    "updated": 1370816308
  }
  # etc
}

high: maximum price.
low: minimum price.
avg: average price.
vol: trade volume.
vol_cur: trade volume in currency.
last: the price of the last trade.
buy: buy price.
sell: sell price.
updated: last update of cache.


depth

This method provides the information about active orders on the pair.

Additionally it accepts an optional GET-parameter limit, which indicates how many orders should be displayed (150 by default).
Is set to less than 5000.

Request example:

curl -X GET \
  https://wex.nz/api/3/depth/btc_usd

Response example:

{
  "btc_usd": {
    "asks": [
      [
        103.426,
        0.01
      ],
      [
        103.5,
        15
      ],
      [
        103.504,
        0.425
      ],
      [
        103.505,
        0.1
      ],
      # etc
    ],
    "bids": [
      [
        103.2,
        2.48502251
      ],
      [
        103.082,
        0.46540304
      ],
      [
        102.91,
        0.99007913
      ],
      [
        102.83,
        0.07832332
      ],
      # etc
    ]
  }
  # etc
}

asks: Sell orders.
bids: Buy orders.


trades

This method provides the information about the last trades.

Additionally it accepts an optional GET-parameter limit, which indicates how many orders should be displayed (150 by default).
The maximum allowable value is 5000.

Request example:

curl -X GET \
  https://wex.nz/api/3/trades/btc_usd

Response example:

{
  "btc_usd": [
    {
      "type": "ask",
      "price": 103.6,
      "amount": 0.101,
      "tid": 4861261,
      "timestamp": 1370818007
    },
    {
      "type": "bid",
      "price": 103.989,
      "amount": 1.51414,
      "tid": 4861254,
      "timestamp": 1370817960
    },
    # etc
  ]
  # etc
}

type: ask – Sell, bid – Buy.
price: Buy price/Sell price.
amount: the amount of asset bought/sold.
tid: trade ID.
timestamp: UNIX time of the trade.

WEEX唯客官網:www.weex.com

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

在線諮詢:

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

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

讚! (0)
Previous 2025年 4月 28日 下午11:49
Next 2025年 5月 7日 下午2:37

相關推薦

  • WEEX新上線:NOICE 現貨即將上線!

    尊敬的WEEX用戶, 我們很榮幸地宣布NOICE(NOICE) 即將在WEEX上線現貨交易。NOICE/USDT 的現貨交易詳情如下: 充值時間:tbd 交易時間:2025-05-23 15:00 (UTC 8) 提現時間:tbd 交易現貨鏈接: NOICE/USDT 將萬億個原子注意力單位標記化 其它信息 NOICE-USDT 官網 NOICE-USDT X WEEX 手續費 感謝您對WEEX的支持! WEEX Team 立即註冊WEEX 賬戶 >>> X 社媒關注WEEX動態 >>> 加入社區 >>> 查看更多上新>>> (Supported Platforms): CoinMarketCap | 非小號feixiaohao | Cryptowisser.com

    2小時前
    8
  • WEEX新上線:KING (CHARLES) 現貨即將上線!

    尊敬的WEEX用戶, 我們很榮幸地宣布CHARLES(KING) 即將在WEEX上線現貨交易。KING/USDT 的現貨交易詳情如下: 充值時間:tbd 交易時間:2025-05-23 12:00 (UTC 8) 提現時間:tbd 交易現貨鏈接: KING/USDT 查理王,統帥之王,人人敬仰。忠誠、秩序和力量都追隨他。 其它信息 KING-USDT 官網 KING-USDT X WEEX 手續費 感謝您對WEEX的支持! WEEX Team 立即註冊WEEX 賬戶 >>> X 社媒關注WEEX動態 >>> 加入社區 >>> 查看更多上新>>> (Supported Platforms): CoinMarketCap | 非小號feixiaohao | Cryptowisser.com

    4小時前
    8
  • 披薩節封神!比特幣衝破11萬美元,WEEX宴請用戶吃披薩共同見證歷史的一刻!

    2025 年 5 月 22 日,這不僅是比特幣社群最具傳奇色彩的紀念日「披薩節」,更是整個加密市場寫下濃墨重彩一筆的時刻——比特幣價格首度突破 11 萬美元大關,創下歷史新高! 這一天,不只是比特幣的封神日,更是全球用戶的勝利時刻。而在這波牛市浪潮中,WEEX 交易所全球的用户们也收到了来自WEEX送出的披萨!共同見證並親歷加密世界的重要歷史節點。 披薩節的神話,如今被重新書寫 2009 年,一位程式設計師用 1 萬枚比特幣購買了兩張披薩,這是加密貨幣歷史上首筆真實世界交易。自此,5 月 22 日被社群訂為「比特幣披薩節」,每年的這一天,社群都會回顧比特幣的漲跌軌跡。 而在今天,這段歷史被賦予全新的註解。比特幣不再只是技術理想主義的象徵,它已成為全球金融敘事中的關鍵角色。如今選在披薩節這一天改寫天價,彷彿冥冥之中早有安排。 📊 想知道比特幣歷年來在披薩節當天的價格與市場位置? 點擊查看我們特別整理的文章 →《當前處於牛市什麼階段?WEEX帶你回顧歷年披薩節找出答案》 為何越來越多散戶選擇 WEEX 一同見證牛市? 作為近年在全球成長迅速的交易所之一,WEEX 以「用戶友好、安全透明」逐步贏得市場認可: 這些看似「基本功」的設計,在高波動行情之下,才真正顯示出平台對散戶的關照與穩健營運能力。運能力。 WEEX × 披萨节:当比特币遇上披萨,社区变得有点甜 今年的披薩節,WEEX 面向全球社群開啟了主題活動:「#WEEXPizzaDay」線上互動計劃、社群抽獎、實體披薩贈送、等多重活動同時展開。無論你是在迪拜、新加坡,還是台北、胡志明市,都能感受到這場“全球同步”的加密節日氛圍。 截至目前,全球活動累計觸達超過10萬人次,覆蓋社群用戶遍佈亞太、東南亞、中東等地區,並收集了數百張來自用戶的「披薩與 WEEX」合照。 明年披薩節,我們再一起吃披薩! 節日有時效,但情感不會過期。這個披薩節的溫度、笑容與牛市的氣息,WEEX 社群共同記住了。 如果你錯過了今年,那就別再錯過明年。加入 WEEX,讓我們繼續走在牛市之上,乾杯,與披薩一起! WEEX 將持續為全球用戶提供穩定、高效、安全的交易環境,讓每一位散戶都能參與、分享並見證這場金融革命的紅利時刻。

    5小時前
    21
  • WEEX新上線:RWA (Allo) 現貨即將上線!

    尊敬的WEEX用戶, 我們很榮幸地宣布Allo(RWA) 即將在WEEX上線現貨交易。RWA/USDT 的現貨交易詳情如下: 充值時間:tbd 交易時間:2025-05-22 20:00 (UTC 8) 提現時間:tbd 交易現貨鏈接: RWA/USDT Allo 正在打造全球首個代幣化股票交易所,提供全天候交易、低費用和即時結算服務,以實現投資民主化。 其它信息 RWA-USDT 官網 RWA-USDT X WEEX 手續費 感謝您對WEEX的支持! WEEX Team 立即註冊WEEX 賬戶 >>> X 社媒關注WEEX動態 >>> 加入社區 >>> 查看更多上新>>> (Supported Platforms): CoinMarketCap | 非小號feixiaohao | Cryptowisser.com

    19小時前
    16
  • WEEX新上線:PAXG (PAX Gold) 現貨即將上線!

    尊敬的WEEX用戶, 我們很榮幸地宣布PAX Gold(PAXG) 即將在WEEX上線現貨交易。PAXG/USDT 的現貨交易詳情如下: 充值時間:2025-05-22 17:00 (UTC 8) 交易時間:2025-05-22 18:00 (UTC 8) 提現時間:tbd 交易現貨鏈接: PAXG/USDT Pax Gold (PAXG) 是一種黃金支持的加密貨幣,由Paxos Standard (PAX) 的創建者於2019 年9 月推出。作為在以太坊區塊鏈上運行的ERC-20 代幣,Pax Gold 可在各種交易所進行交易,並擁有成為交易者開始投資黃金的一種便捷方式。 其它信息 PAXG-USDT 官網 PAXG-USDT X WEEX 手續費 感謝您對WEEX的支持! WEEX Team 立即註冊WEEX 賬戶 >>> X 社媒關注WEEX動態 >>> 加入社區 >>> 查看更多上新>>> (Supported Platforms): CoinMarketCap | 非小號feixiaohao | Cryptowisser.com

    20小時前
    14
  • WEEX新上線:XAUT (Tether Gold) 現貨即將上線!

    尊敬的WEEX用戶, 我們很榮幸地宣布Tether Gold(XAUT) 即將在WEEX上線現貨交易。XAUT/USDT 的現貨交易詳情如下: 充值時間:2025-05-22 17:00 (UTC 8) 交易時間:2025-05-22 18:00 (UTC 8) 提現時間:tbd 交易現貨鏈接: XAUT/USDT XAU₮ 是TG Commodities Limited 提供的數字資產。 一個XAU₮ 代幣代表倫敦合格交割金條上的一金衡盎司黃金。 XAU₮ 的持有者可以獲得實物資產和數字資產的綜合收益。 其它信息 XAUT-USDT 官網 XAUT-USDT X WEEX 手續費 感謝您對WEEX的支持! WEEX Team 立即註冊WEEX 賬戶 >>> X 社媒關注WEEX動態 >>> 加入社區 >>> 查看更多上新>>> (Supported Platforms): CoinMarketCap | 非小號feixiaohao | Cryptowisser.com

    21小時前
    12
內容目錄