Skip to main content

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


Overview of Social::Instagram::Profile parser

Social::Instagram::ProfileSocial::Instagram::Profile - parses profile data from Instagram. The Instagram parser allows you to organize mass data parsing from user profiles. Among the collected data are nickname, name, biography, website, number of posts, etc. The full list of collected data is in the corresponding section.

A-Parser functionality allows you to save parsing settings for Social::Instagram::Profile parser for further use (presets), set up a parsing schedule, and much more.

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


The parser uses data from an authorized account. To work with the parser, it is necessary to specify a value for the option: cookie.

Obtaining the mandatory authentication option

Spoiler: how to find a cookie?

Go to any profile after opening debug mode by pressing F12. Debug Using the string, find the necessary request that stores values for the parser. Search Go to the request and copy the value from the cookie parameter. Values

Use cases for Social::Instagram::Profile parser

Case 1

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

How to import an example into A-Parser


List of collected data

  • Nickname
  • Full name
  • Biography
  • Website
  • Number of posts
  • Number of followers
  • Number of followings
  • Link to author's profile
  • Channel
  • Is the profile a business profile
  • Is the profile private
  • Is the profile verified
  • Link to avatar
  • Link to Facebook page
  • Post information
  • Number of video views
  • Profile email
  • Author's publications
    • Type
    • Link
    • Text
    • Time
    • Number of comments
    • Number of likes
    • Link to media
    • Publication height
    • Publication width
    • Link to publication author
    • Location
    • Number of views (video)
  • Subscriptions and subscribers
    • Identifier
    • Link to profile
    • Nickname
    • Full name
    • Is the profile private
    • Is the profile verified
    • Link to avatar
    • Is the user a possible fraudster

Example of result:

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



Instagram parser usage options

  • Collecting profile information
  • Collecting publications
  • Collecting subscribers
  • Collecting subscriptions
  • Parsing links to posts for use in Social::Instagram::PostSocial::Instagram::Post

Request examples

As requests, it is necessary to specify the profile nickname, for example:


Possible settings for the Instagram parser

ParameterDefault valueDescription
cookieIt is necessary to specify Cookie beforehand
x-csrftokenAbility to specify x-csrftoken (if necessary)
x-ig-app-id936619743392459Ability to specify x-ig-app-id (if necessary)
Posts pages count1Number of pages with posts
Followers pages count1Number of pages with followers
Followings pages count1Number of pages with subscriptions