---
title: "X API v2"
account: x
slug: x-api-v2
---

# X API v2

Social posts, messaging, communities and live audio: read and publish posts, chat, lists, Spaces, trends and news

- Operations: 257
- Versions: 20 (latest `2e1fefa37444`)
- License: [X Developer Agreement and Policy](https://developer.x.com/en/developer-terms/agreement-and-policy.html)
- Homepage: https://developer.x.com/
- Source: https://api.twitter.com/2/openapi.json
- OpenAPI document: https://skmtc.dev/x/apis/x-api-v2/revisions/2e1fefa37444?raw

## Operations

257 in total, by tag:

- Account (2)
- Account Activity (5)
- Stream (18)
- Activity (5)
- Articles (2)
- Bots (6)
- Broadcasts (37)
- Calls (10)
- Chat (45)
- Communities (2)
- Compliance (6)
- Connections (4)
- Direct Messages (9)
- Lists (9)
- Media (11)
- News (2)
- Community Notes (5)
- General (1)
- Spaces (6)
- Trends (2)
- Posts (14)
- Webhooks (8)
- Usage (2)
- Users (46)

Every operation, with a link to its markdown: https://skmtc.dev/x/apis/x-api-v2/llms.txt
