canvas.instagram.profiles()
Get follower counts and recent post data from Instagram profiles.Parameters
Instagram usernames (without @) to scrape.
Number of recent posts to fetch per profile (max 200).
Fields to return. Defaults to all. Options:
username, fullName, bio, followersCount, followingCount, postsCount, profilePicUrl, isVerified, postsReturns
| Field | Type | Description |
|---|---|---|
username | string | Instagram username |
fullName | string | Display name |
bio | string | Biography text |
followersCount | number | Follower count |
followingCount | number | Following count |
postsCount | number | Total posts |
profilePicUrl | string | Profile picture URL |
isVerified | boolean | Verified badge |
posts | InstagramPost[] | Recent posts array |
InstagramPost
Each post in theposts array contains:
| Field | Type | Description |
|---|---|---|
id | string | Post ID |
caption | string | Post caption |
timestamp | string | When posted |
likesCount | number | Like count |
commentsCount | number | Comment count |
mediaType | string | IMAGE, VIDEO, or CAROUSEL |
mediaUrl | string | Media URL |
permalink | string | Direct link to post |