query or keywords parameter support a Lucene-style search syntax. This gives you precise control over what results are returned.
Quick Reference
| Syntax | Example | Meaning |
|---|---|---|
| Plain keywords | bitcoin crypto | Match either term (OR) |
| Quoted phrase | "machine learning" | Exact phrase match |
| AND | AI AND robotics | Both terms required |
| OR | Tesla OR SpaceX | Either term matches |
| Grouping | (AI OR ML) AND healthcare | Combine operators |
| @handles | @karpathy | Match mentions |
Plain Keywords
Space-separated keywords are treated as OR queries — results matching any of the terms are returned.Quoted Phrases
Wrap terms in double quotes to match an exact phrase:Boolean Operators
Two boolean operators are supported:AND and OR. They are case-insensitive.
- AND
- OR
Both terms must be present in the result.
Grouping with Parentheses
Use parentheses to control operator precedence:Without parentheses, operators are evaluated left to right. Use grouping to make your intent explicit, especially when mixing AND and OR.
Platform-Specific Search Scope
Different tools search different fields depending on the platform:| Platform | Content Searched |
|---|---|
| Twitter posts | Post text |
| Instagram posts | Captions and subtitles |
| Instagram comments | Comment text |
| Reddit posts | Title and selftext |
| Reddit comments | Body text |
| TikTok posts | Description and transcripts |
Examples by Platform
Twitter
Find posts about AI from specific conversations:Find posts mentioning a user:
Instagram
Find fashion-related posts:Find food content in a specific cuisine:
Reddit
Find technical discussions:Find product reviews:
TikTok
TikTok
Find trending content:Find educational content:
Syntax Rules
| Rule | Valid | Invalid |
|---|---|---|
| Operators need terms on both sides | AI AND crypto | AND crypto |
| Cannot start with AND or OR | bitcoin OR ethereum | OR bitcoin |
| Cannot end with an operator | AI AND ML | AI AND |
| Max query length: 250 characters | — | — |
Unsupported Syntax
The following are not supported and will be stripped or treated as spaces:| Syntax | Behavior |
|---|---|
Field operators (from:, lang:, since:, until:) | Stripped from query |
Forward slashes (/) | Treated as spaces (24/7 becomes 24 7) |
Colons (:) | Treated as spaces |
Backslashes (\) | Removed |
Apostrophes (') | Removed |
Square brackets ([]) | Removed |
Leading wildcards (*term) | Stripped |
Related
- Field Selection — Control which fields are returned in results
- Response Modes — Choose how results are delivered

