Please note:

We recently graduated sampled stream into Twitter API v2: Early Access and announced a 60-day deprecation window. We will retire this endpoint in mid-October 2020.

Learn more about the new sampled stream, and review our migration resources to update to The New Twitter API.

 

Overview

The sampled stream endpoint allows developers to stream about 1% of all new public Tweets as they happen. You can connect no more than one client per session, and can disconnect and reconnect no more than 50 times per 15 minute window.
 

Streaming endpoint

The streaming endpoint is a simple GET connection authenticated using a Bearer Token. Once a connection is established, Tweets are delivered in JSON format through a persistent HTTP streaming connection. 

 


 

Additional resources

Was this document helpful?

Thank you for the feedback. We’re really glad we could help!

Thank you for the feedback. How could we improve this document?

Thank you for the feedback. Your comments will help us improve our documents in the future.