> ## Documentation Index
> Fetch the complete documentation index at: https://docs.orisu.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Instagram scraper

> Search Instagram hashtags and return real posts with creatives and engagement data.

The Instagram Scraper node searches Instagram by hashtag and returns real public posts (images, videos, captions, and engagement metrics) for the query you connect. Results come from the public Instagram explore feed. Runs are repeatable: the node maps your query and settings directly to a hashtag search instead of improvising one.

## When to use

* Social listening: track what people are posting under a hashtag
* Visual trend research: browse real post creatives by topic
* Influencer and competitor benchmarking: see engagement on public content

Common pattern: `text_prompt → instagram_scraper`.

## Inputs

<ParamField body="Query" type="text" required>
  The hashtag or keyword to search. The node strips `#` characters and whitespace and searches Instagram's explore feed. Required.
</ParamField>

## Outputs

<ParamField body="Results" type="any">
  Everything the scrape produced (post records, images, videos, and the summary) as one connectable output. Connect it to an AI node's Context input to analyse or rewrite the content.
</ParamField>

### Referencing results in prompts

Connect Results to a Generate Text node's **Context** input. Each item gets a stable name you can use in your prompt (`[post_1]`, `[image_2]`, `[text_1]`), e.g. "Rewrite the caption of `post_2` for our brand voice; ignore the rest."

## Configuration

<ParamField body="Max Results" type="number" default="10">
  Maximum number of posts to return. Range: 1 to 50.
</ParamField>

<ParamField body="Period" type="string" default="Last 30 days">
  Time window for results: **Last 24 hours**, **Last 7 days**, **Last 30 days**, or **All time**.
</ParamField>

### Analysis (optional)

Leave blank to get the default count summary at no extra cost.

<ParamField body="Analysis Prompt" type="string">
  Custom instructions for the AI model. When set, the model reads all fetched posts and writes a summary following your instructions (e.g. "Identify the dominant visual themes"). Adds 1 credit per run.
</ParamField>

<ParamField body="Analysis Model" type="string" default="Gemini 2.5 Flash">
  The AI model used to generate the analysis. Only applies when Analysis Prompt is set.
</ParamField>

<Note>
  Results come from public Instagram posts and reflect publicly available content. This node costs 1 credit per run, plus 1 additional credit when AI analysis is enabled.
</Note>
