Instagram Cookies avatar
Instagram Cookies

Pricing

$10.00/month + usage

Go to Apify Store
Instagram Cookies

Instagram Cookies

Obtain login cookies using username and password. Currently, cookies can be safely obtained, allowing access to users/posts/reels/stories and their related comments.

Pricing

$10.00/month + usage

Rating

5.0

(1)

Developer

shareze

shareze

Maintained by Community

Actor stats

1

Bookmarked

100

Total users

6

Monthly active users

9.8 hours

Issues response

14 days ago

Last modified

Share

Instagram Cookies Scraper

This Apify Actor is designed to retrieve Instagram session cookies by logging in with a username and password. These cookies can be used for authenticated scraping tasks on Instagram.

How to Use

1. Input Configuration

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

{
"username": "your_instagram_username",
"password": "your_instagram_password"
}
  • username: (Required) The Instagram username.
  • password: (Required) The Instagram password.

2. Output Data

The Actor returns an object containing the session cookies. The structure of the output is as follows:

{
"cookies": "sessionid=xxxxxx",
"status": "success"
}
  • cookies: The session cookies for the logged-in Instagram account.
  • status: The status of the operation. Possible values are "success" or "fail".

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 retrieve the session cookies.
  4. The results will be available in the Actor's dataset.

4. Example Use Case

To retrieve Instagram session cookies:

  1. Set the input as:
    {
    "username": "your_instagram_username",
    "password": "your_instagram_password"
    }
  2. Run the Actor.
  3. Retrieve the output dataset containing the session cookies.

Notes

  • Ensure that the provided username and password are correct.
  • The Actor uses Playwright to simulate a login process and capture the session cookies.
  • The session cookies are essential for performing authenticated requests to Instagram.