X Post Context Search

Paste the URL of a post on X and this tool generates a search command and link that shows what the author said before and after that post.
It works back from the post ID to the exact time the post was made, so you never have to type a date. The range is centered on the moment of the post, to the second.

Bookmarklets

Run one while you have a post open on X to jump straight to its surrounding posts, without copying and pasting the URL.
On a PC, drag a button below to your bookmarks bar. On a phone, tap "Copy code", bookmark any page, then edit the bookmark and paste the code into the URL field.
Search 1 day around the post
Search 3 days around the post
Open in this tool (to choose the range and filters)

When this is useful

How it works

Every X post ID has its posting time embedded in it, down to the millisecond. This tool works the time back out of the ID and passes it to the search operators since: and until: as a date and time in Japan Standard Time (in a format like 2026-07-15_15:32:28_JST) to cut out the surrounding period.
Because _JST is written explicitly, the result doesn't depend on any time zone difference with UTC, and the range is exact to the second, centered on the moment of the post. Since the dates are plain date-times, you can widen or narrow the range afterward just by editing the numbers in the search box.
With "Output in Unix seconds" on, the command uses since_time: / until_time: (Unix seconds) instead. Precision and time zone handling are the same.
Note that the search itself runs on X, so posts from private accounts and deleted posts do not appear. The username in the URL may differ from the current one (for example after a rename).