Instagram whoami (signed-in account)
Report which Instagram account this browser is signed in as: the user id, @username and name. When the browser is signed out of Instagram, the run fails with a signed-out error asking you to sign in to instagram.com.
Input
None
Output
evidence requiredloggedIn requiredid optionalname optionalusername optionalFAQ
Get Instagram profile
Get an Instagram profile by username: exact follower, following and post counts, numeric user id, name, biography, verified/private/business flags, category, external link and profile picture. Requires being signed in to Instagram; a signed-out browser fails with that, and an unknown account fails as not found.
Send Instagram DM
Send a DM to an Instagram user by their username: plain text, an image attachment, or both together. Takes the image as base64 so it runs from any client. Returns ids/timestamps for whichever parts were sent, and the recipient-side restriction banner if one is shown right after sending.
Get Instagram post comments
Fetch the top-level comments of an Instagram post or reel by its shortcode or link, in Instagram's own order, plus its caption and counts. Returns code, url, caption, comments (id, text, user, verified, created_at, like_count, reply_count), like_count, view_count, comment_count (Instagram's count, replies included), comments_disabled and complete. Reads up to count comments (default 12); complete is true only when every top-level comment was read, false when count stopped the list first. Replies are not included. A post with no comments returns an empty list. A post that was removed, is private to this account, or a wrong code fails with an error that says so.
