
Instagram Scraper
Pricing
from $1.50 / 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.
3.6 (62)
Pricing
from $1.50 / 1,000 results
1870
Total users
112K
Monthly users
13K
Runs succeeded
98%
Issues response
3.1 days
Last modified
7 hours 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.
tama
Still problem with onlyPostsNewerThan ? A lot of old posts coming in. We usually spend around 10 $ per day (ranging from 9$ to 11$). Today we are at 26$. We're lucky that we also put a limit of 50 posts per query and most of them downloaded 50 posts. Thansk
dlwangzg
Having the same problem. I specified onlyPostsNewerThan":"1 day" but roughly 4400 out of 5000 posts returned aren't within a day. Some even dates back to 2017.

Hi!
Bug confirmed, working on hot fix, will notify you about the fix ASAP.

Hot-fixed, please try new latest build
tama-owner
Thanks,
last run seems right. We'll see better tomorrow morning, when we'll run most of our runs. Last few days we spent 50$ more the the usual. Hoping tomorrow we'll get back to our usual 10$ per day.
Hello, sorry for the inconvenience - the compensation in credits will be added to your account. They can be used in the current billing cycle.
I will close the issue now, but if there is anything else we can help with, please let us know.