Twitter Search API for public posts (self-serve)
Need a Twitter search API for research or agents? XFlux /api/v1/search accepts advanced operators. Pair search for discovery with monitors + webhooks for always-on alerts.
Operators that matter
from:user, since:/until:, lang:, filter:replies — same ideas as advanced search. Guide: /blog/twitter-api-search-operators.
Quota-aware
Each search counts against monthly API calls. Free includes 1,000/mo — see /docs/limits.
Promote to monitors
When a handle keeps producing signal, stop polling search — add a monitor and webhook.
How to use Twitter search with XFlux
- 1
Create a key and call /api/v1/search
Bearer auth. URL-encode q. Docs: /docs/guides/search and /docs/guides/python.
- 2
Tighten the query
Prefer from: + lang: + short windows over keyword soup.
- 3
Graduate alerts off search
Always-on account watches belong on monitors — /monitor-twitter-account and /twitter-webhook.
Minimal search call
curl -G "https://www.xfluxapi.com/api/v1/search" \
-H "Authorization: Bearer xflux_YOUR_KEY" \
--data-urlencode "q=from:FederalReserve lang:en" \
--data-urlencode "limit=10"FAQ
- Is this official X API search?
- No. XFlux is an independent read API. Official access and packaging differ — see /docs/compare/pricing.
- MCP for agents?
- Yes — xflux_search_tweets via /mcp and /docs/integrations/mcp.
- Private accounts?
- Public data only.
Related guides
Try account monitors free
Free includes 1 monitor and Dashboard hit history. Live webhook delivery starts on Starter ($19/mo).