Leave empty when scraping only:
- public profile URLs;
- public post/reel URLs;
- comments on a public post/reel URL;
- audio URLs.
Paste your own Instagram cookies when using:
- Keyword Search;
- hashtag URLs;
- location URLs;
/username/reels/ URLs;
/username/tagged/ URLs;
- private, age-limited, login-walled, or hidden pages.
How to copy cookies from Chrome / Edge
- Open
instagram.com and log in to your own account.
- Open the Instagram page you want to scrape, or open Instagram search if you want Keyword Search.
- Press
F12, or right-click the page and choose Inspect.
- Open the Network tab and enable Preserve log if it is available.
- Refresh the Instagram page with
Ctrl+R.
- Click the main document request:
www.instagram.com or the request named like the username / page path. Do not click image, CSS, JavaScript, GraphQL, or analytics requests.
- Open Headers -> Request Headers.
- Find Cookie and copy the full value. Copy only the value after
Cookie:, not the word Cookie:.
- Paste that value here.
Correct format:
sessionid=...; csrftoken=...; ds_user_id=...; mid=...
If you cannot find Cookie, keep DevTools open on Network, refresh again, click the request with Type document / doc, and check Request Headers. Do not copy Set-Cookie from Response Headers.
You can also paste JSON from Cookie-Editor or a Netscape cookie export. Cookies are sensitive and work like a password: use only your own Instagram account cookies and do not share them.