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 24 API contracts indexed on the APIs.io network, including Account Activity API, Account API, Activity API, and 21 more. Tagged areas include Spaces, Conversations, X, Social, and Social Media.
The X catalog on APIs.io includes 1 event-driven AsyncAPI specification and 1 Spectral governance ruleset.
X’s developer surface includes authentication, CLI, sandbox, changelog, documentation, API reference, getting-started guide, and 46 more developer resources.
What this lets a business do 2
Business capabilities this provider's published APIs can perform, derived from its own contracts. Browse all capabilities →
What people ask X 23
The questions people put to an LLM, and the jobs they hand an agent, that X's APIs answer — each one linked to the operation that does it. Generated by API Evangelist
Showing 12 of 23 APIs with phrasing — see every API.
Kin Score
Markets this provider is in provisional
The Kin Score Market layer reads a provider inside its market: its position, and how deep its integrations go. Depth is only comparable within a position. Provisional and unweighted: not part of the Kin Score or agent readiness.
| Market | Position | Depth | Registered MCP server | Declares compatibility |
|---|---|---|---|---|
| Social and Fediverse | distribution | 19.2 (thin) | - | 2 |
| Agent Skills (SKILL.md packages) | distribution | 19.2 (thin) | - | 2 |
Registered MCP server and declares compatibility are report only — not weighted. Undeclared means we found nothing we can read, so there is no number: we never infer integrations.
Standards implemented 6
Standards this provider implements or carries. De facto ones are profiled and measured by the API Commons; formal ones come from the standards directory and are linked by the provider's own tags. The evidence column says how each claim was established — not that it was made.
APIs 24
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.
X Ads API
The X Ads API enables programmatic management of advertising campaigns on the X platform including campaign creation and scheduling, custom audience building, creative managemen...
Scroll for all 24
Open Collections 4
Open, tool-agnostic API collections (OpenAPI-derived and Bruno).
X 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 SERVERAgent Skills 1
Packaged agent skills for driving this provider's APIs from an AI assistant.
X
AGENT SKILLX API pricing
Prices published by X, read 2026-10-28 from docs.x.com/x-api/getting-started/pricing.
| Plan | Price |
|---|---|
| Posts: Read | $0.005 per resource |
| User: Read | $0.010 per resource |
| Like: Read | $0.001 per resource |
| Post: Create | $0.015 per request |
| Post: Create (with URL) | $0.200 per request |
| Owned Reads | $0.001 per resource |
| Enterprise | upgrade to an Enterprise plan |
Plan details, limits and sources →
Billed by: resource · FinOps profile →
Pricing Plans 2
Published pricing tiers and plan structures.
X Plans Pricing
PLANSX Price Estimates
PLANSRate Limits 1
Documented rate limits and quota policies.
X Rate Limits
RATE LIMITSService Levels 1
Uptime the provider promises or reports, as SLA4OAI. Read from its own pages; APIs.io runs no monitors.
X
SLATerms of Service 1
What its API terms permit and prohibit, quoted from its own page.
Privacy & Data 1
Its role, the data it processes, retention and transfers, quoted from its own privacy page.
Deprecation Policy 1
Notice periods, support windows and the headers it sends, quoted from its own page.
Eligibility 1
Who may sign up and where, quoted from its own terms.
AI Preferences 1
Its stance on AI training, inference and agents, quoted from its own pages.
Data License 1
How its data and outputs may be reused, quoted from its own terms.
FinOps 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
ASYNCAPISpectral Rules 1
Spectral governance rulesets for linting and validating these APIs. Counts are the severity each rule declares, not results of running them.
X API Rules
SPECTRALOpenAPI Overlays 24
Overlays applied on top of this provider's contracts. Each card says who wrote it: a document the provider publishes, or one API Evangelist derived or generated.
X Account Activity Api Phrasing Overlay
GENERATEDX Account Api Phrasing Overlay
GENERATEDX Activity Api Phrasing Overlay
GENERATEDX Api V2 Overlay
DERIVEDX Articles Api Phrasing Overlay
GENERATEDX Bots Api Phrasing Overlay
GENERATEDX Broadcasts Api Phrasing Overlay
GENERATEDX Chat Api Phrasing Overlay
GENERATEDX Communities Api Phrasing Overlay
GENERATEDX Community Notes Api Phrasing Overlay
GENERATEDX Compliance Api Phrasing Overlay
GENERATEDX Connections Api Phrasing Overlay
GENERATEDX Direct Messages Api Phrasing Overlay
GENERATEDX General Api Phrasing Overlay
GENERATEDX Lists Api Phrasing Overlay
GENERATEDX Media Api Phrasing Overlay
GENERATEDX News Api Phrasing Overlay
GENERATEDX Posts Api Phrasing Overlay
GENERATEDX Spaces Api Phrasing Overlay
GENERATEDX Stream Api Phrasing Overlay
GENERATEDX Trends Api Phrasing Overlay
GENERATEDX Usage Api Phrasing Overlay
GENERATEDX Users Api Phrasing Overlay
GENERATEDX Webhooks Api Phrasing Overlay
GENERATEDScroll for all 24
Security Posture 3
Authentication, domain security, vulnerability disclosure, and trust-center signals.
Scopes 1
OAuth scopes governing access to this provider's APIs.
Agentic Access (API Evangelist recommendations) 1
Recommended x-agentic-access execution contracts for AI agents.
Resources
Get Started 4
Portal, sign-up, and the first successful call
Documentation 4
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 6
Status, limits, changes, and where to get help
Commercial 7
Pricing, plans, and the legal terms of use
Scroll for all 7
Company 1
The organization behind the API
Other 5
Properties that don't map to a standard resource type
Source (apis.yml)
X API — frequently asked questions
Does X have an API?
Yes. APIs.io lists 24 APIs from X, including X Account Activity API, X Account API and X Activity API, and 21 more.
Is there an OpenAPI specification for the X API?
Yes. APIs.io indexes 23 OpenAPI specifications for X, each linked for download from this page.
How do I authenticate with the X API?
X documents its authentication (http/oauth2 · 3 schemes). The details are profiled on APIs.io as X Authentication.
How much does the X API cost?
X publishes its prices; its Posts: Read plan is $0.005 per resource as of 2026-10-28. APIs.io lists 7 pricing plans for X, with each plan's price, limits and inclusions under Pricing on this page.
Does X have an MCP server?
Yes. APIs.io lists 1 MCP server for X: 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 Streamable HTTP remote endpo
Is the X API ready for AI agents?
X has a Kin Score of 75.0 out of 100 (exemplar) and an Agent Readiness score of 61.2 (agent-native), scored by API Evangelist on 2026-11-13.
Work with this as data
Every provider here is available over the APIs.io API and to AI agents over MCP.