Node.js SDK for X/Twitter with cost-optimized Crawlee scraping and API support (Crawlee-first strategy)



Flexible Node.js SDK for X/Twitter with web scraping and official API support.
- š Hybrid Mode - Combines web scraping with API for flexibility
- āļø Write Operations - Post tweets, upload media, like, retweet, follow, and more
- š Multi-Account Support - Built-in account rotation with intelligent cooldown
- š Real-time Webhooks - HMAC-signed notifications for monitoring
- š Proxy Support - Integrated support for Oxylabs, BrightData, and custom proxies
- š”ļø Type-Safe - Full TypeScript support with comprehensive type definitions
- šÆ AI-Powered - KOL identification using Claude AI
``bash`
npm install @blockchain-web-services/bws-x-sdk-node
Extract X/Twitter cookies automatically:
`bash``
npx bws-x-setup-cookies
This interactive wizard extracts and validates your X/Twitter cookies automatically. See the Cookie Setup Guide for details.
š View Complete Documentation
- Getting Started - Setup and basic usage
- API Reference - Complete API documentation
- Configuration - Configuration options
- Examples - Code examples and guides
MIT - see LICENSE for details.