App Logo
x.com

Block X user

Block an X user by handle. Already-blocked accounts are reported rather than re-blocked. Returns handle, blocked, was_blocked.

Input

handle required

Target user's handle (with or without @). Blocking takes effect immediately, is visible to the target account, and cuts off your ability to see or interact with them, so confirm the exact handle with the user before running rather than inferring it from an earlier or unrelated message.

Output

handle required
blocked required
was_blocked required

already_present signal: true if already blocked before this call

verified_on_page required

true if the page was reloaded and re-inspected after the action, confirming the block is actually visible/present

account_used optional

handle of the logged-in account that performed the action, read from the account switcher UI (not assumed from input)

Start building not clicking