Instagram Post Scraper avatar
Instagram Post Scraper

Pricing

$2.30 / 1,000 results

Go to Store
Instagram Post Scraper

Instagram Post Scraper

Developed by

Apify

Apify

Maintained by Apify

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

$2.30 / 1,000 results

364

Total users

34k

Monthly users

5k

Runs succeeded

>99%

Issue response

2.3 days

Last modified

a day ago

TE

newer than param not working as expected

Closed

techiteasy opened this issue
a month ago

I used the parameter newer than set to 1 day, but I noticed that the output includes posts much older than one day.

weuts avatar

Hi 😊,

It seems we have a bug in the actor - I'll look into it and report back. I'll also note that you can set "skipPinnedPosts": true if you do not want to see pinned posts posted before the start date.

CH

Christopher.Assaf

a month ago

The newer than in Instagram Scraper does not work. It always collects the newest posts. I ran this with a selected date and it always defaults to the newest posts and collects backward from the newest. The "newer than" does not affect collection.

alexey avatar

onlyPostsNewerThan works in relative or absolute date format. "Older than" is not supported by the actor because there is no such filtering supported by Instagram itself

I will close the issue now, but if there is anything else we can help with, please let us know.

PO

poojanaieng

a month ago

@Alexey Are u sure? There is a field to use this and it was working fine. Is there anything changed?

alexey avatar

@poojanaieng thanks, I corrected my answer

CH

Christopher.Assaf

a month ago

Am I doing something wrong? I am trying to get say 200 IG posts from a specified account "newer than" January 20 2021. Yet it is only the newest posts from say 10.12.2024-to the last post on the account dated 1.20.25 that get collected. I get 2024-25 posts. Not 200 posts newer than 1.20.2021.

Nowhere did I mention "older than" and not sure you really considered my situation. Where did "older than" come from? Did you try to figure out what was happening in my situation, @alexey. I am asking for a solution, not expecting something I am not that I knew does not work (older than) .

I want it to start collecting say 200 posts after a date for an account using newer than. I enter the date and it accepts it. Say 1.20.21. But instead it always starts from the newest post and works back the count, 200. It does not start at 1.21.14 and work forward to 1.21.21. 1.22.21, 1.23.21… to get the 200 posts.

The date I entered is in the screenshot. My data collects from 10.12.24–1.20.25. Not my new than 1.20.21.

denca avatar

Hello Christopher,

when onlyPostsNewerThan is set, Actor always scrapes "from the beginning" and compares the date when the post was added and the date you want. If you want to scrape posts from 2021, the resultLimit should be high enough for that.

I will close the issue now, but if there is anything else we can help with, please let us know.