# Instagram Tagged & Mentions Posts Scraper (`neuro-scraper/instagram-tagged-mentions-posts-scraper`) Actor

Instagram Tagged & Mentions Posts Scraper SD - Instagram Tagged & Mentions Posts Scraper is a social media data tool that extracts public Instagram posts and reels that tag, co-author or @mention an account: caption, likes, comments, media, owner and how the account appears.

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

## Pricing

from $1.19 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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 Tagged & Mentions Posts Scraper

The Instagram Tagged & Mentions Posts Scraper collects public Instagram Tagged mentions posts and returns it as a clean dataset you can download as JSON, CSV or Excel, or read through the Apify API. No login, no cookies and no code: give the Instagram Tagged & Mentions Posts Scraper your input, start it and get structured Instagram Tagged data for research, monitoring, analytics or lead generation. You pay only for the results you receive.

> ⭐ **Featured by Neuro Scraper: [Facebook Reels Scraper](https://apify.com/neuro-scraper/facebook-reels-scraper)** - scrape Facebook Reels from any page, profile or reel link with exact views and plays, every reaction type (Like, Love, Care, Haha, Wow, Sad, Angry), comments, shares, captions, music and video links. No login and no cookies. [Try the Facebook Reels Scraper →](https://apify.com/neuro-scraper/facebook-reels-scraper)

**Instagram Tagged & Mentions Posts Scraper** finds public Instagram posts and reels published by other accounts that tag, co-author or @mention the accounts you choose, and returns each post with caption, likes, comments, media links, owner and the way your account appears in it.

> Also popular: the [Facebook Reels Scraper](https://apify.com/neuro-scraper/facebook-reels-scraper) - reels, captions, plays and authors from Facebook in one run.

Instagram Tagged & Mentions Posts Scraper runs in the cloud on Apify. You give it a list of inputs, Instagram Tagged & Mentions Posts Scraper collects the data and you download a clean dataset as JSON, CSV, Excel or HTML, or read it through the Apify API.

#### What does Instagram Tagged & Mentions Posts Scraper do?

Instagram Tagged & Mentions Posts Scraper turns Instagram data into structured rows. Each row is one post, with the same fields in the same order, so the output of Instagram Tagged & Mentions Posts Scraper drops straight into a spreadsheet, a database or a Python script.

- Finds posts and reels where an account is tagged in the photo or video
- Finds posts whose caption @mentions the account
- Finds collab posts where the account is a co-author
- Returns caption, hashtags, mentions, likes, comments, date, media URLs, location and owner for every post
- Labels every row with the relation type: tagged, mentioned or coauthor

#### Why use Instagram Tagged & Mentions Posts Scraper?

Copying Instagram data by hand is slow and error-prone. Instagram Tagged & Mentions Posts Scraper does it for many inputs at once, keeps the numbers as numbers and the dates in ISO-8601 UTC, and records which input produced each row.

Instagram Tagged & Mentions Posts Scraper needs no Instagram account, no login and no cookies. You do not share any password with Instagram Tagged & Mentions Posts Scraper, and nothing is posted or changed on Instagram: Instagram Tagged & Mentions Posts Scraper only reads public data.

#### Who uses Instagram Tagged & Mentions Posts Scraper?

- Brands measuring user-generated content and influencer mentions
- Agencies auditing which creators tag a client
- Creators collecting reposts and shout-outs of their work
- Researchers following how an account is talked about

### How to use Instagram Tagged & Mentions Posts Scraper

1. Open Instagram Tagged & Mentions Posts Scraper in Apify Console and click **Try for free**.
2. Fill in the input form (see the input table below). The prefilled example runs as it is.
3. Click **Start**. Instagram Tagged & Mentions Posts Scraper logs every step, so you can follow the progress in the Log tab.
4. When Instagram Tagged & Mentions Posts Scraper finishes, open the **Output** tab and export the dataset as JSON, CSV, Excel or HTML.
5. Optional: schedule Instagram Tagged & Mentions Posts Scraper, call it from the Apify API or connect it to Make, Zapier, n8n or Google Sheets.

**Required:** `usernames` (one account per line). Everything else is optional.

**What the log tells you:** a line per search page ("@natgeo (mentions) page 1: 10 results, 6 new post(s)"), the number of candidate posts found for each username, and a line for every candidate that could not be opened. The final status message sums up how many posts were saved per username.

#### Input of the scraper

The only required option is `usernames`. Every other option has a safe default, so the prefilled input runs as it is. Each option below says what it does, how the Instagram Tagged & Mentions Posts Scraper uses it, the allowed values, an example and how it combines with the other options.

##### `usernames` - Instagram usernames

**What it does:** Accounts to look up, one per line: a username (natgeo), @natgeo or a profile URL (https://www.instagram.com/natgeo/). The Actor returns public posts by OTHER accounts that tag, co-author or @mention each one.

**How it works:** For each account the Actor searches for public posts that tag or @mention it, opens every candidate post and keeps it only when the account really is in the tagged users, the co-authors or the caption mentions. Usernames, @usernames and profile links are all cleaned to the same username, and every row carries the account in `inputUsername`.

**Allowed values and default:** a list of text values, one per line in the form; empty by default.

**Example:** `"usernames": ["natgeo", "nasa"]`

**Tip and combinations:** Big, well-known accounts give many results; a small account can give few or none, because only posts other people published publicly can be found. Each username has its own `resultsLimit`, so 2 usernames with a limit of 10 give up to 20 rows.

##### `resultsLimit` - Max posts per username

**What it does:** How many tagged / mentioning posts to return for each username (the limit is per username: 10 x 2 usernames = up to 20 rows).

**How it works:** The limit is per username. The Actor keeps opening candidate posts for an account until this many matching posts are saved or the candidates run out, then moves to the next username. It collects up to three times this number of candidates, because some candidates turn out not to tag the account.

**Allowed values and default:** whole number from 1 to 500; default `10`.

**Example:** `"resultsLimit": 25`

**Tip and combinations:** Start with 10 to see the output, then raise it. If a run returns fewer rows than the limit, raise `maxSearchPages` - the limit only stops the run early, it never creates posts that do not exist.

##### `relationTypes` - Relation types

**What it does:** Which kinds of posts to keep: posts where the account is tagged in the media, @mentioned in the caption, or a co-author of a collab post.

**How it works:** Every saved post is labelled with how the account appears in it (`relationType`). This option drops the posts whose labels are not in your list. A post that both tags and mentions the account is kept when either label is selected.

**Allowed values and default:** a list with any of `tagged`, `mentioned`, `coauthor`; default `["tagged", "mentioned", "coauthor"]`.

**Example:** `"relationTypes": ["tagged", "coauthor"]`

**Tip and combinations:** Pick only `tagged` to measure user-generated content, only `coauthor` to list collab partners. Fewer types mean fewer rows for the same `resultsLimit`, because the other posts are skipped, not counted.

##### `includeOwnPosts` - Include the account's own posts

**What it does:** Off: only posts published by other accounts. On: also the account's own posts in which it tags or mentions itself.

**How it works:** By default a post published by the input account itself is skipped even when it tags or mentions itself. Switched on, those posts are kept and labelled the same way as posts by other accounts.

**Allowed values and default:** `true` or `false`; default `false`.

**Example:** `"includeOwnPosts": true`

**Tip and combinations:** Leave it off for user-generated content and influencer audits - own posts would mix your content into the list. Turn it on when you want every post the account appears in, whoever published it.

##### `downloadVideos` - Download videos

**What it does:** Store the MP4 of every video post in the run's key-value store; downloadedVideo holds the file link.

**How it works:** For every saved video post the Actor downloads the MP4 file into the run's key-value store and writes the file link into `downloadedVideo`. Image posts are not affected. Files larger than 300 MB are skipped with a warning in the log.

**Allowed values and default:** `true` or `false`; default `false`.

**Example:** `"downloadVideos": true`

**Tip and combinations:** Instagram video links in `videoUrl` expire after some days; switch this on when you need to keep the files. Downloads make the run slower and use more storage on your Apify account.

##### `maxSearchPages` - Search depth (pages per username)

**What it does:** How many pages of candidate posts to look through for each username (about 10 candidates per page). More pages find more posts but take longer.

**How it works:** Candidate posts are collected page by page, about 10 per page, for three kinds of searches per username (mentions, posts and reels). This option sets how many pages each search may read. Paging stops earlier when there are no more results or enough candidates are found.

**Allowed values and default:** whole number from 1 to 10; default `3`.

**Example:** `"maxSearchPages": 5`

**Tip and combinations:** Raise it together with `resultsLimit` - a limit of 50 needs about 5 pages or more. Deeper pages find older and less relevant posts, so the share of confirmed tags drops on the last pages.

##### `onlyPostsNewerThan` - Only posts newer than

**What it does:** Keep only posts published after this date: a date (2026-10-01) or a relative time (7 days, 2 weeks, 3 months). Empty = any date.

**How it works:** Every found post is compared with this cut-off by its publish time; older posts are skipped and do not count towards the per-username limit. Accepts a date (2026-10-01), a date and time, or a relative time such as "7 days", "2 weeks" or "3 months".

**Allowed values and default:** text; empty by default (option off).

**Example:** `"onlyPostsNewerThan": "30 days"`

**Tip and combinations:** Combine with a scheduled run to collect only the latest user-generated content each week.

##### `includeComments` - Include comments

**What it does:** Adds the newest public comments of each post (latestComments, firstComment). Off = no comment columns.

**How it works:** On (default): each post row carries the newest public comments shown with the post in latestComments and the first of them in firstComment. Off: both columns stay empty, which keeps rows small.

**Allowed values and default:** `true` or `false`; default `true`.

**Example:** `"includeComments": false`

**Tip and combinations:** Turn it off when you only need the post list; it does not change the speed.

##### `maxCommentsPerPost` - Max comments per post

**What it does:** How many of the comments shown with the post are kept in latestComments (the post shows up to about 12-15).

**How it works:** Caps how many of the comments shown with the post are kept in latestComments. A post shows up to about 12-15 comments to visitors; 0 keeps none.

**Allowed values and default:** whole number from 0 to 50; default `15`.

**Example:** `"maxCommentsPerPost": 5`

**Tip and combinations:** Use 3-5 for a quick sentiment sample; only applies when Include comments is on.

##### `includeAudio` - Download the audio track

**What it does:** Also stores the separate audio track of video posts as a file in the run's key-value store (downloadedAudio = its link). The audioUrl column is always filled when the post has one.

**How it works:** For video posts that have a separate audio track, the track is downloaded and stored as a file in the run's key-value store; downloadedAudio holds its link. The audioUrl column is filled either way.

**Allowed values and default:** `true` or `false`; default `false`.

**Example:** `"includeAudio": true`

**Tip and combinations:** Useful for music or voice analysis; it adds download time per video, so keep the limit small.

##### `maxConcurrency` - Parallel post reads

**What it does:** How many candidate posts are opened at the same time per account. More = a faster run.

**How it works:** How many candidate posts of one account are opened at the same time to check how the account appears in them.

**Allowed values and default:** whole number from 1 to 10; default `4`.

**Example:** `"maxConcurrency": 6`

**Tip and combinations:** The default 4 is fast and safe; lower it if the log shows many retries.

##### `maxItems` - Max posts in total

**What it does:** Optional cap for the whole run (all usernames together). 0 = no total cap.

**How it works:** A total cap over all usernames together. When the run has saved this many rows it stops, even if some usernames still have room under `resultsLimit`. 0 means no total cap.

**Allowed values and default:** whole number from 0 to 100,000; default `0`.

**Example:** `"maxItems": 100`

**Tip and combinations:** Use it as a budget guard on long username lists: `resultsLimit` controls each account, `maxItems` the whole run. Usernames are processed in the order you gave them.

##### `proxyConfiguration` - Proxy configuration

**What it does:** Chooses the Apify Proxy group and country the Actor connects through.

**How it works:** Every request goes through the proxy you pick here. The default residential group gives each session a real household IP address; when a session meets a rate limit the Actor drops it and continues on a fresh IP, so a long run keeps going without your input.

**Allowed values and default:** an Apify proxy settings object; default `{"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]}`.

**Example:** `"proxyConfiguration": {"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]}`

**Tip and combinations:** Keep the default. Datacenter proxies are cheaper but are limited much faster, which shows up as fewer rows and more retries in the log. A proxy country only matters when you want results as seen from that country.

##### Ready-to-copy inputs for the scraper

Paste one of these into the JSON tab of the input form, or send it as the body of an API run:

**1. Tagged and mentioning posts of one brand** - returns up to 10 posts by other accounts that tag, mention or co-author with natgeo.

```json
{
  "usernames": [
    "natgeo"
  ],
  "resultsLimit": 10
}
```

**2. Only tagged user-generated content for several accounts** - returns up to 25 posts per account in which the account is tagged in the media.

```json
{
  "usernames": [
    "natgeo",
    "nasa"
  ],
  "resultsLimit": 25,
  "relationTypes": [
    "tagged"
  ],
  "maxSearchPages": 5
}
```

**3. Collab posts with video files kept** - returns co-authored posts and stores every video file in the run's storage.

```json
{
  "usernames": [
    "natgeo"
  ],
  "resultsLimit": 20,
  "relationTypes": [
    "coauthor"
  ],
  "downloadVideos": true,
  "maxItems": 50
}
```

#### Output of the scraper

One row is one public post or reel published by another account in which your account is tagged, @mentioned or a co-author. A field that Instagram does not publish for a given post is `null`, never invented. Several columns repeat the same value under the names other Instagram tools use, so a sheet built for another tool keeps working.

| Field | Type | What it means | Example from a test run | When it can be empty |
|---|---|---|---|---|
| `inputUsername` | text | The account you asked for (as given in `usernames`) | `"nike"` | Filled in every row of our test run |
| `mentionedUsername` | text | The account that is tagged or mentioned (your input account) | `"nike"` | Filled in every row of our test run |
| `mentioned_user` | text | The account that is tagged or mentioned (your input account) | `"nike"` | Filled in every row of our test run |
| `target_username` | text | The account the post was checked for (your input account) | `"nike"` | Filled in every row of our test run |
| `sourceUsername` | text | The input account this row belongs to | `"nike"` | Filled in every row of our test run |
| `inputUrl` | text | Profile link of the input account | `"https://www.instagram.com/nike/"` | Filled in every row of our test run |
| `relationType` | list | How your account appears in the post: a list of `tagged`, `mentioned` and/or `coauthor` | `["mentioned"]` | Filled in every row of our test run |
| `mentionType` | text | The same relation as one comma-separated text, e.g. "tagged,mentioned" | `"mentioned"` | Filled in every row of our test run |
| `isTagged` | true/false | true when your account is tagged in the photo or video | `false` | Filled in every row of our test run |
| `isMentioned` | true/false | true when the caption @mentions your account | `true` | Filled in every row of our test run |
| `isCoauthor` | true/false | true when your account is a co-author of a collab post | `false` | Filled in every row of our test run |
| `id` | text | Numeric Instagram id of the post | `"3940425122047969459"` | Filled in every row of our test run |
| `pk` | text | Numeric post id (same as `id`) | `"3940425122047969459"` | Filled in every row of our test run |
| `mediaPk` | text | Numeric post id (same as `id`) | `"3940425122047969459"` | Filled in every row of our test run |
| `post_id` | text | Numeric post id (same as `id`) | `"3940425122047969459"` | Filled in every row of our test run |
| `shortCode` | text | Short code of the post, the part after /p/ in its link | `"DavM8Vvsciz"` | Filled in every row of our test run |
| `url` | text | Link to the post | `"https://www.instagram.com/reel/DavM8Vvsciz/"` | Filled in every row of our test run |
| `postUrl` | text | Link to the post (same as `url`) | `"https://www.instagram.com/reel/DavM8Vvsciz/"` | Filled in every row of our test run |
| `type` | text | Image, Video or Sidecar (a carousel of several images / videos) | `"Video"` | Filled in every row of our test run |
| `mediaType` | text | Image, Video or Sidecar (same as `type`) | `"Video"` | Filled in every row of our test run |
| `post_type` | text | Image, Video or Sidecar (same as `type`) | `"Video"` | Filled in every row of our test run |
| `productType` | text | feed for a normal post, clips for a reel, carousel_container for a carousel | `"clips"` | Filled in every row of our test run |
| `caption` | text | Caption text of the post | `"@nike 👊🏾"` | Empty when the post has no caption |
| `hashtags` | null | Hashtags in the caption, without # | `null` | Empty when the caption has no hashtag (empty in 15 of 32 test rows) |
| `mentions` | list | Accounts @mentioned in the caption, without @ | `["nike"]` | Empty when the caption mentions nobody (empty in 2 of 32 test rows) |
| `likesCount` | number | Number of likes | `3` | Null when the owner hid the like count |
| `commentsCount` | number | Number of comments | `266` | Null when comments are turned off |
| `timestamp` | text | When the post was published (ISO-8601, UTC) | `"2026-07-13T15:09:32.000Z"` | Filled in every row of our test run |
| `takenAt` | text | When the post was published (same as `timestamp`) | `"2026-07-13T15:09:32.000Z"` | Filled in every row of our test run |
| `post_date` | text | When the post was published (same as `timestamp`) | `"2026-07-13T15:09:32.000Z"` | Filled in every row of our test run |
| `ownerUsername` | text | Username of the account that published the post | `"alejandrobalde"` | Filled in every row of our test run |
| `postedByUsername` | text | Username of the publisher (same as `ownerUsername`) | `"alejandrobalde"` | Filled in every row of our test run |
| `ownerId` | text | Numeric user id of the publisher | `"1803393952"` | Filled in every row of our test run |
| `postedByUserId` | text | Numeric user id of the publisher (same as `ownerId`) | `"1803393952"` | Filled in every row of our test run |
| `ownerFullName` | text | Display name of the publisher | `"ALEJANDRO BALDE"` | Filled in every row of our test run |
| `postedByFullName` | text | Display name of the publisher (same as `ownerFullName`) | `"ALEJANDRO BALDE"` | Filled in every row of our test run |
| `ownerIsVerified` | true/false | true when the publisher has the verified badge | `true` | Filled in every row of our test run |
| `postedByIsVerified` | true/false | true when the publisher is verified (same as `ownerIsVerified`) | `true` | Filled in every row of our test run |
| `ownerProfilePicUrl` | text | Profile picture link of the publisher (signed link, expires after some days) | `"https://scontent.cdninstagram.com/v/t51.8278...` | Filled in every row of our test run |
| `owner` | object | The publisher as one object: username, id, fullName, isVerified, profilePicUrl | `{"username": "alejandrobalde", "id": "1803393...` | Filled in every row of our test run |
| `displayUrl` | text | Link to the main image (for a video: its cover image) | `"https://instagram.fdxb3-2.fna.fbcdn.net/v/t5...` | Filled in every row of our test run |
| `imageUrl` | text | Link to the main image (same as `displayUrl`) | `"https://instagram.fdxb3-2.fna.fbcdn.net/v/t5...` | Filled in every row of our test run |
| `images` | list | Links to every image of the post (all slides of a carousel) | `["https://instagram.fdxb3-2.fna.fbcdn.net/v/t...` | Filled in every row of our test run |
| `videoUrl` | text | Direct MP4 link of the video | `"https://instagram.fdxb3-1.fna.fbcdn.net/o1/v...` | Empty for image posts (empty in 11 of 32 test rows) |
| `videoDurationSec` | number | Video length in seconds | `27.52` | Empty for image posts (empty in 11 of 32 test rows) |
| `videoDuration` | number | Video length in seconds (same as `videoDurationSec`) | `27.52` | Empty for image posts (empty in 11 of 32 test rows) |
| `hasAudio` | true/false | true when the video has sound | `true` | Empty for image posts (empty in 11 of 32 test rows) |
| `audioUrl` | text | Direct link of the separate audio track, when Instagram publishes one | `"https://instagram.ffjr1-4.fna.fbcdn.net/o1/v...` | Empty for image posts and most videos (empty in 11 of 32 test rows) |
| `width` | number | Width of the main media in pixels | `480` | Filled in every row of our test run |
| `height` | number | Height of the main media in pixels | `854` | Filled in every row of our test run |
| `dimensionsWidth` | number | Width in pixels (same as `width`) | `480` | Filled in every row of our test run |
| `dimensionsHeight` | number | Height in pixels (same as `height`) | `854` | Filled in every row of our test run |
| `originalWidth` | number | Width in pixels (same as `width`) | `480` | Filled in every row of our test run |
| `originalHeight` | number | Height in pixels (same as `height`) | `854` | Filled in every row of our test run |
| `altText` | text | Accessibility text of the image (written by the owner or generated by Instagram) | `"Video by ALEJANDRO BALDE on July 13, 2026."` | Empty when the post has none |
| `alt` | text | Accessibility text (same as `altText`) | `"Video by ALEJANDRO BALDE on July 13, 2026."` | Empty when the post has none |
| `childPosts` | null | Every slide of a carousel: type, id, shortCode, displayUrl, videoUrl, size | `null` | Empty for single image or video posts (empty in 24 of 32 test rows) |
| `carouselCount` | null | Number of slides in a carousel | `null` | Empty for single image or video posts (empty in 24 of 32 test rows) |
| `taggedUsers` | null | Usernames tagged in the photo or video | `null` | Empty when nobody is tagged in the media (empty in 13 of 32 test rows) |
| `taggedUsernames` | null | Usernames tagged in the media (same as `taggedUsers`) | `null` | Empty when nobody is tagged in the media (empty in 13 of 32 test rows) |
| `coauthors` | null | Usernames of the co-authors of a collab post | `null` | Empty when the post is not a collab (empty in 26 of 32 test rows) |
| `coauthorProducers` | null | Co-authors as objects: username, id, fullName, isVerified | `null` | Empty when the post is not a collab (empty in 26 of 32 test rows) |
| `locationName` | text | Name of the place tagged on the post | `"Los Angeles, California"` | Empty when no place is tagged (empty in 26 of 32 test rows) |
| `locationId` | number | Instagram id of the tagged place | `110970792260960` | Empty when no place is tagged (empty in 26 of 32 test rows) |
| `locationLat` | number | Latitude of the tagged place | `34.0564` | Empty when no place is tagged or it has no coordinates (empty in 26 of 32 test rows) |
| `locationLng` | number | Longitude of the tagged place | `-118.2445` | Empty when no place is tagged or it has no coordinates (empty in 26 of 32 test rows) |
| `audio` | object | Sound used by a reel: title, artist, audio id | `{"title": "Original audio", "artist": "alejan...` | Empty for image posts and reels with original audio info hidden (empty in 12 of 32 test rows) |
| `musicInfo` | object | Music details of a reel (song, artist) | `{"audioId": "27539406222368592", "title": "Or...` | Empty when the post has no licensed music (empty in 12 of 32 test rows) |
| `likesAndViewsHidden` | true/false | true when the owner hid the like and view counts | `true` | Filled in every row of our test run |
| `captionIsEdited` | true/false | true when the caption was edited after publishing | `false` | Filled in every row of our test run |
| `isCommentsDisabled` | null | true when comments are turned off | `null` | Empty when Instagram does not say (empty in 32 of 32 test rows) |
| `paidPartnership` | null | true when the post is marked as a paid partnership | `null` | Empty on normal posts (empty in 32 of 32 test rows) |
| `is_paid_partnership` | null | Paid partnership flag (same as `paidPartnership`) | `null` | Empty on normal posts (empty in 32 of 32 test rows) |
| `sponsors` | null | Sponsor accounts of a paid partnership | `null` | Empty on normal posts (empty in 32 of 32 test rows) |
| `sponsor_user` | null | The first sponsor account | `null` | Empty on normal posts (empty in 32 of 32 test rows) |
| `topics` | list | Topics Instagram attaches to the post (e.g. people or themes in it) | `["alejandro balde"]` | Empty when Instagram attaches none (empty in 2 of 32 test rows) |
| `firstComment` | text | Text of the first comment | `"❤️❤️❤️"` | Empty when the post has no comments (empty in 1 of 32 test rows) |
| `latestComments` | list | The first page of comments: id, text, ownerUsername, timestamp, likes | `[{"id": "18104283998021296", "text": "❤️❤️❤️"...` | Empty when the post has no comments (empty in 1 of 32 test rows) |
| `searchTerm` | text | The account term the post was found for, e.g. "@natgeo" | `"@nike"` | Filled in every row of our test run |
| `queryTag` | text | The account term the post was found for (same as `searchTerm`) | `"@nike"` | Filled in every row of our test run |
| `searchSource` | text | Which search found the post: mention search, post search or reel search | `"reel search"` | Filled in every row of our test run |
| `downloadedVideo` | null | Link to the stored MP4 in the run's key-value store | `null` | Empty unless `downloadVideos` is on and the post is a video (empty in 32 of 32 test rows) |
| `downloadedAudio` | null | Link to the stored audio track file (only with Download the audio track on). | `null` | Empty unless Download the audio track is on and the post is a video with a separate audio track (empty in 32 of 32 test rows) |
| `scrapedAt` | text | When the row was read (ISO-8601, UTC) | `"2026-11-21T16:53:47.000Z"` | Filled in every row of our test run |

A real row from a Instagram Tagged & Mentions Posts Scraper test run (long values shortened):

```json
{
  "inputUsername": "nike",
  "relationType": [
    "mentioned"
  ],
  "isTagged": false,
  "isMentioned": true,
  "isCoauthor": false,
  "id": "3940425122047969459",
  "shortCode": "DavM8Vvsciz",
  "url": "https://www.instagram.com/reel/DavM8Vvsciz/",
  "type": "Video",
  "caption": "@nike 👊🏾",
  "likesCount": 3,
  "commentsCount": 266,
  "timestamp": "2026-07-13T15:09:32.000Z",
  "ownerUsername": "alejandrobalde",
  "ownerFullName": "ALEJANDRO BALDE",
  "taggedUsers": null,
  "searchTerm": "@nike",
  "scrapedAt": "2026-11-21T16:53:47.000Z"
}
```

#### Which columns of the scraper can be empty

Measured on our latest test run: these columns were empty on more than 10% of the rows. Each line says why - in every case the value is not shown for those items (or belongs to another row type or option), so the Instagram Tagged & Mentions Posts Scraper writes null instead of guessing.

- `hashtags`: Empty when the caption has no hashtag (empty in 15 of 32 test rows) (empty in 15 of 32 rows of our test run).
- `videoUrl`: Empty for image posts (empty in 11 of 32 test rows) (empty in 11 of 32 rows of our test run).
- `videoDurationSec`: Empty for image posts (empty in 11 of 32 test rows) (empty in 11 of 32 rows of our test run).
- `videoDuration`: Empty for image posts (empty in 11 of 32 test rows) (empty in 11 of 32 rows of our test run).
- `hasAudio`: Empty for image posts (empty in 11 of 32 test rows) (empty in 11 of 32 rows of our test run).
- `audioUrl`: Empty for image posts and most videos (empty in 11 of 32 test rows) (empty in 11 of 32 rows of our test run).
- `childPosts`: Empty for single image or video posts (empty in 24 of 32 test rows) (empty in 24 of 32 rows of our test run).
- `carouselCount`: Empty for single image or video posts (empty in 24 of 32 test rows) (empty in 24 of 32 rows of our test run).
- `taggedUsers`: Empty when nobody is tagged in the media (empty in 13 of 32 test rows) (empty in 13 of 32 rows of our test run).
- `taggedUsernames`: Empty when nobody is tagged in the media (empty in 13 of 32 test rows) (empty in 13 of 32 rows of our test run).
- `coauthors`: Empty when the post is not a collab (empty in 26 of 32 test rows) (empty in 26 of 32 rows of our test run).
- `coauthorProducers`: Empty when the post is not a collab (empty in 26 of 32 test rows) (empty in 26 of 32 rows of our test run).
- `locationName`: Empty when no place is tagged (empty in 26 of 32 test rows) (empty in 26 of 32 rows of our test run).
- `locationId`: Empty when no place is tagged (empty in 26 of 32 test rows) (empty in 26 of 32 rows of our test run).
- `locationLat`: Empty when no place is tagged or it has no coordinates (empty in 26 of 32 test rows) (empty in 26 of 32 rows of our test run).
- `locationLng`: Empty when no place is tagged or it has no coordinates (empty in 26 of 32 test rows) (empty in 26 of 32 rows of our test run).
- `audio`: Empty for image posts and reels with original audio info hidden (empty in 12 of 32 test rows) (empty in 12 of 32 rows of our test run).
- `musicInfo`: Empty when the post has no licensed music (empty in 12 of 32 test rows) (empty in 12 of 32 rows of our test run).
- `isCommentsDisabled`: Empty when Instagram does not say (empty in 32 of 32 test rows) (empty in 32 of 32 rows of our test run).
- `paidPartnership`: Empty on normal posts (empty in 32 of 32 test rows) (empty in 32 of 32 rows of our test run).
- `is_paid_partnership`: Empty on normal posts (empty in 32 of 32 test rows) (empty in 32 of 32 rows of our test run).
- `sponsors`: Empty on normal posts (empty in 32 of 32 test rows) (empty in 32 of 32 rows of our test run).
- `sponsor_user`: Empty on normal posts (empty in 32 of 32 test rows) (empty in 32 of 32 rows of our test run).
- `downloadedVideo`: Empty unless `downloadVideos` is on and the post is a video (empty in 32 of 32 test rows) (empty in 32 of 32 rows of our test run).
- `downloadedAudio`: Empty unless Download the audio track is on and the post is a video with a separate audio track (empty in 32 of 32 test rows) (empty in 32 of 32 rows of our test run).

#### Features of the scraper compared with the top 5 Apify Store Actors

The table lists every feature the five most-used Store Actors of this type offer, how many of them offer it, and whether Instagram Tagged & Mentions Posts Scraper has it. "No" always comes with the measured reason.

| Feature | In top 5 | Instagram Tagged & Mentions Posts Scraper |
|---|---|---|
| Posts where the account is tagged | 5 of 5 | Yes |
| Posts that @mention the account | 4 of 5 | Yes |
| Collab / co-author posts | 1 of 5 | Yes |
| Several usernames per run | 4 of 5 | Yes |
| Limit per username | 5 of 5 | Yes (resultsLimit) |
| Caption, likes, comments, date | 5 of 5 | Yes |
| Media URLs (image, video, carousel) | 5 of 5 | Yes |
| Latest comments | 2 of 5 | Yes (first page) |
| Video view / play count | 2 of 5 | No - Instagram does not publish it in the post data for logged-out visitors (0 of 5 posts on the test run) |
| Date range filter | 1 of 5 | No - posts are found by relevance, not date; filter the dataset by timestamp |
| Complete tagged tab of a profile | 3 of 5 | No - Instagram shows the tagged tab only to logged-in users; this Actor finds tagged posts without a login |

#### Limits of the scraper

Instagram Tagged & Mentions Posts Scraper reports what it can measure and nothing else. These limits were measured on live runs:

- Instagram shows a profile's Tagged tab only to logged-in users, so the Actor finds tagged and mentioning posts without the tab: it cannot promise every tagged post an account has ever had.
- Popular accounts give many results; small accounts can give few or none - the run status says how many posts were checked.
- Like counts are null on posts whose owner hid them.
- Private accounts' posts are never returned.

### The scraper with the Apify API, Python and integrations

You can start Instagram Tagged & Mentions Posts Scraper from your own code. The Apify API runs Instagram Tagged & Mentions Posts Scraper with your input and returns the dataset when the run ends. This Python example uses the official `apify-client` package:

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("neuro-scraper/instagram-tagged-mentions-posts-scraper").call(run_input={"usernames": ["natgeo"], "resultsLimit": 10})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

The same run from Node.js with the `apify-client` package:

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

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('neuro-scraper/instagram-tagged-mentions-posts-scraper').call({"usernames": ["natgeo"], "resultsLimit": 10});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

Or with one HTTP call that runs the Instagram Tagged & Mentions Posts Scraper and returns the rows when it finishes:

```bash
curl -X POST 'https://api.apify.com/v2/acts/neuro-scraper~instagram-tagged-mentions-posts-scraper/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{"usernames": ["natgeo"], "resultsLimit": 10}'
```

The same run works from JavaScript, from a webhook, or with no code at all: Instagram Tagged & Mentions Posts Scraper plugs into Make, Zapier, n8n, Google Sheets, Slack and Airbyte through the Apify integrations.

A schedule turns Instagram Tagged & Mentions Posts Scraper into a monitor. Run Instagram Tagged & Mentions Posts Scraper every day with the same input, export each dataset, and compare the numbers over time in a spreadsheet or a BI tool.

#### Export formats of the scraper

| Format | Best for |
|---|---|
| JSON | developers and APIs reading Instagram Tagged & Mentions Posts Scraper rows |
| CSV | spreadsheets and databases |
| Excel | business users and reports |
| HTML table | a quick look in the browser |
| RSS / XML | feeds and older tools |

### Pricing of the scraper

Instagram Tagged & Mentions Posts Scraper uses pay-per-event pricing: you pay a small fee per post written to the dataset, plus a tiny start fee per run. There is no monthly rental. The limit inputs and the run's maximum cost setting keep every run of Instagram Tagged & Mentions Posts Scraper inside your budget.

**Cost example for the Instagram Tagged & Mentions Posts Scraper:** one result is one post written to the dataset. The price is **$1.49 per 1,000 results** on the Apify Free plan, $1.39 per 1,000 on Starter, $1.29 per 1,000 on Scale and $1.19 per 1,000 on Business. So 100 posts cost about $0.15 and 1,000 posts cost $1.49 on the Free plan. Example: 5 brand accounts x `resultsLimit` 20 = up to 100 posts = about $0.15.

**How to cap the cost:** Lower `resultsLimit` (per username) or set `maxItems` (whole run). You can also set **Maximum cost per run** in the run options; the run stops cleanly when that budget is reached and keeps every row it already saved.

**Limits we measured:** a test run for natgeo with 3 search pages found 9 confirmed posts (limit 10) in about two minutes. Instagram shows the Tagged tab of a profile only to signed-in users, so the Actor cannot promise every tagged post an account has ever had; it returns the confirmed ones it can find.

Apify's free plan includes monthly credit, enough to try Instagram Tagged & Mentions Posts Scraper on real inputs. Free-plan runs of Instagram Tagged & Mentions Posts Scraper are capped at 30 results per run.

### Tips for better results with the scraper

- Start Instagram Tagged & Mentions Posts Scraper with the prefilled input to see the output format, then add your own inputs.
- Keep the default residential proxy: Instagram limits anonymous visitors per IP address, and Instagram Tagged & Mentions Posts Scraper switches to a fresh IP when it meets a limit.
- Use the limit fields of Instagram Tagged & Mentions Posts Scraper to control cost; the limits apply per input.
- Read the run log: Instagram Tagged & Mentions Posts Scraper names every input that failed and why, and the final status message sums it up.

### Is it legal to use the scraper?

Instagram Tagged & Mentions Posts Scraper reads only public data that any visitor can see without logging in. It does not access private accounts, messages or anything behind a login.

Results of Instagram Tagged & Mentions Posts Scraper can still contain personal data. Personal data is protected by GDPR in the European Union and by similar laws elsewhere. Do not scrape personal data unless you have a legitimate reason, and ask a lawyer if you are unsure. Respect the Instagram terms that apply to you.

### Reviews and feedback for the scraper

Did Instagram Tagged & Mentions Posts Scraper save you time? A short review on the Apify Store helps other users find Instagram Tagged & Mentions Posts Scraper. If something does not work, open an issue on the Issues tab of Instagram Tagged & Mentions Posts Scraper and include the run link: every report is read and answered.

### FAQ about the scraper

#### Can the scraper read the Tagged tab of a profile?

Not directly: Instagram shows the Tagged tab only to logged-in users and the Instagram Tagged & Mentions Posts Scraper never logs in. It finds tagged and mentioning posts another way and checks each post, so every row is a confirmed tag, mention or collab.

#### How does the scraper know a post tags my account?

For every candidate post it reads the post itself and keeps it only when your account is in the tagged users, the co-authors or the caption mentions. The relationType column says which.

#### Does the scraper return the account's own posts?

Only when you switch on includeOwnPosts. By default the Instagram Tagged & Mentions Posts Scraper returns posts by other accounts.

#### Do I need a Instagram account to use the scraper?

No. Instagram Tagged & Mentions Posts Scraper works without a Instagram account, login or cookies. It reads only public data.

#### How fast is the scraper?

Instagram Tagged & Mentions Posts Scraper paces its requests like a careful visitor and uses residential IPs. Small runs finish in about a minute; the run log shows the progress of Instagram Tagged & Mentions Posts Scraper for every input.

#### Can I schedule the scraper?

Yes. In Apify Console, create a task with your input for Instagram Tagged & Mentions Posts Scraper and add a schedule (hourly, daily, weekly). Each scheduled run of Instagram Tagged & Mentions Posts Scraper produces a new dataset.

#### Which export formats does the scraper support?

Every dataset of Instagram Tagged & Mentions Posts Scraper can be downloaded as JSON, CSV, Excel, HTML, XML or RSS, or read through the Apify API.

#### Why is a field of the scraper empty?

Instagram Tagged & Mentions Posts Scraper writes `null` when Instagram does not publish that value for the post. Instagram Tagged & Mentions Posts Scraper never fills a field with a guess.

#### Why did I get fewer posts than resultsLimit?

The limit is a maximum. The Instagram Tagged & Mentions Posts Scraper keeps only posts in which the account is confirmed as tagged, mentioned or co-author, and it can only find posts that other people published publicly. Raise `maxSearchPages` to look deeper, or allow all three `relationTypes`.

#### Can I run many accounts in one run?

Yes. Put one account per line in `usernames`. The limit applies to each account separately and every row says which account it belongs to in `inputUsername`; `maxItems` caps the whole run.

#### How do I get only new tagged posts?

Schedule the Instagram Tagged & Mentions Posts Scraper daily and compare the `id` column with the previous dataset (for example in a spreadsheet or with a small script). Every post has a stable `id` and `shortCode`.

#### Why is likesCount empty on some posts?

The owner of the post hid the like count (`likesAndViewsHidden` is true). The Actor writes null instead of a guess.

#### How do I report a problem with the scraper?

Open the Issues tab of Instagram Tagged & Mentions Posts Scraper on the Apify Store, describe what you expected and paste the run link. Problems with Instagram Tagged & Mentions Posts Scraper are usually fixed within days.

### Why use the scraper

The Instagram Tagged & Mentions Posts Scraper is a Instagram Tagged scraper and Instagram Tagged data extractor for anyone who needs public Instagram Tagged mentions posts as clean data. The Instagram Tagged & Mentions Posts Scraper handles web scraping, proxy rotation and retries for you, so you get a ready dataset instead of raw pages. Use the Instagram Tagged & Mentions Posts Scraper for market research, competitor analysis, lead generation, analytics or monitoring, and export the results to JSON, CSV, Excel or Google Sheets.

- No login and no code: the Instagram Tagged & Mentions Posts Scraper runs on Apify with one click or one API call.
- Pay per result: the Instagram Tagged & Mentions Posts Scraper charges only for rows delivered - no monthly Instagram Tagged API fee.
- Complete fields: the Instagram Tagged & Mentions Posts Scraper returns every public field, with a stable schema for automation.
- Integrations: connect the Instagram Tagged & Mentions Posts Scraper to Zapier, Make, n8n, Google Sheets, a webhook or your CRM.

### The scraper use cases

- Market research: the Instagram Tagged & Mentions Posts Scraper collects Instagram Tagged mentions posts at scale, so you can compare trends across weeks and niches.
- Competitor analysis: run the Instagram Tagged & Mentions Posts Scraper on a schedule and export the dataset to Google Sheets or Excel to watch what competitors publish.
- Lead generation and B2B prospecting: the Instagram Tagged & Mentions Posts Scraper gives a sales or agency team a clean list to load into a CRM.
- Content and social media monitoring: the Instagram Tagged & Mentions Posts Scraper keeps a fresh copy of Instagram Tagged data through an Apify schedule and a webhook.
- Analytics and dashboards: send the Instagram Tagged & Mentions Posts Scraper output as JSON through the Apify API into Python, Node.js or a BI tool.
- Academic and data science projects: the Instagram Tagged & Mentions Posts Scraper returns a consistent schema, ready for pandas, R or a notebook.
- Price, product and brand tracking: the Instagram Tagged & Mentions Posts Scraper turns public Instagram Tagged data into a dataset you can diff run by run.
- Automation workflows: connect the Instagram Tagged & Mentions Posts Scraper to Zapier, Make or n8n so every new row starts your next step.

### How to run it with the API, Python and Node.js

Start the Instagram Tagged & Mentions Posts Scraper from the Apify Console, or call it from code. The Instagram Tagged & Mentions Posts Scraper returns its dataset as JSON, CSV or Excel. With the Apify API you can run the Instagram Tagged & Mentions Posts Scraper from Python or Node.js, wait for it to finish and read the rows, which makes the Instagram Tagged & Mentions Posts Scraper easy to plug into an automation, a data pipeline or a scheduled export.

1. Open the Instagram Tagged & Mentions Posts Scraper on Apify and fill in the input (or send the same input as JSON to the API).
2. Start the Instagram Tagged & Mentions Posts Scraper. Follow the run log while the Instagram Tagged & Mentions Posts Scraper collects public Instagram Tagged data.
3. Download the dataset as CSV, JSON, Excel or XLSX, or let a webhook send it on.
4. Schedule the Instagram Tagged & Mentions Posts Scraper to keep your Instagram Tagged data fresh for monitoring and analytics.

### Tips for better results

- Start small: run the Instagram Tagged & Mentions Posts Scraper with a low maximum first, check the fields, then scale up the same input.
- Split big jobs: several smaller Instagram Tagged & Mentions Posts Scraper runs (by keyword, URL list or date) finish faster and are easier to resume.
- Keep a history: name a dataset or use a schedule so each Instagram Tagged & Mentions Posts Scraper run adds to your Instagram Tagged data over time.
- Filter early: use the input filters of the Instagram Tagged & Mentions Posts Scraper so you only pay for the Instagram Tagged mentions posts you really need.
- Automate the hand-off: a webhook or the Zapier and Make integrations can move every Instagram Tagged & Mentions Posts Scraper result straight to Google Sheets, a CRM or a database.
- Watch the run log: the Instagram Tagged & Mentions Posts Scraper writes what it is doing and why an item was skipped, so a surprising result is easy to explain.

### The scraper FAQ

### Get started

Open the Instagram Tagged & Mentions Posts Scraper, paste your input and press Start. In a few minutes the Instagram Tagged & Mentions Posts Scraper hands you clean Instagram Tagged data as JSON, CSV or Excel, ready for analytics, monitoring, research or your CRM. Questions or a missing field? Write to us from the Instagram Tagged & Mentions Posts Scraper page on Apify - we answer fast and add features users ask for.

### More scrapers from Neuro Scraper

| Actor | What it extracts |
|---|---|
| ⭐ **[Facebook Reels Scraper](https://apify.com/neuro-scraper/facebook-reels-scraper)** | Facebook Reels with exact views, plays, every reaction type, comments and shares |
| [Snapchat Profile Scraper](https://apify.com/neuro-scraper/snapchat-profile-scraper) | Snapchat profile data with all public fields, exported to JSON, CSV or Excel |
| [Amazon Scraper](https://apify.com/neuro-scraper/amazon-keyword-scraper) | Amazon data with all public fields, exported to JSON, CSV or Excel |
| [Instagram Reels Scraper](https://apify.com/neuro-scraper/instagram-reels-scraper) | Instagram reels with all public fields, exported to JSON, CSV or Excel |
| [Facebook Video Details Scraper](https://apify.com/neuro-scraper/facebook-video-details-scraper) | Facebook video details with all public fields, exported to JSON, CSV or Excel |
| [Facebook Reels Scraper Advanced](https://apify.com/neuro-scraper/facebook-reels-scraper-advanced) | Facebook reels  advanced data with all public fields, exported to JSON, CSV or Excel |
| [Facebook Reels Downloader](https://apify.com/neuro-scraper/facebook-reels-downloader) | Facebook reels with all public fields, exported to JSON, CSV or Excel |
| [Instagram Search Scraper](https://apify.com/neuro-scraper/instagram-video-scraper-advanced) | Instagram search data with all public fields, exported to JSON, CSV or Excel |
| [TikTok Video Details Scraper](https://apify.com/neuro-scraper/tiktok-video-details-scraper) | TikTok video details with all public fields, exported to JSON, CSV or Excel |
| [Instagram Hashtag Scraper](https://apify.com/neuro-scraper/instagram-reeel-scraper) | Instagram hashtag data with all public fields, exported to JSON, CSV or Excel |
| [TikTok Profile Scraper](https://apify.com/neuro-scraper/tiktok-profile-scraper) | TikTok profile data with all public fields, exported to JSON, CSV or Excel |
| [Amazon Best Sellers Scraper](https://apify.com/neuro-scraper/amazon-per-result-scraper) | Amazon best sellers with all public fields, exported to JSON, CSV or Excel |
| [Facebook Photos Scraper](https://apify.com/neuro-scraper/facebook-photo-posts-scraper) | Facebook photos with all public fields, exported to JSON, CSV or Excel |

# Actor input Schema

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

Accounts to look up, one per line: a username (natgeo), @natgeo or a profile URL (https://www.instagram.com/natgeo/). The Actor returns public posts by OTHER accounts that tag, co-author or @mention each one.

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

How many tagged / mentioning posts to return for each username (the limit is per username: 10 x 2 usernames = up to 20 rows).

## `relationTypes` (type: `array`):

Which kinds of posts to keep: posts where the account is tagged in the media, @mentioned in the caption, or a co-author of a collab post.

## `includeOwnPosts` (type: `boolean`):

Off: only posts published by other accounts. On: also the account's own posts in which it tags or mentions itself.

## `downloadVideos` (type: `boolean`):

Store the MP4 of every video post in the run's key-value store; downloadedVideo holds the file link.

## `maxSearchPages` (type: `integer`):

How many pages of candidate posts to look through for each username (about 10 candidates per page). More pages find more posts but take longer.

## `onlyPostsNewerThan` (type: `string`):

Keep only posts published after this date: a date (2026-10-01) or a relative time (7 days, 2 weeks, 3 months). Empty = any date.

## `includeComments` (type: `boolean`):

Adds the newest public comments of each post (latestComments, firstComment). Off = no comment columns.

## `maxCommentsPerPost` (type: `integer`):

How many of the comments shown with the post are kept in latestComments (the post shows up to about 12-15).

## `includeAudio` (type: `boolean`):

Also stores the separate audio track of video posts as a file in the run's key-value store (downloadedAudio = its link). The audioUrl column is always filled when the post has one.

## `maxConcurrency` (type: `integer`):

How many candidate posts are opened at the same time per account. More = a faster run.

## `maxItems` (type: `integer`):

Optional cap for the whole run (all usernames together). 0 = no total cap.

## `proxyConfiguration` (type: `object`):

Residential proxies are recommended: Instagram limits anonymous visitors per IP address.

## Actor input object example

```json
{
  "usernames": [
    "natgeo"
  ],
  "resultsLimit": 10,
  "relationTypes": [
    "tagged",
    "mentioned",
    "coauthor"
  ],
  "includeOwnPosts": false,
  "downloadVideos": false,
  "maxSearchPages": 3,
  "onlyPostsNewerThan": "",
  "includeComments": true,
  "maxCommentsPerPost": 15,
  "includeAudio": false,
  "maxConcurrency": 4,
  "maxItems": 0,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

One row per result, in the run's default dataset.

# 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": [
        "natgeo"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("neuro-scraper/instagram-tagged-mentions-posts-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 = {
    "usernames": ["natgeo"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("neuro-scraper/instagram-tagged-mentions-posts-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 '{
  "usernames": [
    "natgeo"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call neuro-scraper/instagram-tagged-mentions-posts-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,neuro-scraper/instagram-tagged-mentions-posts-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/EYykffOH1JF9xTN6P/builds/3EItv3eSfF9yuq0hV/openapi.json
