Skip to main content
All CollectionsGeneral
How to get the cookie string for your Amazon account?
How to get the cookie string for your Amazon account?

Getting the cookie string for your Amazon account to scrape reviews for your products on Amazon

Raunaq Singh avatar
Written by Raunaq Singh
Updated over a month ago

Amazon recently made a change that blocks their reviews pages to visitors who are not logged-in. After this change we need to use the cookie string from our Amazon account to be able to scrape reviews.

Here's how you can get the cookie string for your Amazon account.

Before proceeding make sure that the Amazon account you are copying the cookie for belongs to the country domain that you want to scrape reviews from.

Login, right-click & inspect

Login to your Amazon account and open developer tools by right clicking anywhere on the page and then clicking on Inspect

Click on Network tab & Doc filter

Navigate to the Network tab within the developer tools window and then the Doc tab within the Network tab

Find Cookie in Request Headers & copy entire string

Go to any Amazon product URL and click on the document request for that page within the Network tab. On the right side of the pane you can see details about the request. Scroll to the Request Headers and copy the entire value of the header with the label Cookie

If you do not see the Cookie header, refresh the page with the network tab open and the value should appear.

Why we need to do this

Amazon made an update to their site earlier this month blocking access to the reviews page (See all reviews) for all products for users who are not logged-in.
​
This is why we need you to copy the value of the cookie on your Amazon account and pass it to the Amazon Reviews API or Amazon Reviews Scraper as described on the respective how-to pages linked.

We chose this route over saving your Amazon credentials with us, as that is the only 2nd alternative.

Which browser to choose

The above instructions work well for Safari on Mac OSX and Google's Chrome on Windows or Mac OS.

On Firefox, the value of the cookie string is compressed and if you copy and use it with our API it will result in a failure.

Did this answer your question?