![Instagram Post Scraper avatar](https://images.apifyusercontent.com/_jjfNtMQbiyuOcU3Dluj3VOVSNafpUYrO_wVraan7xk/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9uSDJBSHJ3eGVUUkpvTjVoWC9IdEo2MlllMmk4TURkNjdvcy1JbnN0YWdyYW1fUG9zdF9TY3JhcGVyLnBuZw.webp)
Pay $2.30 for 1,000 results
![Instagram Post Scraper](https://images.apifyusercontent.com/_jjfNtMQbiyuOcU3Dluj3VOVSNafpUYrO_wVraan7xk/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9uSDJBSHJ3eGVUUkpvTjVoWC9IdEo2MlllMmk4TURkNjdvcy1JbnN0YWdyYW1fUG9zdF9TY3JhcGVyLnBuZw.webp)
Instagram Post Scraper
Pay $2.30 for 1,000 results
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.
Do you want to learn more about this Actor?
Get a demo"scrapeLastNDays"
Closed
I need "scrapeLastNDays".
Hello, this feature is not available right now, but it is planned to be added in the future. We'll get back to you once it is implemented.
![alexey avatar](https://apify-image-uploads-prod.s3.amazonaws.com/wM4FzNZqJ8zKeBi7x/B7JmFnXiwps4jzKic-profile2021_250.png)
Hi!
Follow up: feature available as json inputs named onlyPostsForLastTimeUnit
and onlyPostsForLastValue
Full input example
1{ 2 "onlyPostsForLastTimeUnit": "days", 3 "onlyPostsForLastValue": 2, 4 "resultsLimit": 500, 5 "username": [ 6 "potus" 7 ] 8}
Sample run https://console.apify.com/view/runs/kBH9zBb9Ty4hdKVoM
Quick check output https://api.apify.com/v2/datasets/BcXCC7KSVsAjMLDIL/items?clean=true&fields=url,timestamp&format=json
- 1.5k monthly users
- 91 stars
- 100.0% runs succeeded
- 23 hours response time
- Created in Nov 2021
- Modified 1 day ago