# How to Search Multiple Keywords on X With OR

To search multiple keywords on X, separate them with uppercase OR, for example tesla OR rivian OR lucid, to get posts that contain any of the words.

[![apidojo](/blog/authors/apidojo.png)**Apidojo** *15+ years of experience in data retrieval.*](/blog/authors/apidojo/)

**7 October 2026** Published

**3 min** Read

![Cover card reading 'How to Search Multiple Keywords on X With OR'](/blog/covers/search-multiple-keywords-or.png)

**To search multiple keywords on X, separate them with uppercase OR, for example `tesla OR rivian OR lucid`, to get posts that contain any of the words.** Put the OR group in parentheses when you add other filters: `(tesla OR rivian) min_faves:100`. Lowercase `or` is searched as an ordinary word.

OR is the operator for synonyms, spelling variants and competitor lists. It sits with the other word operators in the [Twitter advanced search operators](/blog/twitter-search/advanced-search-operators/) reference. This guide is one of the techniques in [how to search tweets by keyword](/blog/twitter-search/search-tweets-by-keyword/).

## How Do You Use OR in Twitter Search?

**You use OR by typing it in capital letters between each alternative, or by entering the words in the Any of these words field of the Advanced search form.** X’s advanced search supports posts containing any of the words ([X Help Center](https://help.x.com/en/using-x/x-advanced-search)). Listed below are the 3 steps.

1.  **Type** the alternatives with uppercase OR: `coffee OR tea`.
2.  **Press** Enter.
3.  **Open** **Latest** for every match.

## Do Spaces Mean AND or OR on X?

**Spaces mean AND on X: `coffee tea` needs both words, while `coffee OR tea` needs either.** OR must be uppercase to work as an operator ([twitter-advanced-search reference](https://github.com/igorbrigadir/twitter-advanced-search)).

| Query | Returns posts with |
| --- | --- |
| coffee tea | Both words |
| coffee OR tea | Either word |
| coffee or tea | coffee, or, and tea (all three words) |
| (coffee OR tea) morning | morning, plus coffee or tea |

## Why Do You Need Parentheses With OR?

**You need parentheses so that OR applies only to the alternatives and not to the rest of the query.** `(coffee OR tea) from:username` returns that account’s posts about either drink. Without the brackets, X may read the query as coffee on its own, or tea from that account. Nested groups are covered in [how to build complex Twitter search queries](/blog/twitter-search/complex-search-queries/).

## OR Search Examples

**These OR searches cover the tasks people use multiple keywords for most.** Replace the words, handles and dates.

| Task | Query |
| --- | --- |
| Synonyms | (car OR vehicle OR automobile) |
| Spelling variants | (colour OR color) |
| Competitors | (@brand1 OR @brand2 OR @brand3) |
| Several hashtags | (#AI OR #MachineLearning) |
| Several exact phrases | ("customer service" OR "customer support") |
| Several accounts | (from:user1 OR from:user2) keyword |
| Several languages | keyword (lang:en OR lang:es) |
| Two topics in popular posts | (bitcoin OR ethereum) min_faves:1000 |

## Can You Combine OR With Exclusions?

**Yes, put the OR group first and the excluded words after it: `(jaguar OR panther) -car -football`.** The minus sign applies to each word it precedes. Exclusions are covered in [how to exclude words from Twitter search](/blog/twitter-search/exclude-words/).

## Why Does an OR Search Return the Wrong Results?

**An OR search returns the wrong results when OR is lowercase, when parentheses are missing, or when the query has too many operators.** A single query holds about 22 operators before X stops applying them (twitter-advanced-search reference). Split very long OR lists into two searches.

## How to Run Long Keyword Lists With apidojo

**When an OR list gets too long for one X search, split it into several queries in apidojo’s [Tweet Scraper V2](https://apify.com/apidojo/tweet-scraper) on Apify, and turn on `includeSearchTerms` to see which query found each post.** One run batches up to 5 queries (Apify).

```
{
  "searchTerms": [
    "(tesla OR rivian OR lucid) -filter:retweets",
    "(polestar OR nio OR byd) -filter:retweets"
  ],
  "includeSearchTerms": true,
  "sort": "Latest"
}
```

It costs $0.40 per 1,000 tweets. See [how to scrape tweets by keyword](/blog/twitter-scraping/scrape-tweets-by-keyword/) and the [apidojo Twitter Scraper](/scrapers/twitter-scraper/).

## The scrapers behind this

-   [Tweet Scraper V2 Tweets from searches, profiles, Lists and URLs; 49–64 tweets/sec; minimum 50 per query $0.40 / 1K tweets](/scrapers/twitter-scraper/)

## Questions people ask

### Does X support AND?

Yes, a space between words means AND; you don't type the word AND.

### Can you use the pipe symbol for OR?

Use uppercase OR, which is the form X documents and the form every guide in this series uses.

### Is there a limit to how many OR terms you can use?

Keep a query under about 22 operators; beyond that X may ignore parts of it.

## More on keyword search

-   [How to Search Tweets by Keyword on X (2026) How X matches keywords, and the operators for exact phrases, OR, exclusions, hashtags, cashtags, domains and languages.](/blog/twitter-search/search-tweets-by-keyword/)
-   [How to Search Tweets by Exact Phrase on X Put words in quotes to find posts with an exact phrase, use wildcards, combine phrases with OR and fix phrase searches that fail.](/blog/twitter-search/exact-phrase-search/)
-   [How to Exclude Words From Twitter Search Remove words, phrases, hashtags, accounts, replies and reposts from X search with the minus sign, and fix exclusions that fail.](/blog/twitter-search/exclude-words/)
-   [How to Search Tweets by Hashtag on X Search any hashtag on X by date, account, language or popularity, find hashtag-only posts and collect hashtag data.](/blog/twitter-search/search-by-hashtag/)
-   [How to Search Tweets by Cashtag ($TSLA, $BTC) Search stock and crypto tickers on X with cashtags, filter out promotional spam and collect ticker posts for analysis.](/blog/twitter-search/search-by-cashtag/)
-   [How to Search Tweets Linking to a Website Use url: to find every post that links to a domain or article, see who shares your content and track competitor links.](/blog/twitter-search/search-by-url-domain/)
-   [How to Search Tweets by Language on X Filter X search by language with lang: codes, use X's special codes for hashtag-only or media-only posts, and search several languages.](/blog/twitter-search/search-by-language/)
-   [Search Tweets by Likes, Reposts and Replies (min\_faves) Use min\_faves:, min\_retweets: and min\_replies: to find tweets above or below any engagement level, with worked examples.](/blog/twitter-search/search-by-engagement/)
-   [How to Find Viral Tweets About Any Topic Find viral tweets on any topic with like floors, repost filters and date windows, plus recipes for videos, threads and links.](/blog/twitter-search/find-viral-tweets/)
-   [Search Only Tweets With Images, Videos or Links The 9 X media filters for images, videos, links and news, how to combine them, and how to remove media from search results.](/blog/twitter-search/media-filters/)

![apidojo](/blog/authors/apidojo.png)

## [Apidojo](/blog/authors/apidojo/)

15+ years of experience in data retrieval.

API Dojo is always ready for you. With 15+ years of experience, data acquisition has never been that easy. Cheapest prices with high availability.

-   🏯 15+ years of experience in data retrieval.
-   💰 Cheapest prices, qualified data.
-   ⚙️ High availability, extreme maintenance.
-   🐉 Hyper communicative, excellent support.

-   [apify.com](https://apify.com/apidojo)
-   [x.com](https://x.com/apidojo_)
-   [github.com](https://github.com/apidojo-io)
