| title | How to Get Your Instagram Cookie |
|---|---|
| description | Step-by-step visual walkthrough to securely extract your Instagram session cookie from your desktop browser. |
This guide explains how to extract your Instagram session cookie to authenticate the scraper.
Important
- Your cookie acts like a digital password for your Instagram session. Never share it publicly.
- Do NOT log out of Instagram in the browser where you extracted the cookie, as logging out immediately revokes the session ID. Simply close the tab instead.
- Using a secondary burner Instagram account or exporting from a dedicated browser profile is recommended for extra isolation.
Works on Google Chrome, Brave, Microsoft Edge, and Firefox.
-
Log in to Instagram: Open https://www.instagram.com on your desktop browser and ensure you are logged in.
-
Open Developer Tools: Press
F12(or right-click anywhere on the page and select Inspect /Ctrl+Shift+Ion Windows,Cmd+Option+Ion Mac). -
Navigate to the Network Tab:
- Click the Network tab at the top of the Developer Tools panel.
- In the filter box, type
graphqlorinstagram.com.
-
Trigger a Request:
- Refresh the page (
F5orCmd+R) or click on your profile/saved tab. - You will see multiple network requests populate in the list.
- Refresh the page (
-
Copy the Cookie:
- Click on any request made to
instagram.com(e.g.graphql/queryorfeed/saved/). - In the right-hand panel, select the Headers tab.
- Scroll down to the Request Headers section.
- Locate
cookie:orCookie:. - Right-click the value and select Copy value (or select all text and copy).
- Click on any request made to
┌────────────────────────────────────────────────────────────────────────┐
│ Request Headers │
├────────────────────────────────────────────────────────────────────────┤
│ accept: */* │
│ cookie: csrftoken=...; ds_user_id=123456789; sessionid=123456%3A...; │
│ user-agent: Mozilla/5.0 ... │
└────────────────────────────────────────────────────────────────────────┘
- Paste into InstaSave Tracker: Paste the full cookie string into the Onboarding Wizard or Settings page and click Test & Verify Cookie.
If you prefer using an extension:
- Install a reputable cookie manager like Cookie-Editor (available for Chrome and Firefox).
- Navigate to instagram.com.
- Click the Cookie-Editor icon in your browser toolbar.
- Click Export -> Export as Header String.
- Paste the exported string into InstaSave Tracker.
For successful scraping, the cookie string must contain at least:
sessionid: Your active Instagram session token.ds_user_id: Your Instagram numeric user ID.csrftoken: The CSRF verification token.
If any of these are missing, Instagram will reject the request with login_required.