[Important] HTX to update futures APIs

Dear HTX Users,

To provide you with a better futures trading experience, HTX will be launching the updated V3 APIs at 12:00 (UTC) on September 2, 2022. The old APIs mentioned in this announcement will be gradually taken offline starting from 12:00 (UTC) on September 15, 2022. Please update the APIs to the latest version in advance to ensure uninterrupted operations of your system and futures trades. The specific changes are as follows:

 

1. USDⓈ-M Futures

To query orders:

● [Isolated Margin] To query past orders: [Old] /linear-swap-api/v1/swap_hisorders is changed to [New] /linear-swap-api/v3/swap_hisorders.

● [Isolated Margin] To query past orders by multiple fields: [Old] /linear-swap-api/v1/swap_hisorders_exact is changed to [New] /linear-swap-api/v3/swap_hisorders_exact.

● [Cross Margin] To query past orders: [Old] /linear-swap-api/v1/swap_cross_hisorders is changed to [New] /linear-swap-api/v3/swap_cross_hisorders.

● [Cross Margin] To query past orders by multiple fields: [Old] /linear-swap-api/v1/swap_cross_hisorders_exact is changed to [New] /linear-swap-api/v3/swap_cross_hisorders_exact.

● [General] To query liquidated orders: [Old] /linear-swap-api/v1/swap_liquidation_orders is changed to [New] /linear-swap-api/v3/swap_liquidation_orders.

To query completed trades:

● [Isolated Margin] To query completed trades: [Old] /linear-swap-api/v1/swap_matchresults is changed to [New] /linear-swap-api/v3/swap_matchresults.

● [Isolated Margin] To query completed trades by multiple fields: [Old] /linear-swap-api/v1/swap_matchresults_exact is changed to [New] /linear-swap-api/v3/swap_matchresults_exact.

● [Cross Margin] To query completed trades: [Old] /linear-swap-api/v1/swap_cross_matchresults is changed to [New] /linear-swap-api/v3/swap_cross_matchresults.

● [Cross Margin] To query completed trades by multiple fields: [Old] /linear-swap-api/v1/swap_cross_matchresults_exact is changed to [New] /linear-swap-api/v3/swap_cross_matchresults_exact.

To query financial records:

● [General] To query financial records: [Old] /linear-swap-api/v1/swap_financial_record is changed to [New] /linear-swap-api/v3/swap_financial_record.

● [General] To query financial records by multiple fields: [Old] /linear-swap-api/v1/swap_financial_record_exact is changed to [New] /linear-swap-api/v3/swap_financial_record_exact.

 

2. Coin-M Perpetual Futures

To query orders:

● To query past orders: [Old] /swap-api/v1/swap_hisorders is changed to [New]/swap-api/v3/swap_hisorders.

● To query past orders by multiple fields: [Old] /swap-api/v1/swap_hisorders_exact is changed to [New] /swap-api/v3/swap_hisorders_exact.

● To query liquidated orders: [Old] /swap-api/v1/swap_liquidation_orders is changed to [New] /swap-api/v3/swap_liquidation_orders.

To query completed trades:

● To query completed trades: [Old] /swap-api/v1/swap_matchresults is changed to [New] /swap-api/v3/swap_matchresults.

● To query completed trades by multiple fields: [Old] /swap-api/v1/swap_matchresults_exact is changed to [New] /swap-api/v3/swap_matchresults_exact.

To query financial records:

● To query financial records: [Old] /swap-api/v1/swap_financial_record is changed to [New] /swap-api/v3/swap_financial_record.

● To query financial records by multiple fields: [Old] /swap-api/v1/swap_financial_record_exact is changed to [New] /swap-api/v3/swap_financial_record_exact.

 

3. Coin-M Futures

To query orders:

● To query past orders: [Old] /api/v1/contract_hisorders is changed to [New] /api/v3/contract_hisorders.

● To query past orders by multiple fields: [Old] /api/v1/contract_hisorders_exact is changed to [New] /api/v3/contract_hisorders_exact.

● To query liquidated orders: [Old] /api/v1/contract_liquidation_orders is changed to [New] /api/v3/contract_liquidation_orders.

To query completed trades:

● To query completed trades: [Old] /api/v1/contract_matchresults is changed to [New] /api/v3/contract_matchresults.

● To query completed trades by multiple fields: [Old] /api/v1/contract_matchresults_exact is changed to /api/v3/contract_matchresults_exact.

To query financial records:

● To query financial records: [Old] /api/v1/contract_financial_record is changed to [New] /api/v3/contract_financial_record.

● To query financial records by multiple fields: [Old] /api/v1/contract_financial_record_exact is changed to [New]/api/v3/contract_financial_record_exact.

 

Thank you for your support.

 

HTX

September 2, 2022

 

Trade on the go with HTX App (iOS/Android)

Find us on

Twitter: https://twitter.com/HuobiGlobal

Facebook: https://www.facebook.com/huobiglobalofficial/

Instagram: https://www.instagram.com/huobiglobalofficial/

Reddit: https://www.reddit.com/r/HuobiGlobal/

Medium: https://huobiglobal.medium.com/

Telegram:

https://t.me/htxglobalofficial

https://t.me/HTX_Chineseofficial

https://t.me/HTXFutures_en

Discord:

https://discord.gg/htx-global

HTX reserves the right in its sole discretion to amend or change or cancel this announcement at any time and for any reasons without prior notice. The above is for information purposes only and HTX makes no recommendations or guarantees in respect of any digital asset, product, or promotion on HTX. Prices of digital assets are highly volatile and trading digital assets involves risk. Please read our Risk Reminder text here.