Twitter (X) advanced search builder
Fill in the fields you need, and the builder writes the query with the operators X's own Advanced Search form uses, plus three filters the form leaves out. It runs in your browser and calls no X API.
Found a conversation worth joining? Write your post or thread in calmposts and pick when it goes out. calmposts doesn't search X. It publishes the posts you write.
Write a post in calmpostsEvery plan starts with a free trial, and nothing is published until you say so.
An example
English posts since 1 October that say "dark mode" with "launched" or "shipped", without giveaways or replies, liked at least 20 times.
"dark mode" (launched OR shipped) -giveaway lang:en since:2026-10-01 min_faves:20 -filter:replies
Operators
Checked on 29 October 2026 against X's help, docs.x.com and the code of X's Advanced Search page as archived on 11 July 2026. A - in front of any operator leaves its posts out.
| Operator | Finds posts | In the X API |
|---|---|---|
launch day | with all the words, in any order | same |
"dark mode" | with the words in this order | same |
(ios OR android) | with either word | same |
-giveaway | without the word | same |
#buildinpublic | with the hashtag | same |
from:XDevelopers | sent by the account | same |
to:XDevelopers | replying to the account | same |
@XDevelopers | mentioning the account | same |
lang:de | X classifies as that language | same |
since:2026-10-01 | sent on that day or later | start_time parameter |
until:2026-11-01 | sent before that day | end_time parameter |
min_replies:5 | with at least that many replies | same |
min_faves:100 | with at least that many likes | min_likes: |
min_retweets:20 | with at least that many reposts | min_reposts: |
filter:links | with a link | has:links |
filter:replies | that are replies | is:reply |
filter:media | with a photo, GIF or video (v1.1 docs only) | has:media |
filter:images | with a photo (v1.1 docs only) | has:images |
filter:native_video | with a video uploaded to X (v1.1 docs only) | has:video_link |
What X documents and what it doesn't
X's help lists the fields of its Advanced Search form but not the operators it writes, so the table takes them from the form's code. The three marked rows have less behind them. Only X's docs of its retired v1.1 search API list them.
Blog posts pass around many more operators. We left out those neither source lists, since nothing from X says they work today.
Search on x.com and in the X API
Searching on x.com costs nothing beyond an account. The X API charges for every post its search returns and names some operators differently, as the last column shows. X's docs warn that min_faves: and min_retweets: get an error there. Its recent search covers the last 7 days, and the full archive goes back to 2006.
What would that search cost through the API? The X API pricing calculator works it out at X's prices.
Dates count whole days
since: and until: take a day, not an hour. X's docs say the v1.1 search API counted those days in UTC, but not how x.com counts them, so leave a day of margin when the hour matters.
Twitter's v1.1 docs described until: as posts sent before that day. To include all of 31 October, end with until:2026-11-01.
When a search finds nothing
| Cause | What to do |
|---|---|
| You're logged out | Log in to x.com first. (How to use advanced search) |
| The account is protected | Only its approved followers see its posts in search. (Help with X search) |
| Safe search is on | It hides potentially sensitive posts and accounts you muted or blocked. Turn it off in X's search settings. (Search result FAQs) |
| X left the post out | X may not show every post and favours what it judges relevant, credible and safe. Drop a filter or two. (Help with X search) |
| Too many searches from one network | X limits searches per network address, which offices and conferences share. Try later or on another connection. (Search result FAQs) |
Questions about X advanced search
Why do my results differ from a colleague's?
X picks Top with an algorithm and personalizes it from your activity and the accounts you follow. Latest lists the matching posts in time order.
How far back can X search go?
X's help says advanced search finds posts from any day since the first public post, sent in March 2006.
Sources
Post on X with calmposts
calmposts publishes your posts and threads on X through X's official API, at the times you set.
See the X scheduler