Twitter's filtered streaming endpoints
Please note:
We launched a new version of the POST statuses/filter endpoint as part of Twitter API v2: Early Access. If you are currently using the standard v1.1 version of these endpoints, you can use our migration materials to start working with the newer endpoint.
Twitter API's filtered streaming endpoints
The Twitter API platform offers three options for streaming filtered real-time Tweets. Each option offers a varying number of filters and filtering capabilities - see the below summary for more details:
API | Category | Number of filters | Filtering operators | Rule management |
---|---|---|---|---|
POST statuses/filter | Standard | 400 keywords, 5,000 userids and 25 location boxes |
Standard operators | One filter rule on one allowed connection, disconnection required to adjust rule |
PowerTrack | Enterprise | Up to 250,000 filters per stream, up to 2,048 characters each | Enterprise operators | Thousands of rules on a single connection, no disconnection needed to add/remove rules using Rules API |
Filtered stream | Twitter API v2 | Up to 25 rules, up to 512 characters each | Twitter API v2 operators | Twenty-five rules on a single connection, no disconnection needed to add/remove rules using rules endpoint |