X Activity API: Now Generally Available
The X Activity API is officially out of beta. Subscribe to real-time activity events like profile updates, follows, and more with sub-second delivery via streaming or webhooks.
Quickstart
Get your API keys and make your first request in minutes.
API Reference
Explore endpoints for posts, users, spaces, DMs, lists, and more.
SDKs
Official Python and TypeScript SDKs for faster development.
Products
X API
Access posts, users, spaces, DMs, lists, trends, media, and more. Search, stream, and analyze X’s public conversation.
X Ads API
Programmatically manage ad campaigns, targeting, creatives, and analytics.
X for Websites
Embed posts, timelines, and follow buttons on your website.
Pricing
The X API uses pay-per-usage pricing. No monthly subscriptions — pay only for what you use.Pay-per-usage
Flexible, credit-based pricing. Scale up or down based on your needs with no commitments or minimum spend.
Enterprise
Dedicated support, complete streams, and custom integrations for high-volume needs.
Resources
Tutorials
Step-by-step guides for common use cases and integrations.
Tools & Libraries
Official SDKs and community libraries for every language.
Developer Forum
Get help from the community and X team.
Changelog
Stay updated on API changes and new features.
Quick Links
| Resource | Description |
|---|---|
| Developer Console | Manage apps, view usage, and purchase credits |
| API Status | Check current API availability |
| Support | Troubleshooting and FAQs |
| Newsletter | Monthly platform updates |