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
- Register a URL you control with
POST /webhooks. - Confirm ownership with a one-time CRC handshake.
- Receive typed, signed events at your URL the moment they happen.
The events you receive
| Type | Fires when |
|---|---|
| message.received / message.sent | a DM is received or sent |
| message.edited / message.deleted | a DM changes |
| tweet.mention / tweet.reply / tweet.quote | someone engages your tweets |
| tweet.like / tweet.retweet | someone likes or retweets |
| user.follow | someone 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 Official | OmniX | |
|---|---|---|
| Price per request | ~$0.010 | $0.0025 |
| Enterprise contract | required | none |
| Encrypted DM events | no | yes |
| Local testing (localhost) | no | yes |
| Replay last 24h | limited | yes |
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.