MindStudio Docs
  • Get Started
    • Overview
    • MindStudio Chrome Extension
    • Quickstart Guide
    • What is an AI Agent?
    • AI Agent Use Cases
  • Free vs. Paid AI Agents
  • Building AI Agents
    • Editor Overview
    • Workflow Generator
    • Writing Prompts
      • Templating
    • AI Models
    • Variables
      • Working with JSON
      • Using Handlebars Templating
    • Dynamic Variables
    • Data Sources
    • Automations
      • Start Block
      • Generate Text Block
      • Generate Image Block
      • Generate Chart Block
      • Generate Asset Block
      • Display Content Block
      • Text to Speech Block
      • Analyze Image Block
      • User Input Block
      • User Context Block
      • Query Data Block
      • Run Function Block
      • Scrape URL Block
      • Extract Text from File Block
      • Post to Slack Block
      • Menu Block
      • Logic Block
      • Checkpoint Block
      • Jump Block
      • Run Workflow Block
      • Terminator Block
    • Integrations
      • Search Bluesky Posts
      • Scrape Facebook Page
      • Scrape Meta Threads Profile
      • Scrape Instagram Comments
      • Scrape Instagram Mentions
      • Scrape Instagram Posts
      • Scrape Instagram Profile
      • Scrape Instagram Reels
      • Create LinkedIn Post
      • Create X Post
      • Search X Posts
      • Search Google
      • Search Google Images
      • Search Google Trends
      • Search Google News
      • Create Google Doc
      • Fetch Google Doc
      • Update Google Doc
      • Create Google Sheet
      • Fetch Google Sheet
      • Update Google Sheet
      • Enrich Company via Domain
      • Find Contact Email for Website
      • Find Email
      • Verify Email
      • Enrich Person via Email
      • Fetch YouTube Captions
      • Fetch YouTube Channel
      • Fetch YouTube Comments
      • Fetch YouTube Video
      • Search YouTube
      • Search YouTube Trends
      • Create Notion Page
      • Update Notion Page
      • Apify
      • Run Scenario
      • Post to Slack
      • HTTP Request
      • Run Node
      • Create Contact
      • Add Note
      • Send Email
      • Send SMS
    • Publishing & Versioning
  • Embedding AI Agents
  • Using Webhooks
  • Workspace Management
    • Workspace Overview
    • Workspace Settings
    • Usage Explorer
    • Billing Settings
    • Account Settings
    • Team Settings & Access Controls
  • Test & Evaluate
    • Testing Suite Overview
    • Evaluations
    • Profiler
    • Debugger
  • Integration Guides
    • Zapier + MindStudio
    • Make.com + MindStudio
    • n8n + MindStudio
  • Developers
    • API Reference
    • NPM Package
    • Custom Workflow Functions
  • Additional Resources
    • Glossary
    • Allowing Access to Mindstudio From Your Network
  • Solutions
    • MindStudio Solutions Partners
    • MindStudio For Developers
    • MindStudio for Enterprises
Powered by GitBook
On this page
  • Configuration
  • Username
  • Output Variable
  • Advanced Settings
  • Sample Output
Export as PDF
  1. Building AI Agents
  2. Integrations

Scrape Instagram Posts

Get posts from an Instagram profile in a MindStudio workflow

Last updated 16 days ago

Configuration

Username

Enter the username or profile URL of the user whose posts you want to scrape.

Output Variable

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

Advanced Settings

Result Limit: Set the max amount of posts you want to scrape. The default is set to 100.

Only Posts Newer Than: Set a date/time to limit for how far back the scraper should go. For example, if you want to only scrape posts 2 months old or newer you can type in 2 months. To add a specific date you must use the format YYYY-MM-DD.

Sample Output

[{
  "queryUsername": "example_username",
  "position": 1,
  "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "type": "Image",
  "shortCode": "example_code",
  "caption": "Sample caption text with obfuscated details.",
  "hashtags": [],
  "mentions": [
    "example_mention"
  ],
  "url": "https://www.instagram.com/p/example_post/",
  "commentsCount": 96,
  "firstComment": "",
  "latestComments": [],
  "dimensionsHeight": 720,
  "dimensionsWidth": 1080,
  "displayUrl": "https://example.com/sample_image.jpg",
  "images": [],
  "alt": null,
  "likesCount": 5000,
  "timestamp": "2022-01-01T00:00:00.000Z",
  "childPosts": [],
  "locationName": null,
  "locationId": null,
  "ownerFullName": null,
  "ownerUsername": "example_username",
  "ownerId": "xxxxxxxxxx"
},
{
  "queryUsername": "example_username",
  "position": 2,
  "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "type": "Sidecar",
  "shortCode": "example_code",
  "caption": "Sample caption text with obfuscated details.",
  "hashtags": [],
  "mentions": [],
  "url": "https://www.instagram.com/p/example_post/",
  "commentsCount": 2000,
  "firstComment": "",
  "latestComments": [],
  "dimensionsHeight": 498,
  "dimensionsWidth": 750
}]