# Instagram Highlight Scraper (by ID or URL - No Login) (`karamelo/instagram-highlight-by-id-or-url-scraper`) Actor

Scrape Instagram highlight stories and media by highlight ID or URL without login or cookies. Export photos, videos, captions, audio, and covers.

- **URL**: https://apify.com/karamelo/instagram-highlight-by-id-or-url-scraper.md
- **Developed by:** [karamelo](https://apify.com/karamelo) (community)
- **Features:** Limited permissions
- **Stats:** 12 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 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/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 Highlight Scraper (by ID or URL - No Login, No Cookie)

Extract complete Instagram story highlight reels and individual story items using direct highlight URLs or numeric highlight IDs. Download high-resolution photos, progressive MP4 videos, cover thumbnails, timestamps, text captions, video durations, audio availability, music track metadata, and profile owner information without requiring Instagram credentials, accounts, session cookies, or browser installations.

***

### What Does Instagram Highlight Scraper Do?

Instagram highlights represent the curated, permanent showcases that creators, brands, and public figures pin to their profiles. Unlike standard twenty-four-hour stories that expire automatically, highlights remain publicly accessible indefinitely until modified or removed by the account owner. They contain vital marketing campaigns, product announcements, brand collaborations, seasonal offers, educational series, customer testimonials, and event recaps.

The **Instagram Highlight Scraper (by ID or URL)** provides a dependable, structured data extraction solution designed specifically for highlights. Instead of requiring profile handles or navigating entire accounts, this Actor allows you to target exact highlight reels directly using either full Instagram highlight URLs or raw numeric highlight reel identifiers.

Every extraction run produces structured, flat records that detail both the overarching highlight reel summary and each individual story item within the tray. This includes direct content delivery network links for photos and videos, original publishing timestamps, media dimensions, captions, tagged music assets, and creator verification status.

***

### Why Extract Instagram Highlights by ID or URL?

Direct URL and ID scraping offers substantial advantages over general profile-level scraping:

1. **Precision Targeting**: Focus your data collection exclusively on the specific highlight albums relevant to your research, campaign audit, or creative library.
2. **Cost and Resource Efficiency**: Avoid unnecessary profile traversals or scraping dozens of unrelated highlight trays when you only need one or two specific reels.
3. **Seamless Automation**: Easily connect highlight URLs gathered from spreadsheets, CRM records, social monitoring tools, or external feeds directly into scheduled scraper tasks.
4. **Zero Account Dependency**: Operates entirely without logging into an Instagram account or providing session cookies, eliminating credential vulnerability and account suspension risks.
5. **Rich Media and Metadata**: Capture full media assets alongside contextual metadata including dimensions, video durations, audio flags, and attached soundtrack information.
6. **Unified Flat Dataset**: Receive ready-to-analyze records formatted for direct export into CSV, Excel, Google Sheets, business intelligence dashboards, or database ingest pipelines.

***

### Key Features

- **Direct URL & ID Recognition**: Accepts standard web links, mobile share links, short links, or pure numeric highlight IDs.
- **Full Media Extraction**: Captures high-definition photo URLs and progressive MP4 video URLs directly from Instagram content delivery networks.
- **Rich Story Item Metadata**: Gathers original post timestamps in standardized ISO 8601 format, pixel dimensions, aspect ratio data, and video playback lengths.
- **Soundtrack and Audio Detection**: Captures track titles, artist names, and flags indicating whether audio is enabled on video items.
- **Highlight Reel Overview**: Gathers highlight titles, cover artwork thumbnails, total story counts, and creation dates.
- **Creator Context**: Records owner usernames, profile URLs, user identifiers, and verified badge indicators.
- **Intelligent Deduplication**: Automatically deduplicates identical target URLs or IDs submitted within the same run.
- **Structured Error Reporting**: Generates descriptive status records when a highlight is deleted, empty, or belongs to a private profile, ensuring automated workflows never fail silently.
- **Customizable Extraction Caps**: Set granular limits on the number of stories per highlight and total records per task run.

***

### Supported Input Formats

You can submit target highlights using any of the following standard formats:

| Format Type | Example Input | Notes |
|---|---|---|
| **Standard Highlight URL** | `https://www.instagram.com/stories/highlights/18195781759377100/` | Standard desktop or mobile browser address |
| **URL with Query Strings** | `https://www.instagram.com/stories/highlights/18195781759377100?story_media_id=3975089864169193671` | Query parameters are automatically stripped |
| **Short Share URL** | `https://www.instagram.com/s/aGlnaGxpZ2h0OjE4MTk1NzgxNzU5Mzc3MTAw/` | Mobile share links decoded automatically |
| **Numeric Highlight ID** | `18195781759377100` | Raw numeric string identifier |
| **Prefixed Highlight ID** | `highlight:18195781759377100` | Platform reel identifier format |

***

### Input Configuration

The Actor provides intuitive configuration options suitable for both quick one-off inspections and high-throughput batch operations:

| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| `highlightUrlsOrIds` | `string[]` | Yes | *Required* | List of public Instagram highlight URLs or numeric IDs to scrape. Duplicate entries are automatically deduplicated. |
| `maxStoriesPerHighlight` | `integer` | No | `100` | Maximum number of story items to collect per highlight reel. Set to `0` to extract all available stories without limitation. |
| `maxItems` | `integer` | No | `500` | Maximum total records to save across the run. Status records do not count toward this limit. |
| `proxyConfiguration` | `object` | No | `{"useApifyProxy": true}` | Proxy settings provided by the Apify platform to ensure consistent, uninterrupted access to public data. |

#### Sample Input JSON

```json
{
  "highlightUrlsOrIds": [
    "https://www.instagram.com/stories/highlights/18195781759377100/"
  ],
  "maxStoriesPerHighlight": 50,
  "maxItems": 200,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

***

### Output Data Structure

The Actor pushes flat JSON records into the default Apify Dataset. The dataset contains three primary categories of records identified by the `recordType` field:

1. `highlight`: A comprehensive summary of the highlight tray itself, including title, cover image, creation timestamp, and creator profile information.
2. `media`: An individual story media item belonging to the highlight reel, containing media CDN links, dimensions, duration, captions, audio, and music metadata.
3. `status`: A diagnostic record produced when an entry cannot be collected due to deletion, private profile settings, or invalid input syntax.

#### Complete Field Reference

| Field Name | Type | Record Types | Description |
|---|---|---|---|
| `recordType` | `string` | All | Type of record: `highlight`, `media`, or `status`. |
| `highlightId` | `string` | All | Numeric identifier of the highlight reel. |
| `highlightTitle` | `string` | `highlight`, `media` | Display title of the highlight reel set by the creator. |
| `highlightUrl` | `string` | All | Canonical web URL of the highlight reel. |
| `highlightCoverImageUrl` | `string` | `highlight`, `media` | Direct image link to the highlight cover thumbnail. |
| `highlightMediaCount` | `integer` | `highlight`, `media` | Total count of media items published in the highlight. |
| `position` | `integer` | `media` | 1-based order position of the story item inside the highlight reel. |
| `mediaId` | `string` | `media` | Unique identifier of the story media post. |
| `shortCode` | `string` | `media` | Public short code of the individual story post. |
| `storyUrl` | `string` | `media` | Canonical web URL leading to the specific story post. |
| `mediaType` | `string` | `media` | Format of the media item: `image` or `video`. |
| `imageUrl` | `string` | `media` | High-resolution image CDN URL or video preview thumbnail URL. |
| `videoUrl` | `string` | `media` | Direct CDN URL to the progressive MP4 video stream (videos only). |
| `width` | `integer` | `media` | Original width of the media asset in pixels. |
| `height` | `integer` | `media` | Original height of the media asset in pixels. |
| `videoDuration` | `number` | `media` | Total playback length of the video file in seconds. |
| `hasAudio` | `boolean` | `media` | Boolean indicating whether the video contains an audio soundtrack. |
| `caption` | `string` | `media` | Text caption or overlaid text note included on the story. |
| `musicTitle` | `string` | `media` | Name of the licensed song or soundtrack attached to the story. |
| `musicArtist` | `string` | `media` | Name of the musician or creator of the attached audio asset. |
| `accessibilityCaption` | `string` | `media` | Automated descriptive text generated for image accessibility. |
| `storyCommentCount` | `integer` | `media` | Aggregated response or comment count when publicly reported. |
| `takenAt` | `string` | `highlight`, `media` | ISO 8601 timestamp representing when the story was initially published. |
| `ownerUsername` | `string` | All | Instagram handle of the account that owns the highlight. |
| `ownerProfileUrl` | `string` | All | Web URL of the creator profile. |
| `ownerUserId` | `string` | All | Numeric account identifier of the creator. |
| `ownerVerified` | `boolean` | All | Boolean confirming whether the account carries an official verified badge. |
| `status` | `string` | `status` | Diagnostic outcome code (`not_found`, `private`, `no_public_items`, `invalid_input`, `fetch_failed`). |
| `message` | `string` | `status` | Human-readable explanation of why the highlight could not be extracted. |
| `isPrivate` | `boolean` | `status` | Boolean indicating if the highlight belongs to an account set to private. |
| `isAccessible` | `boolean` | All | Boolean indicating whether public media assets were successfully retrieved. |
| `scrapedAt` | `string` | All | ISO 8601 timestamp recording when the extraction took place. |

***

### Real Output Examples

#### Highlight Summary Record (`recordType: "highlight"`)

```json
{
  "recordType": "highlight",
  "highlightId": "18195781759377100",
  "highlightTitle": "Roman",
  "highlightUrl": "https://www.instagram.com/stories/highlights/18195781759377100/",
  "highlightCoverImageUrl": "https://scontent.cdninstagram.com/v/t51.71878-15/cover_sample.jpg",
  "highlightMediaCount": 9,
  "position": null,
  "mediaId": null,
  "shortCode": null,
  "storyUrl": null,
  "mediaType": null,
  "imageUrl": null,
  "videoUrl": null,
  "width": null,
  "height": null,
  "videoDuration": null,
  "hasAudio": null,
  "caption": null,
  "musicTitle": null,
  "musicArtist": null,
  "accessibilityCaption": null,
  "storyCommentCount": null,
  "takenAt": "2026-08-30T11:00:53.000Z",
  "ownerUsername": "nasa",
  "ownerProfileUrl": "https://www.instagram.com/nasa/",
  "ownerUserId": "528817151",
  "ownerVerified": true,
  "status": null,
  "message": null,
  "isPrivate": null,
  "isAccessible": true,
  "scrapedAt": "2026-10-02T12:19:43.787Z"
}
```

#### Story Media Item Record (`recordType: "media"`)

```json
{
  "recordType": "media",
  "highlightId": "18195781759377100",
  "highlightTitle": "Roman",
  "highlightUrl": "https://www.instagram.com/stories/highlights/18195781759377100/",
  "highlightCoverImageUrl": "https://scontent.cdninstagram.com/v/t51.71878-15/cover_sample.jpg",
  "highlightMediaCount": 9,
  "position": 1,
  "mediaId": "3975089864169193671",
  "shortCode": "DcqWyuoD4DH",
  "storyUrl": "https://www.instagram.com/stories/nasa/3975089864169193671/",
  "mediaType": "video",
  "imageUrl": "https://instagram.falg7-5.fna.fbcdn.net/v/t51.71878-15/thumb_sample.jpg",
  "videoUrl": "https://instagram.falg6-1.fna.fbcdn.net/o1/v/t2/f2/m78/video_sample.mp4",
  "width": 1080,
  "height": 1920,
  "videoDuration": 26.833,
  "hasAudio": true,
  "caption": "Exploring the universe with the Nancy Grace Roman Space Telescope.",
  "musicTitle": null,
  "musicArtist": null,
  "accessibilityCaption": null,
  "storyCommentCount": null,
  "takenAt": "2026-08-30T11:00:53.000Z",
  "ownerUsername": "nasa",
  "ownerProfileUrl": "https://www.instagram.com/nasa/",
  "ownerUserId": "528817151",
  "ownerVerified": true,
  "status": null,
  "message": null,
  "isPrivate": null,
  "isAccessible": true,
  "scrapedAt": "2026-10-02T12:19:43.787Z"
}
```

***

### Practical Use Cases

#### 1. Competitive Brand Intelligence & Product Launches

Marketing teams track competitor product launches, feature rollouts, and customer testimonial highlights. By monitoring highlight reels week over week, analysts can identify which campaigns are permanently promoted, how product highlights are categorized, and what messaging resonates with target demographics.

#### 2. Influencer Marketing Audits & Brand Partnership Tracking

Brands partnering with influencers frequently mandate permanent highlight placements for sponsored campaigns. Using this Actor, agency auditors can verify whether paid collaboration stories remain pinned, confirm that required disclosure tags or affiliate links are intact, and archive proof of placement for reporting.

#### 3. Creative Asset Archiving & Moodboard Ingestion

Creative agencies, design studios, and video editors curate visual references from leading photographers, illustrators, and design houses. By feeding highlight links directly into automated scraping runs, asset managers can download original vertical photography and video clips directly into cloud storage archives.

#### 4. Retail Cataloging & Event Coverage Preservation

Retailers, festival organizers, and restaurants use story highlights as dynamic menus, lookbooks, and recurring event archives. Extracting these highlights provides retail researchers with structured records of seasonal collections, limited-edition product drops, and live event recaps.

#### 5. Training Data for Multimodal AI Agents

Machine learning engineers and LLM workflow builders utilize clean highlight datasets containing both high-resolution media and contextual descriptions. Vertical story formats offer rich temporal, visual, and textual training pairs for multimodal categorization and sentiment models.

***

### Step-by-Step Onboarding Tutorial

Follow this quick guide to run your first highlight extraction in under two minutes:

1. **Find Target Highlights**: Navigate to any public Instagram profile in your browser. Click on one of the highlight circles located below the bio.
2. **Copy the URL**: From your browser address bar, copy the URL. It will follow this structure: `https://www.instagram.com/stories/highlights/<NUMERIC_ID>/`. Alternatively, copy just the numeric ID.
3. **Open the Actor Console**: Go to the **Instagram Highlight Scraper** page in the Apify Store and click **Try for free**.
4. **Paste Your Highlights**: In the **Highlight URLs or IDs** input field, paste one or more URLs (one per line).
5. **Adjust Limits (Optional)**: Set the **Maximum stories per highlight** (for example, `20` to capture only the latest twenty posts) or leave it at `100`.
6. **Execute the Run**: Click the **Start** button at the bottom of the screen.
7. **View and Export Data**: Once the run completes, navigate to the **Dataset** tab. You can preview the extracted rows in the online table viewer or export them immediately as JSON, CSV, Excel, XML, or Parquet.

***

### Advanced Automation & API Integration

You can trigger the Instagram Highlight Scraper programmatically and stream results directly into your backend infrastructure or automation tools.

#### JavaScript / Node.js Integration

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

// Initialize the Apify Client with your API token
const client = new ApifyClient({
    token: process.env.APIFY_TOKEN,
});

// Prepare the Actor input with your target highlight links
const input = {
    highlightUrlsOrIds: [
        'https://www.instagram.com/stories/highlights/18195781759377100/'
    ],
    maxStoriesPerHighlight: 25,
    maxItems: 100,
    proxyConfiguration: {
        useApifyProxy: true,
    },
};

// Start the Actor and wait for execution to complete
const run = await client.actor('karamelo/instagram-highlight-by-id-or-url-scraper').call(input);

// Fetch the extracted records from the default dataset
const { items } = await client.dataset(run.defaultDatasetId).listItems();

console.log(`Successfully scraped ${items.length} records:`);
items.forEach((item) => {
    if (item.recordType === 'media') {
        console.log(`- [${item.mediaType}] ${item.shortCode || item.mediaId}: ${item.videoUrl || item.imageUrl}`);
    }
});
```

#### Python Integration

```python
import os
from apify_client import ApifyClient

  # Initialize the Apify Client with your API token
client = ApifyClient(os.getenv("APIFY_TOKEN"))

  # Define input parameters
actor_input = {
    "highlightUrlsOrIds": [
        "https://www.instagram.com/stories/highlights/18195781759377100/"
    ],
    "maxStoriesPerHighlight": 25,
    "maxItems": 100,
    "proxyConfiguration": {
        "useApifyProxy": True
    }
}

  # Run the Actor and wait for finish
run = client.actor("karamelo/instagram-highlight-by-id-or-url-scraper").call(run_input=actor_input)

  # Iterate over dataset results
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    if item.get("recordType") == "media":
        print(f"[{item.get('mediaType')}] Position {item.get('position')}: {item.get('imageUrl')}")
```

#### Webhook Automations & No-Code Connectors

- **Zapier & Make (Integromat)**: Set up an automated workflow where newly added highlight links in Google Sheets trigger this Actor, and the resulting media URLs are automatically appended to Airtable or downloaded to Google Drive.
- **Custom Webhooks**: Configure an HTTP webhook in the Actor run settings to notify your internal API endpoint whenever a scraping batch finishes, transmitting dataset links for instantaneous pipeline processing.

***

### Limitations & Supported Scope

To ensure optimal performance and realistic operational expectations, please note the following operational boundaries:

- **Public Content Only**: This Actor extracts content exclusively from public Instagram profiles. Highlight reels belonging to private accounts cannot be accessed and will generate an explanatory `private` status record.
- **Non-Expiring Highlights**: Unlike standard daily stories which vanish after twenty-four hours, highlights do not expire based on time; they remain scrapable as long as the creator keeps them pinned on their public profile.
- **Media Expiration**: Direct CDN URLs (provided by Instagram's media storage) contain time-limited signature tokens (`oe=` and `oh=` parameters). If you need long-term access to media files, download the video and photo files to your own cloud storage bucket (such as AWS S3 or Google Cloud Storage) shortly after extraction.
- **Input Boundaries**: Up to one hundred highlight URLs or IDs can be processed within a single run. For larger batches, schedule sequential Actor runs or use task queues.

***

### Troubleshooting & Frequently Asked Questions

#### Why did a highlight return a `private` status record?

If the account that created the highlight reel is configured as a private profile, Instagram restricts access exclusively to approved followers. Because this Actor operates without login credentials, it cannot bypass account privacy settings. Ensure your target highlights belong to public accounts.

#### Why does a highlight return a `not_found` status record?

A `not_found` record indicates that the requested highlight reel no longer exists on Instagram. This happens when the creator deletes the highlight album, removes all stories from the tray, or changes the highlight visibility. Double-check that the URL opens in an incognito browser window.

#### Why do some media items lack captions or music titles?

Instagram stories are primarily visual formats. Creators often post images or video clips without typing overlaid captions or adding music stickers. In these instances, `caption`, `musicTitle`, and `musicArtist` fields evaluate to `null` to accurately reflect the source post.

#### How can I scrape highlights from multiple accounts in bulk?

Assemble your list of highlight URLs in a text file or spreadsheet, copy them, and paste them into the `highlightUrlsOrIds` input field. The Actor will process each highlight sequentially and consolidate all results into one unified dataset.

#### Can I download only videos or only photos?

The Actor extracts all media items contained within the requested highlight. Once the dataset is generated, you can use Apify Dataset filtering, CSV filters, or your downstream application code to filter rows by `mediaType === "video"` or `mediaType === "image"`.

***

### Compliance, Ethics, and Responsible Data Use

The Instagram Highlight Scraper is developed to collect publicly available social media data for research, archival, business intelligence, and creative reference. When utilizing this Actor, adhere to the following best practices:

- **Respect Privacy**: Only scrape data from public accounts that have deliberately chosen to make their content visible to the entire web.
- **Intellectual Property**: Respect copyright and licensing restrictions associated with creative media, commercial photography, and attached musical compositions. Do not re-distribute creator media without appropriate authorization.
- **Fair Bandwidth Usage**: Implement reasonable request caps and scheduling intervals to minimize unnecessary platform strain on target resources.
- **Data Governance**: Comply with applicable local privacy laws and international regulations regarding personal information and digital content management.

# Actor input Schema

## `highlightUrlsOrIds` (type: `array`):

List of public Instagram highlight reel URLs (e.g., https://www.instagram.com/stories/highlights/18195781759377100/) or numeric highlight IDs (e.g., 18195781759377100). Duplicate entries are automatically deduplicated.

## `maxStoriesPerHighlight` (type: `integer`):

Maximum number of story items to collect per highlight reel. Set to 0 to collect all available stories in the highlight.

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

Maximum total media and highlight records to save across the run. Status records do not count toward this limit.

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

Apify Proxy settings to ensure consistent access to public Instagram highlight content.

## Actor input object example

```json
{
  "highlightUrlsOrIds": [
    "https://www.instagram.com/stories/highlights/18195781759377100/"
  ],
  "maxStoriesPerHighlight": 100,
  "maxItems": 500,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

The default dataset in its overview view.

# 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 = {
    "highlightUrlsOrIds": [
        "https://www.instagram.com/stories/highlights/18195781759377100/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("karamelo/instagram-highlight-by-id-or-url-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 = { "highlightUrlsOrIds": ["https://www.instagram.com/stories/highlights/18195781759377100/"] }

# Run the Actor and wait for it to finish
run = client.actor("karamelo/instagram-highlight-by-id-or-url-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 '{
  "highlightUrlsOrIds": [
    "https://www.instagram.com/stories/highlights/18195781759377100/"
  ]
}' |
apify call karamelo/instagram-highlight-by-id-or-url-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,karamelo/instagram-highlight-by-id-or-url-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/eTTI2dh5fab9cFXEf/builds/jegfT334g2emz39uL/openapi.json
