OmniX
← All posts
6 min read

A Cheap X Account Activity API Alternative: Real-Time Webhooks at $0.0025

A Cheap X Account Activity API Alternative: Real-Time Webhooks at $0.0025

Polling X for new activity is slow, wasteful, and rate-limited. The proper way is webhooks — but X's official Account Activity API is locked behind enterprise pricing at roughly $0.010 per request. For most builders that is a non-starter.

OmniX gives you the same thing — real-time activity POSTed to your server — at $0.0025 per management call, with no enterprise contract.

How it works

  1. Register a URL you control with POST /webhooks.
  2. Confirm ownership with a one-time CRC handshake.
  3. Receive typed, signed events at your URL the moment they happen.

The events you receive

TypeFires when
message.received / message.senta DM is received or sent
message.edited / message.deleteda DM changes
tweet.mention / tweet.reply / tweet.quotesomeone engages your tweets
tweet.like / tweet.retweetsomeone likes or retweets
user.followsomeone follows the account

Supply your encryption_code at registration and you also receive encrypted DM events — something X's own API cannot give you.

Verifying each delivery

Every event arrives with a signature header. Recompute it over the raw body with your secret and compare — if it matches, the event genuinely came from OmniX:

x-twitter-webhooks-signature: sha256=<base64( HMAC-SHA256(secret, rawRequestBody) )>

Register a webhook

curl -X POST "https://api.omnixapi.com/api/v1/twitter/webhooks" \
  -H "Authorization: Bearer YOUR_OMNIX_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "url": "https://your.app/x-events", "auth_token": "YOUR_TOKEN", "secret": "your_shared_secret" }'

OmniX vs the official Account Activity API

X OfficialOmniX
Price per request~$0.010$0.0025
Enterprise contractrequirednone
Encrypted DM eventsnoyes
Local testing (localhost)noyes
Replay last 24hlimitedyes

Missed events?

Call POST /webhooks/replay to re-send the last 24 hours of events — handy after a deploy or outage.

See the full comparison or grab a free key and register your first webhook in minutes.

Start building on OmniX

The X (Twitter) API with encrypted DMs, webhooks and a native MCP server — flat $0.001 per call, free credits to start.