App Logo
tiktok.com

Block a TikTok user

Block a TikTok account by @username, as the signed-in account. Safe to repeat: if the account is already blocked nothing is sent and the run says so. Blocking also removes any follow relationship in both directions and hides your content from that account, so it is not a purely local change — confirm the exact account with the person asking before running it. The run reports the state TikTok holds afterwards, and the companion unblock script reverses it.

Input

username required

TikTok handle to block, with or without a leading @ (e.g. "tiktok" or "@tiktok").

Output

userId required
blocked required

True when the account is blocked at the end of the run.

username required

Handle as TikTok reports it for the account that was acted on.

already_blocked required

True when it was already blocked before this run, so nothing was sent.

nickname optional
verified optional

True when a fresh read of the relationship confirmed the block. Null when TikTok would not report the relationship, in which case the result rests on the response to the block itself.

account_used optional

Handle that performed the block, read from the signed-in session rather than assumed.

blocked_by_them optional

Whether that account has blocked you, as far as TikTok will say.

Start building not clicking