v1.1 tools and libraries


Official v1.1 tools and libraries

The X teams maintain a set of official libraries and SDKs, listed here. 

We also include a list of community-supported libraries lower on this page. 

JavaScript / Node.js

Clients

--

SDKs / Libraries

--

Tools

Autohook

Get started with the Premium v1.1 Account Activity API

Python

Clients

search-tweets-python

A client supporting v2, Premium v1.1 and Enterprise search

SDKs / Libraries

--

Tools

--

Ruby

Clients

search-tweets-ruby

A client supporting v2, Premium v1.1 and Enterprise search

SDKs / Libraries

--

Tools

--

Additional official resources

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

Looking for even more code? You can find examples on our GitHub, and on Glitch.

twemoji

Twitter’s free, open source emoji character set, including a JavaScript library for cross-platform support.

twitter-text

A collection of libraries to standardize parsing and tokenization of Tweet text.

Available for Java, JavaScript, Objective-C & Ruby.

Learn more about counting characters in Tweets.

OpenAPI specification

Use this specification to exercise the v2 API with tools like Postman or Insomnia.

twurl

A command-line tool (CLI) for interacting with the Twitter API, including OAuth authentication.

Requires a Ruby runtime.

Postman collection 

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

Community tools and libraries

These are some of the many community-supported libraries that cover the Twitter API, across several programming languages and platforms. Note that these resources may not all have been tested by the Twitter team.

The libraries listed here should implement most features of the Standard API v1.1, unless otherwise noted - check with the authors for details, and for additional support.

If you have built a library that supports Twitter API v2, please let us know about it via our community forums, for possible addition to this page. You can also use the forums to let us know about any changes to the listings on this page.

If you're missing a library or tool for your favorite programming language, let us know via the feedback platform, where you can also vote for ideas, or get inspired to build and submit something new.

.NET

(ASP, C#, VB)

Clients

SDKs / Libraries

CoreTweet

by @CoreTweet (v2)

Tools

--

C++

Clients

--

Tools

--

Clojure

Clients

--

Tools

--

ColdFusion

Clients

--

SDKs / Libraries

Tools

--

Dart

Clients

--

Tools

--

Elixir

Clients

--

SDKs / Libraries

Tools

--

Erlang

Clients

--

SDKs / Libraries

Tools

--

Go

Clients

twty

A command-line client tool written in Go, by @mattn

Tools

tw-oob-oauth-cli

A small PIN-based OAuth tool to retrieve tokens, by @smaeda-ks

Haskell

Clients

--

SDKs / Libraries

Java

Clients

--

SDKs / Libraries

twittered

by @redouanebali (v2, Premium v1.1 support)

Tools

--

JavaScript / Node.js

Clients

--

SDKs / Libraries

Tools

twittersignin

A wrapper around Twit to simplify signin, by @shalvah

Julia

Clients

--

SDKs / Libraries

Tools

--

Kotlin

Clients

--

SDKs / Libraries

Tweedle

by @tyczj (v2 in alpha)

Tools

--

Lua

Clients

--

SDKs / Libraries

Tools

--

Objective-C

Clients

--

SDKs / Libraries

Tools

--

Perl

Clients

--

SDKs / Libraries

Tools

--

PowerShell

Clients

--

SDKs / Libraries

--

Python

Clients

tweetget

by @gnascimento. A search client library for Premium v1.1.

SDKs / Libraries

TwitterAPI

by @geduldig. Includes v2, Premium v1.1 and Labs support.

tweepy

by the tweepy Developers. Includes Premium v1.1 support.

Tools

twitter

by the Python Twitter Tools developer team. Includes a CLI, IRC tools, and minimalist API library for v1.1

R

Clients

--

SDKs / Libraries

rtweet

by @kearnymw. Includes Premium v1.1 search support.

Tools

rtweetXtras

Helper functions for rTweet, by @Arf9999

tweetrmd

Easily embed Tweets into R Markdown, by @gadenbuie

Ruby

Clients

t

A command-line tool by @sferik

SDKs / Libraries

twitter-labs-api

by @tomholford (supports Labs)

Tools

--

Rust

Clients

--

Tools

--

Scala

Clients

--

SDKs / Libraries

Tools

--

Shell script (Bash)

Clients

tweet.sh

A simple Twitter client by @piroor. Requires additional command-line tools.

SDKs / Libraries

--

Tools

--

Swift

Clients

--

SDKs / Libraries

Tools

--

TypeScript

Clients

--

SDKs / Libraries

Tools

twitter-d

TypeScript definitions for v1.1 Twitter API objects, by @Abraham