Streams Tweets matching the stream's active rule set.
Request Request Example
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
curl--location--request GET 'https://api.twitter.com/2/tweets/search/stream'
Response Response Example
200 - Example 1
{"data":{"author_id":"2244994945","created_at":"Wed Jan 06 18:40:40 +0000 2021","id":"1346889436626259968","text":"Learn how to use the user Tweet timeline and user mention timeline endpoints in the Twitter API v2 to explore Tweet\\u2026 https:\\/\\/t.co\\/56a0vZUx7i"},"includes":{"media":[{"height":0,"media_key":"string","width":0,"alt_text":"string","type":"photo","url":"http://example.com"}],"places":[{"contained_within":["f7eb2fa2fea288b1"],"country":"United States","country_code":"US","full_name":"Lakewood, CO","geo":{"bbox":[-105.193475,39.60973,-105.053164,39.761974],"geometry":{"coordinates":[-105.18816086351444,40.247749999999996],"type":"Point"},"properties":{},"type":"Feature"},"id":"f7eb2fa2fea288b1","name":"Lakewood","place_type":"city"}],"polls":[{"duration_minutes":0,"end_datetime":"2019-08-24T14:15:22Z","id":"1365059861688410112","options":[{"label":"string","position":0,"votes":0},{"label":"string","position":0,"votes":0}],"voting_status":"open"}],"tweets":[{"author_id":"2244994945","created_at":"Wed Jan 06 18:40:40 +0000 2021","id":"1346889436626259968","text":"Learn how to use the user Tweet timeline and user mention timeline endpoints in the Twitter API v2 to explore Tweet\\u2026 https:\\/\\/t.co\\/56a0vZUx7i"}],"users":[{"created_at":"2013-12-14T04:35:55Z","id":"2244994945","name":"Twitter Dev","protected":false,"username":"TwitterDev"}]},"matching_rules":[{"id":"120897978112909812","tag":"string"}]}
Request
Query Params
Responses
🟢200The request was successful. Successful responses will return a stream of individual JSON Tweet payloads.