Instagram Profile Posts Scraper — Posts & Reels avatar

Instagram Profile Posts Scraper — Posts & Reels

Pricing

from $1.25 / 1,000 results

Go to Apify Store
Instagram Profile Posts Scraper — Posts & Reels

Instagram Profile Posts Scraper — Posts & Reels

Export the posts or reels of public Instagram profiles. Each row carries the post code, like and comment counts, publish date, media type and the profile it came from.

Pricing

from $1.25 / 1,000 results

Rating

0.0

(0)

Developer

The Netaji

The Netaji

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

21 minutes ago

Last modified

Features

Limited permissions

Share

Instagram Profile Posts Scraper

The Actor exports the feed posts or the reels of one or more public Instagram accounts as one row per item. Each row identifies the post by its shortcode and carries its like and comment counts, publish time and media type, together with the account it was collected from.

Accepted input

  • profiles: Instagram usernames, one per line, without the @. Only public accounts return content.
  • scraperType: profilePosts for feed posts or profileReels for reels. The default is profilePosts.
  • limit: the number of items saved for each account, applied to every account separately. The default is 100; a value of 0 collects everything the account has published.
{
"profiles": ["nasa", "natgeo"],
"scraperType": "profileReels",
"limit": 50
}

Response fields

  • code: the shortcode used in the post URL, as in instagram.com/p/<code>.
  • pk: the numeric media ID.
  • like_count and comment_count: the counts at the moment of collection.
  • taken_at: the publish time as a Unix timestamp in seconds.
  • media_type: 1 for a photo, 2 for a video and 8 for a carousel.
  • source_username: the account the row was collected from, which keeps rows from several accounts separable in one dataset.
{
"pk": "4034722052525930893",
"code": "Df-NlR0PjmN",
"like_count": 661405,
"comment_count": 1988,
"taken_at": 1795198274,
"media_type": 1,
"source_username": "nasa"
}

Behaviour on partial results

Pages are read in order until the limit is reached or Instagram reports that the account has no further items. An account that returns no items, such as a private account or a username that does not exist, contributes no rows; the run continues with the next account and finishes successfully. A run that stops part way through resumes after the last saved row rather than starting the account again.

Frequently asked questions

Does the Actor return the caption, the image or the video file? No. Each row describes the post through its shortcode, counts, time and type. The shortcode can be passed to the Instagram Post Details Scraper to look a post up again later, or to the Instagram Comments Scraper to collect its comments.

Why does limit return more rows than its value? The bound applies to each account. Three accounts with a limit of 50 can produce up to 150 rows.

How are tagged posts collected? Posts in which an account is tagged are a separate list, exported by the Instagram Tagged Post Scraper.