Tools and libraries

Official tools and libraries

The X teams maintain a small number of SDKs that support the Ads API.

Python

Clients

--

SDKs / Libraries

Tools

--

Ruby

Clients

--

SDKs / Libraries

Tools

--

Additional resources

Postman collection

Explore the Ads API endpoints using Postman, the visual REST client.

Community tools and libraries

These are some of the many community-supported libraries that cover the X Ads API, across several programming languages and platforms. The libraries listed here should support most features of the Ads API, unless otherwise noted - check with the authors for details.

If you have built a library that supports the X APIs, please let us know about it via our Developer Community forums.

PHP

Clients

--

Tools

--

Java

Clients

--

SDKs / Libraries

Tools

--

JavaScript / Node.js

Clients

--

SDKs / Libraries

Tools

--

Additional resources

The community tools below can also be useful when working with the X Ads API.

twitter-ads-api-analytics-debugger

An Electron-based desktop application for X Ads Analytics API, by @smaeda-ks