How to Use the Instagram Multiple Hashtag Collector

Sophie
Sophie This badge shows you’re hearing straight from the source! Team members are here to share insider tips, answer questions, and guide you through PhantomBuster with expert knowledge. They’re dedicated to helping you succeed and making sure your automation journey feels easy and exciting. PhantomBuster Official
  • Updated

Slot usage

1 slot

Estimated execution time

It varies based on how many hashtags and posts you collect in each launch.

What you'll need

What you’ll get

  • Post-level details: URLs, author profile info, like counts, descriptions, and more

    → See the full breakdown of all output fields in the detailed section below.

Before you start

  • Awareness of platform limits:
    • Instagram’s browser version only shows a limited number of posts per hashtag: currently capped at 28 posts per hashtag.
    • Providing multiple hashtags expands your reach, but each individual hashtag is still limited.

Step 1: Connect your Instagram account

To let the Phantom act on your behalf:

  1. Install the PhantomBuster browser extension and connect your Instagram session in one click.
  2. If you’re not using Chrome or Firefox, you can retrieve your session cookie manually (see our cookie guide).
PhantomBuster Instagram Multiple Hashtag Collector step 1 connecting your Instagram account

Step 2: Provide your hashtags and/or location

You must provide at least two search terms: either two hashtags, or a hashtag plus a location.

Note that when using multiple hashtags, the Phantom runs them in pairs (e.g. #a + #b, then #a + #c). This can result in duplicate posts across runs.

You can:

  1. Paste directly in the setup field:
    • Hashtags separated by a + 
      Example: #cactus + #plants
    • Location and hashtags separated by a
      Example: London + #party + #travel
  2. Provide a Google Sheet with a list of hashtags or location + hashtag pairs (make sure it’s shared with “Anyone with the link”).
  3. Upload a CSV file with a list of hashtags or location + hashtag pairs (make sure it’s publicly accessible, and note that CSV upload is only available on paid plans).

→ Each line should contain multiple hashtags or hashtags and location in a single cell, separated by a +
→ If you’re using a spreadsheet, the Phantom defaults to the first column (A). To use a different column, enter the column’s header name in the field “Name of column containing Instagram hashtags/locations.”

PhantomBuster Instagram Multiple Hashtag Collector step 2 providing your hashtags and or locations

Step 3: Configure extraction limits

Fine-tune how much data to collect per launch:

  • Number of lines of your spreadsheet to process per launch (optional):
    • Default = 10.
    • If left empty, the Phantom will process all of them in one launch.

Advanced settings (dropdown in setup)

  1. Number of matches to find (optional):
    • Default = unlimited until hitting Instagram’s rate limit.
  2. Number of posts to extract (optional):
    • Default = 1000 (Recommended max).
    • If left empty, unlimited until hitting Instagram’s rate limit.
PhantomBuster Instagram Multiple Hashtag Collector step 3 advanced settings for matches and posts to extract

Result file settings (dropdown in setup)

  1. Name your results file (optional)
    • You can customize the file name.

      If you rename the file between launches, the Phantom will create a new results file and start processing inputs from scratch.

  2. Fields to keep (optional)
PhantomBuster Instagram Multiple Hashtag Collector step 3 result file settings dropdown

Step 4: Select launch frequency

Choose how often the Phantom should run:

  1. Launch manually: Start the Phantom yourself whenever you need.
  2. Launch once at a specific time: schedule a one-time run at a set date and time.
  3. Launch repeatedly: schedule regular runs (e.g. once per day, several times during working hours).
  4. Launch after another Phantom: chain automations together so this Phantom starts right after another finishes.
  5. Advanced scheduling: customize the exact minutes, hours, days, or months when the Phantom should run.

→ For a complete walkthrough of scheduling options, see our guide to scheduling Phantoms automatically.

PhantomBuster Instagram Multiple Hashtag Collector step 4 selecting launch frequency

Step 5 (Optional): Advanced settings

Advanced settings are available if you want to fine-tune how your Phantom runs, but by default they’re already optimized for most use cases.

We recommend leaving them as they are unless a guide specifically instructs you to change something.

→ For a detailed overview of all advanced options (like execution limits, retries, email notifications, proxies, webhooks, and file management), see our Advanced settings guide.

Launch and results

When you’re ready:

  1. Click Launch to start your Phantom.
  2. Once it finishes, open the Results tab in the Phantom console to see the data collected.
  3. Download your results as a CSV or JSON file.

To learn how to export your data to Google Sheets, integrate with other tools, or reuse it in more automations, check our Access and Export your Phantom Results guide.

Export and input limits on the Free plan
If you’re on the Free plan or Free trial, some features are limited:
- CSV exports include only the first 10 rows of results.
- CSV download links (for dynamic viewing in Google Sheets or integrations) are not available.
- JSON exports are not available.
- CSV upload as an input method is not supported.
To unlock all features, you’ll need to upgrade to a paid plan.

What you give (Input) and What you get (Output)

This section gives you a detailed breakdown of everything you need to provide to run this Phantom, and everything you’ll receive once it completes.

What you give (Input)

Type Description
Instagram cookie Your Instagram session cookie
Instagram hashtags + locations Instagram hashtags + locations

What you get (Output)

Type Description
postUrl Instagram post URL
profileUrl Post author profile URL
username Post author username
fullName Post author full name
likeCount Number of likes the post received
description Post description
location Post location
postId Instagram unique ID of post
ownerId Instagram unique ID of post author
pubDate Post publication date
caption Post accessibility caption

Tips and troubleshooting

Common pitfalls

  • Using a private spreadsheet (make sure it’s set to “Anyone with the link”).
  • Expecting unlimited results per hashtag: Instagram caps hashtag searches to 28 posts maximum per hashtag in the web version.
  • Hashtag pairing duplicates: When multiple hashtags are used, the Phantom runs them in pairs (e.g. #a + #b, then #a + #c), which can produce duplicate results.
  • Forgetting the + separator: Multiple hashtags or hashtag and location must be joined with a +.

If you run into errors or account issues

Suggested automations

Was this article helpful?

0 out of 0 found this helpful