# Instagram Reposts Scraper (`seemuapps/instagram-reposts-scraper`) Actor

Scrape every post and Reel an Instagram account has reposted — captions, engagement counts, media URLs, and the original author of each reposted post.

- **URL**: https://apify.com/seemuapps/instagram-reposts-scraper.md
- **Developed by:** [Seemu Scraping](https://apify.com/seemuapps) (community)
- **Categories:** Social media, Videos, Developer tools
- **Stats:** 133 total users, 30 monthly users, 94.1% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $7.00 / 1,000 repost scrapeds

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

Scrape every post and Reel an Instagram account has reposted to its **Reposts** tab - including the original author of each reposted post. No login required.

### What you get

For each reposted post on the profile, the scraper returns:

**Repost details**

- The account that did the reposting (`repostedBy`)
- Post ID, shortcode, and clean post URL
- Media type (photo, video, carousel) and product type (feed, Reel)
- Caption and post timestamp
- Direct video URL and thumbnail URL

**Engagement**

- Like, comment, play, and view counts
- Reshare count and video duration

**Original author**

- Username, full name, verified and private status of the account that originally created the post

### Use cases

- **Content curation analysis** - see exactly what a curator or aggregator account is resharing, and who they source from
- **Source discovery** - find the original creators behind a brand or meme account's reposts for partnership outreach
- **Competitor monitoring** - track which posts a competitor amplifies to their audience
- **Trend spotting** - surface the posts gaining traction through reshares
- **Attribution & rights** - capture the original author of reposted media

### How to use

1. Enter an Instagram **username** (with or without @) whose reposts you want
2. Set **Max Items** (default 0 for all available reposts)
3. Run the actor - results appear in the **Dataset** tab
4. To fetch more, open the **Key-value store** tab, copy `NEXT_PAGE_ID`, and paste it into **Page ID** on your next run. When `NEXT_PAGE_ID` is `null`, you've fetched everything.

### Output format

Each dataset record:

```json
{
  "repostedBy": "houseofhighlights",
  "shortcode": "DWUs-UjkpPh",
  "postUrl": "https://www.instagram.com/reel/DWUs-UjkpPh/",
  "mediaType": "video",
  "caption": "...",
  "likeCount": 11214,
  "reshareCount": 600,
  "videoUrl": "https://...mp4",
  "thumbnailUrl": "https://...jpg",
  "authorUsername": "bleacherreport",
  "authorFullName": "Bleacher Report",
  "authorIsVerified": true
}
```

# Actor input Schema

## `username` (type: `string`):

The Instagram username whose Reposts tab you want to scrape (with or without @). Returns every post and Reel this account has reposted.

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

Maximum number of reposts to return. Set 0 for as many as are available. The actor auto-paginates internally to reach this number.

## `pageId` (type: `string`):

Paste the NEXT_PAGE_ID value from the previous run's Key-value store to continue where it left off. Leave blank to start from the most recent reposts.

## Actor input object example

```json
{
  "username": "worldstar",
  "maxItems": 0
}
```

# Actor output Schema

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

One record per reposted post/Reel: repostedBy, postId, shortcode, postUrl, mediaType, productType, takenAt, caption, like/comment/play/view/reshare counts, videoDuration, videoUrl, thumbnailUrl, and original-author fields (authorUsername, authorFullName, authorIsVerified, authorIsPrivate).

## `nextPageId` (type: `string`):

NEXT_PAGE_ID record in the default key-value store. Paste into Page ID on the next run to resume; null when all reposts have been fetched.

# 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": "worldstar"
};

// Run the Actor and wait for it to finish
const run = await client.actor("seemuapps/instagram-reposts-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": "worldstar" }

# Run the Actor and wait for it to finish
run = client.actor("seemuapps/instagram-reposts-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": "worldstar"
}' |
apify call seemuapps/instagram-reposts-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,seemuapps/instagram-reposts-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/jp0bvGpRNOUlqcQGO/builds/EF9t6yXKniGa637Vx/openapi.json
