X API
docs.x.com
Spec sheet
- Purpose
- The X API provides programmatic access to X’s public conversation to retrieve posts, analyze trends, build integrations, and create platform experiences.Read 8 Oct 2026 · docs.x.com
- Security
- API requests must use HTTPS, and the security guidance says not to expose keys or tokens in client-side code, logs, or repositories.Read 8 Oct 2026 · docs.x.com
- Support
- The developer overview directs users to the Developer Forum for help from the community and X team.Read 8 Oct 2026 · docs.x.com
- Analytics
- The API provides public engagement metrics and private metrics such as impressions and clicks for your own posts.Read 8 Oct 2026 · docs.x.com
- API version
- X API v2 is the recommended current version; v1.1 is legacy and has limited support.Read 8 Oct 2026 · docs.x.com
- Incident reporting
- X Developer Platform users must notify X within 48 hours after suspecting a security incident.Read 8 Oct 2026 · docs.x.com
- Other data
- Available resources include users, Spaces, Direct Messages, Lists, and location-based trends.Read 8 Oct 2026 · docs.x.com
- Owned Reads
- Eligible requests for the app owner’s own data cost $0.001 per resource when the authenticated user owns the developer app.Read 8 Oct 2026 · docs.x.com
- Post capabilities
- The API can search, look up, stream, create, and delete posts, and access timelines, threads, and quote posts.Read 8 Oct 2026 · docs.x.com
- Rate limits
- X API v2 has endpoint-specific limits, most limits reset every 15 minutes, and requests exceeding a limit receive a 429 response.Read 8 Oct 2026 · docs.x.com
- SDKs
- The developer overview lists official Python and TypeScript SDKs.Read 8 Oct 2026 · docs.x.com
- Usage pricing
- Pay-per-use pricing has no subscriptions, contracts, or minimum spend, and usage and costs can be monitored in the Developer Console.Read 8 Oct 2026 · docs.x.com
- Use restrictions
- The developer guidelines prohibit scraping or browser automation and state that X data may not be used to train AI or machine-learning models, except for Grok.Read 8 Oct 2026 · docs.x.com
Plans and prices
X API — Enterprise Priced on request Custom enterprise agreement; pricing not stated on the page. High-volume endpoints · Dedicated account management · Custom rate limits Read 8 Oct 2026 · docs.x.com
X API — Pay-per-use Price not published Credits purchased upfront; usage is charged per resource or request. No subscription or minimum spend · Pay-per-use plans capped at 3 million Post reads per monthly billing cycle Read 8 Oct 2026 · docs.x.com
Where Specifiction places it
- Video-Sharing Platforms#9 of 356.5
- Social Media APIs#20 of 206.5