Skip to main content
com.x:xdk (GitHub) is the official Java client library for the X API v2 (Java 17+ and Kotlin).

Maven Central

com.x:xdk:0.3.0 · Java 17+

GitHub

Source code and issues.

Installation

Requires JDK 17+.

Quick start


Authentication


Common methods


Learn more

Install

Add com.x:xdk with Maven or Gradle.

Quickstart

Make your first request.

Authentication

Bearer Token, OAuth 2.0 PKCE, and OAuth 1.0a.

Pagination

Iterate pages with Paginator<T>.

Streaming

Read live streams with EventStream<T>.

API Reference

Methods and parameters for each client.