Twitter/X API
for Developers
REST endpoints and real-time WebSocket streaming.
Get user profiles, tweets, communities, trends — all with one API key.
$ curl "https://api.xshot.fun/twitter/user/info?username=elonmusk&api_key=KEY""name": "Elon Musk",
"followers_count": 237614000,
"is_blue_verified": true
}
Everything you need to build with Twitter/X data.
One API key. Unlimited possibilities.
31
REST Endpoints
7
WebSocket Channels
10s
Min Poll Interval
SSL
HTTPS + WSS
Unlike any API
you've used before
Built on Twitter's internal GraphQL API with Chrome TLS fingerprinting, per-request transaction IDs, and automatic account rotation.
Lightning Fast
Direct GraphQL pipeline to Twitter with Chrome 131 TLS fingerprinting. No proxying, no rate limit middlemen.
Real-time WebSocket
7 event channels with automatic diff detection. Subscribe once, get live updates on tweets, followers, engagement.
Full Coverage
Users, tweets, communities, lists, spaces, trends, and write operations. 31 endpoints covering every Twitter data type.
Simple Auth
One API key, three ways to use it. Query string for browser testing, header for production, bearer token for OAuth flows.
Complete
Twitter data
31 REST endpoints covering every Twitter data type. Users, tweets, communities, lists, spaces, trends, and write operations.
Real-time
WebSocket events
Subscribe to 7 event channels and get live updates pushed to your client. Only diffs are sent — no polling, no wasted bandwidth.
Start building
with Xshot
Get your API key and make your first request in 30 seconds.
Full documentation, code examples, and interactive playground.
ws.send(JSON.stringify({
type: "subscribe",
channel: "tweet:engagement",
params: { tweet_id: "123" }
}));
ws.onmessage = (e) => {
console.log(e.data);
// { like_count: 328, like_count_delta: 2 }
};