X
X (formerly Twitter) operates the X Developer Platform, the programmable interface to the public conversation on X. The X API v2 is a 190-operation REST surface covering Posts, Users, Direct Messages, the encrypted Chat API, Lists, Spaces, Media, Communities, Community Notes, Broadcasts, News, Trends, Articles and Bots, plus a substantial real-time layer — filtered stream, firehose and sample volume streams, compliance streams, Account Activity webhooks and the X Activity API. X publishes a machine-readable OpenAPI at api.x.com/2/openapi.json, an llms.txt family, an AGENTS.md, an agentskills.io skill, an A2A agent card and two hosted MCP servers. Access is sold pay-per-usage in prepaid credits rather than by subscription tier, with an Enterprise agreement for volume above the published cap.
X publishes 23 APIs on the APIs.io network, including Account Activity API, Account API, Activity API, and 20 more. Tagged areas include Social, Social-Media, Posts, User, and Direct Messages.
The X catalog on APIs.io includes 1 event-driven AsyncAPI specification.
X’s developer surface includes authentication, CLI, sandbox, changelog, documentation, API reference, getting-started guide, and 39 more developer resources.
Kin Score
APIs 23
Individual APIs this provider publishes, each with its own machine-readable definition.
X Account Activity API
Endpoints relating to retrieving, managing Account Activity subscriptions — 5 operation(s) in the X-published contract.
X Account API
Endpoints for managing the authenticated user's X Developer Platform account — 2 operation(s) in the X-published contract.
X Activity API
Endpoints relating to retrieving, managing activity subscriptions — 5 operation(s) in the X-published contract.
X Articles API
Endpoints related to retrieving, creating & modifying Articles — 2 operation(s) in the X-published contract.
X Bots API
The Bots surface of the X API v2. — 6 operation(s) in the X-published contract.
X Broadcasts API
Endpoints related to live broadcasts and their chat — 13 operation(s) in the X-published contract.
X Chat API
Endpoints related to Chat encrypted messaging — 16 operation(s) in the X-published contract.
X Communities API
Endpoints related to retrieving and managing Communities — 2 operation(s) in the X-published contract.
X Community Notes API
Endpoints related to retrieving, searching, and modifying Community Notes — 5 operation(s) in the X-published contract.
X Compliance API
Endpoints related to keeping X data in your systems compliant — 6 operation(s) in the X-published contract.
X Connections API
Endpoints related to streaming connections — 4 operation(s) in the X-published contract.
X Direct Messages API
Endpoints related to retrieving, managing Direct Messages — 9 operation(s) in the X-published contract.
X General API
Miscellaneous endpoints for general API functionality — 1 operation(s) in the X-published contract.
X Lists API
Endpoints related to retrieving, managing Lists — 9 operation(s) in the X-published contract.
X Media API
Endpoints related to retrieving and uploading Media — 11 operation(s) in the X-published contract.
X News API
Endpoint for retrieving news stories — 2 operation(s) in the X-published contract.
X Posts API
Endpoints related to retrieving, searching, and modifying Posts — 14 operation(s) in the X-published contract.
X Spaces API
Endpoints related to retrieving, managing Spaces — 6 operation(s) in the X-published contract.
X Stream API
Endpoints related to streaming — 18 operation(s) in the X-published contract.
X Trends API
Endpoint for retrieving trends — 2 operation(s) in the X-published contract.
X Usage API
Endpoints related to retrieving usage — 2 operation(s) in the X-published contract.
X Users API
Endpoints related to retrieving, managing relationships of Users — 42 operation(s) in the X-published contract.
X Webhooks API
Endpoints relating to retrieving, managing webhooks and webhook configs — 8 operation(s) in the X-published contract.
Scroll for all 23
Open Collections 5
Open, tool-agnostic API collections (OpenAPI-derived and Bruno).
API Collection
OPEN COLLECTIONX API v2 Posts API
OPEN COLLECTIONX API v2 Posts Trends API
OPEN COLLECTIONX API v2 Posts Users API
OPEN COLLECTIONX API v2
OPEN COLLECTIONMCP Servers 1
Model Context Protocol servers that expose these APIs to AI agents.
X MCP Server
X ships TWO hosted MCP servers: an API server at https://api.x.com/mcp that calls X API v2 endpoints, and a documentation-search server at https://docs.x.com/mcp. Both are Strea...
MCP SERVERPricing Plans 1
Published pricing tiers and plan structures.
X Plans Pricing
PLANSRate Limits 1
Documented rate limits and quota policies.
X Rate Limits
RATE LIMITSFinOps 1
Cost, billing, and metering signals for API financial operations.
X Finops
FINOPSEvent Specifications 1
AsyncAPI definitions for this provider's event-driven and streaming APIs.
X Webhooks
ASYNCAPISecurity Posture 3
Authentication, domain security, vulnerability disclosure, and trust-center signals.
Scopes 1
OAuth scopes governing access to this provider's APIs.
Agentic Access 1
Recommended x-agentic-access execution contracts for AI agents.
Resources
Get Started 4
Portal, sign-up, and the first successful call
Documentation 3
Reference material describing how the API behaves
Agent Surfaces 6
MCP servers, agent skills, and machine-readable catalogs
Design & Contract 8
Pagination, idempotency, versioning, errors, and events
Scroll for all 8
Build 6
SDKs, sample code, and the tooling you integrate with
Access & Security 6
Authentication, authorization, and security posture
Operate 5
Status, limits, changes, and where to get help
Commercial 5
Pricing, plans, and the legal terms of use
Company 1
The organization behind the API
Other 2
Properties that don't map to a standard resource type
Source (apis.yml)
Work with this as data
Every provider here is available over the APIs.io API and to AI agents over MCP.