Twitter API v2 Client

JSON →
library 1.29.0 ·javascript
verified May 27, 2026

twitter-api-v2 is a strongly typed, full-featured, and lightweight client for both Twitter API v1.1 and v2, designed for Node.js. Currently at version 1.29.0, it maintains an active release cadence, frequently incorporating new API features, fixes, and improvements as seen in recent updates like adding `article` tweet fields and expanding user/community fields. Its key differentiators include comprehensive TypeScript typings for all request parameters and response payloads, ensuring robust development, and a remarkable zero-dependency footprint, leading to a minimal bundle size (23kb minified+gzipped). The library provides extensive support for streaming, pagination, user-context authentication with OAuth2, and convenient media upload helpers, contrasting with other libraries that often lack strong typing or carry numerous external dependencies. It aims to provide a reliable and efficient wrapper around Twitter's evolving API.

total hits 17
actors 7 distinct systems
last hit 22h ago human
GPTBot
5
MetaBot
4
Script
1
Search engines
2
Humans
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇬🇧 United Kingdom · 🇩🇪 Germany · 🇫🇷 France