X Activity API: the events X widened, and the bill
On 19 November 2026 X widened what counts as a reply and a mention on XAA. Existing subscriptions get the extra events automatically, and each one bills.
On this page · 12 sections
- Quick answer
- The event catalogue is much bigger than the launch post suggests
- What X widened on 19 November, and what it costs
- Telling the two reply shapes apart
- The widening is billed
- Why X did this
- Public events, private events, and what you cannot watch
- Every tutorial older than March 2026 uses dead event names
- What each event costs
- Narrowing a subscription to one post
- The Account Activity API is on its way out
- Is it worth building on
The short version
- ▸The X Activity API (XAA) is a subscription-and-push system: you register a webhook or open a persistent HTTP stream, create one subscription per event type and user ID, and X delivers matching events with sub-second latency instead of you polling an endpoint.
- ▸Public events (post.create, post.delete, profile updates, broadcast start and end) work on an app-only bearer token. Everything else is a private event that needs the user's OAuth 2.0 consent and a specific scope, so you cannot watch a stranger's replies or likes.
- ▸Events are billed per delivery on pay-per-use, at the same rates as reads: $0.005 for a post event, $0.010 for a follow or an inbound DM, $0.001 for a mute or block. X corrected a webhook billing bug on 16 September 2026, so older invoices understate the real cost.
- ▸On 19 November 2026 X widened three event definitions. post.reply.create now fires for replies deeper in a thread that carry your user in their Replying to list, and post.mention.create now fires past the first 280 characters and on reposts of a post that mentions you. Existing subscriptions receive the extra events with no change, and each one is billed as a post.
- ▸Every tutorial written before 18 March 2026 uses event names that no longer exist. PascalCase values like ProfileBioUpdate were switched off that day in favour of profile.update.bio, and the old strings are neither delivered nor accepted.
Quick answer
The X Activity API (XAA) is X's push system for real-time activity. You create one subscription per event type and user ID, point it at a webhook or open a persistent HTTP stream, and X delivers matching events in under a second. It covers posts, replies, quotes, reposts, @mentions, likes, follows, paid subscriptions, encrypted chat, legacy DMs, Spaces, broadcasts, mutes, blocks and OAuth revocations. Public events run on an app-only bearer token; the rest need the user's OAuth consent. Delivery is billed per event on pay-per-use, and on 19 November 2026 X widened what counts as a reply and a mention, so existing subscriptions now receive more events than they did without anyone changing a line of code.
Last updated: November 2026
If you have ever built anything that watches an X account, you have written the polling loop: hit the mentions endpoint every 30 seconds, diff the IDs, hope you did not miss anything between calls. XAA is the end of that loop. It also prices each delivered event, which changes the arithmetic in ways the polling version never exposed.
The event catalogue is much bigger than the launch post suggests
X announced XAA in open beta on 18 October 2025 with five events, all profile updates. That announcement is still the top non-documentation result for the API, and it describes maybe a tenth of what now exists.
| Category | Events |
|---|---|
| Posts | post.create, post.delete, post.mention.create, post.reply.create, post.quote.create, post.repost.create |
| Engagement | like.create (with an inbound or outbound direction filter) |
| Graph | follow.follow, follow.unfollow, subscriptions.subscribe, subscriptions.unsubscribe |
| Profile | profile.update.bio, .profile_picture, .banner_picture, .screenname, .handle, .geo, .url, .verified_badge, .affiliate_badge |
| Messaging | chat.received, chat.sent, chat.conversation_join (encrypted), dm.received, dm.sent, dm.read, dm.indicate_typing (legacy) |
The three chat.* events carry ciphertext and need the Chat XDK to read; the X Chat API covers the decryption path and why a webhook subscribed the legacy DM way never fires.
| Live | spaces.start, spaces.end, broadcast.start, broadcast.end, broadcast.chat, broadcast.chat.remove |
| Moderation | mute.mute, mute.unmute, block.block, block.unblock |
| App | oauth.revoke |
One row deserves an immediate flag. post.create fires for standalone posts, replies, quote posts and reposts by the filtered user all at once, so you have to inspect in_reply_to_tweet_id or referenced_tweets in the payload to tell them apart. What the reply and mention rows cover changed on 19 November 2026, and that is the next section.
Posts from protected accounts are never delivered, even for events X classifies as public.
What X widened on 19 November, and what it costs
Three event definitions got broader. None of them required a subscription change, a version bump or a migration, which is precisely why it is easy to miss.
| Event | Fired before | Also fires now |
|---|---|---|
post.reply.create | Direct replies to the filtered user's posts | Replies deeper in a thread that carry the filtered user in the automatic "Replying to" list |
post.mention.create | An @mention in the first 280 characters of the post text | @mentions past the first 280 characters of a longer post, and reposts of a post that @mentions the filtered user |
post.quote.create | Direct quotes of the filtered user's posts | Nothing. Quotes of quotes are still not delivered |
That reply change is the big one. A thread where ten people argue underneath your post used to produce one event, for the direct reply, and nine silences. Now every reply that carries your handle in its "Replying to" list reaches you. On a busy account that is not a marginal increase, it is the difference between watching a post and watching a conversation.
X also drew a boundary between the two widened events so they do not double-fire on the same handle: post.mention.create explicitly does not fire for handles in the automatic "Replying to" list at the start of a reply, because those are delivered as post.reply.create instead. Only an @mention the author actually typed into the body counts as a mention. A reply that is addressed to you and types your handle again in its text satisfies both definitions, so budget for two events on that one post rather than assuming the partition is total.
Telling the two reply shapes apart
Since one event type now covers both cases, the discriminator moved into the payload. Read payload.in_reply_to_user_id:
- Equal to your filtered user's ID: a direct reply to one of their posts.
- A different user's ID: a reply deeper in the thread that merely carries your user in its "Replying to" list.
If you have logic that assumed every post.reply.create was a reply to your own post, such as auto-threading a response or incrementing a per-post reply counter, that assumption broke on 19 November and it broke quietly. The event still arrives, still validates, and now sometimes describes a reply to somebody else.
The widening is billed
This is the part the changelog states plainly and that is worth repeating: existing subscriptions receive the additional events with no changes, and each delivered event is billed as before. XAA post events bill as a post, at $0.005 each.
So the cost of an unchanged post.reply.create subscription went up on 19 November by exactly the volume of deep-thread replies the watched account attracts, which nobody was measuring, because until that date it was not deliverable. An account whose posts draw long argument threads could easily see reply deliveries multiply. Nothing in the API tells you this happened. The first signal is the invoice.
Two practical responses. If you only ever wanted direct replies, filter on in_reply_to_user_id at your webhook and accept that you are paying for the events you discard, because billing is per delivery and not per event you keep. If you want the whole conversation, you now get it, and the post_id qualifier below is the way to bound the spend to one post rather than the whole account.
Why X did this
None of this is a feature so much as a parity exercise. X's AAA to XAA migration guide carries a behaviour-differences table, and these three rows are the ones that used to say XAA delivered less than the old Account Activity API: AAA sent any post mentioning the user including deep thread replies, delivered reposts when the mention fell in the first 140 characters, and dropped mentions past 280 characters entirely. All three gaps are now closed in XAA's favour. One row is still open, and X flags it: posts from protected accounts are not delivered through XAA even with user-context authorisation, where AAA delivered them. X says it is looking at closing that gap too.
Public events, private events, and what you cannot watch
This is the part that decides whether your idea is buildable at all. X splits the catalogue in two.
Public events can be subscribed to with an app-only bearer token, the one you copy out of the developer console. That list is short: post creation and deletion, the profile updates, and broadcast start and end. You can watch any public account's posting activity without asking anyone.
Private events need the user to authorise your app over OAuth 2.0 and grant a specific scope. Likes, every messaging event, replies, quotes, reposts, @mentions, paid subscriptions, mutes, blocks and broadcast chats are all private. Mentions, replies, quotes and reposts need tweet.read; subscriptions need follows.read; mutes need mute.read; blocks need block.read; broadcast chats need broadcast.read.
For mutes and blocks there is a second limit worth reading twice: the user_id filter matches the person performing the action. You can be told that your authorising user blocked somebody. You cannot be told that somebody blocked your authorising user. If you were planning a "who blocked me" product on top of this, the API is built specifically to refuse it, which matches what X hides about blocks in the app.
Every tutorial older than March 2026 uses dead event names
On 13 March 2026 X announced that the PascalCase event type format was deprecated as of 18 March 2026, and that the old values would be neither delivered nor accepted after that date.
| Old value | Current value |
|---|---|
ProfileBioUpdate | profile.update.bio |
ProfilePictureUpdate | profile.update.profile_picture |
ProfileScreennameUpdate | profile.update.screenname |
FollowFollow | follow.follow |
SpacesStart | spaces.start |
ChatReceived | chat.received |
NewsNew | news.new |
Copy a subscription body out of the open-beta announcement and you get a 400. Copy a switch statement out of any blog post from 2025 and it silently never matches. The format is dot-separated lowercase with snake_case inside each segment, and there is no compatibility shim.
What each event costs
X moved the whole API to metered credits in February 2026, which we broke down in X API pricing. XAA deliveries bill the same way, per event, deduplicated inside a 24-hour UTC window.
| Event | Cost per delivery |
|---|---|
post.create | $0.005 |
profile.update.* | $0.005 |
news.new, spaces.start, spaces.end | $0.005 |
follow.follow, follow.unfollow | $0.010 |
chat.received, dm.received | $0.010 |
mute.*, block.* | $0.001 |
post.delete, chat.sent, dm.sent, dm.read, dm.indicate_typing, chat.conversation_join | Not billed |
Two honest caveats. First, the pricing page's webhook table and the XAA reference disagree about post.delete: the price table lists it as not billed, while the XAA documentation says every delivered post event, post.delete included, is billed as a post. Assume you will be charged and treat the free row as a bonus if it holds. Second, X published a billing correction on 16 September 2026 confirming that webhook-delivered XAA events had been under-billed on pay-per-use. Delivery was unaffected, but any cost model you built from an August invoice is wrong on the low side.
Run the numbers before you subscribe to anything noisy. A single account that gets 2,000 replies a day costs $10 a day to watch at post-event rates, which is more than most people expect from a feature marketed as a webhook.
Narrowing a subscription to one post
Genuinely useful filtering lives in the filter.qualifiers map, which takes up to eight entries. Three qualifiers exist today: conversation_type (direct or group, for chat events), direction (inbound or outbound, for follows, likes and subscriptions), and post_id.
post_id is the interesting one. Attach it to like.create, post.reply.create, post.quote.create or post.repost.create and you only receive events for that specific post:
{
"event_type": "post.reply.create",
"filter": {
"user_id": "1830023695835787264",
"qualifiers": { "post_id": "1234567890123456789" }
},
"webhook_id": "2090847910112202752",
"tag": "replies to a specific post"
}
That turns a launch thread or a giveaway post into a cheap, bounded event feed instead of a subscription to everything the account will ever do. It narrows the user_id filter rather than replacing it, so the post has to belong to that user. One gotcha: a broad subscription and a post_id subscription for the same event type and user overlap, and X rejects the second one with a DuplicateSubscription error. Pick one shape per event type.
Subscriptions also accept an optional expires_at timestamp in RFC 3339, after which X deletes them for you. Re-posting the same subscription with a new expires_at refreshes it. The PUT endpoint updates the tag and the webhook ID but will not touch expiry, which is an easy hour to lose.
The Account Activity API is on its way out
If you are maintaining something on the old Account Activity API, X's own migration guide now opens with a deprecation warning that points at XAA for real-time delivery going forward. The replay endpoint was deprecated separately in March 2026. No shutdown date has been published, but the direction is not ambiguous.
The migration is not a rename. Webhook management moved to the v2 Webhooks API, authentication moved to OAuth 2.0, the base path changed from /1.1/account_activity/ to /2/account_activity/, and the "delete all subscriptions for a webhook" call has no v2 equivalent. If you are rewriting that much anyway, rewrite onto XAA rather than onto AAA v2.
Is it worth building on
For anything that reacts to one account, yes. Sub-second delivery beats a 30-second poll, you stop paying for empty responses, and events like oauth.revoke and profile.update.handle have no sensible polling equivalent at all.
Three things to settle first. Subscription count is the real ceiling: 1,500 on self-serve sounds generous until you multiply event types by accounts. Private events mean a consent flow, so a product that watches other people's replies is not on the table. And if you are building a bot that acts on these events, it still needs the automated account label and a managing account, and X's Developer Guidelines still govern what it may do with what it hears. The API route is the sanctioned one, which is exactly why its rules are written down.
If you want the account watched and replied to without standing up a webhook server, a credit balance and an OAuth consent screen, that is the problem X-Autopilot solves from your own Mac instead. If you want to wire X into an assistant rather than a server, the X MCP server is the shorter path, and getting an X API key is the first step either way.
Frequently asked
Answers indexed by Google + AI assistants.
What is the X Activity API?+
It is an X API v2 endpoint group that pushes real-time activity events to your app. You create a subscription naming an event type and a user ID filter, then receive matching events over a webhook or a persistent HTTP stream with sub-second latency. X announced the open beta on 18 October 2025 with profile-update events only, and has been adding event types since.
Do I need the user's permission to watch their activity?+
For most event types, yes. X splits the catalogue into public events, which an app-only bearer token can subscribe to, and private events, which require the user to authorise your app over OAuth 2.0 and grant a specific scope such as mute.read, block.read, broadcast.read or follows.read. Replies, quotes, reposts and @mentions all count as private and need tweet.read.
How much does an X Activity API event cost?+
On pay-per-use, delivery is billed per event at read-equivalent rates: $0.005 for post.create, $0.010 for follow.follow, follow.unfollow, chat.received and dm.received, $0.001 for mute and block events, $0.005 for any profile.update.* event and for spaces.start and spaces.end. Several event types are listed as not billed, including post.delete, chat.sent, dm.sent and dm.read.
Is the Account Activity API being shut down?+
X's own migration guide carries a deprecation warning for the Account Activity API and points developers to the X Activity API for real-time delivery going forward. X has not published a shutdown date. The Account Activity replay endpoint was deprecated separately on 20 March 2026, so treat AAA as maintenance-only and build new work on XAA.
Did the X Activity API reply and mention events change?+
Yes, on 19 November 2026. post.reply.create previously fired only for direct replies to your posts and now also fires for replies deeper in a thread when your user appears in the reply's automatic Replying to list. post.mention.create now also fires for @mentions past the first 280 characters of a longer post, and when someone reposts a post that @mentions your user. Quote posts were not widened: post.quote.create is still direct quotes only. You do not need to change anything to receive the new events, and X states that each delivered event is billed as before.
How do I tell a direct reply from a deeper thread reply on XAA?+
Read payload.in_reply_to_user_id. On a direct reply to your filtered user's post it equals that user's ID. On a reply deeper in the thread, where your user is only carried in the Replying to list, it is a different user's ID. That field is the only discriminator, and it matters because the two cases were a subscription boundary until 19 November 2026 and are now the same event type.
- X developer docs - 'X Activity API for streaming user event data': the full event catalogue by category, filter qualifiers (conversation_type, direction, post_id), the public versus private event split and per-event scope requirements, subscription expiry and refresh behaviour, the per-tier subscription limits and the five endpoints (accessed 12 October 2026)
- X developer docs - 'X API pay-per-usage pricing and credits', Webhook events section: the per-event price table for XAA deliveries, the 24-hour UTC deduplication window, and the read and write unit costs those rates mirror (accessed 12 October 2026)
- X Developers forum - 'Updates to Event Types format in the X Activity API' by @XDevelopers: the deprecation of PascalCase event type values effective 18 March 2026 and the full old-to-new rename table (posted 13 March 2026)
- X Developers forum - 'Announcing the X Activity API Open Beta' by @XDevelopers: the original launch with five profile-update events, the three-step subscribe flow and the sub-second latency claim (posted 18 October 2025)
- X Developers forum - 'Update: X Activity API (XAA) webhook billing correction': confirmation that webhook-delivered XAA events were under-billed on pay-per-use and that corrected charging would change billed usage going forward (posted 16 September 2026)
- X developer changelog - 'X Activity API: wider reply and mention coverage' (19 November 2026): post.reply.create extended to replies deeper in a thread, post.mention.create extended to reposts of mentioning posts and to mentions past 280 characters, the note that existing subscriptions receive the additional events with no changes, and the statement that each delivered event is billed as before (accessed 21 November 2026)
- X developer docs - 'Event payloads': the per-event descriptions for post.reply.create and post.mention.create, the payload.in_reply_to_user_id discriminator between a direct reply and a deeper thread reply, and the note that a repost mention delivers the repost as payload with the reposted post in includes (accessed 21 November 2026)
- X developer docs - 'Account Activity API v2 migration guide': the deprecation warning on the Account Activity API pointing to XAA, plus the v1.1 to v2 endpoint mapping and OAuth requirements (accessed 12 October 2026)
- X developer docs - 'AAA to XAA migration guide', Behavior differences table: the row-by-row parity statement covering replies deeper in a thread, reposts of mentioning posts, mentions past 280 characters, and the open protected-account gap X says it is still looking at closing (accessed 21 November 2026)
Product designer and indie hacker. Runs the agent on his own X account every day and writes up what the data shows, including when it's inconvenient.
Follow on X →