The Likes Streams endpoints deliver real-time like events through persistent HTTP GET connections. These streams provide access to like activity across X, enabling you to track engagement patterns, monitor content performance, and analyze liking behavior at scale. Two streams are available:Documentation Index
Fetch the complete documentation index at: https://docs.x.com/llms.txt
Use this file to discover all available pages before exploring further.
- All Likes stream — Delivers all public like events in real time (firehose).
- Sampled Likes stream — Delivers a 10% sample of public like events.
Account setupTo access these endpoints, you will need:
- An approved developer account.
- To authenticate using the keys and tokens from a developer App that is located within a Project.
Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /2/likes/firehose/stream | Stream all like events in real time |
| GET | /2/likes/sample10/stream | Stream a 10% sample of like events |
Streaming fundamentals
Consuming streaming data
Best practices for streaming clients
Handling disconnections
Reconnect gracefully
High volume capacity
Handle high throughput
Recovery and redundancy
Build resilient applications