App Logo
instagram.com

Get Instagram DM messages

Automatically get Instagram DM messages on instagram.com. Read the messages of a DM conversation by thread_id (get the thread_id from get_inbox). count=0 fetches every page. Returns thread_id, title, users, last_seen_at, count, and messages in chronological order (oldest to newest), each with id, sent_by_me, sender, type (Instagram's own content type for text, images, videos, GIFs, shared posts and so on), text, timestamp, date (ISO), status and reactions. Timestamps are microsecond epochs; text is null for messages without text; sender is null for your own messages (sent_by_me=true). Reactions carry no time.

Input

thread_id required
count optional
Default: 50

Output

count required
users required
complete required

True when the whole conversation was read; false when count stopped the read before the oldest message.

messages required
thread_id required
last_seen_at required

Per-participant read position for the thread, as Instagram reports it. Empty when Instagram returns none.

title optional

FAQ

Read the messages of a DM conversation by thread_id (get the thread_id from get_inbox). count=0 fetches every page. Returns thread_id, title, users, last_seen_at, count, and messages in chronological order (oldest to newest), each with id, sent_by_me, sender, type (Instagram's own content type for text, images, videos, GIFs, shared posts and so on), text, timestamp, date (ISO), status and reactions. Timestamps are microsecond epochs; text is null for messages without text; sender is null for your own messages (sent_by_me=true). Reactions carry no time.
Ask an AI agent connected to Reduck to run reduck/instagram.com/get_dm_messages, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/instagram.com/get_dm_messages
You do not need one. "Get Instagram DM messages" drives the real instagram.com pages in a browser, so it works whether or not instagram.com offers an API for this.
Required: thread_id. Optional: count.
It returns count, title, users, complete, messages, thread_id, last_seen_at.
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_dm_messages, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/instagram.com/get_dm_messages
It is part of Reduck's official curated catalogue.

Start building not clicking