# Instagram Tagged Mentions Posts Scraper (Pay Per Result) (`powerful_bachelor/instagram-tagged-mentions-posts-scraper-pay-per-result`) Actor

Instagram Tagged & Mentions Posts Scraper lets you extract posts where specific users are tagged or mentioned. Download data in various formats for market research, sentiment analysis, or audience engagement. Identify paid partnerships, affiliates, ads, and sponsor users easily. 🌟

- **URL**: https://apify.com/powerful_bachelor/instagram-tagged-mentions-posts-scraper-pay-per-result.md
- **Developed by:** [Powerful Bachelor](https://apify.com/powerful_bachelor) (community)
- **Categories:** Social media, Other, Lead generation
- **Stats:** 965 total users, 54 monthly users, 100.0% runs succeeded, 3 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

$2.50 / 1,000 posts

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## 📸 Instagram Tagged Posts Scraper - Extract Tagged & Mentioned Posts Data

Scrape Instagram tagged posts and mentions without coding. Extract post captions, likes, comments, video URLs, engagement metrics, and more from any public Instagram profile. Download data in JSON, CSV, Excel, HTML, or XML format.

### 🚀 What does Instagram Tagged Posts Scraper do?

This Instagram Tagged Posts Scraper allows you to **scrape posts where a specific user is tagged or mentioned** on Instagram. It extracts data from tagged posts in just a few minutes. Using this simple web scraping tool, you can get:

<table>
<tr>
<td>📝 Post Caption</td>
<td>🔗 Post URL & Short Code</td>
</tr>
<tr>
<td>👍 Like Count</td>
<td>💬 Comment Count</td>
</tr>
<tr>
<td>🎥 Video URL & Duration</td>
<td>👀 Video View & Play Count</td>
</tr>
<tr>
<td>📅 Post Date & Timestamp</td>
<td>🏷️ Tagged Users</td>
</tr>
<tr>
<td>💰 Is Paid Partnership</td>
<td>🤝 Is Affiliate Post</td>
</tr>
<tr>
<td>📢 Is Advertisement</td>
<td>🌟 Sponsor Users</td>
</tr>
<tr>
<td>👤 Post Owner Info</td>
<td>💬 Latest Comments</td>
</tr>
</table>

### 🤔 Why scrape Instagram tagged posts and mentions?

Instagram tagged posts data provides valuable insights for businesses, marketers, and researchers:

- **Brand Monitoring**: Track when your brand is tagged by customers, influencers, or competitors
- **Influencer Marketing**: Discover user-generated content and potential brand ambassadors
- **Competitor Analysis**: See who's tagging your competitors and what content performs best
- **Sentiment Analysis**: Analyze captions and comments for customer feedback
- **Market Research**: Understand how audiences engage with tagged content in your industry
- **Content Strategy**: Find inspiration from posts where top brands are tagged
- **PR & Crisis Management**: Monitor mentions to respond quickly to brand-related posts
- **AI Training**: Build datasets of tagged posts for machine learning models

### 🛠️ How to scrape Instagram tagged posts (Step-by-Step)

1. **Create a free Apify account** at [apify.com](https://apify.com)
2. **Open Instagram Tagged Posts Scraper** from the Apify Store
3. **Enter Instagram usernames** - Add one or more usernames (e.g., `google`, `nike`)
4. **Set maximum results** - Choose how many posts to scrape per profile
5. **Click "Save & Start"** - Wait for the scraper to extract data
6. **Download your data** - Export in JSON, CSV, Excel, HTML, or XML format

### 💳 Other pricing options

Pick the model that fits how you run the scraper:

| Version                            | Best for                                              | Link                                                                                                                                          |
| ---------------------------------- | ----------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| **Pay per event / pay per result** | Occasional runs, predictable cost per post            | [Instagram Tagged & Mentions Posts Scraper (PPR)](https://apify.com/powerful_bachelor/instagram-tagged-mentions-posts-scraper-pay-per-result) |
| **Rental**                         | Frequent or high-volume scraping, flat monthly rental | [Instagram Tagged & Mentions Posts Scraper (Rental)](https://apify.com/powerful_bachelor/Instagram-Tagged-Mentions-Posts-Scraper)             |

### 📝 Input Example

There are just two fields to fill out: an Instagram username (one or multiple) and the number of results you'd like to receive.

#### Example input:

```json
{
  "usernames": ["google"],
  "maxResults": 15
}
```

### 📤 Output example

Each item will be a separate entry in the dataset. You can view the extracted data as an overview table or see all fields in different formats. Export them from the platform onto your computer or integrate with other apps directly.

```json
{
  "post_id": "2961256612645547454",
  "short_code": "CkYfzMlg62-",
  "is_affiliate": false,
  "is_paid_partnership": false,
  "is_ad": false,
  "like_count": 4472,
  "comment_count": 74,
  "video_view_count": 55243,
  "video_play_count": 166947,
  "post_date": "2022-10-31T15:16:36.000Z",
  "display_url": "https://instagram.fblr23-1.fna.fbcdn.net/v/t51.2885-15/313500202_152226813840013_1547889424010421891_n.jpg?stp=dst-jpg_e15&_nc_ht=instagram.fblr23-1.fna.fbcdn.net&_nc_cat=101&_nc_ohc=VTRVgW5lK14Q7kNvgHPXGfk&edm=ANTKIIoBAAAA&ccb=7-5&oh=00_AYCIlTqjcf8l-hm7zOnv471-kFiJ4O6Neo_2fbzKM12BGA&oe=66677716&_nc_sid=cf751b",
  "alt": null,
  "caption": "Creep out your friends this Halloween with our frightening Art Filters that will transform your selfies and videos into scary artworks, including:\n\n🟠\"Head of a Skeleton with a Burning Cigarette\" #VincentvanGogh @vangoghmuseum\n\n🟠\"The Ghost of a Flea\" #WilliamBlake @tate\n\n🟠\"Monk Talking to an Old Woman\" #FranciscoGoya @princetonu_artmuseum\n\n🟠\"A Clown\" #GeorgeLuks @mfaboston \n\n🟠“Self-Portrait with Magic Scene” #PietervanLaer @theleidencollection\n\n Try it out in the @GoogleArtsCulture app and tag us to share your results!",
  "video_duration": 29.433,
  "video_url": "https://instagram.fblr23-1.fna.fbcdn.net/o1/v/t16/f1/m82/0045DDBA973F13BC81CE3F217584AA91_video_dashinit.mp4?efg=eyJxZV9ncm91cHMiOiJbXCJpZ193ZWJfZGVsaXZlcnlfdnRzX290ZlwiXSIsInZlbmNvZGVfdGFnIjoidnRzX3ZvZF91cmxnZW4uY2xpcHMuYzIuNzIwLmJhc2VsaW5lIn0&_nc_ht=instagram.fblr23-1.fna.fbcdn.net&_nc_cat=108&vs=1056839198295378_3055029588&_nc_vs=HBksFQIYT2lnX3hwdl9yZWVsc19wZXJtYW5lbnRfcHJvZC8wMDQ1RERCQTk3M0YxM0JDODFDRTNGMjE3NTg0QUE5MV92aWRlb19kYXNoaW5pdC5tcDQVAALIAQAVAhg6cGFzc3Rocm91Z2hfZXZlcnN0b3JlL0dLNnBzQktxbmRLR2t1SUJBRmxHZ1BiOU1STWRicV9FQUFBRhUCAsgBACgAGAAbABUAACbU8cXkw9%2FhPxUCKAJDMywXQD1u2RaHKwIYEmRhc2hfYmFzZWxpbmVfMV92MREAdf4HAA%3D%3D&_nc_rid=cfe6a1e347&ccb=9-4&oh=00_AYAEc1a6FSIGepuPfQi7n8y4ROpMLm-lhNbKN5adF_Scdg&oe=66674EAB&_nc_sid=cf751b",
  "sponsor_user": [],
  "owner": {
    "id": "2208713638",
    "username": "googleartsculture",
    "is_verified": true,
    "profile_pic_url": "https://instagram.fblr23-1.fna.fbcdn.net/v/t51.2885-19/300011255_153988863951142_6471321265901936516_n.jpg?stp=dst-jpg_s150x150&_nc_ht=instagram.fblr23-1.fna.fbcdn.net&_nc_cat=1&_nc_ohc=XjsxZXFI44UQ7kNvgGf0N0Q&edm=ANTKIIoBAAAA&ccb=7-5&oh=00_AYBj7eZa5F0BxcKYhF6IdgXjHupsZHIAHxcxH0XmxUgzUA&oe=666B68DA&_nc_sid=cf751b",
    "blocked_by_viewer": false,
    "restricted_by_viewer": null,
    "followed_by_viewer": false,
    "full_name": "Google Arts & Culture",
    "has_blocked_viewer": false,
    "is_embeds_disabled": false,
    "is_private": false,
    "is_unpublished": false,
    "requested_by_viewer": false,
    "pass_tiering_recommendation": true,
    "edge_owner_to_timeline_media": {
      "count": 2759
    },
    "edge_followed_by": {
      "count": 535432
    }
  },
  "latest_comments": [
    {
      "id": "18049629001633346",
      "text": "No son botas 👢 @burberry",
      "created_at": 1714682464,
      "did_report_as_spam": false,
      "owner": {
        "id": "64666754288",
        "is_verified": false,
        "profile_pic_url": "https://instagram.fblr23-1.fna.fbcdn.net/v/t51.2885-19/436208142_3732396010326713_3602312763254733664_n.jpg?stp=dst-jpg_s150x150&_nc_ht=instagram.fblr23-1.fna.fbcdn.net&_nc_cat=105&_nc_ohc=ykKcDa5t4QUQ7kNvgEnU6Bb&edm=ANTKIIoBAAAA&ccb=7-5&oh=00_AYBV_11IvKeOxsFbH-uOJaB4CgbzW0GiP1yPAKrQ5JQoBg&oe=666B6EE5&_nc_sid=cf751b",
        "username": "eternitat.amb.la.mar"
      },
      "viewer_has_liked": false,
      "edge_liked_by": {
        "count": 0
      },
      "is_restricted_pending": false,
      "edge_threaded_comments": {
        "count": 0,
        "page_info": {
          "has_next_page": false,
          "end_cursor": null
        },
        "edges": []
      }
    }...
  ]...
}
```

### 🔗 Integrations

Instagram Tagged Posts Scraper works with common tools on Apify and beyond:

| Integration           | Description                                             |
| --------------------- | ------------------------------------------------------- |
| **Google Sheets**     | Export or sync scraped data into spreadsheets           |
| **Zapier**            | Connect runs to thousands of other apps                 |
| **Make (Integromat)** | Build multi-step automations around your runs           |
| **Slack**             | Get notified when a run finishes or fails               |
| **Webhooks**          | Call your own URL when a run completes                  |
| **REST API**          | Start runs and fetch datasets from code in any language |

Browse more options on [Apify Integrations](https://apify.com/integrations). For programmatic use, see the [Apify API](https://docs.apify.com/api/v2) and the **API** tab on your Actor in the Apify Console.

### 🔗 Related Instagram Scrapers

| Scraper                                                                                                   | Description                           |
| --------------------------------------------------------------------------------------------------------- | ------------------------------------- |
| [Instagram Followers Count Scraper](http://apify.com/powerful_bachelor/Instagram-Followers-Count-Scraper) | Extract profile info, followers count |
| [Instagram Post Scraper](http://apify.com/powerful_bachelor/Instagram-Posts-Scraper)                      | Scrape posts from any profile         |
| [Instagram Post Details Scraper](http://apify.com/powerful_bachelor/instagram-post-details-scraper)       | Extract single posts details          |
| [Instagram Profile Scraper Pro](http://apify.com/powerful_bachelor/instagram-profile-scraper-pro)         | Scrape profile engagement metrics     |
| [Instagram Reel Scraper](powerful_bachelor/Instagram-Profile-Reels-Scraper)                               | Scrapes Instagram Reels data          |

### 💬 Feedback & Support

Found a bug or have a feature request? Please create an issue on the Actor's Issues tab in Apify Console. We're always working to improve this scraper!

### 🚀 Unlock Valuable Insights

Instagram Tagged & Mentions Posts Scraper is an essential tool for extracting and analyzing Instagram data. Whether you're looking to gain insights for market research, conduct sentiment analysis, or understand audience engagement, this scraper offers a comprehensive and efficient solution.

### Happy scraping! 🎉

# Actor input Schema

## `usernames` (type: `array`):

Enter the Instagram usernames of the accounts you want to scrape.

## `maxResults` (type: `integer`):

Specify the maximum number of posts to scrape from each username. If not specified, the default is 15 posts..

## Actor input object example

```json
{
  "usernames": [
    "google"
  ],
  "maxResults": 15
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "usernames": [
        "google"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("powerful_bachelor/instagram-tagged-mentions-posts-scraper-pay-per-result").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "usernames": ["google"] }

# Run the Actor and wait for it to finish
run = client.actor("powerful_bachelor/instagram-tagged-mentions-posts-scraper-pay-per-result").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "usernames": [
    "google"
  ]
}' |
apify call powerful_bachelor/instagram-tagged-mentions-posts-scraper-pay-per-result --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,powerful_bachelor/instagram-tagged-mentions-posts-scraper-pay-per-result"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/EEdh2bSCTjWZgbGJU/builds/6RzVZuaYRNYnU2rcW/openapi.json
