# Scrape Instagram Reels

{% embed url="<https://www.youtube.com/embed/ksg7HU_8Sb8>" %}

## Configuration

### Username

Enter the username or profile URL from which you want to scrape reels.

This section can include variables.

### Output

Specify the name of the output variable that will store the results. Example: `Reels_result`

### Advanced Settings

**Result Limit:** Set the maximum amount of reels you want to scrape. The default is set to 100.

### Sample Output

```json
[{
  "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "type": "ReelVideo",
  "shortCode": "xxxxxxxxxx",
  "caption": "Example caption.",
  "hashtags": [],
  "mentions": [],
  "url": "https://www.example.com/reel/sample",
  "commentsCount": 333,
  "dimensionsHeight": 3000,
  "dimensionsWidth": 1690,
  "images": [
    "https://example.com/sample-image.jpg"
  ],
  "videoUrl": "https://example.com/sample-video.mp4",
  "likesCount": 22110,
  "videoViewCount": 93699,
  "timestamp": "2022-11-22T21:42:42.000Z",
  "ownerFullName": "John Doe",
  "ownerUsername": "example_user",
  "ownerId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "productType": "clips",
  "isSponsored": false,
  "videoDuration": 380.459
}]
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://university.mindstudio.ai/docs/building-ai-agents/blocks-reference/scrape-instagram-reels.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
