Instagram Media Engagement Scraper — Info, Comments & Likes avatar

Instagram Media Engagement Scraper — Info, Comments & Likes

Pricing

from $0.85 / 1,000 results

Go to Apify Store
Instagram Media Engagement Scraper — Info, Comments & Likes

Instagram Media Engagement Scraper — Info, Comments & Likes

Fetch full media details for Instagram posts and reels by code, optionally attaching a page of comments and the full liker list to each result.

Pricing

from $0.85 / 1,000 results

Rating

0.0

(0)

Developer

ToolzerHub

ToolzerHub

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 hours ago

Last modified

Share

Get the full record for any public Instagram post or reel, and optionally the people who commented and liked it. No login, no cookie, no session.

Counts tell you a post did well. The comment and liker lists tell you who it reached.

Input

FieldTypeDefaultWhat it does
codesarrayRequired. Shortcodes, numeric media IDs, or full post/reel URLs.
scraperTypeenummediaInfoRequired. mediaInfo or mediaInfoWeb.
addonCommentsbooleanfalseAttaches a page of comments to each result.
addonLikesbooleanfalseAttaches the liker list to each result.
commentsSortTypeenumpopularpopular, recent, verified. Only with comments on.
{
"codes": ["DDPp2UWzWEm", "https://www.instagram.com/p/DDPp2UWzWEm/"],
"scraperType": "mediaInfo",
"addonComments": true,
"commentsSortType": "recent"
}

Shortcodes, media IDs, and full URLs all work in the same field. The shortcode is the segment after /p/ or /reel/, and it's the code field on every row from Instagram Profile Content and Instagram Hashtag & Keyword Search.

Output

FieldWhat it holds
pkInstagram media ID
codeShortcode
like_countLikes
comment_countComments
taken_atWhen it was posted
media_typeImage, video, or carousel
commentsComment records, with addonComments
likesLiker records, with addonLikes
{
"pk": "3412987456123456789",
"code": "DDPp2UWzWEm",
"like_count": 1842203,
"comment_count": 12043,
"taken_at": 1785312000
}

Two modes, two sources

mediaInfo and mediaInfoWeb fetch the same post through different Instagram endpoints — the app API and the web GraphQL layer. They usually agree.

Use mediaInfoWeb as a fallback: when a post returns nothing on mediaInfo, the web variant sometimes resolves it, and the reverse also happens. If a code you're sure about comes back empty, try the other mode before assuming the post is gone. mediaInfoWeb returns a slightly narrower record — no taken_at or media_type — so prefer mediaInfo when both work.

Questions

popular, recent, or verified — which sort? recent for a complete sweep, since the order is stable and predictable. popular is Instagram's ranking, which surfaces the substantial comments first but reshuffles between runs, making it poor for diffing. verified narrows to verified accounts, which on a large post is the fastest way to find notable engagement in a flood of replies.

Do I get every comment? No. addonComments attaches a page, and Instagram paginates. comment_count reports the real total, so on a heavily commented post the count and the attached array will disagree — the count is authoritative, the array is a sample.

Do I get everyone who liked it? The liker list as Instagram serves it, which on very large posts is a bounded subset rather than the full set. like_count remains the true total.

Why did a code return nothing? The post was deleted, made private, or the account went private. Failing that, try the other scraperType — the two endpoints don't always agree on what they can resolve. A code that fails on both is genuinely unavailable.

What do the addons cost? addonComments and addonLikes are billed per media item each. Enabling both on 100 posts is 200 extra events on top of the 100 results. They're independent, so you can take comments without likers.

Where do I get codes in bulk? The code field on rows from Instagram Profile Content or Instagram Hashtag & Keyword Search. Typing them by hand doesn't scale past a handful.

Can I read a private account's post? No. Public media only, and no session is used.

Other Instagram Actors

ActorUse when
Instagram Profile ContentYou need codes — an account's posts and reels
Instagram Hashtag & Keyword SearchYou need codes by subject
Instagram Followers & FollowingYou want an account's audience
Instagram User SearchYou're looking for accounts by keyword

Support

Questions, bugs, or feature requests: contact@toolzerhub.com

Browse the rest: apify.com/toolzerhub