Filter Rules
Filter Rules monitor arbitrary Twitter search queries using Advanced Search syntax. Each rule polls independently at a configurable interval, from sub-second (0.1s) to daily (86,400s).Quick start
Features
- Up to 50 rules per API key
- Advanced Search syntax — use
from:,to:,lang:,is:reply,has:media, and more - Configurable polling interval from 0.1s to 86,400s
- Up to 100 results per poll
- Webhook + WebSocket delivery
- Query validation endpoint to check syntax before creating
Interval pricing tiers
Faster polling intervals cost more credits per day:| Tier | Max Interval | Credits / rule / day |
|---|---|---|
| Turbo | 0.5s | 30,000 |
| Fast | 5s | 10,000 |
| Standard | 60s | 1,500 |
| Relaxed | 600s (10min) | 500 |
| Daily | 86,400s (24h) | 100 |
Fetch current pricing dynamically via the pricing tiers endpoint.
Query syntax examples
| Query | Description |
|---|---|
from:elonmusk | Tweets from a specific user |
"breaking news" lang:en | English tweets containing exact phrase |
#bitcoin -is:retweet | Original tweets with hashtag (no retweets) |
to:OpenAI has:media | Replies to OpenAI that contain media |
from:elonmusk OR from:sataborasu | Tweets from either user |
Rule lifecycle
- Active — Rule is polling and delivering matched tweets
- Paused — Manually paused via API or dashboard
- Suspended — Auto-paused due to insufficient credits
Deduplication
Filter rules automatically deduplicate tweets. If the same tweet matches across multiple polls, it is delivered only once.API endpoints
Create Rule
POST /v1/twitter/stream/filter-rules
List Rules
GET /v1/twitter/stream/filter-rules
Get Rule
GET /v1/twitter/stream/filter-rules/
Update Rule
PATCH /v1/twitter/stream/filter-rules/
Delete Rule
DELETE /v1/twitter/stream/filter-rules/
Validate Query
POST /v1/twitter/stream/filter-rules/validate
Pricing Tiers
GET /v1/twitter/stream/filter-rules-pricing

