| title | TwexAPI X (Twitter) Scraper API |
|---|---|
| sidebarTitle | Home |
| description | Search tweets, read profiles, paginate followers, and call TwexAPI REST, SDKs, MCP, CLI, Terraform, n8n, Prefect, Haystack, Paperclip, or Apify with an API key. Not affiliated with X Corp. |
TwexAPI is an X (Twitter) Scraper API and X API alternative. Search tweets, read profiles, and paginate followers with one API key.
You need an X_API_SCRAPER_KEY from the dashboard. You do not need an official X developer account for supported public reads.
export X_API_SCRAPER_KEY='replace_me'
curl --request POST 'https://api.twexapi.io/twitter/advanced_search/page' \
--header "Authorization: Bearer ${X_API_SCRAPER_KEY}" \
--header 'content-type: application/json' \
--data '{
"searchTerms": ["from:elonmusk"],
"sortBy": "Latest",
"next_cursor": ""
}'Pass next_cursor from the previous page unchanged to fetch the next page.
The OpenAPI contract used by the SDKs currently documents 66 operations. Public docs focus on API-key public reads:
| Area | Typical routes |
|---|---|
| Search | Advanced search, hashtags, cashtags |
| Users | Profile about, user search, batch lookup |
| Followers | v3 followers, following, verified followers |
| Timelines | User timeline pages, tweets and replies |
| Tweets | Detail, lookup, thread, similar tweets, replies, quotes |
| Trending | Countries, topics, content tags, trending tweets |
| Communities and lists | Search, members, tweets, subscribers |
| Account | GET /balance |
Deleted, protected, restricted, or unavailable content may stay inaccessible. TwexAPI omits unavailable optional fields. It never invents missing content.
TwexAPI is an independent third-party service. Not affiliated with X Corp. "Twitter" and "X" are trademarks of X Corp.