Guides
End-to-end recipes for common Twitter/X data tasks. Each guide ships working cURL, Python, and Node samples with cost math included.
Reference docs tell you what each endpoint accepts and returns. These guides show you how to wire endpoints together into something that actually ships.
Every recipe covers a real, self-contained task. The samples run against the live API and include pagination, deduplication, and error handling where relevant. Cost is called out explicitly so there are no surprises.
Base URL: https://api.twitterapis.com/twitter
Pricing: $0.0008 per read call, roughly $0.04 per 1,000 tweets. Most write actions cost $0.0008 per call too; posting a new tweet is $0.0016.
Build a brand monitor
Poll advanced_search on an interval, dedupe by tweet ID, and surface net-new mentions. Cost math for 50 keywords every 30 minutes.
Export a follower list
Walk the full follower or following graph for any account and stream results to a CSV or database, handling pagination and rate limits.
Keyword stream with webhooks
Combine polling with a lightweight webhook dispatcher to push matching tweets into Slack, Discord, or any HTTP endpoint in near-real-time.
Post and engage programmatically
Like, retweet, reply, and bookmark on behalf of an authenticated account using the write endpoints. Includes session auth setup.
MCP integration
Connect the TwitterAPIs MCP server to Claude, Cursor, or any MCP client and use natural-language prompts to query Twitter data.