
Instagram Scraper
Pricing
$2.30 / 1,000 results

Instagram Scraper
Scrape and download Instagram posts, profiles, places, hashtags, photos, and comments. Get data from Instagram using one or more Instagram URLs or search queries. Export scraped data, run the scraper via API, schedule and monitor runs or integrate with other tools.
4.4 (54)
Pricing
$2.30 / 1,000 results
1446
Total users
93.9k
Monthly users
10.6k
Runs succeeded
>99%
Issue response
2.7 days
Last modified
a day ago
"onlyPostsNewerThan" not working properly
Closed
Tested various examples using relative and fixed date and it still extracts posts before the specified date.
Input:{"addParentData": true,"directUrls": ["https://www.instagram.com/mapfre","https://www.instagram.com/pprimor"],"enhanceUserSearchWithFacebookPage": false,"isUserReelFeedURL": false,"isUserTaggedFeedURL": false,"onlyPostsNewerThan": "2025-05-09", // same result using "5 days""resultsLimit": 50,"resultsType": "posts","searchType": "hashtag"}Result:{"inputUrl": "https://www.instagram.com/mapfre","id": "3618406893455272053","username": "mapfre","url": "https://www.instagram.com/p/DI3KeYBOeh1/","fullName": "MAPFRE","biography": "#CuidamosLoQueTeImporta",..."timestamp": "2025-04-25T08:00:12.000Z",...}``

Hi!
Run in the issue deleted, I checked your latest run https://console.apify.com/view/runs/6ACGneVmTvexXLF4B
You're getting pinned posts outside of the date range: https://api.apify.com/v2/datasets/kjIckXfECHwWHdQQr/items?clean=true&fields=url,timestamp,isPinned&format=json
Please use skipPinnedPosts: true
as JSON input
I will close the issue now, but if there is anything else we can help with, please let us know.