Instagram Hashtag Media Scraper

Instagram Hashtag Media Scraper

by powerai

Extract Instagram posts for a specific hashtag with detailed media and metadata. Supports auto-pagination and custom result limits. No login required.

392 runs
121 users
Try This Actor

Opens on Apify.com

About Instagram Hashtag Media Scraper

Extract Instagram posts for a specific hashtag with detailed media and metadata. Supports auto-pagination and custom result limits. No login required.

What does this actor do?

Instagram Hashtag Media Scraper is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

📷 Instagram Hashtag Media Scraper This actor allows you to extract posts from any public Instagram hashtag. It leverages the latest Instagram API endpoint and supports auto-pagination to collect up to your specified maxResults limit. ## Features - Extract posts from any public Instagram hashtag. - Get detailed media information including images, videos, captions, and metadata. - Supports auto-pagination to fetch large result sets. - No login or session required. - Easy integration with Apify datasets. ## Input | Field | Type | Description | Required | Example | |-------------|---------|--------------------------------------------------|----------|--------------| | query | string | The hashtag to fetch media from (without #) | Yes | fashion | | maxResults | integer | Maximum number of posts to fetch (default: 12) | No | 30 | ## Output The output is a list of Instagram post objects, each containing detailed media and metadata fields as returned by the latest API, such as: - id - Unique identifier - __typename - Type of media - display_url - URL of the media - display_resources - Array of different quality versions - is_video - Whether the media is a video - media_preview - Preview of the media - tracking_token - Tracking token - accessibility_caption - Accessibility caption - ...and more ## Example Output json [ { "comments_disabled": false, "__typename": "GraphImage", "id": "3643789032636928167", "edge_media_to_caption": { "edges": [ { "node": { "text": "Nails\n\n#Art\n\n#Artwork\n#ArtoftheDay\n#Illustration\n\n#Drawing\n#Sketch\n#love #fashion #instagood #style #photooftheday #beautiful #fitness #picoftheday #follow #beauty #like4like #art #ootd #model #cute #followme #repost #instadaily #happy #instagram #makeup #girl #photography #lifestyle" } } ] }, "shortcode": "DKRVtHOydCn", "edge_media_to_comment": { "count": 0 }, "taken_at_timestamp": 1748593523, "dimensions": { "height": 1080, "width": 1080 }, "display_url": "https://scontent-mia3-2.cdninstagram.com/v/t51.2885-15/502141803_17904432705083235_163772018496534203_n.webp?stp=dst-jpg_e15_fr_s1080x1080_tt6&_nc_ht=scontent-mia3-2.cdninstagram.com&_nc_cat=103&_nc_oc=Q6cZ2QHIgaQiclxByKMRa5qXpH5OpOcMZEbtVpBQLuo3ILJNjssr3ONIXjWPrTPwG0ZioYCCkBatNynE7MuJRg3llOaj&_nc_ohc=6RDY-FxwTNsQ7kNvwEfcF5-&_nc_gid=8gqgXS4TLjsrWZfw_VxK0Q&edm=AA0rjkIBAAAA&ccb=7-5&ig_cache_key=MzY0Mzc4OTAzMjYzNjkyODE2Nw%3D%3D.3-ccb7-5&oh=00_AfJqtz5TcCYssJ4E1pp7vH2lJF8woclnOxRL-3YuM37C8Q&oe=683F510B&_nc_sid=49ed71", "edge_liked_by": { "count": 0 }, "edge_media_preview_like": { "count": 0 }, "owner": { "id": "62435171234" }, "thumbnail_src": "https://scontent-mia3-2.cdninstagram.com/v/t51.2885-15/502141803_17904432705083235_163772018496534203_n.webp?stp=dst-jpg_e35_s640x640_sh0.08_tt6&_nc_ht=scontent-mia3-2.cdninstagram.com&_nc_cat=103&_nc_oc=Q6cZ2QHIgaQiclxByKMRa5qXpH5OpOcMZEbtVpBQLuo3ILJNjssr3ONIXjWPrTPwG0ZioYCCkBatNynE7MuJRg3llOaj&_nc_ohc=6RDY-FxwTNsQ7kNvwEfcF5-&_nc_gid=8gqgXS4TLjsrWZfw_VxK0Q&edm=AA0rjkIBAAAA&ccb=7-5&ig_cache_key=MzY0Mzc4OTAzMjYzNjkyODE2Nw%3D%3D.3-ccb7-5&oh=00_AfKKm1NmZgVTq9vnwvEro1x8jNcZUpaM0tjvFB0LS7yZhA&oe=683F510B&_nc_sid=49ed71", "thumbnail_resources": [ { "src": "https://scontent-mia3-2.cdninstagram.com/v/t51.2885-15/502141803_17904432705083235_163772018496534203_n.webp?stp=dst-webp_s150x150&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMDgweDEwODAuc2RyLmY3NTc2MS5kZWZhdWx0X2ltYWdlIn0&_nc_ht=scontent-mia3-2.cdninstagram.com&_nc_cat=103&_nc_oc=Q6cZ2QHIgaQiclxByKMRa5qXpH5OpOcMZEbtVpBQLuo3ILJNjssr3ONIXjWPrTPwG0ZioYCCkBatNynE7MuJRg3llOaj&_nc_ohc=6RDY-FxwTNsQ7kNvwEfcF5-&_nc_gid=8gqgXS4TLjsrWZfw_VxK0Q&edm=AA0rjkIBAAAA&ccb=7-5&oh=00_AfKrQogcCJyvn-F_5CCN1ajkQDdk4dG3tXUOVKGxNAhvCQ&oe=683F510B&_nc_sid=49ed71", "config_width": 150, "config_height": 150 }, { "src": "https://scontent-mia3-2.cdninstagram.com/v/t51.2885-15/502141803_17904432705083235_163772018496534203_n.webp?stp=dst-webp_s240x240&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMDgweDEwODAuc2RyLmY3NTc2MS5kZWZhdWx0X2ltYWdlIn0&_nc_ht=scontent-mia3-2.cdninstagram.com&_nc_cat=103&_nc_oc=Q6cZ2QHIgaQiclxByKMRa5qXpH5OpOcMZEbtVpBQLuo3ILJNjssr3ONIXjWPrTPwG0ZioYCCkBatNynE7MuJRg3llOaj&_nc_ohc=6RDY-FxwTNsQ7kNvwEfcF5-&_nc_gid=8gqgXS4TLjsrWZfw_VxK0Q&edm=AA0rjkIBAAAA&ccb=7-5&oh=00_AfIJxMWiU9NOnldrVUqktwqibV1QsJ9CQ9r7J--fqBsgZQ&oe=683F510B&_nc_sid=49ed71", "config_width": 240, "config_height": 240 }, { "src": "https://scontent-mia3-2.cdninstagram.com/v/t51.2885-15/502141803_17904432705083235_163772018496534203_n.webp?stp=dst-webp_s320x320&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMDgweDEwODAuc2RyLmY3NTc2MS5kZWZhdWx0X2ltYWdlIn0&_nc_ht=scontent-mia3-2.cdninstagram.com&_nc_cat=103&_nc_oc=Q6cZ2QHIgaQiclxByKMRa5qXpH5OpOcMZEbtVpBQLuo3ILJNjssr3ONIXjWPrTPwG0ZioYCCkBatNynE7MuJRg3llOaj&_nc_ohc=6RDY-FxwTNsQ7kNvwEfcF5-&_nc_gid=8gqgXS4TLjsrWZfw_VxK0Q&edm=AA0rjkIBAAAA&ccb=7-5&oh=00_AfLmjmqHVajLJe0F2RnuVDSnpf6Fegx8Jgmevq7SAkct8A&oe=683F510B&_nc_sid=49ed71", "config_width": 320, "config_height": 320 }, { "src": "https://scontent-mia3-2.cdninstagram.com/v/t51.2885-15/502141803_17904432705083235_163772018496534203_n.webp?stp=dst-webp_s480x480&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMDgweDEwODAuc2RyLmY3NTc2MS5kZWZhdWx0X2ltYWdlIn0&_nc_ht=scontent-mia3-2.cdninstagram.com&_nc_cat=103&_nc_oc=Q6cZ2QHIgaQiclxByKMRa5qXpH5OpOcMZEbtVpBQLuo3ILJNjssr3ONIXjWPrTPwG0ZioYCCkBatNynE7MuJRg3llOaj&_nc_ohc=6RDY-FxwTNsQ7kNvwEfcF5-&_nc_gid=8gqgXS4TLjsrWZfw_VxK0Q&edm=AA0rjkIBAAAA&ccb=7-5&oh=00_AfLOOsdE2FMTgo6rzONzUTPbSB16QpMQgzjbTk0RDm8XRA&oe=683F510B&_nc_sid=49ed71", "config_width": 480, "config_height": 480 }, { "src": "https://scontent-mia3-2.cdninstagram.com/v/t51.2885-15/502141803_17904432705083235_163772018496534203_n.webp?stp=dst-webp_s640x640_sh0.08&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMDgweDEwODAuc2RyLmY3NTc2MS5kZWZhdWx0X2ltYWdlIn0&_nc_ht=scontent-mia3-2.cdninstagram.com&_nc_cat=103&_nc_oc=Q6cZ2QHIgaQiclxByKMRa5qXpH5OpOcMZEbtVpBQLuo3ILJNjssr3ONIXjWPrTPwG0ZioYCCkBatNynE7MuJRg3llOaj&_nc_ohc=6RDY-FxwTNsQ7kNvwEfcF5-&_nc_gid=8gqgXS4TLjsrWZfw_VxK0Q&edm=AA0rjkIBAAAA&ccb=7-5&oh=00_AfLURSELSUpNeGfnINqbfvlA27m2IEACvc51CIacnQ-ozQ&oe=683F510B&_nc_sid=49ed71", "config_width": 640, "config_height": 640 } ], "is_video": false, "accessibility_caption": "Photo by caur nailart on May 30, 2025.", "scrapedAt": "2025-05-30T08:25:29.478Z" }, ... ] ## Notes - The actor will automatically paginate through results until the maxResults limit is reached or no more data is available. - Each post includes a scrapedAt timestamp indicating when it was collected. --- Enjoy fast and reliable Instagram hashtag media scraping with this actor!

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try Instagram Hashtag Media Scraper now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
powerai
Pricing
Paid
Total Runs
392
Active Users
121
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support