App Logo
instagram.com

Get Instagram DM inbox

Automatically get Instagram DM inbox on instagram.com. List the state of every DM conversation in your Instagram inbox. count=0 fetches every page. Returns count, unseen_count, and threads (thread_id, title, users, is_group, unread, last_activity_at, last_activity (ISO), last_message). Each last_message has sent_by_me (you vs them), date (ISO), type, and text. thread_id is the join key for reading a conversation's messages.

Input

count optional

Max conversations to fetch; 0 = every page Instagram serves.

Default: 20
since optional

Optional ISO datetime. Stop loading older pages once a conversation older than this is reached: this is how a caller polls for new messages. Every conversation read is returned, including the few older ones on the last page read; compare last_activity against since to keep the new ones. reached_since says whether the cutoff was reached.

Output

count required
threads required
unseen_count optional
reached_since optional

Only set when `since` was given. True means pagination walked back past the cutoff, so every conversation newer than it was seen. False means the inbox was exhausted (or no older page existed) first.

FAQ

List the state of every DM conversation in your Instagram inbox. count=0 fetches every page. Returns count, unseen_count, and threads (thread_id, title, users, is_group, unread, last_activity_at, last_activity (ISO), last_message). Each last_message has sent_by_me (you vs them), date (ISO), type, and text. thread_id is the join key for reading a conversation's messages.
Ask an AI agent connected to Reduck to run reduck/instagram.com/get_inbox, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/instagram.com/get_inbox
You do not need one. "Get Instagram DM inbox" drives the real instagram.com pages in a browser, so it works whether or not instagram.com offers an API for this.
Optional: count, since.
It returns count, threads, unseen_count, reached_since.
Yes. It acts as you on instagram.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the instagram.com cookies saved by the Reduck extension.
It only reads. It looks things up on instagram.com and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/instagram.com/get_inbox, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/instagram.com/get_inbox
It is part of Reduck's official curated catalogue.

Start building not clicking