Skip to main content
Speed up your development with official SDKs, CLI tools, AI agent integrations, and community libraries.

Official SDKs (XDKs)

Client libraries for the X API v2, generated from the OpenAPI spec with auth, pagination, and streaming built in.

Python

pip install xdk · Python 3.8+

TypeScript

npm install @xdevplatform/xdk · Node.js 18+

Java

com.x:xdk · Java 17+

C# / .NET

dotnet add package XDevPlatform.Xdk · .NET 8+

Quick start


Developer tools

xurl

curl-like CLI for the X API with built-in OAuth 2.0, OAuth 1.0a, and app-only authentication.

Chat XDK

Client-side encryption, key management, and signing toolkit for X Chat in Python, TS, Java, C#, Go, and Rust.

Postman Collection

Interactive API testing for X API v2 endpoints.

API Playground

Local mock server for testing X API v2 endpoints without spending credits.

Agent Resources

XMCP, llms.txt, skill.md, docs MCP server, and resources for AI-powered development.

XDK Generator

Open-source Rust code generator powering all four official XDKs.

Other tools


Community libraries

Community-maintained libraries with X API v2 support. Check each library’s documentation for current coverage.
Community libraries are not maintained by X. Check their repositories for support and current status.

Code samples


X Ads API libraries

For tools and libraries specific to the X Ads API, see the Ads API tools and libraries page.