TweetStream

TweetStream integrations

Copy-paste code for the platforms our customers ship on most.

Every integration below uses the same authenticated WebSocket at wss://ws.tweetstream.io/ws that powers the rest of TweetStream. Pick a stack to see a working example and deployment notes.

这些指南面向生产提醒管线,而不是玩具示例。它们覆盖 API key 认证、重连行为、消息信封,以及如何把实时推文事件交给后续执行系统。对交易团队来说,这通常是机器人、Discord 频道、内部仪表盘或下游规则引擎。

如果你需要协议形态,先看 WebSocket 快速开始;然后选择最接近你部署目标的集成示例。相同载荷会在可用时包含账号数据、文本、媒体上下文、代币检测、OCR 输出和富化字段。

Python + websockets

Stream TweetStream tweets into a Python trading bot using the `websockets` package with automatic reconnects and type-safe envelope parsing.

Discord webhooks

Forward filtered TweetStream alerts into a Discord channel via webhooks — no bot user, no OAuth, no extra infrastructure.

接入实时信号流

从关键账号开始,把 X 和 Truth Social 事件路由到你的机器人、提醒和交易工作流。