Twitter Advanced Search Query Builder

Add keywords, accounts or dates, then copy your Twitter search query or run it with TweetAPI.

Start with an example

Choose an example to fill the form, then adjust the fields. This replaces your current inputs.

Words

Every plain word must appear. Add operators with the structured fields below.

0 / 160 characters in this field

Accounts and dates

Multiple accounts are joined with OR.

Up to 12 items, separated by commas or spaces.

Inclusive UTC date.

Exclusive UTC date.

More filters

Compiled inside quotation marks.

0 / 160 characters in this field

Plain words compiled as one parenthesized OR group.

0 / 160 characters in this field

Each plain word is safely negated.

0 / 160 characters in this field

Separate multiple hashtags with commas or spaces.

Up to 12 items, separated by commas or spaces.

The dollar sign is optional.

Up to 12 items, separated by commas or spaces.

Useful for brand monitoring without the brand's own posts.

Up to 12 items, separated by commas or spaces.

Matches replies directed to one account.

Multiple mentions are joined with OR.

Up to 12 items, separated by commas or spaces.

Use a 2–3 letter ISO code. Language detection may be imperfect.

TweetAPI result type

Generated query

Result type: Latest

Back to search fields
Your compiled search query will appear here.
Character count0 / 512

Already have an account?

TweetAPI opens your query in Playground. Choose an API key and press Run to fetch results. API usage applies.

Operator quick reference

from:account
Posts from an account
@username
Posts mentioning an account
since:YYYY-MM-DD
On or after a UTC date
until:YYYY-MM-DD
Before a UTC date
min_faves:number
Minimum likes
filter:images
Posts containing images
filter:replies
Replies only
lang:code
Detected language
View every supported search operator

TweetAPI is a third-party API. Not affiliated with X Corp.

Build precise searches without memorizing syntax

Choose what to search for. The builder adds the search operators and checks the query as you type.

Choose your filters

Start with keywords, an account or a date range. Add media and engagement filters when you need them.

Inspect before you run

Review the query and what each filter means. Fix highlighted errors before copying or running it.

Run with TweetAPI

Sign in to open your query in Playground. Choose an API key and press Run when you are ready.

Build for free. Run when you are ready.

Build and copy as many queries as you need in your browser. You can also describe your search to AI, then review the suggested fields before continuing.

  • No API key, X cookie, password, or account connection requested
  • No anonymous TweetAPI search or live result preview
  • No raw description or generated query sent to analytics
  • No query history, saved presets, autonomous monitoring, or write actions

From query to authenticated API request

Copy your query without an account. To run it with TweetAPI, sign in and continue in the same tab. Your query is kept temporarily in that tab and is sent to the API only when you press Run.

  1. 01Build or interpret a structured form and resolve every validation error.
  2. 02Inspect the compiled query, result type, explanation, and character count.
  3. 03Copy it publicly, or sign up/sign in to preserve it in the same browser tab.
  4. 04Choose an owned API key in the TweetAPI playground and explicitly run the request.

Frequently asked questions

Can I use the Twitter advanced search builder without an account?

Yes. The deterministic manual builder, validation, query explanation, presets, character count, and copy action work anonymously without limits. An account is required only to execute the query in TweetAPI's authenticated playground.

Does this page search Twitter for anonymous visitors?

No. Anonymous visitors never trigger a TweetAPI search or receive live results. The page only builds and inspects a query locally, apart from optional AI interpretation and privacy-safe aggregate analytics.

What does the AI mode do?

AI mode uses OpenAI to translate a natural-language description into the same validated structured form. OpenAI does not compile or execute the final query; deterministic code performs both validation and compilation.

Why is the query limited to 512 characters?

TweetAPI's current GET /tw-v2/search validation accepts queries up to 512 characters. The counter and blocking validation match that backend contract.

How do dates work in advanced search?

since:YYYY-MM-DD is inclusive and until:YYYY-MM-DD is exclusive. Both are interpreted as ordinary UTC date boundaries. Snowflake ID and timestamp conversion remains available in TweetAPI's separate timestamp converter.

Operators and limits last verified against the TweetAPI search documentation and backend contract on August 15, 2026. TweetAPI is not affiliated with X Corp.