Profile Tracking
Watch Profile Changes
Get notified when an X account changes its handle or profile picture
POST
Registers an X account for profile change detection. The watch is anchored to
the account’s stable user id, so it survives username changes. When the
avatar or the handle changes, a
profile_change event is delivered through your
configured channels (webhook, Telegram, WebSocket).
Limits: 50 watches per API key.
Because the watch follows the stable user id, a username change no longer ends
tracking — you get a
profile_change event with reason: "username_changed"
and the watch keeps running under the new handle.Request
The X username to watch (with or without the leading
@).Response
The registered watch (
username, userId, createdAt).Status message describing the result
Event payload
profile_change events are flat — source is the discriminator that tells them
apart from regular source events. The fields present depend on reason:
reason is one of:
"pfp_changed"— the avatar changed. Carriesprevious_pfp/current_pfp."username_changed"— the handle changed. Carriesprevious_username/current_username;usernameis the new handle.