Scrape Amazon product data into a Google Sheet


How to scrape Amazon product data into a Google Sheet: install the Chrome extension, click Build with Browser agent, tell the agent what you want, and follow its prompts. A working bot is built and tested in minutes.

Here is how the automation works. To scrape Amazon product data, put the product links in a Google Sheet and loop through them: a Loop through data step opens each link, Get data from bot's current page scrapes the title, price and rating, and Write data to a Google Sheet files them. Each link is deleted from the sheet once it is scraped, so the automation can be stopped and restarted without repeating work.

Author
Alex Barlow
Published

Build the Amazon scraper from a description


Describe it and click the button: the agent builds and tests the Amazon scraper in your Chrome extension.

  1. Open each Amazon product link in my Google Sheet
  2. Scrape the title, price and rating
  3. Add them to the Data tab of my sheet
  4. Delete the link row once it is scraped
Click to launch the Chrome extension. Not installed? You can create an account and try it free.Opens the Chrome extension. Free account to try.

You need a Google Sheet with two tabs: Amazon product links, one product URL per row in column A with no header, and Data, empty. To collect the links from a search or category page first, see scrape links from a website. Leave the sheet alone while the run adds rows to Data and deletes links.

The video shows the agent building the Amazon product scraper from the lines above, in a few minutes.

Build the Amazon scraper step by step


The steps the agent builds, as the Builder shows them: each step by its name, with the fields to set under it. Add them yourself in this order in the step-by-step builder, or open the agent's result there to adjust it.

  • 1.0 Read data from a Google Sheet
    • Spreadsheet: your sheet
    • Sheet name: Amazon product links, the tab with one product link per row in column A
  • 2.0 Loop through data
    • repeats for every row in [google-sheet-data]
    • 2.1 Go to page
      • URL: the link column of [google-sheet-data]
    • 2.2 Get data from bot's current page
      • Select: the title, price and rating on the product page, one column each
      • Max results: 3
    • 2.3 Write data to a Google Sheet
      • Spreadsheet: your sheet
      • Sheet name: Data
      • DATA: [scrape-data]
      • Write options: Add to existing data
    • 2.4 Delete rows from a Google Sheet
      • Spreadsheet: your sheet
      • Sheet name: Amazon product links
      • First row: 1
      • Last row: 1

Common questions about scraping Amazon product data


Why does the Amazon scraper get the wrong field, or nothing?

Amazon's pages vary by product type, so reselect the field. In Get data from bot's current page, reselect the field on the page that failed, or paste a custom CSS selector. When a run fails, hand it to the agent and it repairs the step.

What do I do when Amazon blocks the scraper?

Run it on your own machine with the desktop app, where it uses your browser, or slow the loop down with a Wait step between pages.

Why is nothing written to the Data tab?

Usually the data or the tab is wrong. In Write data to a Google Sheet, check that DATA is [scrape-data] and Sheet name is Data.

Why does each run overwrite the last one in the sheet?

Set Write options on the sheet step to Add to existing data, so each run adds rows below the last.

Set Last cell in Read data from a Google Sheet. A100 reads the first hundred links.

How do I make the Amazon scraper faster?

Open Configure scraper on the scrape step and set No. of retries to 1, and keep Max results equal to the number of fields you selected.

Can I scrape Amazon product data without code?

Yes. Every step is a no-code step in the Chrome extension, and the only thing you supply is the sheet of product links.

Can I scrape Amazon prices on a schedule?

Yes. Save the automation and set a schedule; each run works through the links left in the Amazon product links tab, so top the tab up with the links you want checked again.

Can I scrape ASINs or Amazon books instead?

Yes. See scrape Amazon ASINs and scrape product details from Amazon books. To post on Amazon rather than scrape it, see automate Amazon posts.

Where do I get help?

Get in touch with support, or ask in the axiom.ai community.

Related guides