Instagram Profile-Reels by Cookies avatar
Instagram Profile-Reels by Cookies

Pricing

$9.99/month + usage

Go to Apify Store
Instagram Profile-Reels by Cookies

Instagram Profile-Reels by Cookies

Developed by

shareze

shareze

Maintained by Community

Use cookies to scrape reels from a specific Instagram user. The reason for splitting is that after obtaining a cookie, it can be used for multiple days to avoid your account being blocked.

0.0 (0)

Pricing

$9.99/month + usage

1

8

1

Last modified

5 days ago

Instagram Profile Reels by Cookies Scraper

This Apify Actor is designed to scrape reels from an Instagram profile using session cookies. It allows you to retrieve detailed information about reels from a specific user.

How to Use

1. Input Configuration

The Actor requires an input JSON object to define the scraping parameters. The structure of the input is as follows:

{
"cookies": "sessionid=xxxxxx",
"username": "nike",
"size": 10
}
  • cookies: (Required) The logged-in Instagram session cookie. You can obtain this after logging into Instagram or use the Actor:shareze001/instagram-cookies Actor.
  • username: (Required) The Instagram username of the profile to scrape. For example, "nike".
  • size: (Optional) The number of reels to retrieve. Default is 10.

2. Output Data

The Actor returns an array of objects containing information about the Instagram reels. The structure of each object is as follows:

{
"id": "123456789",
"pk": "987654321",
"code": "DNqtnlCP1SA",
"url": "https://www.instagram.com/reels/DNqtnlCP1SA/",
"text": "This is an example caption.",
"taken_at": 1680000000,
"video_info": {
"url": "https://example.com/video.mp4",
"width": 1080,
"height": 1920
},
"image_info": {
"url": "https://example.com/image.jpg",
"width": 1080,
"height": 1920
},
"user": {
"id": "123456",
"username": "example_user",
"profile_pic_url": "https://example.com/profile_pic.jpg",
"full_name": "Example User",
"is_verified": true
},
"play_count": 1000,
"comment_count": 50,
"like_count": 500,
"product_type": "reel",
"has_audio": true
}
  • id: The unique ID of the reel.
  • pk: The primary key of the reel.
  • code: The shortcode of the reel.
  • url: The URL to the Instagram reel.
  • text: The caption of the reel.
  • taken_at: The timestamp when the reel was created.
  • video_info: Information about the video (if the reel contains a video).
  • image_info: Information about the thumbnail image of the reel.
  • user: Information about the user who posted the reel.
  • play_count: The number of plays the reel received.
  • comment_count: The number of comments on the reel.
  • like_count: The number of likes on the reel.
  • product_type: The type of post (e.g., reel).
  • has_audio: Whether the reel contains audio.

3. Running the Actor

  1. Deploy the Actor on the Apify platform.
  2. Provide the input JSON in the Actor's input configuration.
  3. Run the Actor to scrape data.
  4. The results will be available in the Actor's dataset.

4. Example Use Case

To scrape reels from the Instagram profile "nike":

  1. Set the input as:
    {
    "cookies": "sessionid=xxxxxx",
    "username": "nike",
    "size": 5
    }
  2. Run the Actor.
  3. Retrieve the output dataset containing the reel details.

Notes

  • This Actor uses Instagram's public API and requires a valid session cookie.
  • Ensure that the input cookies are valid and correspond to a logged-in Instagram account.
  • The Actor is optimized for performance but may be subject to rate limits or restrictions imposed by Instagram.