
Instagram Hashtag Scraper
Pricing
$2.30 / 1,000 results

Instagram Hashtag Scraper
Scrape Instagram hashtags data. Just add one or more hashtags and extract posts, images, URLs, comments, likes, users, locations, timestamps, and more. Export scraped datasets, run the scraper via API, schedule and monitor runs or integrate with other tools.
4.5 (22)
Pricing
$2.30 / 1,000 results
248
Total users
24K
Monthly users
1.9K
Runs succeeded
>99%
Issues response
5.4 days
Last modified
2 days ago
POST ID is not correct
Closed
Apify response returns wrong post id. When i check public IG post data, i can find post id but the apify response is not same with the public data. You can check the example below
code: DC7INJBiVoB
url: https://www.instagram.com/p/DC7INJBiVoB
post id (public data): 3511436421880175105
post id (apify data): 3511436421880175000
i added the apify response (.json format) for the example post (DC7INJBiVoB)
volkancaglayan
I realized that the id in your data has a conversion problem. If you use javascript, js converts 3511436421880175105 this number to 3511436421880175000 this number, because of max integer value. Maybe the BigInt type can help to solve this problem.
You can try this to see my explanation above:
console.log(Number(3511436421880175105))
Hello, thank you for the feedback and catching the bug. It seems like this bug is present only in the hashtag search, as the basic IG scraper with post details scrapes the number correctly for the supplied post. It also sounds exactly like what you described, a JS integer size limit.
We will get back to you with a fix as soon as possible.
Could you please share the run so we can debug it on your specific case? It would help us to solve it faster. Thanks a lot! :)

Hi!
Thanks a ton for feedback, fixed in latest build, sample run https://console.apify.com/view/runs/bxyOJ7VjauJwyeNHS
Sample posts https://api.apify.com/v2/datasets/3B8keL8uX1mim8xQd/items?clean=true&format=json&fields=shortCode,id
I´m going to close the issue now, but if there would be anything else we could help with, please let us know.