Twitter Streams

Twitter Streams Reference

Monitor Twitter in real-time with two complementary approaches: account-based Stream Monitors and query-based Filter Rules. Receive new tweets via WebSocket or webhook delivery.

20+
Endpoints
2
Monitor Types
WS
Real-Time
HMAC
Signed Webhooks

How It Works

1. Create a Stream Monitor (track accounts) or Filter Rule (track search queries)
2. Our system polls Twitter at sub-second intervals
3. New tweets are deduplicated and delivered via:
   - WebSocket (real-time push, <1s latency)
   - Webhook (HMAC-SHA256 signed HTTP POST)
4. You pay per-account-per-day (monitors) or per-rule-per-day (filter rules)

Stream Monitors vs Filter Rules

AspectStream MonitorsFilter Rules
InputList of Twitter usernamesTwitter search query string
Use caseTrack specific accountsTrack keywords, hashtags, topics
PollingGlobal interval (platform-wide)Per-rule configurable interval
BillingPer-account-per-day (volume tiers)Per-rule-per-day (interval tiers)
DeliveryWebSocket + WebhookWebSocket + Webhook
DeduplicationPer-author (Redis sorted set)Per-rule (Redis sorted set)