bingx-swap-ws-market

Stream real-time BingX USDT-M perpetual swap market data via WebSocket.

17|6|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/BingX-API/api-ai-skills --skill bingx-swap-ws-market
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bingx-swap-ws-market
Source: https://github.com/BingX-API/api-ai-skills/tree/main/skills/swap-ws-market
Command: npx skills add https://github.com/BingX-API/api-ai-skills --skill bingx-swap-ws-market

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides real-time WebSocket market data for BingX USDT-M perpetual swap markets, enabling developers and traders to access streaming data without manual polling.

Core Features & Use Cases

  • Real-time trades, depth, kline, ticker, last price, mark price, bookTicker, and incremental depth channels for swap markets.
  • Use cases include building live dashboards, automated trading signals, and market monitoring tools that react to streaming data.
  • Example: a trading bot subscribes to BTC-USDT@trade and BTC-USDT@depth20@500ms to drive decisions with up-to-date price and liquidity information.

Quick Start

Open a WebSocket connection to the BingX swap market endpoint and subscribe to a channel such as BTC-USDT@trade to begin streaming real-time data.

Frequently Asked Questions about bingx-swap-ws-market

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get real-time BingX swap market data via WebSocket?

To get real-time BingX swap market data via WebSocket, open a connection to the BingX USDT-M perpetual swap market endpoint and subscribe to channels like BTC-USDT@trade to start streaming live updates.

What market data channels are available for BingX USDT-M perpetual swaps?

Available channels for BingX USDT-M perpetual swaps include real-time trades, depth, kline, ticker, last price, mark price, bookTicker, and incremental depth for streaming market data.

Do I need authentication to subscribe to BingX swap WebSocket channels?

No authentication is required to subscribe to BingX swap WebSocket channels. You can directly connect and stream public market data without providing API keys or login credentials.

How does Ping/Pong keepalive work with gzip-compressed WebSocket messages?

Ping/Pong keepalive maintains the WebSocket connection by sending periodic heartbeat messages, while gzip-compressed messages reduce bandwidth by compressing the real-time market data payloads.

Can I use this WebSocket market data for building automated trading bots?

Yes, you can use this WebSocket market data for building automated trading bots, live dashboards, and monitoring tools that require streaming trades, depth, and price updates across multiple symbols.

Does the BingX swap WebSocket helper provide TypeScript support?

Yes, a TypeScript helper is provided with the BingX swap WebSocket helper to assist with channel-subscription formats, gzip-compressed messages, and Ping/Pong keepalive implementation.