{
  "info": {
    "name": "Instagram Scraper — mcp.ai",
    "description": "REST API for the Instagram Scraper MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/instagram",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "instagram_user_info",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/user_info",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "user_info"
          ]
        },
        "description": "Full public account data for a profile: pk (numeric id), bio, bio_links, follower/following counts, verification, private/public, profile pic. Accepts username, numeric id, or profile URL.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"username_or_url\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "instagram_user_info_v2",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/user_info_v2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "user_info_v2"
          ]
        },
        "description": "Alternate (v3) endpoint for full public account data — same fields as instagram_user_info; use as a fallback if the primary returns no data.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"username_or_url\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "instagram_user_basic",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/user_basic",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "user_basic"
          ]
        },
        "description": "Lightweight profile preview: basic user_data plus a slice of recent user_posts. Faster/cheaper than full info when you only need the essentials.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"username_or_url\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "instagram_user_about",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/user_about",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "user_about"
          ]
        },
        "description": "Account transparency 'About this account' info (country, date joined, former usernames, ads status) for a public profile.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"username_or_url\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "instagram_user_similar_accounts",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/user_similar_accounts",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "user_similar_accounts"
          ]
        },
        "description": "Accounts Instagram suggests as similar to the given profile (the 'Suggested for you' chips). Returns an array of user objects.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"username_or_url\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "instagram_user_posts",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/user_posts",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "user_posts"
          ]
        },
        "description": "A page of a user's feed posts (carousel/image/video) with code, pk, caption, counts and media URLs. Returns { posts, pagination_token }; pass the token back for the next page.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"username_or_url\": \"\",\n  \"pagination_token\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "instagram_user_reels",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/user_reels",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "user_reels"
          ]
        },
        "description": "A page of a user's reels. Returns { reels, pagination_token }; pass the token back for the next page.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"username_or_url\": \"\",\n  \"pagination_token\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "instagram_user_tagged_posts",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/user_tagged_posts",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "user_tagged_posts"
          ]
        },
        "description": "A page of posts where the user is tagged. Returns { tagged_posts, pagination_token }; pass the token back for the next page.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"username_or_url\": \"\",\n  \"pagination_token\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "instagram_user_stories",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/user_stories",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "user_stories"
          ]
        },
        "description": "Currently-active stories for a public profile (empty array when the user has no live stories).",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"username_or_url\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "instagram_user_highlights",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/user_highlights",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "user_highlights"
          ]
        },
        "description": "A user's story highlights (the cover reels). Each item's node.id (format 'highlight:1234...') feeds instagram_highlight_stories.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"username_or_url\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "instagram_highlight_stories",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/highlight_stories",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "highlight_stories"
          ]
        },
        "description": "The individual story items inside one highlight reel. Requires a highlight_id from instagram_user_highlights (format 'highlight:1234...').",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"highlight_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "instagram_user_followers",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/user_followers",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "user_followers"
          ]
        },
        "description": "A page of a profile's followers. Returns a list plus pagination_token; pass the token back for the next page (~50 per page).",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"username_or_url\": \"\",\n  \"amount\": 0,\n  \"pagination_token\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "instagram_user_following",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/user_following",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "user_following"
          ]
        },
        "description": "A page of the accounts a profile follows. Returns a list plus pagination_token; pass the token back for the next page (~50 per page).",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"username_or_url\": \"\",\n  \"amount\": 0,\n  \"pagination_token\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "instagram_search",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/search",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "search"
          ]
        },
        "description": "Universal search across users, hashtags and places for a query string. Returns { users, hashtags, places }.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"search_query\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "instagram_hashtag_posts",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/hashtag_posts",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "hashtag_posts"
          ]
        },
        "description": "Recent and top posts/reels for a hashtag. Returns { name, posts, top_posts, pagination_token }; pass the token back for the next page.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"hashtag\": \"\",\n  \"pagination_token\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "instagram_media_info",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/media_info",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "media_info"
          ]
        },
        "description": "Full details for a single post/reel by NUMERIC media id (counts, caption, media URLs, dimensions). The id is numeric — if you only have a shortcode/URL, resolve it first with instagram_media_resolve.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"media_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "instagram_media_resolve",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/media_resolve",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "media_resolve"
          ]
        },
        "description": "Resolve a post/reel between its shortcode and numeric media id. Provide one of media_code (shortcode) or media_id; returns { media_id, media_code, media_url }.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"media_code\": \"\",\n  \"media_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "instagram_post_likers",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/post_likers",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "post_likers"
          ]
        },
        "description": "Accounts that liked a post, by its shortcode (post_code). Returns an array of user objects.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"post_code\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "instagram_post_comments",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/post_comments",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "post_comments"
          ]
        },
        "description": "Top-level comments on a post by NUMERIC post id. Resolve a shortcode to its numeric id with instagram_media_resolve first.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"post_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "instagram_comment_replies",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/comment_replies",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "comment_replies"
          ]
        },
        "description": "Child replies for one comment on a post. Both ids are numeric: post_id (the media) and comment_id (from instagram_post_comments).",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"post_id\": \"\",\n  \"comment_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "instagram_reel_caption",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/reel_caption",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "reel_caption"
          ]
        },
        "description": "Title/caption/description for a reel or post. Pass the shortcode or URL plus type ('reel' or 'post'). For full media details prefer instagram_media_info.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"reel_post_code_or_url\": \"\",\n  \"type\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}