# Instagram Mentions Scraper: Tagged Posts of Any Profile (`rowfinch/instagram-mentions-scraper`) Actor

Find the posts where Instagram profiles are tagged, from the Tagged tab: caption, likes, comments, plays, author and tagged accounts. Same field names as Apify's Instagram Scraper.

- **URL**: https://apify.com/rowfinch/instagram-mentions-scraper.md
- **Developed by:** [Rowfinch](https://apify.com/rowfinch) (community)
- **Categories:** Social media, Marketing, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.25 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 Mentions Scraper

Get the posts where Instagram profiles are tagged, from each profile's Tagged tab: caption, likes, comments, plays, the author and the accounts tagged in the post.

### What you get for each post

- **Post**: link, type (photo, video or carousel), caption, hashtags and mentions, timing.
- **Engagement**: likes, comments, plays, shares and saves.
- **People**: the author, the accounts tagged in the post and any sponsors or collaborators.
- **Media**: image and video links, carousel slides and the music used.

### What it's for

- **Brand monitoring**: see who posts about your brand or account, and when.
- **Influencer and partner reports**: list the posts that tag a creator or client.
- **Mention tracking**: run it on a schedule with `resultsLimit` set to the posts you expect each week.
- **Feeding AI agents and dashboards**: clean JSON, CSV or Excel, or straight from the API.

### Input

| Field | What it does |
|---|---|
| `username` | Usernames, @handles or profile URLs, one per line |
| `resultsLimit` | Tagged posts per profile, newest first (default 20, up to 1,000) |

Coming from Apify's Instagram Tagged Scraper? Its input field names work here too.

```json
{
  "username": ["natgeo"],
  "resultsLimit": 20
}
```

### Output

One row per tagged post. `inputUrl` says which profile the post was found for:

```json
{
  "inputUrl": "natgeo",
  "id": "3994085964203084411",
  "type": "Image",
  "shortCode": "Ddt2AXassp7",
  "url": "https://www.instagram.com/p/Ddt2AXassp7/",
  "caption": "A caption of the tagged post.",
  "hashtags": ["nature"],
  "mentions": ["natgeo"],
  "timestamp": "2026-09-25T16:04:47.000Z",
  "likesCount": 25265,
  "commentsCount": 605,
  "videoPlayCount": null,
  "sharesCount": 739,
  "savesCount": 2127,
  "displayUrl": "https://scontent.example/post.jpg",
  "productType": "feed",
  "isPinned": false,
  "paidPartnership": false,
  "sponsors": [],
  "taggedUsers": [],
  "musicInfo": null,
  "ownerUsername": "example_photographer",
  "ownerFullName": "Example Photographer"
}
```

Carousels (`"type": "Sidecar"`) also list each slide in `childPosts` and its image in `images`. `likesCount` is `null` when the author hides likes.

Profiles that can't be read get a row with the reason, free of charge:

```json
{ "input": "some_private_account", "error": "Private profile" }
```

### Price

Prices per 1,000 posts depend on your Apify plan:

| Apify plan | Posts |
|---|---|
| Free | $2.30 |
| Starter | **$1.95** |
| Scale | $1.60 |
| Business | $1.25 |
| Platinum | $1.25 |
| Diamond | $1.25 |

For example, 50 tagged posts from each of 20 brand profiles is 1,000 posts: $1.95 on Starter.

- Private, missing or invalid profiles: free
- A profile with no tagged posts: free

A run stops at the maximum cost you set for it.

### Free plan

On Apify's free plan a run returns up to 25 posts from up to 10 profiles. Any paid plan removes the limit.

### FAQ

**Does it work with private profiles?**
No. Only public profiles can be read.

**Why are some posts older than the rest?**
Instagram lists the newest tagged posts first, but a post tagged lately can show up among older ones.

**Why are there fewer posts than `resultsLimit`?**
The profile has fewer public tagged posts, or Instagram has none to show.

**Is it legal?**
It reads only what Instagram shows publicly on each profile. Use the data for a legitimate purpose, and honor deletion requests.

# Actor input Schema

## `username` (type: `array`):

One per line.

## `resultsLimit` (type: `integer`):

Newest first.

## Actor input object example

```json
{
  "username": [
    "natgeo"
  ],
  "resultsLimit": 20
}
```

# Actor output Schema

## `posts` (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 = {
    "username": [
        "natgeo"
    ],
    "resultsLimit": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("rowfinch/instagram-mentions-scraper").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 = {
    "username": ["natgeo"],
    "resultsLimit": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("rowfinch/instagram-mentions-scraper").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 '{
  "username": [
    "natgeo"
  ],
  "resultsLimit": 20
}' |
apify call rowfinch/instagram-mentions-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rowfinch/instagram-mentions-scraper"
        }
    }
}
```

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/ienhSnKc8FhBuFcze/builds/bo6yipI3cDX7093sw/openapi.json
