Public Server Sent Events
Public SSE provides a simple way to receive real-time Twitter/X data without authentication. Data is truncated to maintain privacy.Connection Setup
Endpoint
Connection Example
Data Format
Public SSE provides truncated data to protect user privacy:Data Limitations
Public SSE includes the following restrictions:- Text: Limited to 100 characters
- Usernames: Limited to 10 characters
- Display Names: Limited to 15 characters
- No sensitive information: Email, phone numbers removed
- Rate limited: 1 event per second maximum
Event Types
Tweet Events
Status Events
Automatic Reconnection
SSE includes built-in reconnection:- Automatic retry on connection loss
- Exponential backoff (1s, 2s, 4s, 8s, 15s, 30s)
- Maximum 30 second retry interval
Usage Example
Rate Limits
- 1 event per second per connection
- Maximum 5 concurrent connections from same IP
- Automatic disconnection after 1 hour of inactivity
Use Cases
Public SSE is ideal for:- Public dashboards and displays
- Demo applications
- Testing and development
- Real-time public monitoring