Get Instagram story viewers
Automatically get Instagram story viewers on instagram.com. List who has viewed your currently active Instagram stories. For each live story item, returns its id, posted and expiry times, photo or video, the total viewer count Instagram reports, and the viewers (id, username, full name, verified badge, profile picture). Pass storyId to read a single item, and limit to cap viewers per item (default 100); truncated tells you when there are more. hasActiveStory is false when nothing is live, since stories expire after 24h. Read-only. It only covers the signed-in account's own stories.
Input
limit optionalMaximum viewers to return per story item.
Default: 100storyId optionalOptional: id of one of your active story items. Omit to return viewers for every active story item.
Output
stories requiredusername requiredhasActiveStory requiredFalse when you have no story live right now (stories expire after 24h); stories is then empty.
userId optionalFAQ
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 preview comments of an Instagram post or reel by shortcode, plus its caption and counts. Returns code, url, caption, comments (text, user, verified, created_at, like_count, reply_count), like_count, view_count, comment_count, and comments_disabled. Only returns the comments Instagram renders by default, not the full thread, capped to count.
Delete Instagram post
Delete one of your own Instagram posts or reels by shortcode. Opens the post, drives More options then Delete and the confirmation, and then reloads the post's link to prove it is really gone before reporting success. Returns the shortcode, the media id when Instagram exposes it, and whether the post was verified as removed. Fails clearly when the shortcode is not available to you (already deleted, private, or another account's) and when the post is still live after the confirmation.
