Twitter timeline API — recent tweets for one @handle
GET /api/v1/users/:username/tweets for public timelines. Free: 1,000 calls/mo, no card. MCP: xflux_get_user_tweets.
Pull recent public tweets for an @handle without the official X user-timeline product. One GET on XFlux — or the MCP tool xflux_get_user_tweets. Free: 1,000 calls/month. Always-on “notify me when they post” jobs belong on monitors, not a cron loop.
Endpoint
GET https://www.xfluxapi.com/api/v1/users/:username/tweets?limit=10 — public accounts only.
Quota
Shares Free 1,000 calls/month with profiles and search. Monitor polling is separate and does not burn this quota.
Push vs pull
Timeline = on-demand pull. For every new tweet → Slack/Discord/HTTPS, use /monitor-twitter-account (or AAA-style path: /twitter-account-activity-api).
Fetch a timeline
- 1
Create a free key
Register → Dashboard → API Keys. No credit card on Free. Tier overview: /free-x-api.
- 2
GET the username path
Example: /api/v1/users/FederalReserve/tweets?limit=10
- 3
Switch to a monitor for alerts
If you need every new post pushed to Slack or HTTPS, use /monitor-twitter-account instead of cron + timeline.
curl
Public accounts only. limit caps how many tweets come back.
curl -H "Authorization: Bearer xflux_YOUR_KEY" \
"https://www.xfluxapi.com/api/v1/users/FederalReserve/tweets?limit=10"FAQ
- Is this the official X user timeline endpoint?
- No. XFlux is an independent read API. The path is /api/v1/users/:username/tweets on www.xfluxapi.com.
- Private or protected accounts?
- Public posts only. Protected accounts are not available.
- Timeline vs search?
- Timeline is one account’s recent posts. Search is a query (from:, lang:, phrases) across public tweets — see /twitter-search-api.
- When should I use a monitor instead of the timeline API?
- Use timeline for on-demand reads and backfills. Use /monitor-twitter-account when you want always-on alerts (Dashboard or webhooks) without writing a poller.
Related guides
Start on Free
Free: 1,000 API calls/month and 1 monitor with Dashboard hits. Live webhook delivery starts on Starter ($19/mo).