We recently released filtered stream, a set of Twitter API v2 endpoints that has similar functionality to this one. The new version is currently in development and serves adequate access for the majority of developers on our platform.
While elevated levels of access are coming to v2 soon, developers in need of higher levels of access can explore our enterprise PowerTrack API. You can see an overview of our filtered stream offerings on our filtered stream overview page, and see what's new with v2 by visiting the comparison guide.
Returns public statuses that match one or more filter predicates. Multiple parameters may be specified which allows most clients to use a single connection to the Streaming API. Both GET and POST requests are supported, but GET requests with too many parameters may cause the request to be rejected for excessive URL length. Use a POST request to avoid long URLs.
The track, follow, and locations fields should be considered to be combined with an OR operator.
track=foo&follow=1234 returns Tweets matching "foo" OR created by user 1234.
The default access level allows up to 400 track keywords, 5,000 follow userids and 25 0.1-360 degree location boxes. If you need access to more rules and filtering tools, please apply for enterprise access.
|Requires authentication?||Yes (user context only)|
|follow||optional||A comma separated list of user IDs, indicating the users to return statuses for in the stream. See follow for more information.|
|track||optional||Keywords to track. Phrases of keywords are specified by a comma-separated list. See track for more information.|
|locations||optional||Specifies a set of bounding boxes to track. See locations for more information.|
|delimited||optional||Specifies whether messages should be length-delimited. See delimited for more information.|
|stall_warnings||optional||Specifies whether stall warnings should be delivered. See stall_warnings for more information.|