Instagram Scraper avatar
Instagram Scraper

Pricing

from $1.50 / 1,000 results

Go to Store
Instagram Scraper

Instagram Scraper

Developed by

Apify

Apify

Maintained by Apify

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.8 (59)

Pricing

from $1.50 / 1,000 results

1666

Total users

105K

Monthly users

13K

Runs succeeded

>99%

Issues response

2.8 days

Last modified

3 hours ago

WH

Adding Sorting

Closed

widened_hero opened this issue
3 days ago

Hello, for my use case it would be really great to have ability to sort results. Right now I am doing it on app level, but it still faces some problems if most liked/viewed video can be far. Also I think it is slower when I query a lot and try to sort to get 5 I need In my opinion options for sort could be (what I am doing in app): date, views, likes, comments Thank you!

alexey avatar

Hi!

In your latest runs, I see cases like https://console.apify.com/view/runs/HYzXaER0sbCVYkg26 (50 reels from profile) and https://console.apify.com/view/runs/a8G1FbCE2gfNsw4bq (single post details)

For multiple reels per profile, sorting should not be slow, because you can export the entire dataset to e.g. Google Sheets and apply sorting by column. For single-post sorting not applicable by definition.

Can you please elaborate?

WH

widened_hero

2 days ago

Yes, I am talking about getting multiple reels for profile. I want to be able to sort results. So that I can get for example 10 most viewed/liked/commented/latest videos. I suppose now when I get 50 videos they are 50 latest ones. If the most liked video will be outside of this range I won't get it. That is the reason I would appreciate being able to sort it

alexey avatar

Hi!

We can not support such a feature because it is not supported by Instagram. Profile reels and posts are sorted by time, and there is no way to change it in the webapp, so the actor is forced to follow the same sorting.

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