# Instagram Post & Reels Urls Scraper Max Per Profile (`alpha-scraper/instagram-post-reels-urls-scraper-max-per-profile`) Actor

Extract Instagram Reels URLs and Image Post URLs from one or multiple public Instagram profiles. Supports usernames and profile URLs, customizable limits per profile, and outputs clean structured data for research, analytics, automation, and content monitoring.

- **URL**: https://apify.com/alpha-scraper/instagram-post-reels-urls-scraper-max-per-profile.md
- **Developed by:** [Alpha Scraper](https://apify.com/alpha-scraper) (community)
- **Categories:** Social media, Integrations, Videos
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.00005 / actor start

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

***

## 🚀 Instagram Reels & Posts URLs Scraper

### 🎯 Extract Instagram Reels URLs & Post URLs from Public Profiles

The **Instagram Reels & Posts URLs Scraper** is a powerful Apify actor designed to extract Instagram content URLs from one or multiple public Instagram profiles.

Simply provide Instagram usernames or profile URLs, choose the content type you want, set the maximum number of results per profile, and receive a clean dataset containing Instagram Reels URLs, Image Post URLs, or both.

This tool is ideal for marketers, researchers, social media agencies, creators, analysts, automation workflows, lead generation systems, content monitoring, competitor analysis, trend tracking, and data collection projects.

***

### ⭐ Why Choose This Instagram URL Scraper?

✅ Extract Instagram Reels URLs

✅ Extract Instagram Image Post URLs

✅ Extract Reels & Posts Together

✅ Supports Multiple Profiles

✅ Fast and Easy Setup

✅ Clean Structured Output

✅ Suitable for Automation Workflows

✅ Ideal for Marketing Research

✅ Great for Social Media Monitoring

✅ Export Results to JSON, CSV, Excel, XML, and API Integrations

***

### 🔍  Keywords

Instagram Reels Scraper, Instagram Post Scraper, Instagram URL Scraper, Instagram Reels URL Extractor, Instagram Post URL Extractor, Instagram Content Scraper, Instagram Reel Links, Instagram Post Links, Instagram Profile Scraper, Instagram Data Extraction, Instagram Automation Tool, Instagram Research Tool, Instagram Analytics Data, Instagram Marketing Data, Instagram Reels URLs, Instagram Posts URLs, Social Media Scraper, Instagram Content URLs, Instagram Monitoring Tool, Instagram Research Automation, Instagram Profile URLs Extractor, Instagram Reels Data Collection, Instagram Post Data Collection, Instagram Public Profile Scraper, Instagram URL Collection Tool, Instagram Content Research Tool, Instagram Marketing Research Tool, Instagram Competitor Analysis Tool, Instagram Trend Monitoring Tool, Instagram Creator Research Tool.

***

### 🔥 Main Features

#### 🎬 Instagram Reels URL Extraction

Collect reel URLs from Instagram profiles.

Example:

```text
https://www.instagram.com/username/reel/ABC123/
```

Perfect for:

- Reel research
- Influencer monitoring
- Viral content tracking
- Social media analysis

***

#### 🖼️ Instagram Image Post URL Extraction

Collect image post URLs from Instagram profiles.

Example:

```text
https://www.instagram.com/p/ABC123/
```

Perfect for:

- Content collection
- Brand monitoring
- Competitor analysis
- Campaign research

***

#### 🎯 Extract Both Reels and Posts

Need everything?

Choose:

```text
EXTRACT_BOTH
```

The actor will return both image post URLs and reel URLs.

***

#### 👥 Multiple Profile Support

Provide:

- One username
- Multiple usernames
- One profile URL
- Multiple profile URLs

Examples:

```text
natgeo
```

```text
leomessi
```

```text
https://www.instagram.com/natgeo/
```

```text
https://www.instagram.com/leomessi/
```

***

#### ⚙️ Custom Maximum Results

Control how many URLs are collected from each profile.

Example:

```text
20
50
100
200
```

or any value supported by the profile.

***

### 📊 What Data Does This Actor Provide?

The actor provides Instagram content URLs from public Instagram profiles.

Depending on your selected extraction mode, results may include:

#### 🎬 Reel URLs

Instagram reel links.

#### 🖼️ Image Post URLs

Instagram image post links.

#### 🔗 Content Shortcode

Unique Instagram content identifier.

#### 📁 Content Type

Identifies whether the URL belongs to:

- Reel
- Image Post

***

### 📦 Output Fields Explained

Each dataset item contains the following fields.

***

### url

The direct Instagram content URL.

Example:

```json
"url": "https://www.instagram.com/natgeo/reel/ABC123/"
```

or

```json
"url": "https://www.instagram.com/p/ABC123/"
```

Purpose:

- Open content directly
- Store content references
- Build content databases
- Automation workflows

***

### code

Instagram content shortcode.

Example:

```json
"code": "ABC123"
```

Purpose:

- Unique content identification
- Internal content tracking
- Database indexing

***

### type

Content type.

Possible values:

```json
"reel"
```

or

```json
"image"
```

Purpose:

- Differentiate content categories
- Filter results easily
- Build custom workflows

***

### 📝 Input Configuration

### usernames

Provide Instagram usernames.

Example:

```json
[
  "natgeo",
  "leomessi",
  "mrbean"
]
```

***

### profileUrls

Provide Instagram profile URLs.

Example:

```json
[
  "https://www.instagram.com/natgeo/",
  "https://www.instagram.com/leomessi/"
]
```

***

### maxReelsPerProfile

Maximum content URLs to collect per profile.

Example:

```json
20
```

***

### extractType

Choose extraction mode.

#### Images Only

```json
"EXTRACT_IMAGES_ONLY"
```

Returns:

- Image post URLs only

***

#### Reels Only

```json
"EXTRACT_REELS_ONLY"
```

Returns:

- Reel URLs only

***

#### Both

```json
"EXTRACT_BOTH"
```

Returns:

- Reel URLs
- Image post URLs

***

### 📥 Input Example

```json
{
     "usernames": [
        "natgeo"
    ],
    "profileUrls": [
        "https://www.instagram.com/selenagomez/"
    ],
   
   "maxReelsPerProfile": 20,

    "extractType": "EXTRACT_BOTH",
}
```

***

### 📤 Output Example

```json

[
  {
    "url": "https://www.instagram.com/natgeo/reel/Dbru79IAdH-/",
    "code": "Dbru79IAdH-",
    "type": "reel"
  },
  {
    "url": "https://www.instagram.com/natgeo/reel/DbIdlf0j6uA/",
    "code": "DbIdlf0j6uA",
    "type": "reel"
  },
  {
    "url": "https://www.instagram.com/natgeo/p/DbwyAPNjq8B/",
    "code": "DbwyAPNjq8B",
    "type": "image"
  },
  {
    "url": "https://www.instagram.com/natgeo/p/DbvkZbcjNrC/",
    "code": "DbvkZbcjNrC",
    "type": "image"
  },
  {
    "url": "https://www.instagram.com/natgeohistory/p/DbvveuODViK/",
    "code": "DbvveuODViK",
    "type": "image"
  },
  {
    "url": "https://www.instagram.com/natgeo/reel/DbvkdkZCrUm/",
    "code": "DbvkdkZCrUm",
    "type": "reel"
  },
  {
    "url": "https://www.instagram.com/natgeo/p/Dbvf0oljP-9/",
    "code": "Dbvf0oljP-9",
    "type": "image"
  },
  {
    "url": "https://www.instagram.com/natgeo/p/DbuhlVnFqwZ/",
    "code": "DbuhlVnFqwZ",
    "type": "image"
  },
  {
    "url": "https://www.instagram.com/natgeo/p/Dbtgy2Cia4L/",
    "code": "Dbtgy2Cia4L",
    "type": "image"
  },
  {
    "url": "https://www.instagram.com/natgeo/reel/DbsdMYRgN3c/",
    "code": "DbsdMYRgN3c",
    "type": "reel"
  },
  {
    "url": "https://www.instagram.com/natgeo/reel/DbrNlfeg60B/",
    "code": "DbrNlfeg60B",
    "type": "reel"
  },
  {
    "url": "https://www.instagram.com/natgeo/p/Dbqme5HGFMd/",
    "code": "Dbqme5HGFMd",
    "type": "image"
  },
  {
    "url": "https://www.instagram.com/natgeotv/reel/DbqMfjACc5m/",
    "code": "DbqMfjACc5m",
    "type": "reel"
  },
  {
    "url": "https://www.instagram.com/natgeo/p/Dbn7DH0Dumb/",
    "code": "Dbn7DH0Dumb",
    "type": "image"
  },
  {
    "url": "https://www.instagram.com/natgeo/p/Dbnwv3PmgBc/",
    "code": "Dbnwv3PmgBc",
    "type": "image"
  },
  {
    "url": "https://www.instagram.com/natgeo/reel/Dbnn036Dr1R/",
    "code": "Dbnn036Dr1R",
    "type": "reel"
  },
  {
    "url": "https://www.instagram.com/natgeo/p/DbmI1zcjqTi/",
    "code": "DbmI1zcjqTi",
    "type": "image"
  },
  {
    "url": "https://www.instagram.com/natgeo/reel/DbmAyHOAowe/",
    "code": "DbmAyHOAowe",
    "type": "reel"
  },
  {
    "url": "https://www.instagram.com/natgeo/reel/Dbd-gGvgH6x/",
    "code": "Dbd-gGvgH6x",
    "type": "reel"
  },
  {
    "url": "https://www.instagram.com/natgeo/p/DbjhwmHnff4/",
    "code": "DbjhwmHnff4",
    "type": "image"
  },
  {
    "url": "https://www.instagram.com/selenagomez/reel/Dbcrtozir8N/",
    "code": "Dbcrtozir8N",
    "type": "reel"
  },
  {
    "url": "https://www.instagram.com/selenagomez/p/DbQeBp2AhId/",
    "code": "DbQeBp2AhId",
    "type": "image"
  },
  {
    "url": "https://www.instagram.com/selenagomez/p/DbGMYtiEWoO/",
    "code": "DbGMYtiEWoO",
    "type": "image"
  },
  {
    "url": "https://www.instagram.com/selenagomez/p/Da-JYUIERzL/",
    "code": "Da-JYUIERzL",
    "type": "image"
  },
  {
    "url": "https://www.instagram.com/selenagomez/p/DaaskN4Ag27/",
    "code": "DaaskN4Ag27",
    "type": "image"
  },
  {
    "url": "https://www.instagram.com/selenagomez/reel/DaNt9OqConD/",
    "code": "DaNt9OqConD",
    "type": "reel"
  },
  {
    "url": "https://www.instagram.com/selenagomez/p/DZZ6HqnAjZI/",
    "code": "DZZ6HqnAjZI",
    "type": "image"
  },
  {
    "url": "https://www.instagram.com/selenagomez/p/DZP-VyOgv9W/",
    "code": "DZP-VyOgv9W",
    "type": "image"
  },
  {
    "url": "https://www.instagram.com/selenagomez/p/DZG8NLBgvlV/",
    "code": "DZG8NLBgvlV",
    "type": "image"
  },
  {
    "url": "https://www.instagram.com/selenagomez/p/DYzuEowES4c/",
    "code": "DYzuEowES4c",
    "type": "image"
  },
  {
    "url": "https://www.instagram.com/selenagomez/p/DYuc0ZfEV9K/",
    "code": "DYuc0ZfEV9K",
    "type": "image"
  },
  {
    "url": "https://www.instagram.com/selenagomez/p/DYM_lSDgnlh/",
    "code": "DYM_lSDgnlh",
    "type": "image"
  },
  {
    "url": "https://www.instagram.com/selenagomez/p/DYBjGowlBg_/",
    "code": "DYBjGowlBg_",
    "type": "image"
  },
  {
    "url": "https://www.instagram.com/selenagomez/p/DX9pimYxMA-/",
    "code": "DX9pimYxMA-",
    "type": "image"
  },
  {
    "url": "https://www.instagram.com/selenagomez/p/DXwn0FxlDQE/",
    "code": "DXwn0FxlDQE",
    "type": "image"
  },
  {
    "url": "https://www.instagram.com/selenagomez/p/DWzf45Pki5d/",
    "code": "DWzf45Pki5d",
    "type": "image"
  },
  {
    "url": "https://www.instagram.com/selenagomez/p/DWop1ielFd-/",
    "code": "DWop1ielFd-",
    "type": "image"
  },
  {
    "url": "https://www.instagram.com/selenagomez/p/DWFatpxj6M6/",
    "code": "DWFatpxj6M6",
    "type": "image"
  },
  {
    "url": "https://www.instagram.com/selenagomez/p/DWDkcEBFFSz/",
    "code": "DWDkcEBFFSz",
    "type": "image"
  },
  {
    "url": "https://www.instagram.com/selenagomez/p/DWC1Rv5ERpp/",
    "code": "DWC1Rv5ERpp",
    "type": "image"
  }
]

```

***

### 💼 Use Cases

### 📈 Social Media Marketing

Analyze Instagram content strategies.

***

### 🎯 Influencer Research

Monitor creator content publishing activity.

***

### 🏆 Competitor Analysis

Track competitor posts and reels.

***

### 🔥 Viral Content Discovery

Collect URLs for trending content analysis.

***

### 📊 Market Research

Build content datasets for research projects.

***

### 🤖 Automation Workflows

Feed Instagram URLs into:

- AI tools
- Analytics tools
- CRM systems
- Content pipelines

***

### 📰 Content Monitoring

Track content publishing across multiple profiles.

***

### 🏢 Agency Operations

Collect Instagram URLs for clients automatically.

***

### 🚀 Benefits and Advantages

#### Faster Research

Collect large numbers of Instagram content URLs quickly.

#### Save Time

Avoid manually opening profiles and copying links.

#### Easy Integration

Use results with:

- APIs
- Databases
- Dashboards
- Automation platforms

#### Scalable

Handle multiple Instagram profiles in a single run.

#### Clean Data

Receive structured output ready for analysis.

#### Flexible

Choose reels only, images only, or both.

***

### 🏆 Best Practices

#### Use Relevant Limits

Set reasonable maximum results per profile.

Example:

```text
20 - 100
```

for most use cases.

***

#### Process Profiles in Batches

For large projects:

```text
50 profiles
100 profiles
500 profiles
```

split work into manageable runs.

***

#### Store Results

Export data to:

- JSON
- CSV
- Excel
- Database systems

for future analysis.

***

#### Filter by Content Type

Use the `type` field to separate:

- Reels
- Image Posts

during processing.

***

### ⚠️ Possible Errors and How to Avoid Them

### Invalid Username

Problem:

Username does not exist.

Solution:

Verify the username before running.

***

### Invalid Profile URL

Problem:

Incorrect Instagram profile URL format.

Solution:

Use profile URLs such as:

```text
https://www.instagram.com/username/
```

***

### No Public Content Available

Problem:

Profile contains no accessible content.

Solution:

Try another public profile.

***

### Empty Results

Problem:

No matching content found for selected extraction type.

Solution:

Verify:

- Username
- Profile URL
- Selected extraction mode

***

### Incorrect URL Formatting

Problem:

Profile URL contains extra characters.

Solution:

Use clean profile URLs only.

***

### 🎯 Who Should Use This Actor?

✅ Social Media Managers

✅ Marketing Agencies

✅ Growth Hackers

✅ Influencer Researchers

✅ Content Analysts

✅ Brand Monitoring Teams

✅ Data Researchers

✅ Automation Engineers

✅ Lead Generation Specialists

✅ Business Intelligence Teams

***

### 🎉 Conclusion

The **Instagram Reels & Posts URLs Scraper** provides a simple and efficient way to collect Instagram Reel URLs and Image Post URLs from public Instagram profiles.

Whether you are conducting marketing research, influencer analysis, competitor monitoring, content discovery, automation workflows, or large-scale social media data collection, this actor helps you gather structured Instagram content URLs quickly and efficiently.

***

## Here my another actors:

### Youtube Iteams:

- [🎶 Youtube Audio Downloader (Video/Shorts)](https://console.apify.com/actors/lTUPL4gmLTDNXBeWw/source)
- [Youtube Video Downloader Advanced](https://console.apify.com/actors/XOpQsUkgGZLGSCJd0/source)
- [Youtube Video Downloader ( Soundless )](https://console.apify.com/actors/gFsczW1QplIquv9eL/source)
- [Youtube Video Downloader](https://console.apify.com/actors/9kZQcUlHZRKp1ilZA/source)
- [Youtube Video Details Scraper](https://console.apify.com/actors/On4VfiWjGnT79clm1/source)
- [Youtube Transcript Ninja (Subtitles) ](https://console.apify.com/actors/eWrsJHhdeEbVHChpX/source)
- [Youtube Thumbnails Downloader & Scraper](https://console.apify.com/actors/YShot3wkL0HJdRkD0/source)
- [Youtube Tags or Hashtags Scraper](https://console.apify.com/actors/O1FU99ID2ccR5wcS8/source)
- [Youtube Tags Scraper](https://console.apify.com/actors/1wVokAhQLbbeeFVfR/source)
- [Youtube Shorts Scraper lite](https://console.apify.com/actors/bOyWDt1IbXZsadWRp/source)
- [Youtube Shorts Downloader Pro](https://console.apify.com/actors/bN1AjNRMops81rGkg/source)
- [Youtube Shorts Comments Scraper](https://console.apify.com/actors/ON1C4qgHaEQEhhEmI/source)
- [Youtube Community Posts Scraper](https://console.apify.com/actors/X38E51BParHFNaCw1/source)
- [Youtube Channel Id Scraper Pro](https://console.apify.com/actors/2uuIEovgGHcYjEKyN/source)
- [Youtube Video Transcript  Scraper ( Subtitles )](https://console.apify.com/actors/IEmSN6FkNn0tw10BA/source)
- [Youtube Video Comments Scraper](https://console.apify.com/actors/URh4zBT1aesfE8QKc/source)
- [Youtube Shorts Scraper  Pro](https://console.apify.com/actors/G4McyHJJzc2TbUSo6/source)
- [Youtube Shorts Scraper](https://console.apify.com/actors/XP0WgKweF1M83FnmR/source)
- [Youtube Channel Scraper](https://console.apify.com/actors/ufMZfwMgyHeaoDdAd/source)
- [YouTube Video Description Extractor](https://console.apify.com/actors/Xqae3CmxqT3HfHaJ5/source)
- [YouTube Hashtag Scraper](https://console.apify.com/actors/d4bYqQ0LWuczEgumx/source)
- [YouTube Description Scraper pro](https://console.apify.com/actors/OVymx0bku0C8gowB0/source)
- [YouTube Comments Scraper | Pay Per Result](https://console.apify.com/actors/ict6AecoJ85T4RthZ/source)
- [YouTube Channel ID Scraper](https://console.apify.com/actors/P9XlG8ylMGqfoelOg/source)

### Tiktok Iteams:

- [Tiktok Video Downloader](https://console.apify.com/actors/dlyQGIrqOracdqOeb/source)
- [Tiktok Video Details Scraper Pro](https://console.apify.com/actors/kZMMAHBehLOdG2FBb/source)
- [Tiktok Profile Scraper](https://console.apify.com/actors/C9mdCvPs7mDV8AYdd/source)
- [TikTok Video Scraper](https://console.apify.com/actors/7NjipRJbS73X9Io90/source)
- [TikTok Profile Videos Scraper](https://console.apify.com/actors/F6ar6Hu5STLp5mdAf/source)
- [TikTok Profile Scraper pro](https://console.apify.com/actors/3fmkMmoCBQ4SBIIAN/source)
- [TikTok Audio Downloader 🎵](https://console.apify.com/actors/jHipu7fQihSVhBE3x/source)

### Snapchat Iteams:

- [Snapchat Video Downloader (Spotlight )](https://console.apify.com/actors/yKz99HNmn4AgmhPOf/source)
- [Snapchat Video  Details Scraper (Spotlight)](https://console.apify.com/actors/fyV48EkRqcNoeq2kH/source)
- [Snapchat Followers Scraper](https://console.apify.com/actors/PxBiNYw0mgZOagGyD/source)
- [Snapchat Profile     Scraper](https://console.apify.com/actors/siCUsZdm6xmc3g7HF/source)
- [Snapchat Profile Scraper  Mini](https://console.apify.com/actors/qhkQO51Cv6iHJxdAs/source)

### Instagram Iteams:

- [Instagram video Downloader + Scraper](https://console.apify.com/actors/zIpixF6ZjlbelQDrY/source)
- [Instagram Video Downloader (Soundlss)](https://console.apify.com/actors/QQkJuhIQp4pexakls/source)
- [Instagram Thumbnail Scraper Video & Reels](https://console.apify.com/actors/z8JOosBY8hlqiUthl/source)
- [Instagram Reels  Downloader](https://console.apify.com/actors/VRbovYCWXTZXuVaN2/source)
- [Instagram Profile URL to Username Converter & Extractor](https://console.apify.com/actors/FOApkedA1VuG6ncno/source)
- [Instagram Profile Scraper](https://console.apify.com/actors/5dvorBkg7ccX95wAg/source)
- [Instagram Post Videos Downloader](https://console.apify.com/actors/h95ZexZ0ifOX4JEYQ/source)
- [Instagram Followers Scraper](https://console.apify.com/actors/c55pdH9mCE02sj7Dg/source)
- [Instagram Audio Downloader](https://console.apify.com/actors/MQRNuEHUqKreEi8gI/source)
- [Instagram Video Scraper + Downloader](https://console.apify.com/actors/63Z5eSy3IxgdIEYOX/source)
- [Instagram Video  scraper Advanced](https://console.apify.com/actors/79ng2nukXLzUn0aWg/source)
- [Instagram Video Details  scraper](https://console.apify.com/actors/VLyBXSwQpHTFwUcds/source)
- [Instagram Reels Details scraper](https://console.apify.com/actors/oGR3xfeXTuIirhdlZ/source)
- [Instagram Followers Scraper Pro](https://console.apify.com/actors/MqW3EtUZXm6OHdvcI/source)

### Facebook Iteams:

- [Facebook reels Downloader  (Separate audio or video)](https://console.apify.com/actors/nuvIRaMeRIzz3cfxK/source)
- [Facebook Video Downloader advanced](https://console.apify.com/actors/2SU8ZuABbAVFNKMZa/source)
- [Facebook Video Details Scraper Advanced](https://console.apify.com/actors/umYouAXm92472jIdY/source)
- [Facebook Video Details Scraper](https://console.apify.com/actors/cQi4k63arffL6Cn0m/source)
- [Facebook Transcript & Subtitle scraper](https://console.apify.com/actors/hMNe1QYDOtcTc95qI/source)
- [Facebook Thumbnail Downloader Video & Reels](https://console.apify.com/actors/9SmYiqGTUia29Yd1Y/source)
- [Facebook Reels Downloader Advanced](https://console.apify.com/actors/3Zdnp9TnvltdoC44T/source)
- [Facebook Reels Details Scraper  Best and  Affordable](https://console.apify.com/actors/nuzr418MKJltywrCh/source)
- [Facebook Reels Details Scraper](https://console.apify.com/actors/OGBA89e5Ki6Y5amko/source)
- [Facebook Page Details Scraper](https://console.apify.com/actors/PL9nP9BrKDSsKwSZF/source)
- [Facebook Audio Downloader](https://console.apify.com/actors/uVrcf4OJ9VW8iCybQ/source)

### Amazon Iteams:

- [Amazon Search Scraper](https://console.apify.com/actors/YcgJR1WP1cHJhHzvH/source)
- [Amazon Product Details Scraper ](https://console.apify.com/actors/1twpltijc10KFaVeb/source)

# Actor input Schema

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

Provide one or multiple Instagram usernames only. Example: leomessi, mrbean

## `profileUrls` (type: `array`):

Provide one or multiple Instagram profile URLs. Example: https://www.instagram.com/khloekardashian/

## `maxReelsPerProfile` (type: `integer`):

Set the maximum number of reels to extract from each Instagram profile.

## `extractType` (type: `string`):

Choose what type of content to extract from each Instagram profile.

## Actor input object example

```json
{
  "usernames": [
    "natgeo"
  ],
  "profileUrls": [
    "https://www.instagram.com/lilbieber/"
  ],
  "maxReelsPerProfile": 20,
  "extractType": "EXTRACT_BOTH"
}
```

# 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"
    ],
    "profileUrls": [
        "https://www.instagram.com/lilbieber/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("alpha-scraper/instagram-post-reels-urls-scraper-max-per-profile").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"],
    "profileUrls": ["https://www.instagram.com/lilbieber/"],
}

# Run the Actor and wait for it to finish
run = client.actor("alpha-scraper/instagram-post-reels-urls-scraper-max-per-profile").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"
  ],
  "profileUrls": [
    "https://www.instagram.com/lilbieber/"
  ]
}' |
apify call alpha-scraper/instagram-post-reels-urls-scraper-max-per-profile --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,alpha-scraper/instagram-post-reels-urls-scraper-max-per-profile"
        }
    }
}

```

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/Xfj0xgwOXIfAWDG80/builds/SsqOhBp4YHtxflD2O/openapi.json
