You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use engagement operators to filter Posts by minimum likes, replies, or reposts. These operators are available on the /2/tweets/search/recent and /2/tweets/search/all endpoints.
Operator
Type
Summary
Example
min_likes:
Conjunction required
Matches Posts with at least the specified number of likes
from:XDevelopers min_likes:100
min_replies:
Conjunction required
Matches Posts with at least the specified number of replies
#announcement min_replies:50
min_reposts:
Conjunction required
Matches Posts with at least the specified number of reposts
lang:en min_reposts:25
Combine engagement operators to surface high-signal Posts. For example, `from:XDevelopers min_likes:100 min_reposts:25` returns Posts from `@XDevelopers` with at least 100 likes and 25 reposts.
Logical Operators
Operator
Summary
Example
OR
Logical OR between expressions
cat OR dog
Space (AND)
Logical AND between expressions
cat dog (both required)
()
Grouping for complex expressions
(cat OR dog) -is:retweet
-
Negation/exclusion
cat -grumpy
Supported Languages
The lang: operator supports these BCP 47 language codes:
Language
Code
Language
Code
Language
Code
Amharic
am
Greek
el
Portuguese
pt
Arabic
ar
Gujarati
gu
Romanian
ro
Armenian
hy
Hebrew
iw
Russian
ru
Basque
eu
Hindi
hi
Serbian
sr
Bengali
bn
Hungarian
hu
Simplified Chinese
zh-CN
Bulgarian
bg
Indonesian
in
Slovak
sk
Catalan
ca
Italian
it
Slovenian
sl
Croatian
hr
Japanese
ja
Spanish
es
Czech
cs
Kannada
kn
Swedish
sv
Danish
da
Korean
ko
Tamil
ta
Dutch
nl
Latvian
lv
Telugu
te
English
en
Lithuanian
lt
Thai
th
Estonian
et
Malayalam
ml
Traditional Chinese
zh-TW
Finnish
fi
Marathi
mr
Turkish
tr
French
fr
Norwegian
no
Ukrainian
uk
German
de
Persian
fa
Urdu
ur
Georgian
ka
Polish
pl
Vietnamese
vi
Query limitations
Access level
Recent search
Full-archive search
Self-serve
512 characters
1,024 characters
Enterprise
4,096 characters
4,096 characters
Next steps
Learn query syntax and best practices
Get started with Search
Build and test queries interactively