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.9 (60)

Pricing

from $1.50 / 1,000 results

1673

Total users

105K

Monthly users

13K

Runs succeeded

>99%

Issues response

2.8 days

Last modified

a day ago

DI

IG blocking images

Closed

diogoestimabiz opened this issue
2 months ago

When I try to show the URL images on my app it's being blocked by IG how can I do this? Thanks!

alexey avatar

Hi!

All media URLs from Instagram expire in 2-3 days to prevent "hot linking". If you want to keep media, please download files ASAP and host somewhere else.

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

JO

jorisw

2 months ago

All media URLs from Instagram expire in 2-3 days to prevent "hot linking".

Do you mean 2-3 days after the API call was made?

What about the images.apifyusercontent.com CDN URLs I see when opening a post image from the result set table in the actor console? Could those be fed back into the API response so we can use those URLs?

weuts avatar

Hi 😊

We don't know exactly how instagram rotates their media URLs, but the images are usually there a couple of days after we have scraped them. If you want the underlying images you'll have to download them 😌

I'm afraid you can't rely on what is in images.apifyusercontent.com - it's an internal service, and we may at any point change what and how long things are cached there 😕

Good luck with the app 😊