X (Twitter)
X (formerly Twitter) is a social media platform providing APIs for accessing and integrating with posts, users, spaces, direct messages, lists, media, trends, and real-time streaming data. The X API enables developers to build applications that read and write X data, manage advertising campaigns, and subscribe to real-time activity events. Available through pay-per-use credit-based pricing with enterprise options for high-volume access.
Solid contracts, transparent operations, and an easy start — typically complete on four or five facets with one clear soft spot.
API Evangelist profiles X (Twitter) the way a machine reads it — 153 machine-readable artifacts across 23 APIs, pulled from the provider's own public surface and indexed so a developer, an analyst, or an AI agent can evaluate it against every other provider on the network.
Every provider in the network is reduced to the same set of machine-readable artifacts — OpenAPI contracts, event specifications, GraphQL schemas, runnable collections, pricing and rate-limit signals, security posture, OAuth scopes, and the agent surfaces (MCP servers and skills) that let software drive the API on its own. We profile them because the interface is the part of a company you can actually inspect: it is a truer signal of what a provider does than any marketing page. From those artifacts we compute the Kin Score — X (Twitter) scores 67.5/100 (strong), with a separate agent-readiness read of 55/100 (agent ready). The full breakdown is below, followed by every artifact we hold — each card links through to its machine-readable definition on apis.io.
Kin Score
This is the API Evangelist rating — a single, repeatable read computed from the artifacts on this page. Green fill is points earned; the red track is points possible, so every bar shows earned-versus-possible at a glance.
How we profile X (Twitter)
Each block below is one kind of artifact we hold for X (Twitter). For each we say what it is and why it earns a place in the profile, then list every one we've indexed — capped at two rows, scroll within the panel for the rest.
APIs 23
Each API is captured as its own OpenAPI definition — every operation, parameter, and response. This is the single most useful machine-readable description of what an API does, and it's what lets us score, lint, mock, and generate against it without asking the provider for anything.
Individual APIs this provider publishes, each with its own machine-readable definition.
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...
X Activity API
The X Activity API provides real-time activity event subscriptions with sub-second delivery via streaming or webhooks. Subscribe to profile updates, follows, likes, reposts, and...
X (Twitter) Account Activity API
Endpoints relating to retrieving, managing AAA subscriptions
X (Twitter) Activity API
The Activity API from X (Twitter) — 3 operation(s) for activity.
X (Twitter) Bookmarks API
Endpoints related to retrieving, managing bookmarks of a user
X (Twitter) Chat API
The Chat API from X (Twitter) — 15 operation(s) for chat.
X (Twitter) Communities API
The Communities API from X (Twitter) — 2 operation(s) for communities.
X (Twitter) Community Notes API
The Community Notes API from X (Twitter) — 5 operation(s) for community notes.
X (Twitter) Compliance API
Endpoints related to keeping X data in your systems compliant
X (Twitter) Connections API
Endpoints related to streaming connections
X (Twitter) Direct Messages API
Endpoints related to retrieving, managing Direct Messages
X (Twitter) General API
Miscellaneous endpoints for general API functionality
X (Twitter) Likes API
The Likes API from X (Twitter) — 2 operation(s) for likes.
X (Twitter) Lists API
Endpoints related to retrieving, managing Lists
X (Twitter) Media API
Endpoints related to Media
X (Twitter) News API
Endpoint for retrieving news stories
X (Twitter) Spaces API
Endpoints related to retrieving, managing Spaces
X (Twitter) Stream API
Endpoints related to streaming
X (Twitter) Trends API
The Trends API from X (Twitter) — 2 operation(s) for trends.
X (Twitter) Tweets API
Endpoints related to retrieving, searching, and modifying Tweets
X (Twitter) Usage API
The Usage API from X (Twitter) — 1 operation(s) for usage.
X (Twitter) Users API
Endpoints related to retrieving, managing relationships of Users
X (Twitter) Webhooks API
The Webhooks API from X (Twitter) — 5 operation(s) for webhooks.
Scroll within the panel for all 23 ·
Postman Collections 1
A runnable collection turns the contract into something a developer can execute in seconds. We profile them because the fastest way to trust an API is to make a real call against it.
Ready-to-run Postman collections for exercising this provider's APIs.
X API v2
POSTMANOpen Collections 1
Open, tool-agnostic collections carry the same runnable value as Postman without locking you to one client — the portable, forkable form of the same exercise.
Open, tool-agnostic API collections (OpenAPI-derived and Bruno).
X API v2
OPEN COLLECTIONArazzo Workflows 19
Real integrations are rarely a single call. Arazzo describes the multi-step sequences — auth, then create, then confirm — so both a human and an agent can follow the choreography, not just the endpoints.
Multi-step API workflows described with the Arazzo specification.
X Search, Bookmark a Post, Then Remove the Bookmark
Find a post by search, bookmark it, then delete that bookmark.
ARAZZOX Create a List and Add a Member by Username
Create a new List, resolve a member handle, and add them to the List.
ARAZZOX List the Posts a Handle Has Liked
Resolve a username to an id, then fetch that user's liked posts.
ARAZZOX Fetch a List's Details and Its Members
Read a List by id, then page the members of that List.
ARAZZOX List the Posts Mentioning a Handle
Resolve a username to an id, then fetch posts that mention that user.
ARAZZOX Pin the Authenticated User's First Owned List
List the owned Lists, then pin the first one to the user's profile.
ARAZZOX Audit Engagement on a User's Latest Post
Resolve a handle, get their latest post, then list who liked it.
ARAZZOX Create a Post, Like It, Then Delete It
Publish a post, like it from the authenticated account, then remove it.
ARAZZOX Quote a Post Found by Search
Search recent posts, then publish a quote post of the top match.
ARAZZOX Find a Post, Repost It, Then Undo the Repost
Search for a post, repost the top match, then remove the repost.
ARAZZOX List Who Reposted a Handle's Latest Post
Resolve a handle, get their latest post, then list who reposted it.
ARAZZOX Search Recent Posts and Hydrate the Top Match
Run a recent search, then fetch full details for the first matching post.
ARAZZOX Resolve User and List Their Recent Posts
Look up a user by username, then pull their most recent posts.
ARAZZOScroll within the panel for all 19 ·
GraphQL 1
Where a provider ships GraphQL, the schema is the contract. We profile it alongside the REST surface so the whole interface is legible in one place.
GraphQL schemas published by this provider.
Twitter (X) GraphQL Schema
This conceptual GraphQL schema models the Twitter (X) API v2 data model. The X API v2 is a REST API available at `https://api.x.com/2`, but the types defined here represent the ...
GRAPHQLPricing Plans 1
Pricing is part of the interface. Machine-readable plans tell you what a tier costs and includes before you commit — one of the six things the Kin Score reads for commercial clarity.
Published pricing tiers and plan structures.
Rate Limits 1
Rate limits are the difference between a demo that works and a production integration that doesn't fall over. Publishing them is an operational-transparency signal — and a hard requirement for any agent that plans its own throughput.
Documented rate limits and quota policies.
Twitter Rate Limits
RATE LIMITSFinOps 1
Cost, billing, and metering signals let a buyer model the financial operations of an API before it's live. We profile them for the same reason we profile pricing: the money is part of the contract.
Cost, billing, and metering signals for API financial operations.
Twitter Finops
FINOPSFeatures 12
The notable capabilities this provider advertises, captured as structured features so they can be searched and compared instead of read one landing page at a time.
Notable capabilities this provider offers.
Post Management
Create, delete, edit, repost, quote, like, and bookmark posts programmatically.
Real-Time Streaming
Access filtered streams, sampled streams, firehose, and language-specific streams for real-time post data.
Full-Archive Search
Search the complete archive of public posts with advanced query operators and date filtering.
User Lookup and Management
Look up users by ID or username, manage follows, blocks, mutes, and retrieve user metrics.
Spaces
Discover and look up live audio Spaces with host, speaker, and listener data.
Direct Messages
Send and receive direct messages, create conversations, and manage participants.
Lists
Create, manage, and query lists including membership, followers, and pinned lists.
Trends
Access personalized and geographic trending topics.
Media Upload
Upload images, videos, and large files using chunked upload with metadata and subtitle support.
Compliance
Access compliance streams and batch jobs for data deletion and user protection events.
Communities and Community Notes
Access community data and community notes for collaborative fact-checking.
Ad Campaign Management
Programmatically create, schedule, and manage advertising campaigns with targeting and budget controls.
Scroll within the panel for all 12 ·
Semantic Vocabularies 1
JSON-LD contexts give the data shared meaning across APIs. We profile them because semantics are what let a machine reconcile 'customer' here with 'customer' somewhere else.
JSON-LD contexts and semantic vocabularies used across these APIs.
X Api Context
JSON-LDSpectral Rules 2
Governance rulesets we run against this provider's specs — the automated checks behind parts of the score. Profiling them makes the quality bar explicit and re-runnable, not a matter of opinion.
X (Twitter) API Rules
SPECTRALX (Twitter) API Rules
SPECTRALJSON Schema 25
Standalone JSON Schema definitions describe the data models behind the API. We profile them so the shapes are validatable on their own — useful long after a single request is forgotten.
Standalone JSON Schema definitions for this provider's data models.
ActivityStreamingResponse
JSON SCHEMAActivitySubscription
JSON SCHEMAAddOrDeleteRulesRequest
JSON SCHEMAComplianceJob
JSON SCHEMAComplianceJobStatus
JSON SCHEMACreateDmConversationRequest
JSON SCHEMADmEvent
JSON SCHEMAError
JSON SCHEMAExpansions
JSON SCHEMAFilteredStreamingTweetResponse
JSON SCHEMAGet2TweetsSearchRecentResponse
JSON SCHEMAGet2UsersIdResponse
JSON SCHEMAListCreateRequest
JSON SCHEMAList
JSON SCHEMAMedia
JSON SCHEMAPlace
JSON SCHEMAPoll
JSON SCHEMAProblem
JSON SCHEMASpace
JSON SCHEMATweetCreateRequest
JSON SCHEMATweetCreateResponse
JSON SCHEMATweetDeleteResponse
JSON SCHEMATweet
JSON SCHEMAUser
JSON SCHEMAUsersFollowingCreateRequest
JSON SCHEMAScroll within the panel for all 25 ·
JSON Structure 25
JSON Structure captures the data shapes in a form built for tooling — a complement to JSON Schema that keeps the model machine-legible.
JSON Structure definitions describing this provider's data shapes.
X Api Activity Streaming Response Structure
JSON STRUCTUREX Api Activity Subscription Structure
JSON STRUCTUREX Api Add Or Delete Rules Request Structure
JSON STRUCTUREX Api Compliance Job Status Structure
JSON STRUCTUREX Api Compliance Job Structure
JSON STRUCTUREX Api Create Dm Conversation Request Structure
JSON STRUCTUREX Api Dm Event Structure
JSON STRUCTUREX Api Error Structure
JSON STRUCTUREX Api Expansions Structure
JSON STRUCTUREX Api Filtered Streaming Tweet Response Structure
JSON STRUCTUREX Api Get2 Tweets Search Recent Response Structure
JSON STRUCTUREX Api Get2 Users Id Response Structure
JSON STRUCTUREX Api List Create Request Structure
JSON STRUCTUREX Api List Structure
JSON STRUCTUREX Api Media Structure
JSON STRUCTUREX Api Place Structure
JSON STRUCTUREX Api Poll Structure
JSON STRUCTUREX Api Problem Structure
JSON STRUCTUREX Api Space Structure
JSON STRUCTUREX Api Tweet Create Request Structure
JSON STRUCTUREX Api Tweet Create Response Structure
JSON STRUCTUREX Api Tweet Delete Response Structure
JSON STRUCTUREX Api Tweet Structure
JSON STRUCTUREX Api User Structure
JSON STRUCTUREX Api Users Following Create Request Structure
JSON STRUCTUREScroll within the panel for all 25 ·
Examples 23
Real request and response payloads are what turn a spec from abstract into obvious — and they're one of the twelve things an agent needs to call an API correctly on the first try.
Example request and response payloads for these APIs.
X Api Compliance Job Example
EXAMPLEX Api Dm Event Example
EXAMPLEX Api Error Example
EXAMPLEX Api Expansions Example
EXAMPLEX Api List Example
EXAMPLEX Api Media Example
EXAMPLEX Api Place Example
EXAMPLEX Api Poll Example
EXAMPLEX Api Problem Example
EXAMPLEX Api Space Example
EXAMPLEX Api Tweet Example
EXAMPLEX Api User Example
EXAMPLEScroll within the panel for all 23 ·
Security Posture 1
Authentication, domain security, vulnerability disclosure, and trust-center signals — the evidence that a provider takes security seriously enough to document it. We profile it because you can't govern what you can't see.
Authentication, domain security, vulnerability disclosure, and trust-center signals.
Scopes 1
OAuth scopes are the vocabulary of least-privilege access. Profiling them shows exactly what an integration — or an agent acting on a user's behalf — is allowed to do.
OAuth scopes governing access to this provider's APIs.
Agentic Access 1
An x-agentic-access contract marks which operations are safe for an agent to run on its own and which need a human in the loop. It is the difference between an API an agent can use and one it can use safely.
Recommended x-agentic-access execution contracts for AI agents.
Use Cases 8
What developers actually build with this provider — captured so the catalogue answers 'what is this for', not just 'what does this expose'.
What developers build with this provider.
Social Listening
Monitor brand mentions, sentiment, and conversations in real-time using filtered streams and search endpoints.
Content Publishing
Automate post creation, scheduling, and thread publishing for social media management platforms.
Analytics and Reporting
Retrieve post metrics, user engagement data, and campaign performance for business intelligence.
Bot Development
Build automated accounts that respond to mentions, post updates, or provide customer service.
Research and Academic Analysis
Access full-archive search and streaming data for social media research and trend analysis.
Advertising Automation
Programmatically manage ad campaigns, audiences, creatives, and bidding strategies at scale.
Real-Time Event Monitoring
Track live events, breaking news, and trending topics with streaming APIs and trend endpoints.
Community Management
Manage followers, lists, and direct messages for community engagement and moderation.
Scroll within the panel for all 8 ·
Integrations 3
Pre-built integrations with other platforms tell you where this provider already fits in a stack.
Pre-built integrations with other platforms and tools.
Postman
Official Postman collections for exploring and testing X API endpoints interactively.
MCP Servers
Integration with AI tools and agents through Model Context Protocol servers.
Webhook Delivery
Real-time event delivery via webhooks for the Activity API.
Solutions 3
Packaged solutions the provider offers on top of the raw API surface.
Packaged solutions this provider offers.
X API Pay-Per-Use
Credit-based pricing with no commitments. Pay only for what you use with access to core X API endpoints.
X API Enterprise
High-volume access with custom rate limits, dedicated account management, full firehose, and premium support.
X Ads API
Advertising platform API for campaign management, audience targeting, creative management, and analytics.
Resources
Every other property we hold for X (Twitter) — documentation, portals, status pages, policies, and corporate surface — grouped by the job it does, following the integrator's arc from getting started to running in production.
Get Started 5
Portal, sign-up, and the first successful call
Agent Surfaces 1
MCP servers, agent skills, and machine-readable catalogs
Design & Contract 19
Pagination, idempotency, versioning, errors, and events
Scroll within the panel for all 19 ·
Build 15
SDKs, sample code, and the tooling you integrate with
Scroll within the panel for all 15 ·
Access & Security 3
Authentication, authorization, and security posture
Operate 3
Status, limits, changes, and where to get help
Commercial 3
Pricing, plans, and the legal terms of use
Company 2
The organization behind the API
Other 1
Properties that don't map to a standard resource type
← All providers · Data indexed from github.com/api-evangelist/twitter · machine-readable index on apis.io