TwitterXAPI docs
Public X data, without the GraphQL cleanup.
Read profiles, posts, conversations, networks, lists, trends, and communities through predictable JSON.
Start with one request
Every REST request uses the same bearer key. Collection endpoints return one upstream page and a cursor for the next page.
curl "https://twitterxapi.com/api/v1/users/marclou?level=moderate" \
-H "Authorization: Bearer $TWITTERXAPI_KEY"Find what you need
Getting startedAuthentication, base URL, and your first call.Response levelsChoose Raw, Moderate, or Contentful JSON.UsersProfiles, timelines, followers, and following.PostsPost details, replies, threads, and retweeters.SearchSearch posts, accounts, and trends.Larger readsQueue account histories and bulk collection work.
REST and MCP use the same account
Call the HTTP API from your code, or connect an MCP-compatible agent with the same API key, credit balance, and request history.
Set up your first requestNext →