# Current Features
Source: https://docs.utrack.club/docs/information/current-features
A list of all the monitoring features our tracker comes with by default for every user
🟢 Tweet Monitoring\
🟢 Following Monitoring\
🟢 Deleted Tweet Monitoring\
🟢 Profile Changes Monitoring\
🟢 Pinned Tweets Changes Monitoring\
🟠Official Badges Monitoring
# WS Data Types & Events
Source: https://docs.utrack.club/docs/information/data-types
All the data types and events that the websocket sends
## Base Message Format
Every message sent over the websocket follows this base format:
```tsx theme={null}
export interface WebsocketWorkerEvent {
id: string; // Unique ID for this event (use for debouncing and deduplication across multiple connections)
type: string; // The type of event being sent
}
```
***
## Tweet Events
```tsx theme={null}
export interface MiniTweetUpdate extends WebsocketWorkerEvent {
type: 'tweet.mini.update';
tweet: TwitterMiniTweet;
}
```
This is always the **first** event fired for any new tweet. It prioritizes speed over completeness, you get core tweet info instantly, but subtweet data (quotes, retweets, replies) won't be populated yet.
A `tweet.update` will follow shortly after if the tweet:
* Is quoting, replying to, or retweeting another tweet
```tsx theme={null}
export interface TweetUpdate extends WebsocketWorkerEvent {
type: 'tweet.update';
tweet: TwitterTweet;
}
```
Sent a bit after `tweet.mini.update` with complete tweet data including resolved subtweets.
**Note:** Subtweet chains are resolved up to **2 levels deep**. If a chain is 3+ levels (e.g. a retweet of a reply to another tweet), levels 3+ will have minimal/default data. See `tweet.full` for fully resolved deep chains.
```tsx theme={null}
export interface TweetUpdateExpanded extends WebsocketWorkerEvent {
type: 'tweet.update.expanded';
tweet: TwitterTweet;
}
```
Same as `tweet.update` but with **full untruncated text** and article content if present.
Only sent when:
* The tweet text was truncated in `tweet.update`
* The tweet contains an article
```tsx theme={null}
export interface TweetFull extends WebsocketWorkerEvent {
type: 'tweet.full';
tweet: TwitterTweet;
}
```
Sent when a tweet has a subtweet chain **3 or more levels deep**. Every level in the chain is fully resolved with complete author data, metrics, media, and body text.
**Only triggered for chains 3+ levels deep.** Standalone tweets, simple retweets, and single-level quotes/replies will not trigger this event.
**Timeline:**
* `tweet.mini.update` arrives first (fastest)
* `tweet.update` arrives \~60ms later (levels 3+ may have empty data)
* `tweet.full` arrives \~200-500ms later (all levels fully resolved)
**Example chain (5 levels):**Â
```
Level 1: @elonmusk (QUOTE) "True"
└─ Level 2: @DavidSacks (QUOTE) "And guess where those staffers went..."
└─ Level 3: @beffjezos (QUOTE) "Here's the receipt..."
└─ Level 4: @mattyglesias (QUOTE) "The hypothetical hypocrisy..."
└─ Level 5: @beffjezos (TWEET) "Let's be real if the Dems had won..."
```
In `tweet.update`, levels 3-5 would have empty/default data. In `tweet.full`, every level has complete data.
Supports up to 6 levels including the main tweet, we might increase it in the future, but 6 levels seems good for most use cases for now
***
## Profile Events
```tsx theme={null}
export interface WorkerProfilePinnedUpdateEvent extends WebsocketWorkerEvent {
type: 'profile.pinned.update';
user: TwitterUser;
pinned: TwitterTweet[];
}
```
```tsx theme={null}
export interface WorkerProfileUnpinnedUpdateEvent extends WebsocketWorkerEvent {
type: 'profile.unpinned.update';
user: TwitterUser;
pinned: TwitterTweet[];
}
```
```tsx theme={null}
export interface ProfileUpdate extends WebsocketWorkerEvent {
type: 'profile.update';
user: TwitterUser; // The new profile information
before: TwitterUser; // The old profile information
}
```
***
## Activity Events
```tsx theme={null}
export interface FollowingUpdate extends WebsocketWorkerEvent {
type: 'following.update';
change: 'unfollowed' | 'followed';
following: TwitterUser; // The target user who was followed/unfollowed
user: TwitterUser; // The tracked user who performed the action
}
```
```tsx theme={null}
export interface DeletedTweet extends WebsocketWorkerEvent {
type: 'tweet.deleted';
tweet: TwitterTweet; // Metrics may be outdated (likes, replies, retweets, etc)
deleted_at: number; // UNIX timestamp in milliseconds
}
```
Don't rely on metrics being accurate for deleted tweets — they reflect the last known values before deletion.
***
## Types
### TwitterUser
```tsx theme={null}
export interface TwitterUser {
id: string;
handle: string;
private: boolean;
verified: {
type: 'none' | 'blue' | 'gold' | 'gray';
label: null | {
description: string;
badge: null | string;
url: null | string;
};
};
sensitive: boolean;
restricted: boolean;
joined_at: number;
profile: {
name: string;
location: null | string;
avatar: null | string;
banner: null | string;
pinned: string[];
url: null | {
name: string;
url: string;
tco: string;
};
description: {
text: string;
urls: {
name: string;
url: string;
tco: string;
}[];
};
};
metrics: {
likes: number;
media: number;
tweets: number;
friends: number;
followers: number;
following: number;
};
}
```
| Field | Description |
| ----------------- | ------------------------------------------------------------------------------------------------------------ |
| `id` | The user's account ID |
| `handle` | The user's handle (without @) |
| `private` | Whether the account is currently private |
| `verified.type` | `blue` = blue checkmark, `gold` = business/organization, `gray` = government/official, `none` = not verified |
| `verified.label` | Affiliated organization info (badge, description, profile link) — null if none |
| `sensitive` | Whether the account is flagged for sensitive content |
| `restricted` | Whether the account is restricted for unusual activity |
| `joined_at` | UNIX timestamp in milliseconds |
| `profile.pinned` | Array of pinned tweet IDs |
| `metrics.friends` | Mutual followers (people who follow the user and the user follows back) |
### TwitterMiniUser
```tsx theme={null}
export interface TwitterMiniUser {
id: string;
handle: string;
verified: {
type: 'none' | 'blue' | 'gold' | 'gray';
label: null | {
description: string;
badge: null | string;
url: null | string;
};
};
profile: {
name: string;
avatar: null | string;
};
metrics: {
following: number;
followers: number;
};
}
```
### TwitterTweet
```tsx theme={null}
export interface TwitterTweet {
id: string;
type: 'TWEET' | 'RETWEET' | 'QUOTE' | 'REPLY';
created_at: number;
author: TwitterUser;
subtweet: null | TwitterTweet;
reply: null | {
id: string;
handle: string;
};
quoted: null | {
id: string;
handle: string;
};
body: {
text: string;
urls: {
name: string;
url: string;
tco: string;
}[];
mentions: {
id: string;
name: string;
handle: string;
}[];
components: (
| { type: 'text'; text: string; bold: boolean; italics: boolean; }
| { type: 'image'; url: string; }
| { type: 'video'; url: string; }
)[];
};
media: {
images: string[];
videos: string[];
thumbnails: string[];
proxied: null | {
images: string[];
thumbnails: string[];
};
};
grok: null | {
id: string;
conversation: {
from: 'USER' | 'AGENT';
message: string;
images: string[];
}[];
};
card: null | {
url: string;
image: string;
title: string;
description: string;
};
poll: null | {
ends_at: number;
updated_at: number;
choices: {
label: string;
count: number;
}[];
};
article: null | {
id: string;
title: string;
thumbnail: null | string;
created_at: number;
updated_at: number;
body: {
text: string;
components: (
| { type: 'divider'; }
| {
type: 'text';
variant:
| 'header-one'
| 'header-two'
| 'paragraph'
| 'blockquote'
| 'ordered-list'
| 'unordered-list'
| 'latex-box'
| 'markdown-box';
lines: {
text: string;
styles: {
from: number;
to: number;
text: 'bold' | 'italics' | 'strikethrough';
}[];
urls: {
from: number;
to: number;
url: string;
}[];
}[];
}
| {
type: 'media';
variant: 'image' | 'gif' | 'video';
url: string;
thumbnail: string;
caption: null | string;
}
| {
type: 'tweet';
tweet: {
id: string;
url: string;
object: null | TwitterTweet;
};
}
)[];
};
};
community: null | object;
metrics: {
likes: number;
quotes: number;
replies: number;
retweets: number;
advanced: null | {
views: number;
};
};
}
```
| Field | Description |
| ------------------ | ---------------------------------------------------------------------------------------------------------------------------------- |
| `subtweet` | The nested tweet this tweet references (reply parent, quoted tweet, or retweeted tweet). Recursive — can contain its own subtweet. |
| `reply` | If this is a REPLY, contains the ID and handle of the tweet being replied to |
| `quoted` | If this is a QUOTE, contains the ID and handle of the tweet being quoted |
| `body.components` | Rich text components for expanded/long tweets — only populated in `tweet.update.expanded` |
| `media.proxied` | Proxied media URLs — not always available, fall back to normal URLs |
| `grok` | Embedded Grok AI conversation preview, if the tweet contains one |
| `card` | URL card preview (image, title, description) for linked articles |
| `article` | Full article content if the tweet is a Twitter article |
| `metrics.advanced` | View count — null until expanded version is fetched |
### TwitterMiniTweet
```tsx theme={null}
export interface TwitterMiniTweet {
id: string;
type: 'TWEET' | 'RETWEET' | 'QUOTE' | 'REPLY';
created_at: number;
author: TwitterMiniUser;
subtweet: null | TwitterMiniTweet;
reply: null | {
id: string;
handle: string;
};
quoted: null | {
id: string;
handle: string;
};
body: {
text: string;
urls: {
name: string;
url: string;
tco: string;
}[];
mentions: {
id: string;
name: string;
handle: string;
}[];
};
media: {
images: string[];
videos: string[];
thumbnails: string[];
proxied: null | {
images: string[];
};
};
}
```
***
## Event Flow
Here's the order events fire for different tweet types:
```
Standalone tweet:
1. tweet.mini.update (instant)
2. tweet.update (a tiny bit later, only if has URL/card)
Quote / Reply / Retweet (2 levels):
1. tweet.mini.update (instant)
2. tweet.update (a tiny bit later, subtweet fully resolved)
Deep chain (3+ levels):
1. tweet.mini.update (instant)
2. tweet.update (a tiny bit later, levels 3+ have minimal data)
3. tweet.full (a little more later, ALL levels fully resolved)
```
We are always working on new events — keep an eye on this section for updates!
# Tiers and Prices
Source: https://docs.utrack.club/docs/information/tiers-and-prices
Choose the right tier based on performance, scale, and latency requirements.
Interested in purchasing? Open a ticket in our [**discord**](https://discord.gg/utrack)**!**
## Pricing at a glance
| **Tier** | **Watched Accounts** | **Starting Price** | **Typical Latency** |
| ----------------------- | -------------------- | ------------------ | ------------------- |
| **Extreme Performance** | 25 | \$3,750 / month | \~70ms – 150ms |
| **High Performance** | 50 | \$1,800 / month | \~150ms – 250ms |
| **Normal Performance** | 500 | \$750 / month | \~200ms – 400ms |
***
## How tiers differ
All uTrack tiers use the same WebSocket and REST APIs.
What changes between tiers is:
* Infrastructure priority
* Routing and ingestion paths
* Throughput and consistency
* Level of tuning and operational involvement
***
## Extreme Performance
**A tailored, high-touch solution for the lowest possible latency.**
Extreme Performance is **not a standard plug-and-play plan**.\
It is a highly advanced tier that requires **additional optimization and close coordination** between uTrack and the customer.
* Starts at **\$3,750 / month**
* Includes **25 watched accounts**
* **\$150 per watched account**
* Typical delivered latency: **\~70ms – 150ms**
This tier operates on:
* Dedicated priority routing
* Aggressively optimized ingestion paths
* Per-customer tuning and configuration
* Continuous adjustments as platform conditions change
Extreme Performance requires additional setup and active tuning. It is intended for advanced, latency-critical workloads only.
**Best for:**\
competitive trading, arbitrage systems, first-to-detect infrastructure
***
## High Performance
**High throughput with significantly reduced latency.**
* Starts at **\$1,800 / month**
* Includes **50 watched accounts**
* **\$36 per watched account**
* Typical delivered latency: **\~150ms – 250ms**
High Performance provides:
* Priority delivery over shared high-performance infrastructure
* Lower and more consistent latency than Normal
* Minimal configuration required
**Best for:**\
production trading tools, large monitoring systems, performance-sensitive applications
***
## Normal Performance
**Reliable real-time delivery at scale.**
* Starts at **\$750 / month**
* Includes **500 watched accounts**
* **\$1.50 per watched account**
* Typical delivered latency: **\~200ms – 400ms**
Latency is measured at **WebSocket delivery** and does not include third-party dispatch delays (such as Discord bots or webhook relays), making it significantly faster than alert-based plans.
**Best for:**\
dashboards, alerts, analytics, and general monitoring
***
## Custom limits & tailored solutions
Need a lower or higher watched-account limit, or a custom setup?
uTrack offers **bespoke configurations**, including:
* Custom watched-account limits
* Extreme Performance onboarding
* Specialized routing or delivery requirements
Join the [uTrack Discord](https://discord.gg/utrack) and open a ticket to discuss trials, custom limits, or tailored Extreme Performance setups.
***
## Choosing the right tier
* Start with **Normal Performance** to integrate and test
* Upgrade to **High Performance** when latency becomes important
* Use **Extreme Performance** only when milliseconds directly impact outcomes
Tier upgrades do not require changes to your WebSocket URL or client code.
# Add Tracked Accounts
Source: https://docs.utrack.club/guides/management-api/add-tracked-accounts
POST /api/key/watched
Add one or more Twitter accounts to your tracking list. You can provide multiple accounts as a comma-separated list. The API will automatically resolve usernames to IDs and vice versa.
# Get Tracked Accounts
Source: https://docs.utrack.club/guides/management-api/get-tracked-accounts
GET /api/key/watched
Retrieve all Twitter accounts that you are currently tracking
# Remove Tracked Accounts
Source: https://docs.utrack.club/guides/management-api/remove-tracked-account
DELETE /api/key/watched
Remove one or more Twitter accounts from your tracking list. You can provide multiple accounts as a comma-separated list.
# Get API health
Source: https://docs.utrack.club/guides/rest-api/other/health
GET /health
Returns the health status of the API
# Get a tweet
Source: https://docs.utrack.club/guides/rest-api/tweets/get-tweet
GET /v1/data/tweet/{id}
Fetches detailed information about a specific tweet by its ID. Returns a parsed TwitterTweet object with author information, media, metrics, and any referenced tweets (replies, quotes, retweets).
When `expanded=true`, the endpoint returns enhanced data including:
- Complete full text for long-form tweets
- Article content with rich formatting, media, and embedded components (if the tweet contains an article)
- Community information (if the tweet belongs to a community)
- Enhanced structured content
When `expanded=false` or omitted, returns the standard tweet data format.
# Welcome to the uTrack Official Documentation
Source: https://docs.utrack.club/index
uTrack is the fastest unofficial Twitter/X API available.
Starting recieving tweets in seconds with our quickstart guide
A quick guide on how to use the REST API to your advantage
# Quickstart
Source: https://docs.utrack.club/quickstart
Connect to uTrack in under 60 seconds and start receiving tweets + account events in real time.
## What you'll build
In this guide you'll:
* Get your WebSocket URL from the [uTrack dashboard](https://utrack.club)
* Connect to uTrack over WebSocket
* Print incoming events (tweets, deletes, profile changes, follow updates, etc.)
## 1) Get your Websocket URL
1. Log in to the uTrack Dashboard
2. Add a test account to your [tracked accounts](https://www.utrack.club/dashboard/tracked-accounts)
3. Copy your personal WebSocket URL
Your URL will look like:
```
wss://api.utrack.club/ws?token=YOUR_TOKEN
```
**WARNING:** Keep your token private. *You can always request a reset if you leak it*.
## 2) Connect to the websocket
Below are example clients showing how to connect to uTrack's WebSocket. Choose ONE based on your language — they behave the same.
### JavaScript / Node.js
```javascript theme={null}
const url = "wss://api.utrack.club/ws?token=YOUR_TOKEN";
const ws = new WebSocket(url);
ws.onopen = () => {
console.log("Connected to uTrack");
};
ws.onmessage = (event) => {
try {
const msg = JSON.parse(event.data);
console.log("Event:", msg.type ?? "(no type)");
console.log(msg);
} catch {
console.log("Message:", event.data);
}
};
ws.onclose = (e) => {
console.log("Disconnected:", e.code, e.reason);
};
ws.onerror = (err) => {
console.error("WebSocket error:", err);
};
```
### Python
```python theme={null}
import json
import websocket
URL = "wss://api.utrack.club/ws?token=YOUR_TOKEN"
def on_open(ws):
print("Connected to uTrack")
def on_message(ws, message):
try:
msg = json.loads(message)
print("Event:", msg.get("type", "(no type)"))
print(msg)
except Exception:
print("Message:", message)
def on_error(ws, error):
print("WebSocket error:", error)
def on_close(ws, code, reason):
print("Disconnected:", code, reason)
if __name__ == "__main__":
ws = websocket.WebSocketApp(
URL,
on_open=on_open,
on_message=on_message,
on_error=on_error,
on_close=on_close
)
ws.run_forever()
```
## 3) Try it out
Assuming you have added your own X account to your Tracked Accounts you can now send a tweet and you will see a`tweet.mini.update`event pop up with all the details about your tweet!
## What's next?
* WebSocket Events: event types and payload examples
* Tiers: Normal vs High Performance vs Extreme
* Dashboard: managing accounts and subscriptions
* Best Practices: reconnects, dedupe, and scaling consumers
Need more help? Join our discord