Overview
REST API for Twitter and X data. Search tweets and users, read profiles and timelines, walk the follower graph, and run write actions. Bearer auth, JSON.
A REST API for Twitter and X data. Search tweets and users, resolve a single tweet into its full thread, read profiles and timelines, page the follower graph, run write actions, and check your account, all from your code.
It is a plain HTTP and JSON interface. There is no OAuth handshake, no developer-account review, and no per-endpoint scope to request. One key, one header, JSON back.
Base URL: https://api.twitterapis.com
Auth: every request requires Authorization: Bearer <API_KEY>. Pass your key as a bearer token on every call.
Docs: docs.twitterapis.com
New here? Start with the Quickstart
The Quickstart takes you from zero to your first live response in under two minutes, with copy-paste curl, JavaScript, and Python.
Authentication
Every endpoint expects a bearer token in the Authorization header:
curl "https://api.twitterapis.com/tweet/advanced_search?query=from%3Anaval" \
-H "Authorization: Bearer $TWITTERAPIS_KEY"Endpoint categories
| Category | Endpoints | Description |
|---|---|---|
| Search | 2 | Full-text and structured search across tweets and users. Filter by query operators, author, date, language, and… |
| Tweet Details | 4 | Resolve a single tweet into its full object: replies, retweeters, and the complete conversation thread. |
| User Reads | 9 | Read a profile, its timeline, media, mentions, affiliates, and follow relationships by username or numeric ID. |
| Follower Graph | 5 | Page through followers and following lists, including the verified-only and v2 cursor-paginated variants. |
| List Data | 1 | Read the members of any public Twitter/X List. |
| Write Actions | 8 | Act on behalf of an authenticated account: like, retweet, bookmark, and follow, each with its undo. Billed at $0.0015… |
| Account | 2 | Read your own account: remaining credits, plan, and the per-call payment ledger. These calls are free. |
Pricing
Pay per call. No subscription, no monthly minimum, no quota to negotiate. A standard read call costs $0.0008 and returns roughly 20 tweets, which works out to about $0.04 per 1,000 tweets. Write actions cost $0.0015 per call, and account reads are free. New accounts start with $0.50 in free credits.
| Call type | Price per call | Notes |
|---|---|---|
| Standard read | $0.0008 | About 20 tweets per call, roughly $0.04 per 1,000 tweets. |
| Write action | $0.0015 | Like, retweet, bookmark, follow, and each undo. |
| Account read | Free | Credits, plan, and the payment ledger. |
See Rate limits for the full pay-per-call model.