---
title: "Twitter Advanced Search: Every Operator, Tested | Mentio"
description: "Twitter advanced search: every X search operator, tested on Nov 22, 2026, how to search old tweets, mobile and saved searches, and search alerts."
canonical: https://mentio.dev/blog/twitter-advanced-search/
markdown: https://mentio.dev/blog/twitter-advanced-search/index.md
last-updated: 2026-11-23T20:55:42.235Z
---

# Twitter Advanced Search: Every Operator, Tested | Mentio

> Twitter advanced search: every X search operator, tested on Nov 22, 2026, how to search old tweets, mobile and saved searches, and search alerts.

Source: https://mentio.dev/blog/twitter-advanced-search/

Twitter advanced search is X’s form at [x.com/search-advanced](https://x.com/search-advanced) plus a set of operators you type straight into the search box, such as `from:`, `since:`, `min_faves:` and `-filter:replies`. The form covers about a dozen of them; the box accepts around 50. This guide lists every operator in one table, marks the ones we ran against X’s search on November 22, 2026 and what came back, and covers searching old tweets, mobile, saved searches, the logged-out wall, and how to turn a search you run every day into an alert.

Key takeaways

-   The advanced search form lives at x.com/search-advanced and needs a login: logged out, it redirects to X’s sign-in page (tested November 22, 2026).
-   We ran 40 of the 51 operators below against X’s live search on November 22, 2026: 32 returned the right posts, 8 (`near:`, `geocode:`, `source:`, `list:`, `quoted_tweet_id:`, `filter:media`, `include:nativeretweets` and `?`) returned nothing. A rerun of six on November 23 matched, except `filter:media`, which came back with 20 posts.
-   `since_time:` and `until_time:` take Unix seconds and held to the second; date-only `since:` and `until:` follow the searching account’s time zone, not UTC. Mentio’s X poller puts `since_time:` inside every query so an hourly search never re-reads a post.
-   Old tweets: `from:account since:YYYY-MM-DD until:YYYY-MM-DD` on the Latest tab reaches back to 2006. The API’s recent search only covers seven days.
-   X has no alerts for a search. A monitoring tool runs it hourly; on Mentio that is $5 per keyword per month and $0.008 per matched post.

## Where is Twitter advanced search?

On the web, two ways:

1.  Go to [x.com/search-advanced](https://x.com/search-advanced) directly.
2.  Run any search on x.com, then open the **three-dot menu** next to the search box and choose **Advanced search**.

You have to be logged in. A logged-out request to `x.com/search-advanced` answers `307` and lands on X’s sign-in page, and so does every search URL (the [logged-out guide](/blog/twitter-search-without-account/) covers what still works without an account).

The form is a front end for operators. Each field writes one into the search box, and knowing the operator lets you skip the form:

Form field

What it writes

Example

All of these words

Words separated by spaces (AND)

`pricing api`

This exact phrase

A quoted phrase

`"rate limit"`

Any of these words

Words joined by OR

`(stripe OR paddle)`

None of these words

Words with a minus

`-jobs -hiring`

These hashtags

`#tag`

`#buildinpublic`

Language

`lang:`

`lang:en`

From these accounts

`from:`

`from:Cloudflare`

To these accounts

`to:`

`to:Cloudflare`

Mentioning these accounts

`@handle`

`@Cloudflare`

Replies: include, only, exclude

`filter:replies` or `-filter:replies`

`-filter:replies`

Links: include, only, exclude

`filter:links` or `-filter:links`

`filter:links`

Minimum replies, likes, reposts

`min_replies:`, `min_faves:`, `min_retweets:`

`min_faves:100`

From date, To date

`since:` and `until:`

`since:2026-11-01 until:2026-11-15`

Everything past this table (exact timestamps, maximum engagement, media types, quotes, threads, lists, geography) exists only as typed operators.

## What are all the Twitter search operators?

This is the full reference. The **Tested** column is what happened when we ran the example against X’s live search on November 22, 2026, mostly as `cloudflare` plus the operator so the results compare, through the same search client Mentio’s X poller uses, which passes the query to X unchanged. “Works” means the 20 posts that came back all satisfied the operator; “No results” means nothing came back; “Not tested” means we did not run it, usually because it needs your own account (`filter:follows`) or an ID we did not have. Operators outside our test cite the community reference, igorbrigadir’s [twitter-advanced-search](https://github.com/igorbrigadir/twitter-advanced-search) on GitHub, which keeps notes on what has broken.

**Words and phrases**

Operator

What it finds

Example

Tested Nov 22, 2026

`word word`

Posts with both words, anywhere

`cloudflare workers`

Works

`"exact phrase"`

The words together, in order

`"cloudflare workers"`

Works

`OR`

Either word (uppercase)

`cloudflare OR fastly`

Works

`-word`, `-"phrase"`

Drops posts containing it

`cloudflare -outage`

Works

`#hashtag`

Posts with the hashtag

`#cloudflare`

Works

`$cashtag`

Posts with a ticker

`$NET`

Not tested

`"phrase * phrase"`

A wildcard inside a quoted phrase

`"this is the * time"`

Not tested

`?`

Posts that ask a question

`cloudflare ?`

No results in two runs

`url:`

Links whose URL contains a domain or word

`cloudflare url:github.com`

Works: 20 of 20 linked to github.com

`lang:`

Posts X classified in a language (ISO code)

`cloudflare lang:es`

Works: 20 of 20 in Spanish

**Accounts**

Operator

What it finds

Example

Tested Nov 22, 2026

`from:`

Posts by an account, its reposts included

`from:Cloudflare`

Works

`to:`

Replies to an account

`to:Cloudflare`

Works

`@handle`

Posts mentioning an account

`@Cloudflare -from:Cloudflare`

Works

`list:`

Posts by members of a public list (ID)

`list:715919216927322112`

No results for the list we tried

`filter:verified`

Verified accounts

`cloudflare filter:verified`

Works, but returned only paid (blue) verified accounts

`filter:blue_verified`

Accounts with paid verification

`cloudflare filter:blue_verified`

Works: same 20 posts as `filter:verified`

`filter:follows`

Only accounts you follow

`cloudflare filter:follows`

Not tested (needs your account)

**Time**

Operator

What it finds

Example

Tested Nov 22, 2026

`since:` / `until:` (date)

On or after / up to a date

`cloudflare since:2026-11-20 until:2026-11-21`

Works, in the searching account’s time zone, not UTC (see below)

`since:` / `until:` (date and time)

The same, to the second, in UTC

`since:2026-11-20_10:00:00_UTC until:2026-11-20_11:00:00_UTC`

Works: every post inside the hour

`since_time:`

At or after a Unix timestamp (seconds)

`cloudflare since_time:1795332941`

Works: nothing older than the second given

`until_time:`

Before a Unix timestamp

`cloudflare since_time:1795170941 until_time:1795174541`

Works: every post inside the hour

`since_id:` / `max_id:`

After / up to a post ID

`cloudflare since_id:2123898423791292647`

Not tested

`within_time:`

The last N days, hours, minutes or seconds

`cloudflare within_time:3h`

Works on the second try

**Engagement**

Operator

What it finds

Example

Tested Nov 22, 2026

`min_faves:`

At least N likes

`cloudflare min_faves:500`

Works: lowest was 551

`min_retweets:`

At least N reposts

`cloudflare min_retweets:100`

Works: 19 of 20 at or above 100

`min_replies:`

At least N replies

`cloudflare min_replies:50`

Works: lowest was 51

`-min_faves:` and friends

Fewer than N

`cloudflare -min_faves:2`

Works on the second try: every post had 0 or 1 like

`filter:has_engagement`

Any like, reply or repost

`cloudflare filter:has_engagement`

Works: every post had at least one

**Post type**

Operator

What it finds

Example

Tested Nov 22, 2026

`filter:replies`

Only replies

`cloudflare filter:replies`

Works

`-filter:replies`

No replies

`cloudflare -filter:replies`

Works: 20 of 20 were not replies

`filter:nativeretweets`

Only reposts

`from:Cloudflare filter:nativeretweets`

Works: 20 of 20 reposts, back to October 7

`include:nativeretweets`

Adds reposts to a search (they are left out by default)

`cloudflare include:nativeretweets`

No results in our run

`filter:quote`

Only quote posts

`cloudflare filter:quote`

Works on the second try: 20 of 20 were quotes

`quoted_tweet_id:`

Quotes of one post

`quoted_tweet_id:2123773145043603968`

No results in two runs, for a post with 32 quotes

`quoted_user_id:`

Quotes of an account’s posts (numeric user ID)

`quoted_user_id:32499999`

Works: 20 quote posts

`conversation_id:`

Every reply in a thread

`conversation_id:2123701131645718558`

Works: 20 replies from that thread

`filter:self_threads`

An author’s replies to their own posts

`from:Cloudflare filter:self_threads`

Not tested

**Links and media**

Operator

What it finds

Example

Tested Nov 22, 2026

`filter:links`

Posts with any link (media links included)

`cloudflare filter:links`

Works

`filter:mentions`

Posts that @mention anyone

`cloudflare filter:mentions`

Works

`filter:media`

Any image or video

`cloudflare filter:media`

No results on Nov 22; 20 posts in a rerun on Nov 23

`filter:images`

Images

`cloudflare filter:images`

Works on the second try

`filter:videos`

Videos, native or linked

`cloudflare filter:videos`

Works

`filter:news`

Links to news sites on X’s list

`cloudflare filter:news`

Not tested

`filter:hashtags`

Posts with any hashtag

`cloudflare filter:hashtags`

Not tested

`filter:safe`

Leaves out posts marked sensitive

`cloudflare filter:safe`

Not tested

`filter:spaces`

Spaces

`filter:spaces cloudflare`

Not tested

`card_name:`

Polls and other cards

`card_name:poll2choice_text_only`

Not tested (reported to cover only the last 7 to 8 days)

`source:`

Posts sent from a named app

`cloudflare source:twitter_for_iphone`

No results, with two spellings

**Places**

Operator

What it finds

Example

Tested Nov 22, 2026

`near:` + `within:`

Geotagged near a place

`cloudflare near:London within:50km`

No results (London, San Francisco)

`geocode:`

Geotagged within a radius of coordinates

`cloudflare geocode:51.5072,-0.1276,50km`

No results

`place:`

Tagged with a Place ID

`place:96683cc9126741d1`

Not tested

Read “No results” carefully. The search client we used sometimes came back empty for a query that worked a minute later: `filter:images`, `filter:quote`, `-min_faves:` and `within_time:` all returned nothing on the first run and the right posts on the second. So “No results” means “do not rely on it”, not “X removed it”; run the query on x.com before you build anything on it. Geotagged posts are rare since Twitter removed precise location tagging in 2019, so `near:` and `geocode:` find little even when they work.

### Why do date searches spill into the next day?

Because date-only `since:` and `until:` are read in the time zone of the account that searches, and `until:` includes the day you name. In two separate runs, `cloudflare until:2026-11-21` returned posts up to 04:59 and 07:59 UTC on November 22, which is the end of November 21 in US Eastern and US Pacific time. `from:jack until:2006-04-01` reached posts from 07:56 UTC on April 2, 2006, the last minutes of April 1 in California. When the edge matters, use the UTC form (`since:2026-11-20_10:00:00_UTC`) or `since_time:`, both of which held to the second.

A few rules apply to all of them:

-   **Spaces are AND, OR must be uppercase**, and parentheses group: `cloudflare (outage OR down) -from:Cloudflare`.
-   **No space after the colon**: `from:Cloudflare`, never `from: Cloudflare`.
-   **Time operators need company.** `since:` or `since_time:` on their own return nothing; add a word, an account or a filter.
-   **Usernames go without the @** in `from:`, `to:` and `list:`.
-   **The Top tab reorders, the Latest tab does not.** For dates and timestamps, read Latest, or the newest post may not be on the first screen.

## How precise are since\_time and until\_time?

To the second. `since_time:` and `until_time:` take Unix timestamps in seconds, where `since:` and `until:` take dates (and an optional `_HH:MM:SS_UTC` time). In our test, `cloudflare since_time:1795332941` (three hours before the test) returned only posts from after that instant.

That precision is what makes them the right tool for anything automated. Mentio’s X poller uses it: each hourly search carries `since_time:` set to the last post it ingested, inside the query itself, like this:

```
"your product" -is:retweet since_time:1795332941
```

The data provider’s own date field only understands whole days, so without the operator every hourly poll would re-read the whole day’s posts. With it, a poll reads only what is new, to the second. Get the current timestamp with `date +%s` in a terminal, or `Math.floor(Date.now() / 1000)` in JavaScript.

## How do you search old tweets on X?

X’s search reaches back to the first posts of 2006 for logged-in users. Three patterns cover most needs:

```
from:nasa since:2015-01-01 until:2015-02-01
"rate limited" from:github until:2020-01-01
cloudflare since:2019-07-02 until:2019-07-03 min_faves:100
```

-   **Use the Latest tab.** Top shows a handful of popular posts; Latest lists everything in the window, newest first.
-   **Walk backwards with `until:`.** X loads a limited number of results per scroll. To read an account’s whole history, take the date of the oldest post you reached and run the search again with `until:` set to it.
-   **Mind the time zone.** A date-only `until:` ran through the end of the named day in the searching account’s time zone in our test (see [why dates spill over](#why-do-date-searches-spill-into-the-next-day)); add `_HH:MM:SS_UTC` for an exact edge.
-   **Deleted and protected posts never appear.** Nor do posts from suspended accounts.

Through the X API it is different: the recent search endpoint covers the last seven days only, and older posts need the full-archive endpoint (see [X API pricing](/blog/x-api-pricing/) for what each costs).

## How do you use X advanced search on mobile?

The X apps for iPhone and Android have no advanced search form, but they use the same search engine, so the operators work exactly as on the web:

1.  Tap the search icon.
2.  Type the whole query, operators included: `"your product" min_faves:5 -filter:replies lang:en`.
3.  Run it and switch to the **Latest** tab.

If you prefer the form, open x.com/search-advanced in the phone’s browser while logged in.

![](https://i.ytimg.com/vi/9UW_zZFQnQU/hq720.jpg)[](https://www.youtube.com/watch?v=9UW_zZFQnQU)

A walkthrough of the form, field by field. The operators above are what each field writes. [Watch on YouTube](https://www.youtube.com/watch?v=9UW_zZFQnQU)

## How do you save a Twitter search?

1.  Run the search on x.com.
2.  Open the **three-dot menu** next to the search box.
3.  Choose **Save search**.

Saved searches appear in a list when you tap the empty search box, on the web and in the apps, and they keep their operators. What they do not do is notify you: X never tells you when a saved search has new results. You have to open it.

X Pro (the old TweetDeck, behind an X Premium subscription) can show a search as a live column, which is closer to monitoring, but you still have to be looking at it.

## Are X API search operators the same?

No, and this trips up anyone who moves a query from the search box into code. The X API v2 has its own syntax, documented in [Build a query](https://docs.x.com/x-api/posts/search/integrate/build-a-query):

What you want

Search box (web and apps)

X API v2 query

Only posts with links

`filter:links`

`has:links`

Only posts with media

`filter:media`

`has:media`

Drop replies

`-filter:replies`

`-is:reply`

Drop reposts

Excluded by default (`include:nativeretweets` adds them)

`-is:retweet`

Minimum likes

`min_faves:100`

Not available: filter the `public_metrics` yourself

Time window

`since:`, `until:`, `since_time:`, `until_time:`

The `start_time` and `end_time` request parameters

Query length

Not published

512 characters on self-serve recent search, 1,024 on full archive

## How do you turn a Twitter search into an alert?

X has no alerts for searches, and a saved search waits for you to open it. If you run the same search every morning, a monitoring tool can run it every hour instead and send you only the new posts that matter.

Mentio is the paid developer option. A Mentio keyword is a search that runs on its own:

-   **Your query, as a keyword.** Write it as one boolean query, `"acme cloud" AND (pricing OR price*) -jobs`, and Mentio compiles it into the keyword’s term, required words and excluded words. Restrict the keyword to X if X is all you want.
-   **Searched once an hour**, in batches of up to 20 keywords a run, through the official X API where it is enabled and a licensed data provider otherwise, with `since_time:` inside every query so nothing is read twice. Retweets are left out; replies are kept, with the post they answer.
-   **Required words go to X too.** When every keyword behind a term requires certain words, the search itself is narrowed to `"term" (a OR #a OR b)`, so X returns fewer posts that would be dropped anyway.
-   **Every match scored** by an AI judge for relevance, sentiment and intent (`buy_intent`, `question`, `complaint`, `praise`, `comparison`), so an alert rule can say “only complaints” or “only relevance above 70”.
-   **Delivered** to Slack, email, Telegram, webhooks, the REST API, or Claude, Cursor and Codex over MCP.

Turn your search into an alert

Paste your search as a keyword restricted to X. The $5.80 welcome credit covers a month of it plus 100 mentions, no card. Up to ten matching posts from the last 30 days arrive at once, then new ones every hour.

claude mcp add --transport http mentio https://mcp.mentio.dev/mcp

[Start free](https://app.mentio.dev/login?mode=signup&utm_source=blog&utm_medium=post&utm_campaign=twitter-advanced-search)[Read the docs](https://docs.mentio.dev/mcp)

Here is the same keyword created through the API:

```
curl -X POST https://api.mentio.dev/v1/keywords \
  -H "Authorization: Bearer $MENTIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "\"acme cloud\" AND (pricing OR price*) -jobs", "platforms": ["x"]}'
```

The [X monitoring page](/x/) covers the alerts, the [X MCP server page](/x-mcp/) the agent side, and the [Twitter keyword alerts guide](/blog/twitter-keyword-alerts/) compares the other tools that do this. It costs $5 per keyword per month and $0.008 per matched post ([pricing](/pricing/)).

Operators that do not carry over

An alert matches words, not engagement. Leave `min_faves:` and `filter:` operators in X’s search box; in Mentio, use an alert rule’s relevance and intent filters to cut the noise instead, since a post with no likes yet can be the one that matters.

The operators and results above were tested on November 22, 2026. Six of them (`min_faves:`, `lang:`, `url:`, `near:`, `source:` and `filter:media`) were run again on November 23 through the same client: the first three still worked (the lowest like count was 541, all 20 posts were in Spanish), `near:` and `source:` still returned nothing, and `filter:media` had started working. X changes its search without announcing it, so treat any single run as a snapshot.

## Frequently asked questions

What are the most useful Twitter search operators?

from:user (posts by an account), to:user (replies to it), "exact phrase", -word to exclude, OR, since:YYYY-MM-DD and until:YYYY-MM-DD for dates, since\_time: and until\_time: for exact Unix timestamps, min\_faves:, min\_retweets: and min\_replies: for engagement, lang:xx, filter:links, and -filter:replies to drop replies. All of these returned matching posts in our test on November 22, 2026.

How do I get alerts for a Twitter search?

X has no alerts for searches. A monitoring tool runs the query for you: Mentio searches X for each keyword once an hour, applies required and excluded words like AND and -word, scores each post for relevance, sentiment and intent, and sends the ones that matter to Slack, email, Telegram, a webhook or your agent over MCP. It costs $5 per keyword per month and $0.008 per matched post.

Where this applies

-   [X (Twitter) monitoringTurn a search into an hourly alert, scored by AI.](/x/)
-   [X MCP serverSearch X mentions from Claude, Cursor or Codex.](/x-mcp/)
-   [Twitter search without an accountWhat still works when you are logged out.](/blog/twitter-search-without-account/)
-   [Twitter keyword alertsEvery way left to be told when someone posts a word on X.](/blog/twitter-keyword-alerts/)

Written by Pau Guirao, founder of Mentio. Prices and product facts were checked on November 23, 2026; if one has changed, [tell us](/contact/) and we will fix it.

## Related posts

[![](/blog/twitter-search-without-account/cover.png)](/blog/twitter-search-without-account/)

Nov 22, 2026

## [Twitter search without an account: what still works in November 2026](/blog/twitter-search-without-account/)

X sends logged-out search to a login wall and XCancel and Nitter are down. What still works to search and view Twitter without an account, tested November 22, 2026.

-   [Playbooks](/blog/tag/playbooks/)
-   [X](/blog/tag/x/)
-   [Search](/blog/tag/search/)

[![](/blog/x-api-pricing/cover.png)](/blog/x-api-pricing/)

Oct 1, 2026

## [X API pricing in 2026: what every read and post costs](/blog/x-api-pricing/)

The X API is pay per use: $0.005 per post read, $0.010 per user read, $0.015 per post created and a 3 million read monthly cap. What that means for a bot, a dashboard and a keyword monitor, with the costs worked out.

-   [Platforms](/blog/tag/platforms/)
-   [X](/blog/tag/x/)
-   [APIs](/blog/tag/apis/)

[![](/blog/twitter-keyword-alerts/cover.png)](/blog/twitter-keyword-alerts/)

Sep 14, 2026

## [Twitter keyword alerts: every way to get them on X](/blog/twitter-keyword-alerts/)

X has no keyword alerts of its own, X Pro now needs Premium+, the API bills per post read and the free mirrors are gone. Every way left to get notified when someone tweets a keyword, what each costs on November 22, 2026, and a five-minute setup.

-   [Platforms](/blog/tag/platforms/)
-   [X](/blog/tag/x/)
-   [Alerts](/blog/tag/alerts/)

## Start monitoring brand mentions

One request tracks your first keyword. The first scored mention lands within minutes, in Slack, a webhook, or your agent.

[Get your API key ›](https://app.mentio.dev/login?mode=signup)[Read the docs ›](https://docs.mentio.dev)

$5.80 free credit · no card · no subscription
