App Logo
youtube.com

Post YouTube comment

Post a top-level comment on a YouTube video. Returns the new commentId.

Input

text required

The comment body to post.

video required

A YouTube video URL (watch?v=, youtu.be/, /shorts/, /embed/) or a bare 11-char video id.

account optional

Email (or a distinctive part of it) of the signed-in Google account to post as, e.g. "[email protected]". Omit to use the browser's default account. Posting is public and immediate, so when several accounts are signed in, name the intended one rather than relying on the default.

Output

text required
videoId required
postedAs required

Email of the account the comment was actually posted as. Null only when no account was requested and the signed-in email could not be read.

commentId required

The id of the newly created comment (use with delete_comment / reply_to_comment).

authuser optional

The session index the comment was posted under; null when the browser default was used.

Start building not clicking