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.

Evaluated Mar 06, 2026 (0d ago) vcurrent
Homepage ↗ Other twitter x social-media tweets oauth rest-api streaming
⚙ Agent Friendliness
51
/ 100
Can an agent use this?
🔒 Security
84
/ 100
Is it safe for agents?
⚡ Reliability
66
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
--
Documentation
72
Error Messages
70
Auth Simplicity
65
Rate Limits
65

🔒 Security

TLS Enforcement
100
Auth Strength
82
Scope Granularity
80
Dep. Hygiene
80
Secret Handling
80

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

Uptime/SLA
78
Version Stability
65
Breaking Changes
55
Error Recovery
65
AF Security 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

REST API
Yes
GraphQL
No
gRPC
No
MCP Server
No
SDK
Yes
Webhooks
No

Authentication

Methods: oauth2 api_key
OAuth: Yes Scopes: Yes

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

Model: freemium
Free tier: Yes
Requires CC: Yes

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

Pagination
cursor
Idempotent
No
Retry Guidance
Documented

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.

$99

Scores are editorial opinions as of 2026-03-06.

5173
Packages Evaluated
26151
Need Evaluation
173
Need Re-evaluation
Community Powered