Instagram Scraper

Apify

Collect public Instagram posts, profiles and hashtags from URLs or search inputs.

Use this tool with your AI agent

  1. Copy the prompt
  2. Paste it into your agent
  3. Tell it what you need

Read https://scrollport.com/start. Use my existing Scrollport connection, or help me connect if needed. Help me use Instagram Scraper (tool ID: apify.apify-instagram-scraper). Ask me for the details you need, then show me the result.

Already connected
Your agent can use that connection.
New user
Your agent will guide you through setup, sign-in and authorisation.

Provider access is included.

Connect your first agent to receive $1 trial credit.

Current price
$0.0038/result
Availability
Ready to run

Tool details

About this tool

Fetch a bounded set of public Instagram posts or profile results from supplied URLs.

Inputs and outputs

Input

inputobject · optional

Provider-specific public source, URL or search criteria.

maxItemsnumber · optional

Maximum number of records to return.

Output

captionstring

Returned caption value.

dimensionsHeightnumber

Returned dimensions height value.

dimensionsWidthnumber

Returned dimensions width value.

ownerFullNamestring

Returned owner full name value.

ownerUsernamestring

Returned owner username value.

shortCodestring

Returned short code value.

typestring

Returned type value.

urlstring

Returned url value.

Example request and output

Inspect returns this reviewed example, its estimated cost and the current input schema. Run calculates the estimate for your actual input.

Request

{
  "tool_id": "apify.apify-instagram-scraper",
  "input": {
    "input": {
      "directUrls": [
        "https://www.instagram.com/p/DPq5ZpJDZw9/"
      ],
      "resultsType": "posts",
      "resultsLimit": 1
    },
    "maxItems": 1
  }
}

Output

{
  "url": "https://www.instagram.com/p/DPq5ZpJDZw9/",
  "type": "Video",
  "caption": "Dear New York closes on October 19th.",
  "shortCode": "DPq5ZpJDZw9",
  "ownerFullName": "Humans of New York",
  "ownerUsername": "humansofny",
  "dimensionsWidth": 640,
  "dimensionsHeight": 1136
}
Errors and limitations

No listing-specific teaching errors are published. Inspect the tool before running to receive the current schema and error guidance.