1322monitors/binance-square-realtime

Real-time Binance Square monitoring over WebSocket: Node and Python clients that stream new Binance Square posts with coin pairs extracted, sub-second typical, no scraping on your side. Binance Square API alternative for crypto trading signals, built on 1322.

See the code

See what people are saying

SourceMessageScoreDate

built a coin pair filter on top of a binance square websocket feed, reconnect handling is the open problem (r/coolgithubprojects)

Binance Square has no public API, and scraping felt like the wrong tool, so this is a lightweight Node filter on top of a websocket feed. No text parsing, and it took about an hour. It covers: * Runtime: Node (a Python version of the client exists too) * Input: live Binance Square posts over…

1

Oct 15, 2026

README

binance-square-realtime

License: MIT Last commit CI Built for 1322.io PRs welcome

1322 real-time feed demo

▶ The 1322 dashboard these clients stream from — API keys, WebSocket & REST endpoints, live feed.

Real-time Binance Square post monitor over WebSocket: minimal Node and Python clients that stream new Binance Square posts, with the coin pairs they mention already extracted, the moment they publish. There is no official Binance API for reading Binance Square posts in real time (the public Square endpoint is for publishing), so this is a Binance Square API alternative for crypto trading signals. It runs against the 1322 managed feed (WebSocket and REST, sub-second typical, with Discord, Telegram and webhook delivery); the client pattern is generic. Maintained by the 1322 team.

The common workarounds are browser automation or scraping the Square web app on a timer. This repo shows the alternative: a persistent WebSocket that pushes each post as it lands, so you are not polling.

What you get per event

Each message is a JSON object. Binance Square posts look like:

{
  "platform": "binance",
  "handle": "cz_binance",
  "content": "Funding rates flipping. Stay sharp.",
  "coinPairs": ["BTCUSDT", "ETHUSDT"],
  "timestamp": "2026-06-16T12:00:00Z"
}

coinPairs is extracted for you, so you can filter straight to the tickers you trade.

Python

pip install websockets
API_KEY=your-key WS_URL=wss://1322.io/your-ws-path python main.py

Node

npm install ws
API_KEY=your-key WS_URL=wss://1322.io/your-ws-path node index.js

Get an API key and your WebSocket path from the dashboard after signup (plans from $250/mo): https://1322.io/pricing

Why WebSocket instead of scraping or polling

Scraping the Square web app or polling an endpoint caps your worst-case latency at the check interval and breaks whenever the page changes. A WebSocket pushes the post the instant it is detected, which is what you want for trading, breaking-news, and alerting. More on the trade-off: https://1322.io/blog/binance-square-api-guide

Other real-time monitors in the same family:

Using Square posts as trading signals: https://1322.io/use-cases/binance-square-signals

MIT licensed.

中文

币安广场(Binance Square)没有官方的读取 API,公开的 Square 接口只能发布内容,无法监控他人帖子。常见做法是用无头浏览器定时抓取网页,速度慢且容易失效。

这个仓库提供精简的 Node 和 Python 客户端,通过 WebSocket 在帖子发布的瞬间把它推送给你,并自动解析出币种交易对(coinPairs),方便直接过滤你关注的交易对。

# Python
pip install websockets
API_KEY=你的密钥 WS_URL=wss://1322.io/你的ws路径 python main.py

示例运行在 1322 的托管数据流之上(同一个 WebSocket 还覆盖 X、Truth Social、Instagram、YouTube 和新闻),但客户端代码是通用的。

binance
binance-square
binance-square-api
coin-pairs
crypto
crypto-signals
crypto-trading
market-data
monitoring
nodejs
python
real-time
real-time-api
social-media-monitoring
trading-bot
websocket

1322monitors/binance-square-realtime

Real-time Binance Square monitoring over WebSocket: Node and Python clients that stream new Binance Square posts with coin pairs extracted, sub-second typical, no scraping on your side. Binance Square API alternative for crypto trading signals, built on 1322.

See the code

See what people are saying

SourceMessageScoreDate

built a coin pair filter on top of a binance square websocket feed, reconnect handling is the open problem (r/coolgithubprojects)

Binance Square has no public API, and scraping felt like the wrong tool, so this is a lightweight Node filter on top of a websocket feed. No text parsing, and it took about an hour. It covers: * Runtime: Node (a Python version of the client exists too) * Input: live Binance Square posts over…

1

Oct 15, 2026

README

binance-square-realtime

License: MIT Last commit CI Built for 1322.io PRs welcome

1322 real-time feed demo

▶ The 1322 dashboard these clients stream from — API keys, WebSocket & REST endpoints, live feed.

Real-time Binance Square post monitor over WebSocket: minimal Node and Python clients that stream new Binance Square posts, with the coin pairs they mention already extracted, the moment they publish. There is no official Binance API for reading Binance Square posts in real time (the public Square endpoint is for publishing), so this is a Binance Square API alternative for crypto trading signals. It runs against the 1322 managed feed (WebSocket and REST, sub-second typical, with Discord, Telegram and webhook delivery); the client pattern is generic. Maintained by the 1322 team.

The common workarounds are browser automation or scraping the Square web app on a timer. This repo shows the alternative: a persistent WebSocket that pushes each post as it lands, so you are not polling.

What you get per event

Each message is a JSON object. Binance Square posts look like:

{
  "platform": "binance",
  "handle": "cz_binance",
  "content": "Funding rates flipping. Stay sharp.",
  "coinPairs": ["BTCUSDT", "ETHUSDT"],
  "timestamp": "2026-06-16T12:00:00Z"
}

coinPairs is extracted for you, so you can filter straight to the tickers you trade.

Python

pip install websockets
API_KEY=your-key WS_URL=wss://1322.io/your-ws-path python main.py

Node

npm install ws
API_KEY=your-key WS_URL=wss://1322.io/your-ws-path node index.js

Get an API key and your WebSocket path from the dashboard after signup (plans from $250/mo): https://1322.io/pricing

Why WebSocket instead of scraping or polling

Scraping the Square web app or polling an endpoint caps your worst-case latency at the check interval and breaks whenever the page changes. A WebSocket pushes the post the instant it is detected, which is what you want for trading, breaking-news, and alerting. More on the trade-off: https://1322.io/blog/binance-square-api-guide

Other real-time monitors in the same family:

Using Square posts as trading signals: https://1322.io/use-cases/binance-square-signals

MIT licensed.

中文

币安广场(Binance Square)没有官方的读取 API,公开的 Square 接口只能发布内容,无法监控他人帖子。常见做法是用无头浏览器定时抓取网页,速度慢且容易失效。

这个仓库提供精简的 Node 和 Python 客户端,通过 WebSocket 在帖子发布的瞬间把它推送给你,并自动解析出币种交易对(coinPairs),方便直接过滤你关注的交易对。

# Python
pip install websockets
API_KEY=你的密钥 WS_URL=wss://1322.io/你的ws路径 python main.py

示例运行在 1322 的托管数据流之上(同一个 WebSocket 还覆盖 X、Truth Social、Instagram、YouTube 和新闻),但客户端代码是通用的。

binance
binance-square
binance-square-api
coin-pairs
crypto
crypto-signals
crypto-trading
market-data
monitoring
nodejs
python
real-time
real-time-api
social-media-monitoring
trading-bot
websocket