Gate Notification on Adjustment of Trading Record Fields (WebSocket & REST API)

2025-04-09 04:43:23 UTC
155,783 views

To provide better services, Gate plans to upgrade and adjust the REST API and WebSocket API in late May 2025. This upgrade will involve changes to certain fields. Affected customers are advised to adjust their integration strategies in advance to ensure a smooth transition.

WebSocket Channel Change Details

Affected Channels:

  • spot.trades (Market public trade push)
  • spot.trades_v2 (Market public trade push)
  • spot.usertrades (User private trade push)
  • spot.usertrades_v2 (User private trade push)

Field Adjustments:

Field Change Type New Rule Old Rule Compatibility Notes
id Logical Change Unique within the current market Globally unique The value will no longer be globally unique
id_market Logical Alignment Unique within the current market Unique within the current market Unique within the current market

REST API Change Details

Affected Endpoints:

  • GET /spot/trades
  • GET /spot/my_trades

Field Adjustments:

Field Change Type New Rule Old Rule Compatibility Notes
id Logical Change Unique within the current market Globally unique The value will no longer be globally unique
sequence_id Logical Alignment Unique within the current market Unique within the current market Unique within the current market

Thank you for your understanding and support. If you have any questions, please feel free to contact us.

Gate Team April 9, 2025 **Gateway to Crypto** Trade over 3,800 cryptocurrencies safely, quickly, and easily on Gate **Take Action Now** Sign up and claim up to $10,000 in welcome rewards Invite friends and earn a 40% commission **Stay Connected** Visit Gate's official website Download the Gate App | Desktop Follow us on X (Twitter) to get more bonuses Join our Telegram community to discuss trending topics Engage with our global community for the latest insights **Transparency & Security** Check our 100% Proof of Reserves