Twitter/X API v2
Twitter/X API v2 for reading and posting tweets, searching public content, accessing user data, and streaming real-time tweet events.
Score Breakdown
⚙ Agent Friendliness
🔒 Security
X/Twitter API v2. OAuth2 + Bearer token. Very strict rate limits — agent workflows can easily hit limits. Read vs write scopes. Webhook validation with HMAC. Premium tiers for higher limits.
⚡ Reliability
Best When
You need to interact with Twitter/X's real-time conversation data for social monitoring, posting, or analysis.
Avoid When
You need large-scale historical data access, or you're on a budget (pricing is steep since 2023 changes).
Use Cases
- • Monitoring brand mentions or keyword trends in real time
- • Building social media management agents that post and schedule tweets
- • Sentiment analysis on public conversations about topics
- • Research and academic data collection on public discourse
- • Customer support agents that monitor and respond to mentions
Not For
- • High-volume data collection without the Enterprise tier (free/basic tiers severely limited)
- • Automated following/unfollowing at scale (against ToS)
- • Commercial data resale or use in competing products
Interface
Authentication
OAuth 2.0 (Bearer token for read-only app auth, user-context for posting). OAuth 1.0a still supported for some endpoints. App-only auth for search and public data. User auth required for posting and DMs.
Pricing
Pricing dramatically increased post-Elon Musk acquisition. Pro ($5K/month) required for meaningful data access. Academic research track discontinued. Free tier barely useful.
Agent Metadata
Known Gotchas
- ⚠ Rate limits are per-15-minute window - agents must track window reset time from response headers
- ⚠ Free tier write-only restriction makes it nearly useless for agents that need to read data
- ⚠ OAuth 2.0 PKCE flow required for user-context posting - Bearer token alone cannot post tweets
- ⚠ Tweet deduplication rejects exact-same-text tweets within a short window - agents retry loops may get stuck
- ⚠ API v1.1 still exists but is being deprecated - avoid building on v1.1 endpoints
Alternatives
Full Evaluation Report
Detailed scoring breakdown, competitive positioning, security analysis, and improvement recommendations for Twitter/X API v2.
Scores are editorial opinions as of 2026-03-06.