Skip to main content

Instagram Profile Scraper

Extracts public Instagram profile metadata including bio, follower counts, website links, verification status, and recent media data with engagement metrics. 1 credit/row

Parameters

ParameterTypeRequiredDescription
usernamesarrayYesArray of Instagram usernames without ’@’. E.g., ["nike", "adidas"]

Example

curl -X POST https://api.mindcase.co/api/v1/agents/instagram/profile-scraper/run \
  -H "Authorization: Bearer mk_live_abc123def456" \
  -H "Content-Type: application/json" \
  -d '{
    "params": {
      "usernames": ["nike", "adidas"]
    }
  }'
Response
{
  "job_id": "job_7f3a2b1c",
  "status": "queued",
  "agent": "instagram/profile-scraper"
}

Instagram Post Scraper

Extracts comprehensive post-level metadata and media from Instagram profiles, including captions, hashtags, engagement metrics, comments, and media assets. 1 credit/row

Parameters

ParameterTypeRequiredDescription
directUrlsarrayNoArray of Instagram URLs (profile, post, or reel URLs)
usernamearrayNoArray of Instagram usernames to get posts from
resultsLimitintegerYesNumber of posts per profile. Use 0 for all posts. Default: 20
onlyPostsNewerThanstringNoOnly get posts newer than this date. Format: YYYY-MM-DD

Example

curl -X POST https://api.mindcase.co/api/v1/agents/instagram/post-scraper/run \
  -H "Authorization: Bearer mk_live_abc123def456" \
  -H "Content-Type: application/json" \
  -d '{
    "params": {
      "username": ["nike"],
      "resultsLimit": 10
    }
  }'

Instagram Comment Scraper

Scrape Instagram comments from posts or reels. Get comment text, timestamps, usernames, likes, and replies. 1 credit/row

Parameters

ParameterTypeRequiredDescription
directUrlsarrayYesArray of Instagram post/reel URLs to get comments from
resultsLimitintegerYesNumber of comments per post. Use 0 for all. Default: 100

Example

curl -X POST https://api.mindcase.co/api/v1/agents/instagram/comment-scraper/run \
  -H "Authorization: Bearer mk_live_abc123def456" \
  -H "Content-Type: application/json" \
  -d '{
    "params": {
      "directUrls": ["https://www.instagram.com/p/ABC123/"],
      "resultsLimit": 50
    }
  }'