Skip to main content

Social::Instagram::Profile - Instagram scraper. Data collection from Instagram profiles


Scraper Overview

Social::Instagram::ProfileSocial::Instagram::Profile – scrapes profile data from Instagram. The Instagram scraper allows for bulk scraping of user profile data. The data collected includes nickname, name, biography, website, number of posts, etc. The full list of collected data can be found in the corresponding section.

A-Parser functionality allows you to save scraper settings of Social::Instagram::Profile for future use (presets), set a scraping schedule, and much more.

Saving results is possible in the form and structure you need, thanks to the built-in powerful templating engine Template Toolkit which allows you to apply additional logic to the results and output data in various formats, including JSON, SQL, and CSV.


The scraper uses data from an authorized account. It is mandatory to specify a value for the cookie option for the scraper to work.

Use Cases for the Scraper

Collecting links to posts
  1. Override the Result format option, specify $posts.format('$link\n') as the value.
  2. Override the Posts pages count option, select All from the list.
  3. Specify profile links as queries.
Download example

How to import an example into A-Parser


Collected Data

  • Nickname
  • Full name
  • Biography
  • Website
  • Number of posts
  • Number of followers
  • Number of followings
  • Author profile link
  • Channel
  • Whether the profile is a business profile
  • Whether the profile is private
  • Whether the profile is verified
  • Avatar link
  • Facebook page link
  • Post information
  • Number of video views
  • Profile email
  • Profile location
  • Phone numbers (from profile bio)
  • Author's publications
    • Type
    • Link
    • Text
    • Time
    • Number of comments
    • Number of likes
    • Media link
    • Publication height
    • Publication width
    • Publication author link
    • Location
    • Number of views (video)
  • Followings and followers
    • Identifier
    • Profile link
    • Nickname
    • Full name
    • Whether the profile is private
    • Whether the profile is verified
    • Avatar link
    • Whether the user is a potential scammer
  • Attached links
    • Title
    • Link
    • Type

Use Cases

  • Collecting profile information
  • Collecting publications
  • Collecting followers
  • Collecting followings
  • Scraping links to posts for use in Social::Instagram::PostSocial::Instagram::Post


Obtaining the mandatory option for authorization

Spoiler: how to find a cookie?

Go to any profile after opening the debug mode by pressing F12. Debug Using the line, we look for the necessary request, which stores the values for the scraper. Search Go to the request and copy the value from the cookie parameter. Values


As queries, you need to specify the profile nickname, for example:


Output Results Options

A-Parser supports flexible formatting of results thanks to the built-in template engine Template Toolkit, which allows it to output results in any form, as well as in structured formats, such as CSV or JSON

Default Output

Result format:

$query: $full_name, followers: $followers_count, following: $following_count\nPosts:\n$posts.format('$link\n')

Example of result:

cristiano: Cristiano Ronaldo, followers: 579975336, following: 558

Links to Followers and Followings Profiles

Result format:


Example of result:



Possible Settings

ParameterDefault ValueDescription
cookieIt is necessary to specify Cookie in advance
x-csrftokenAbility to specify x-csrftoken (if necessary)
x-ig-app-id936619743392459Ability to specify x-ig-app-id (if necessary)
Posts pages count1Number of post pages
Followers pages count1Number of followers pages
Followings pages count1Number of followings pages