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://weex.nz/api/3/<method_name>/<pair_listing>

Currency pairs are hyphen-separated (-), e.g.:
https://weex.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://weex.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://weex.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://weex.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://weex.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://weex.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://weex.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視角解讀:國泰君安暴漲背後的加密合規新週期

    就在昨天(6月24日),香港證監會正式批准國泰君安國際提供加密資產交易服務。受此影響,其母公司港股(1788,HKG)在24小時內股價暴漲198%,成為當日市場最受矚目的標的之一。這不僅是一張紙牌照帶來的利好,更是整個亞洲虛擬資產格局的一次「制度級震盪」。這起事件釋放出強烈訊號:傳統金融巨頭正加速入局加密產業,合規交易新時代已全面展開。從2023年起,香港便加快虛擬資產監管框架搭建步伐,歷經平台牌照政策發布、穩定幣監管草案徵詢、公示透明度提升等多個階段,終於在2025年夏天,完成與傳統金融機構融合的關鍵一環——首次批准中資券商經營加密資產交易業務。 國泰君安國際股價暴漲198%,市場嗅到了什麼? 國泰君安國際的大漲不是偶然事件,而是市場對「傳統金融 x 加密產業」未來空間的正面回饋。投資人普遍看好券商介入帶來的三大變化: 有人說,這是一張改變遊戲規則的「通行證」;也有人說,這是港版MiCA(歐盟加密法規)正式進入兌現階段的標誌性事件。那麼,這紙批文背後,究竟透露出哪些市場趨勢呢?而對數位資產產業而言,這是否意味著下半年將開啟全新的合規週期?國泰君安事件不僅意味著香港金融開放的信號明確,更重要的是讓加密資產不再是“邊緣投資品”,而是逐步進入主流金融體系。 亞洲合規化潮流:不只香港在動 別忽略,這不是孤例。放眼整個亞洲,2025年以來多個國家正在加快「加密資產合法接入金融系統」的進度: 也就是說,在過去幾年歐美因FTX事件收緊監管的同時,亞洲地區卻在逐步構建出一套更清晰的“監管沙盒”,並釋放出對優質平台的牌照傾斜。 WEEX視角:合規大潮下,我們早已在路上 對WEEX唯客交易所而言,傳統金融機構的入局並不意味著威脅,反而是驗證了我們在過去幾年堅持「合規優先、全球化穩健」的路徑是正確的。WEEX交易所自2021年啟動全球合規策略以來,始終將合規性、風控能力與產品穩定性作為核心建造方向。目前,WEEX唯客交易所總部設於阿聯酋杜拜,已在亞太、拉丁美洲、歐美、中東等區域完成在地化運營,並持續關注各國監管脈絡的變動。在穩定幣支援、交易深度建設與衍生性商品優化方面,WEEX唯客交易所長期投入,確保用戶在牛熊週期中都能獲得流暢、透明、安全的交易體驗。合規的盡頭是信任,而信任的建立則需要時間和透明。 WEEX唯客始終相信,數位資產的未來,不只屬於一部分圈內人,而是屬於全球每一位普通投資者。 接下來3–6個月,值得投資者重點關注:

    2025年 6月 25日
    60
  • 企業囤幣潮再起!Metaplanet、Strategy 等巨頭加碼比特幣,總持倉逼近特斯拉|2025 最新動態

    關鍵事實:2025年6月23日,隨著地緣政治緊張局勢加劇,企業紛紛增持比特幣,比特幣鞏固了其作為首選資產的地位。日本的Metaplanet領銜增持了1,111枚比特幣,使其總持倉量達到11,111枚,接近特斯拉的11,509枚比特幣。美國Strategy公司增加了245枚比特幣,使其總持倉量達到592,100枚比特幣,價值超過640億美元。 Méliuz Bitcoin和Locate Technologies分別增持了596枚比特幣和4枚比特幣。區塊鏈集團也加入其中,以690萬歐元的價格購買了75枚比特幣,使其持倉量增加至1,728枚比特幣,年初至今的收益率為1,231.7%。 來源:Bitcoin For Corps/X 儘管地緣政治存在不確定性,企業仍囤積比特幣儲備 一些企業對比特幣作為財務資產表現出了非凡的信心,即使在地緣政治緊張局勢和市場波動加劇的情況下,它們仍於2025年6月23日星期一大幅增持了比特幣儲備。今天,「企業比特幣」社群成員宣布了大量比特幣收購,這表明企業將投資多元化到這一領先加密貨幣的趨勢強勁。 今日:企業比特幣聯盟的成員 正忙於囤積#比特幣,以充實他們的國庫儲備。 ➤Metaplanet JP:+1,111 比特幣 ➤ Meliuz:+596 比特幣 ➤ Locate Technologies:+4 比特幣 ➤ Strategy:+245 比特幣 來源 🇯🇵 Metaplanet 加碼 1,111 枚比特幣,持倉即將超越特斯拉 根據 Cointelegraph 於 2025 年 6 月 23 日披露的監管文件顯示,總部位於日本的 Metaplanet 近期購入了 1,111 枚比特幣,使其總持幣量達到 11,111 枚。此次收購價值約 172.6 億日圓(約 1.17 億美元),平均每枚比特幣的價格略低於 105,500 美元。此舉使 Metaplanet 的持幣量與特斯拉目前的 11,509 枚比特幣持幣量僅相差 398 枚。 Metaplanet 的積極進取策略使其成為第八大比特幣持有企業,超越了挖礦公司 Hut 8,並計劃在月底前超越特斯拉。 🇺🇸 Strategy 續增 245 枚比特幣,鞏固企業領先地位 總部位於維吉尼亞州的軟體公司 Strategy 是企業比特幣領域的主導者,該公司已增持 245 個比特幣。 Strategy 目前持有 592,100 個比特幣,價值超過 640 億美元。這項收購展現了其在地緣政治緊張局勢加劇(包括近期以色列和伊朗之間的飛彈交火)下的韌性。此次收購的時機,加上 STRD 優先股的發行——這是一款在納斯達克上市的比特幣支持證券,旨在融資 2.5 億美元——凸顯了 Strategy 抓住市場機會的戰略部署。該公司近期斥資 10.8 億美元收購比特幣,進一步鞏固了其在企業比特幣應用領域的領先地位。 📊 其他企業持倉動態:Méliuz、Locate Technologies 亦加碼 Méliuz 增持了 596 個比特幣,而 Locate Technologies 則增持了 4 個比特幣。這些舉措反映出,即使在市場波動的情況下,各大公司也都在努力利用比特幣來增強企業資產負債表。比特幣雜誌 (Bitcoin Magazine) 也表達了同樣的看法,並在今天早些時候的 X 文章中指出,“比特幣繼續證明其作為對沖不確定性工具的價值”,並以 Metaplanet 的最新收購為例。 🇪🇺 歐洲企業持倉上升:The Blockchain Group 入場增持 更廣泛的市場背景顯示,年初至今 (YTD) 比特幣收益率為 1,231.7%。區塊鏈集團 (The Blockchain Group) 最近以約 690 萬歐元的價格收購了 75 個比特幣,使其總持倉量達到 1,728 個比特幣,正如「企業比特幣」(Bitcoin For Corporates) 所強調的那樣。此次收購進一步增強了歐洲企業建立穩健比特幣儲備的趨勢。 展望未來:企業持幣競賽加速升溫 隨著企業持續持有比特幣,這種加密貨幣在企業財務中的作用日益凸顯。隨著 Metaplanet 盯上特斯拉的持股,以及 Strategy 不斷擴大其主導地位,未來幾週,企業比特幣持有者的排名可能會發生重大變化。 在這個不斷發展的行業中,比特幣的價值主張持續吸引企業的興趣。截至本報告撰寫之時,即2025年6月23日下午6:59(西太平洋時間),加密貨幣市場仍是投資者和企業關注的焦點,BTC價格上漲3.16%,至102,756美元。

    2025年 6月 24日
    73
  • WEEX合約將上線ERT U本位合約- 6/24 17:00(UTC 8)

    我們很高興的宣布,WEEX合約將於2025年6月24日17:00(UTC 8)上線ERT U本位合約。 合約以美元穩定幣為計價單位,支持多種槓桿,以滿足不同投資者的需求。您可以通過網頁、APP進行交易,歡迎您體驗! 新增加的幣對包括: ERT/USDT 其他信息: WEEX 手續費 風險提示: 數字資產合約交易是高風險的創新產品,需要專業知識。請您理性判斷,審慎做出交易決策。 WEEX唯客團隊 註冊WEEX唯客 >>> 在Twitter上關注WEEX >>> 加入WEEX唯客社群 >>> 更多交易機會 >>> 【收錄平台】: CoinMarketCap | CryptoWisser.com | Coingecko | Coincarp

    2025年 6月 24日
    45
  • WEEX新上線:ERC69 (Expansive Rectal Coin) 現貨即將上線!

    尊敬的WEEX用戶, 充值時間:TBD 交易時間:2025-06-23 14:00 (UTC 8) 提現時間:TBD 交易現貨鏈接: ERC69/USDT 【ERC69 (Expansive Rectal Coin) 簡介】 我們來這裡是為了拓展meme 幣的極限—— 沒有開發者轉儲,沒有VC 洩漏,只有原始的、未經審查的社區力量。 其它信息 ERC69-USDT 官網 ERC69-USDT X WEEX 手續費 感謝您對WEEX的支持! WEEX Team 立即註冊WEEX 賬戶 >>> X 社媒關注WEEX動態 >>> 加入社區 >>> 查看更多上新>>> (Supported Platforms): CoinMarketCap | 非小號feixiaohao | Cryptowisser.com

    2025年 6月 23日
    32
  • WEEX合約將上線UPTOP U本位合約- 6/23 17:05(UTC 8)

    我們很高興的宣布,WEEX合約將於2025年6月23日17:05(UTC 8)上線UPTOP U本位合約。 合約以美元穩定幣為計價單位,支持多種槓桿,以滿足不同投資者的需求。您可以通過網頁、APP進行交易,歡迎您體驗! 新增加的幣對包括: UPTOP/USDT 其他信息: WEEX 手續費 風險提示: 數字資產合約交易是高風險的創新產品,需要專業知識。請您理性判斷,審慎做出交易決策。 WEEX唯客團隊 註冊WEEX唯客 >>> 在Twitter上關注WEEX >>> 加入WEEX唯客社群 >>> 更多交易機會 >>> 【收錄平台】: CoinMarketCap | CryptoWisser.com | Coingecko | Coincarp

    2025年 6月 23日
    36
  • WEEX合約將上線DMC U本位合約- 6/24 19:10(UTC 8)

    我們很高興的宣布,WEEX合約將於2025年6月24日19:10(UTC 8)上線DMC U本位合約。 合約以美元穩定幣為計價單位,支持多種槓桿,以滿足不同投資者的需求。您可以通過網頁、APP進行交易,歡迎您體驗! 新增加的幣對包括: DMC/USDT 其他信息: WEEX 手續費 風險提示: 數字資產合約交易是高風險的創新產品,需要專業知識。請您理性判斷,審慎做出交易決策。 WEEX唯客團隊 註冊WEEX唯客 >>> 在Twitter上關注WEEX >>> 加入WEEX唯客社群 >>> 更多交易機會 >>> 【收錄平台】: CoinMarketCap | CryptoWisser.com | Coingecko | Coincarp

    2025年 6月 23日
    29
zh-TW 繁體中文
內容目錄