Get Profile Info
Retrieves detailed information about an Instagram profile including follower count, following count, bio, verification status, profile picture URL, and more.
Common Properties
- Name - The custom name of the node.
- Color - The custom color of the node.
- Delay Before (sec) - Waits in seconds before executing the node.
- Delay After (sec) - Waits in seconds after executing node.
- Continue On Error - Automation will continue regardless of any error. The default value is false.
info
If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.
Inputs
- Session ID - The session identifier from the Login node.
- Username - Instagram username to get profile information for (without the @ symbol).
Output
- Profile Info - An object containing comprehensive profile information with the following fields:
username- The Instagram usernameuser_id- Unique user identifierfull_name- Display name on the profilebiography- Profile bio textbiography_hashtags- Array of hashtags mentioned in the biobiography_mentions- Array of usernames mentioned in the bioexternal_url- Link in bio (if any)followers- Number of followersfollowing- Number of accounts being followedposts_count- Total number of postsprofile_pic_url- URL to profile pictureis_private- Boolean indicating if account is privateis_verified- Boolean indicating if account is verifiedis_business_account- Boolean indicating if it's a business accountbusiness_category- Business category name (if applicable)
How It Works
The Get Profile Info node fetches comprehensive profile data from Instagram. When executed, it:
- Validates that both Session ID and Username are provided
- Retrieves the active session using the Session ID
- Queries Instagram's API for the profile information
- Extracts and structures all available profile data
- Returns the profile information as a structured object
Requirements
- An active Instagram session (from Login node)
- A valid Instagram username
- Appropriate permissions to view the profile (public profiles or profiles you follow)
Error Handling
The node will return specific errors in the following cases:
- ErrInvalidArg - Username is missing or empty
- ErrNotFound - Profile does not exist
- ErrPermission - Profile is private and you don't follow them
- ErrRuntime - General failure to retrieve profile info
Common Errors
Profile Not Found:
Profile 'username' does not exist
Solution: Verify the username is spelled correctly and the account exists.
Private Profile:
Profile 'username' is private and you don't follow them
Solution: You must follow the account to access their information, or log in with an account that follows them.
Usage Notes
- Public profiles can be accessed by any authenticated account
- Private profiles require you to be a follower
- Biography hashtags and mentions are automatically extracted
- Profile picture URLs are direct links to the image file
- Business category is only available for business/creator accounts
- The data reflects the profile state at the time of the request
Example: Analyze Competitor Profile
Inputs:
- Session ID: (from Login node)
- Username: "competitor_brand"
Output:
{
"username": "competitor_brand",
"user_id": "1234567890",
"full_name": "Competitor Brand",
"biography": "Leading the industry since 2020 #innovation #quality",
"biography_hashtags": ["innovation", "quality"],
"biography_mentions": [],
"external_url": "https://competitor.com",
"followers": 125000,
"following": 450,
"posts_count": 892,
"profile_pic_url": "https://instagram.com/.../profile.jpg",
"is_private": false,
"is_verified": true,
"is_business_account": true,
"business_category": "Shopping & Retail"
}
Example: Monitor Follower Growth
Workflow:
Schedule (Daily)
↓
Login
↓
Get Profile Info (target_account)
↓
Store follower count in database
↓
Compare with previous day
↓
Send alert if growth exceeds threshold
↓
Logout
Example: Influencer Discovery
Use Case: Find verified accounts in your industry
Workflow:
For each username in list:
Get Profile Info
If is_verified AND followers > 10000:
Add to influencer list
Best Practices
- Cache profile information to reduce API calls
- Add delays between multiple profile requests to avoid rate limiting
- Check
is_privatebefore attempting to fetch posts or followers - Use follower/following counts to assess account influence
- Monitor verification status for brand safety
- Track profile changes over time for competitive analysis
- Handle private profile errors gracefully in your workflows
Tips for Effective Use
- Batch Processing: When analyzing multiple profiles, add 2-3 second delays between requests
- Data Validation: Always check if required fields exist before using them in calculations
- Business Intelligence: Combine with Get Profile Posts to analyze content strategy
- Trend Analysis: Store historical data to track follower growth over time
- Profile Picture: Use the profile_pic_url to download and archive profile images
- Bio Analysis: Extract hashtags and mentions to understand brand associations
- Account Type Detection: Use
is_business_accountto filter business vs personal accounts
Common Use Cases
- Competitor Analysis - Monitor competitor follower counts and bio changes
- Influencer Vetting - Verify account authenticity and engagement potential
- Brand Monitoring - Track accounts mentioning your brand in their bio
- Market Research - Analyze profile characteristics in your industry
- Lead Generation - Identify potential partners based on profile criteria
- Account Verification - Confirm account details before engagement