SYSTEM NOTICE

Auto translation by AI. Be sure, accuracy, nuances and authorial intent may not be fully reflected.
見出し画像

Complete X research in seconds | Tips and tricks for searching trending posts with Grok

Hello.
When researching trends, the most tedious part is checking whether that information is actually trending right now, I'm Lapis.

Even when searching on SNS, outdated information comes up, or you can't tell what's trending...

Before you know it, 30 minutes or an hour has passed just on research.
*In Lapis's case, it's because I start looking at AI art halfway through


At times like that, Grok told me, "You can search X information by specifying keywords and dates." so I learned.

This time, I will introduce how to gather X information at lightning speed by specifying keywords and dates using Grok.



1. What is Grok?

First of all, I've summarized what Grok is roughly.

Grok is a large language model (LLM)-based conversational AI developed under the leadership of Elon Musk, who leads xAI.

It integrates with X (formerly Twitter), and its major feature is that it can perform text generation, answer questions, and provide coding assistance while referencing posts and web information in real-time.



2. If you search normally, information other than X will be mixed in

Although Grok is integrated with X, if you just enter the keywords you want to search for, the search results will be returned including information other than X.

For example, when I searched for "recommended Yukimi Daifuku for Christmas", X posts were not picked up.

Santa Yukimi Daifuku!? I want to eat it 🤤



3. Target only X information with Grok

On the other hand, if you explicitly instruct Grok to 'search on X', you can limit the information source to only X posts.

This is convenient when you want to know real-time trends or when you want to streamline your research.

Regarding the "Christmas x Yukimi Daifuku" topic I just looked into, here are the results of having Grok search only for X posts.
*I will introduce the prompt in detail later.

Intentionally requesting a search for only X posts
The source was perfectly returned as only X posts

As a result of the search, the "Yukimi Daifuku" posts on X are here.

Source: From Lotte Co., Ltd. PR-TIMES

Isn't this the only thing that wins for New Year's!?
I'm going to go see if they're selling it at a nearby convenience store.



4. How to search only for X posts

There seem to be two main ways to search only for X posts.

I will introduce the two methods, their specific prompts, and the actual search results together.


① Keyword search

Keyword search (x_keyword_search) is a search method that looks for posts that contain the specified words "literally".

For example, if you search for "Hatsumode," posts containing the word "Hatsumode" will be searched.

The X posts were picked up reliably

The specific way to do it is just to instruct it to search with the premise of "X," such as "search on X".


However, if you are going to do research anyway, you want to pick up "latest information" or "information from reliable sources".

In that case, you can narrow down the information by using a prompt like the one below.

[Example of content you want to search]
I want to search for posts that have been searched for "AI or machine learning" after 2025/12/24 and have 50 or more retweets.

[Specific Prompt]

Search X with (AI OR Machine Learning) filter:news min_retweets:50 since:2025-12-24 to find

Here is what the prompt means.

  • (AI OR Machine Learning)
    You can group multiple keywords together using OR conditions.
    Without parentheses, the priority order breaks, so they are essential when searching for multiple keywords.

  • filter:news
    Extracts only posts with articles from reliable media, similar to what appears in the 'News' tab on X. Extremely useful for grasping trends.

  • min_retweets:50
    Only posts with 50 or more retweets.
    The higher the number, the more you can narrow it down to posts that are 'truly trending'.

  • since:2025-12-24
    Only new posts 'from' the specified date.
    If today is 2025/12/25, specifying 2025-12-24 targets posts from yesterday onwards.

Try replacing the parts in () with your favorite words and use it.
*Don't forget to enclose multiple keywords in ()!

Search X with (Favorite Keywords) filter:news min_retweets:(Minimum Retweet Count) since:(Start Search Date) to find


Here is the search result after actually entering the prompt.
I was able to look up buzzing posts in seconds.

It also told me the number of retweets



2. Semantic Search

Semantic search (x_semantic_search) is a method to understand the 'meaning' or 'context' of a post to find highly relevant posts.

You can search for the information you want to know even in posts that don't contain the keywords.

For the specific method, 'Semantic search' just add those words.


However, you still want to 'pick up the latest information'.

In that case, you can pick up the latest information by searching like this.

[Example of what you want to search]
I want to search for posts about 'masterpiece anime that will make you cry' from 2025/10/01 onwards.

[Specific prompt]

Semantic search for impressions or tear-jerking scenes of masterpiece anime that make you cry from the 2025 fall or winter season, semantic search, from_date:2025-10-01, limit:20

The meaning of the prompt is something like this.

  • from_date:2025-10-01
    Including from_date makes it harder for old information to get mixed in. Example: 2025-10-01 → From 10/1 onwards


  • limit:20
    Limit on the number of search results. Set limit:20-30 when you 'want lots of information!', or limit:5-10 if you 'just want a rough idea'.


Replace the parts in () with your preferred words and try using it. *If you don't enter a maximum number, it seems it will search for about 10 items.

(Information you want to look up) semantic search, from_date:(Search start date), limit:(Maximum search count)


This is what the search results look like after actually entering the prompt.
It even told me specifically what kind of comments there were.

It was an anime I didn't know, so I think I'll watch it over the New Year holidays.
It perfectly picked up the X posts.



5. Experiment | What happens when there are no matching posts?

I was curious about 'what happens if there are no posts even after searching?', so I tried an experiment while I was at it.

From 2025/12/24 onwards I looked up hilarious Valentine's Day episodes posted. (At time of search: late December 2025)

[Specific prompt]

Semantic search for hilarious Valentine's Day episodes where homemade chocolate failed and became super spicy or a mess, from_date:2025-12-24, limit:20

Grok replied properly saying 'I couldn't find any...', but...
it was thoughtful enough to say 'I found something interesting instead'.

Oh no, I might end up doing an open fire myself!?



6. Conclusion

I feel like I finally managed to write an article that actually feels like an AI life hack.
And I got so fired up that I realized it turned into a long post (゚д゚)!

I will continue to do my best to deliver useful information to everyone.


Lapis shares information as a “lazy yet efficiency-obsessed systems engineer” with a style of “doing the tedious AI verification for you.” style.

I would be very happy if you could support me by following or commenting.

▼ Who is Lapis? (Self-introduction)

▼ Related articles

いいなと思ったら応援しよう!