
Instagram Post Scraper
Pricing
from $1.60 / 1,000 posts

Instagram Post Scraper
Scrape Instagram posts. Just add one or more Instagram usernames and get your data in seconds including text, hashtags, mentions, comments, images, URLs, likes, locations, and metadata. Export scraped data, run the scraper via API, schedule and monitor runs or integrate with other tools.
4.5 (32)
Pricing
from $1.60 / 1,000 posts
469
Total users
44K
Monthly users
5.4K
Runs succeeded
>99%
Issues response
2.1 days
Last modified
a day ago
id | caption | url | commentsCount | likesCount | firstComment |
---|---|---|---|---|---|
359***66 | Books allow readers to *** at the link in bio. | https://www.instagram.com/p/DH***C/ | 41 | 9028 | More about books 😍 |
359***88 | Photos by @ingo*** about these pumas at the link in bio. | https://www.instagram.com/p/DH***o/ | 143 | 68801 | ❤️ |
359***22 | Meet the Nat*** their stories at the link in bio. | https://www.instagram.com/p/DH***O/ | 136 | 13385 | Omg!!! ❤️ @dzennypha_ |
The data above is synthetic and does not reflect real-world values. View full dataset
"onlyPostsNewerThan" input parameter does not apply to pinned posts
Closed
The "onlyPostsNewerThan" input parameter does not apply to pinned posts. Steps to reproduce:
- Find an instagram profile with at least one pinned post
- Add their username to the "username" input parameter
- Set the "onlyPostsNewerThan" input to something relative, eg "1 day". Make sure the relative date is newer than the pinned post
- Run the actor
- Observe the results. Notice that regular posts are filtered correctly. But if a post was pinned it will appear in the output as well, even if it is several weeks old.
zaneezanoo
In this example run https://console.apify.com/actors/nH2AHrwxeTRJoN5hX/runs/KyZU1ojuMM0hbtEoN#output I specified to only include posts newer than 1 day. But the first result is a pinned post from 6 weeks ago https://www.instagram.com/p/DItcjfEtgRO/. The second post was only 1 day old and was filtered correctly: https://www.instagram.com/p/DKmkFOBN_1r/

Hi!
In your run, input "skipPinnedPosts": false
so you provided a parameter but assigned a logically wrong value to it.
I will close the issue now, but if there is anything else we can help with, please let us know.
zaneezanoo
I would still like pinned posts to appear in the resulting dataset, but only if they are newer than 1 day. Is this possible?

Hi!
Yes, if onlyPostsNewerThan
is set and skipPinned === true
, we do "smart skipping", meaning that we only skip pinned if they are older than onlyPostsNewerThan
zaneezanoo
Awesome, thanks for clarifying!