# Instagram Explore (`cheapget/instagram-explore`) Actor

Find what's trending on Instagram right now. Get public Explore posts across topics like Fashion, Music, Food, Travel, and more — with captions, media links, engagement counts, and topic labels.

- **URL**: https://apify.com/cheapget/instagram-explore.md
- **Developed by:** [CheapGET](https://apify.com/cheapget) (community)
- **Categories:** Social media, Videos, News
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.20 / 1,000 results

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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 Explore - Get Trending Instagram Posts & Reels Fast

![Support](https://img.shields.io/badge/Support-24%2F7%20Online-blueviolet) ![Rating](https://img.shields.io/badge/Rating-⭐⭐⭐⭐⭐-yellow) ![Reliability](https://img.shields.io/badge/Reliability-99.9%25-28a745) ![Instagram Explore](https://apify.com/actor-badge?actor=cheapget/instagram-explore&fpr=aiagentapi)

> **Get trending Instagram Explore posts and reels — fast, cheap, and no login required.**

Find what's trending on Instagram right now. Get public Explore posts across topics like Fashion, Music, Food, Travel, and more — with captions, media links, engagement counts, and topic labels. Pay only for the results you keep — no subscriptions, no commitments.

### 🏆 Key Features

#### 🔥 **Trending Explore Content**

- **📂 Topic Labels**: Each post comes with its Explore section (e.g. Fashion & Beauty) and specific topic (e.g. Street Fashion) so you know what's trending where.
- **📝 Full Captions**: Get the full text of every Explore post for content research or repurposing.
- **🖼️ Media Links**: Direct links to post images, thumbnails, and video files ready for download.
- **❤️ Engagement Counts**: See likes, comments, and play counts for every Explore item.

#### 🧾 **One Row Per Post**

- **🧩 Post-First Output**: Each dataset item is a single Instagram post, not one big JSON wrapper.
- **🪜 Serial Detail Fetching**: Collect the Explore post list first, then fetch each post detail one by one for reliable results.
- **🖼️ Carousel Support**: Keep media parts together with `media_items` for image sets and mixed posts.

#### ⚡ **Fast & Simple**

- **🚀 No Login Required**: Works with publicly available Instagram Explore data — no cookies or accounts needed.
- **🎯 No Username Needed**: Just set how many posts you want — the actor fetches directly from Instagram's public Explore feed.
- **⬇️ Optional Media Downloads**: Use `download_medias` to keep original media links, download images only, or download all available media files.

### 💰 Pricing

| Resource        | Cost     | Description                                                                                         |
| --------------- | -------- | --------------------------------------------------------------------------------------------------- |
| **Actor Usage** | $0.00001 | Charged for Actor runtime, proxy and storage. Cost depends on resource consumption during execution |
| **Post Result** | $0.0025  | Charged for each Instagram Explore post returned                                                    |
| **Media**       | $0.001   | Charged per post when `download_medias` is set to `image` or `all`                                  |

**Example Cost Calculation:**

- Getting 100 Explore posts with `download_medias: "none"` = 100 results
- Cost: 100 × $0.0025 = **$0.25** + minimal runtime fees
- With `download_medias: "image"`: 100 × ($0.0025 + $0.001) = **$0.35** + runtime fees

### 🎯 Use Cases

#### 🔥 Discover What's Trending on Instagram

See what Instagram is promoting across categories right now — Fashion, Music, Food, Travel, Sports, and more.

```text
max_results: 50  download_medias: "none"
→ Get 50 trending Explore posts with topic labels and engagement stats
````

#### 📊 Track Explore Trends Over Time

Schedule daily runs to build a dataset of what Instagram features on its Explore page over weeks and months.

```text
Schedule: daily  →  collect Explore posts  →  compare trends over time
```

#### ⬇️ Save Trending Images or Videos

Turn on `download_medias` when you want image files or full media files uploaded into the run output instead of keeping only the original post links.

```text
max_results: 30  download_medias: "all"
→ Download images and videos from 30 trending Explore posts
```

#### 📝 Content Research & Inspiration

Find trending captions, hashtags, and content styles from the posts Instagram is recommending right now — great for planning your own content.

#### 🎬 Get Viral Video and Image Links

Download-ready media links for every trending post — perfect for mood boards, content curation, or inspiration.

### 🌟 Why Choose This Actor

**The cheapest and fastest way to get trending Instagram Explore posts — no account or username needed.**

| Feature              | Instagram Explore        | Manual Browsing   | Other Tools         |
| :------------------- | :----------------------- | :---------------- | :------------------ |
| **Price**            | ✅ **From $0.0025/post** | ✅ Free           | ⚠️ $0.01+/post      |
| **No Login Needed**  | ✅ **No account needed** | ❌ Login required | ⚠️ Often required   |
| **Topic Labels**     | ✅ **Section + Topic**   | ❌ Not available  | ❌ Not available    |
| **No Username**      | ✅ **Just set count**    | ❌ Must browse    | ⚠️ Often required   |
| **One Row Per Post** | ✅ **Clean dataset**     | ❌ Manual copy    | ⚠️ Often nested     |
| **Media Links**      | ✅ **Direct URLs**       | ❌ No download    | ⚠️ Partial          |
| **Media Downloads**  | ✅ **Optional files**    | ❌ Manual saves   | ⚠️ Often separate   |
| **Engagement Data**  | ✅ **Likes/Comments**    | ✅ Visible        | ✅ Usually included |

### 🚀 Quick Start

1. **Enter your search** — set `max_results` to how many Explore posts you want and choose a `download_medias` option.
2. **Click Start** — sit back while we fetch trending posts from Instagram's public Explore feed.
3. **Download your results** — get one row per post with captions, topic labels, media, and stats as Excel, CSV, or JSON.

### 💻 Input Parameters

| Parameter         | Type    | Required | Description                                                                         |
| ----------------- | ------- | -------- | ----------------------------------------------------------------------------------- |
| `max_results`     | integer | ✅ Yes   | How many Explore posts to collect from the current trending feed                    |
| `download_medias` | string  | ✅ Yes   | Choose `none`, `image`, or `all` to control whether post media files are downloaded |

#### 📝 Example Input

```json
{
  "max_results": 50,
  "download_medias": "none"
}
```

### 📤 Output Structure

| Field           | Type    | Description                                                     |
| --------------- | ------- | --------------------------------------------------------------- |
| `processor`     | string  | URL of the actor that processed this post                       |
| `processed_at`  | string  | ISO 8601 timestamp when this post was processed                 |
| `id`            | string  | Instagram media identifier                                      |
| `code`          | string  | Instagram post code                                             |
| `url`           | string  | Public Instagram post or reel URL                               |
| `username`      | string  | Instagram username that published the post                      |
| `section`       | string  | Explore section that surfaced this post (e.g. Fashion & Beauty) |
| `topic`         | string  | Specific Explore topic (e.g. Street Fashion, Pop Music)         |
| `type`          | string  | Instagram post type such as `clips` or `carousel_container`     |
| `is_video`      | boolean | Whether the post includes video                                 |
| `caption`       | string  | Full caption text                                               |
| `timestamp`     | integer | Unix timestamp when the post was published                      |
| `date`          | string  | ISO 8601 timestamp when the post was published                  |
| `likes`         | integer | Likes shown for the post                                        |
| `comments`      | integer | Comments shown for the post                                     |
| `plays`         | integer | View or play count when available                               |
| `duration`      | integer | Video duration in seconds when available                        |
| `has_audio`     | boolean | Whether Instagram reports audio on the post                     |
| `location`      | string  | Location tag shown on the post                                  |
| `image_url`     | string  | Main image URL or stored file URL                               |
| `thumbnail_url` | string  | Thumbnail URL or stored file URL                                |
| `video_url`     | string  | Video URL or stored file URL                                    |
| `width`         | integer | Media width in pixels                                           |
| `height`        | integer | Media height in pixels                                          |
| `media_count`   | integer | Number of media parts in the post                               |
| `media_items`   | array   | Media parts for single-image, video, and carousel posts         |

#### 📤 Example Output

```json
{
  "processor": "https://apify.com/cheapget/instagram-explore?fpr=aiagentapi",
  "processed_at": "2026-04-19T10:30:00Z",
  "id": "3877256089956040035_227764111",
  "code": "DXOx98JDL1j",
  "url": "https://www.instagram.com/reel/DXOx98JDL1j/",
  "username": "fashionblogger",
  "section": "Fashion & Beauty",
  "topic": "Street Fashion",
  "type": "clips",
  "is_video": true,
  "caption": "Outfit of the day 🔥 #streetstyle #fashion",
  "timestamp": 1776528189,
  "date": "2026-04-17T17:23:09+00:00",
  "likes": 2450,
  "comments": 89,
  "plays": 54200,
  "duration": 30,
  "has_audio": true,
  "location": "New York",
  "image_url": "https://example.com/post.jpg",
  "thumbnail_url": "https://example.com/thumb.jpg",
  "video_url": "https://example.com/video.mp4",
  "width": 1080,
  "height": 1920,
  "media_count": 1,
  "media_items": [
    {
      "position": 1,
      "id": "3877256089956040035_227764111",
      "is_video": true,
      "image_url": "https://example.com/post.jpg",
      "thumbnail_url": "https://example.com/thumb.jpg",
      "video_url": "https://example.com/video.mp4",
      "width": 1080,
      "height": 1920
    }
  ]
}
```

### 🔌 Integrations

Connect this actor to your favorite tools to automate your Instagram Explore lookups.

#### 🐍 Python SDK

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_API_TOKEN")

run_input = {
  "max_results": 50,
  "download_medias": "none"
}

run = client.actor("cheapget/instagram-explore").call(run_input=run_input)

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

#### 🟨 JavaScript / Node.js SDK

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

const client = new ApifyClient({ token: "YOUR_APIFY_API_TOKEN" });

const run = await client.actor("cheapget/instagram-explore").call({
  runInput: {
    max_results: 50,
    download_medias: "none",
  },
});

for await (const item of client.dataset(run.defaultDatasetId).iterateItems()) {
  console.log(item);
}
```

#### 🌐 REST API (curl)

```bash
curl -X POST "https://api.apify.com/v2/acts/cheapget~instagram-explore/runs?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"max_results": 50, "download_medias": "none"}'
```

#### Ⓜ️ Make.com Integration

**[Get Started with Make.com (1000 Free Credits)](https://www.make.com/en/register?pc=marketingme)** 🎁

```text
Step 1: Add the Make.com module "Run an Actor"
Step 2: Enable mapping and paste Actor ID `cheapget/instagram-explore`
Step 3: Paste the input JSON and run synchronously
Step 4: Add "Get Dataset Items" with `defaultDatasetId`
```

#### 🎱 N8N.io Integration

**[Open Source Workflow Automation](https://n8n.io/)** ⚡

```text
Step 1: Add the Apify node "Run an Actor and get dataset"
Step 2: Set Selection Mode to By ID
Step 3: Paste Actor ID `cheapget/instagram-explore`
Step 4: Add your input JSON and read items from `defaultDatasetId`
```

#### 📚 More Ways to Use

- **[Python Guide](https://apify.com/cheapget/instagram-explore/api/python?fpr=aiagentapi)** - Step-by-step Python examples
- **[JavaScript Guide](https://apify.com/cheapget/instagram-explore/api/javascript?fpr=aiagentapi)** - Node.js integration guide

#### 🏗️ Metadata (JSON-LD)

```json
{
  "@context": "https://schema.org",
  "@type": "SoftwareApplication",
  "name": "Instagram Explore - Apify Actor",
  "applicationCategory": "DeveloperApplication",
  "applicationSubCategory": "Social Media",
  "operatingSystem": "Cloud",
  "offers": {
    "@type": "Offer",
    "price": "0.00",
    "priceCurrency": "USD",
    "priceValidUntil": "2099-12-31",
    "availability": "https://schema.org/InStock"
  },
  "description": "Get trending Instagram Explore posts and reels — fast, cheap, and no login required.",
  "featureList": [
    "Trending Explore Content",
    "Topic Labels",
    "Optional Media Downloads"
  ],
  "keywords": "Instagram Explore, trending instagram posts, instagram explore feed, instagram trending reels, instagram explore viewer",
  "author": {
    "@type": "Organization",
    "name": "cheapget",
    "url": "https://apify.com/cheapget?fpr=aiagentapi"
  },
  "softwareVersion": "1.0.0",
  "datePublished": "2026-04-20",
  "dateModified": "2026-04-20"
}
```

### 🚀 Performance Tips

#### 💰 Cost Optimization

- **Test First**: Start with a small `max_results` before scaling up.
- **Monitor Costs**: Check the "Usage" tab in Apify Console for real-time cost tracking. Each post costs $0.0025, plus $0.001 extra when downloading media.
- **Media Only When Needed**: Keep `download_medias` on `none` unless you actually want files uploaded into the run output.

#### ⚡ Speed Optimization

- **Fewer Posts**: Lower `max_results` for faster lookups when you only need a quick trend check.
- **Larger Counts Take Longer**: Higher `max_results` values and media downloads increase runtime because the actor makes multiple requests and may upload files.

#### 🛡️ Data Quality Tips

- **Explore Varies**: Instagram's Explore feed changes frequently. The same request may return different posts each time.
- **Fresh Data**: Schedule regular runs for up-to-date trend snapshots.
- **Topic Coverage**: Larger `max_results` values surface posts across more Explore sections and topics.

### ❓ FAQ

#### How do I get Instagram Explore posts?

Set `max_results` to how many posts you want, choose `download_medias` if needed, click Start, and download results as Excel, CSV, or JSON.

#### Is this free to use?

Yes — Apify offers a free tier. You can fetch your first Explore posts at no cost. Beyond the free tier, pricing is **pay-per-result at $0.0025 per post**, with no monthly commitment.

#### How many posts can I get?

Set `max_results` to any value 10 or above. The actor keeps collecting unique Explore posts across multiple requests until it reaches your total or exhausts available content.

#### Do I need a username or profile link?

No. Instagram Explore is a public discovery feed — you just set how many posts to collect and the actor fetches trending content directly.

#### Can I download post images or videos?

Yes. Set `download_medias` to `image` to save images only, or `all` to save images and videos when available. Leave it on `none` if you only want media links in the dataset.

#### Do I need an Instagram account?

No. This tool works with publicly available Instagram Explore data — no login, cookies, or account needed.

#### How long does it take?

Most lookups finish within 1–3 minutes for smaller requests. Higher `max_results` values and media downloads can take longer.

#### What are the topic labels?

Each Explore post includes a `section` (e.g. "Fashion & Beauty", "Music & Audio") and a `topic` (e.g. "Street Fashion", "Pop Music") showing which part of the Explore feed surfaced it.

#### What data is included in each post?

Each post includes the post ID, shortcode, username, Explore section and topic, caption text, image and video links, like count, comment count, play count, timestamp, dimensions, and tagged location.

#### How to export Instagram Explore data to Excel?

After the search completes, go to the **Output** tab in the Apify Console. Click the **Export** button and select **Excel** format. You'll get a formatted spreadsheet with all post data ready for review.

### 🏷️ SEO Keywords

**🔥 Primary Keywords:** Instagram Explore, trending instagram posts, instagram explore feed, instagram explore viewer, instagram trending reels

**📝 Long-Tail Keywords:** get instagram explore posts without login, instagram explore trending topics, instagram explore data to excel, view instagram trending content, get instagram explore feed for free

**💼 Industry Keywords:** instagram trend tracking, instagram explore monitoring, instagram content discovery, instagram trending hashtags, instagram explore analytics

**🌍 Location Keywords:** instagram explore worldwide, instagram trending global, instagram explore any country, instagram trending posts

**🎯 Use Case Keywords:** track instagram trends, discover trending instagram posts, save instagram explore posts, monitor instagram explore topics, instagram trend research

### ⚖️ Legal & Compliance

This tool accesses **publicly available Instagram Explore data only**. It does not bypass authentication, access private content, or violate platform terms of service. You are responsible for:

- **Data Rights**: Ensuring you have permission to collect and use the data
- **Privacy Compliance**: Adhering to GDPR, CCPA, and other applicable privacy laws when processing data
- **Platform Terms**: Respecting Instagram's terms of service and usage policies
- **Ethical Use**: Using the results responsibly and in compliance with applicable laws

### 🔗 Related Actors

#### 📱 Social Media

- [Instagram Explore](https://apify.com/cheapget/instagram-explore?fpr=aiagentapi) - Get trending Instagram Explore posts with topic labels, media links, and engagement counts.
- [Instagram Post](https://apify.com/cheapget/instagram-post?fpr=aiagentapi) - Get recent Instagram posts from any public profile with captions and media.
- [Instagram Profile](https://apify.com/cheapget/instagram-profile?fpr=aiagentapi) - Check any Instagram profile for bio, followers, business info, and more.
- [Instagram To Text](https://apify.com/cheapget/instagram-to-text?fpr=aiagentapi) - Convert Instagram video content into text for captioning and repurposing.
- [Social Media Marketing](https://apify.com/cheapget/social-media-marketing?fpr=aiagentapi) - Generate ready-to-post marketing content with multiple tones and formats.
- [Reddit User Profile](https://apify.com/cheapget/reddit-user-profile?fpr=aiagentapi) - Look up Reddit user profiles with karma, trophies, and activity info.
- [Reddit Community Profile](https://apify.com/cheapget/reddit-community-profile?fpr=aiagentapi) - Get subreddit info including rules, descriptions, and pinned posts.
- [Reddit Community Post](https://apify.com/cheapget/reddit-community-post?fpr=aiagentapi) - Browse posts from any subreddit with comments and engagement stats.
- [Reddit Post Search](https://apify.com/cheapget/reddit-post-search?fpr=aiagentapi) - Search Reddit posts by keyword with comments and engagement info.
- [Reddit Community User](https://apify.com/cheapget/reddit-community-user?fpr=aiagentapi) - Find active users in any subreddit with profile details.
- [Telegram Group Member](https://apify.com/cheapget/telegram-group-member?fpr=aiagentapi) - Get member profiles from public Telegram groups.
- [Telegram Channel Message](https://apify.com/cheapget/telegram-channel-message?fpr=aiagentapi) - Read Telegram channel messages with media, views, and reactions.
- [Telegram Profile](https://apify.com/cheapget/telegram-profile?fpr=aiagentapi) - Look up Telegram profiles for users, groups, bots, and channels.
- [Google Business Profile](https://apify.com/cheapget/google-business-profile?fpr=aiagentapi) - Find Google Business listings with reviews, ratings, photos, and contact info.
- [X Community Profile](https://apify.com/cheapget/x-community-profile?fpr=aiagentapi) - Get X community info including membership, creator, and activity details.
- [X User Profile](https://apify.com/cheapget/x-user-profile?fpr=aiagentapi) - Look up X user profiles with followers, verification, and pinned content.
- [Find Anyone On LinkedIn](https://apify.com/cheapget/find-anyone-on-linkedin?fpr=aiagentapi) - Search for people on LinkedIn by name, company, or job title.
- [Find Any Company On LinkedIn](https://apify.com/cheapget/find-any-company-on-linkedin?fpr=aiagentapi) - Look up any company on LinkedIn with employee count, industry, and details.

#### 💼 Jobs

- [Best Job Search](https://apify.com/cheapget/best-job-search?fpr=aiagentapi) - Search jobs across LinkedIn, Indeed, Glassdoor, and regional platforms — all in one place.
- [Glassdoor Job Search](https://apify.com/cheapget/glassdoor-job-search?fpr=aiagentapi) - Find Glassdoor jobs with salary ranges, company ratings, and reviews.
- [Indeed Job Search](https://apify.com/cheapget/indeed-job-search?fpr=aiagentapi) - Search Indeed for jobs with salary info, company details, and application links.
- [LinkedIn Job Search](https://apify.com/cheapget/linkedin-job-search?fpr=aiagentapi) - Find LinkedIn jobs with company info, seniority levels, and applicant counts.

#### 🎬 Videos

- [Best Video Downloader](https://apify.com/cheapget/best-video-downloader?fpr=aiagentapi) - Download videos from 1000+ platforms with quality control and thumbnails.
- [TikTok Video Downloader](https://apify.com/cheapget/tiktok-video-downloader?fpr=aiagentapi) - Download TikTok videos without watermarks with full video details.
- [YouTube Video Downloader](https://apify.com/cheapget/youtube-video-downloader?fpr=aiagentapi) - Download YouTube videos in multiple qualities with comments and thumbnails.
- [Video Subtitles Downloader](https://apify.com/cheapget/video-subtitles-downloader?fpr=aiagentapi) - Get subtitles from any video as downloadable text.
- [TikTok Live Recorder](https://apify.com/cheapget/tiktok-live-recorder?fpr=aiagentapi) - Record TikTok live streams with creator and engagement info.
- [TikTok Video Lookup](https://apify.com/cheapget/tiktok-video-lookup?fpr=aiagentapi) - Get full TikTok video details with hidden SEO data and music info.
- [YouTube Niche Scraper](https://apify.com/cheapget/youtube-niche-scraper?fpr=aiagentapi) - Find YouTube videos by keyword and get channel details, contact info, and stats.
- [Video To Text](https://apify.com/cheapget/video-to-text?fpr=aiagentapi) - Convert video and audio content into searchable text with timestamps.

#### 🏠 Real Estate

- [Zillow Real Estate](https://apify.com/cheapget/zillow-real-estate?fpr=aiagentapi) - Search Zillow listings with pricing, photos, valuations, and property details.
- [US Real Estate](https://apify.com/cheapget/us-real-estate?fpr=aiagentapi) - Find U.S. property listings with pricing, specs, agent details, and market data.

### 🤝 Support & Community

**📧 Support**: [Contact Us](https://t.me/AiAgentApi) **💬 Community**: [Telegram Group](https://t.me/Apify_Actor)

***

**Last Updated:** April 20, 2026

# Actor input Schema

## `max_results` (type: `integer`):

How many public Explore posts to get from the current Explore feed. Larger values return more topic matches when available.

## `download_medias` (type: `string`):

Choose whether to keep original media links, download images only, or download all available Explore media files.

## Actor input object example

```json
{
  "max_results": 10,
  "download_medias": "none"
}
```

# Actor output Schema

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

Browse Instagram Explore results with one row per post.

# 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 = {
    "max_results": 10,
    "download_medias": "none"
};

// Run the Actor and wait for it to finish
const run = await client.actor("cheapget/instagram-explore").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 = {
    "max_results": 10,
    "download_medias": "none",
}

# Run the Actor and wait for it to finish
run = client.actor("cheapget/instagram-explore").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "max_results": 10,
  "download_medias": "none"
}' |
apify call cheapget/instagram-explore --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=cheapget/instagram-explore",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Instagram Explore",
        "description": "Find what's trending on Instagram right now. Get public Explore posts across topics like Fashion, Music, Food, Travel, and more — with captions, media links, engagement counts, and topic labels.",
        "version": "0.0",
        "x-build-id": "DAnD0BkONC1nEgTBO"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/cheapget~instagram-explore/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-cheapget-instagram-explore",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/cheapget~instagram-explore/runs": {
            "post": {
                "operationId": "runs-sync-cheapget-instagram-explore",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/cheapget~instagram-explore/run-sync": {
            "post": {
                "operationId": "run-sync-cheapget-instagram-explore",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "max_results",
                    "download_medias"
                ],
                "properties": {
                    "max_results": {
                        "title": "Max Results",
                        "minimum": 10,
                        "maximum": 1000000,
                        "type": "integer",
                        "description": "How many public Explore posts to get from the current Explore feed. Larger values return more topic matches when available."
                    },
                    "download_medias": {
                        "title": "Download Medias",
                        "enum": [
                            "none",
                            "image",
                            "all"
                        ],
                        "type": "string",
                        "description": "Choose whether to keep original media links, download images only, or download all available Explore media files."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
