```json
{
"service_type": "platform",
"base_url": "https://api.x.com",
"auth_method": "oauth2",
"auth_config": {
"oauth2_flows": ["authorization_code", "client_credentials"],
"oauth1a_supported": true,
"bearer_token_supported": true
},
"endpoints": [
"/2/tweets",
"/2/users",
"/2/spaces",
"/2/lists",
"/2/media",
"/2/dm_events",
"/2/compliance",
"/1.1/statuses",
"/1.1/users",
"/1.1/direct_messages"
],
"pricing_model": {
"type": "freemium",
"details": {
"tiers": ["Free", "Basic", "Pro", "Enterprise"],
"free_tier_limits": "1500 tweets/month, read-only for most endpoints",
"paid_tiers": "Starting at $100/month for Basic, consumption-based billing for higher usage"
}
},
"rate_limits": {
"tweets_read": "300 requests/15min (user context), 450 requests/15min (app context)",
"tweets_write": "300 requests/15min",
"users_lookup": "300 requests/15min",
"varies_by_endpoint": true
},
"capabilities": [
"tweet_posting",
"tweet_reading",
"user_management",
"timeline_access",
"direct_messaging",
"media_upload",
"spaces_access",
"list_management",
"webhook_subscriptions",
"real_time_streaming",
"search_functionality",
"analytics_access",
"compliance_tools"
],
"raw_analysis": "X API (formerly Twitter API) is a comprehensive social media platform API that enables developers to interact with the X social network programmatically. The platform offers both REST and streaming APIs with extensive functionality for reading and writing tweets, managing user accounts, handling media, and accessing real-time data streams. Authentication primarily uses OAuth 2.0 with support for OAuth 1.0a for legacy applications. The API has undergone significant changes under Elon Musk's ownership, moving from a largely free model to a paid tier system. The platform is mature and widely adopted by developers, brands, and researchers for social media automation, analytics, and integration. Key integrations exist with major social media management tools, analytics platforms, and enterprise software. Rate limiting is strict and varies by endpoint and access level. The API is particularly valuable for agents doing social media monitoring, content posting, customer service automation, and trend analysis. Developer experience includes comprehensive documentation, SDKs for multiple languages, and webhook support for real-time notifications."
}
```