Skip to main content

What you’ll build

In this guide you’ll:
  • Get your WebSocket URL from the uTrack dashboard
  • 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
  3. Copy your personal WebSocket URL
Your URL will look like:
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

Python

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 atweet.mini.updateevent 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