How to Scrape an Ecommerce Website (Products, Prices, Stock)

Export your own store's products, pull a few pages with IMPORTXML, or have ChatGPT or Claude collect every product, price and stock level on Simular Box.
Advanced computer use agent
Production-grade reliability
Transparent Execution

What scraping an ecommerce website means

Scraping an ecommerce site means collecting product details from its pages into a structured file: one row per product, with columns like name, price, stock, rating and URL. People do it to compare prices, track a competitor's catalog, check stock or build a product list for research. The details are already on the page; scraping just saves you from copying them by hand, page after page.

Let Sai handle your repetitive work

Delegate to Sai

How to Scrape an Ecommerce Website (Products, Prices, Stock)

Quick answer: If the store is yours, export the products from its admin (in Shopify: Products > Export) instead of scraping. For a handful of public product pages, copy the details or pull them into Google Sheets with IMPORTXML. For a whole category across many pages, have ChatGPT or Claude open the store in Chrome on Simular Box, read each product card, follow the Next button and save name, price, stock and link to a CSV. Check the site's terms first and go at a human pace.

Prompt to try:

Use box to open [category URL] in Chrome. For every product, collect name, price, stock status, rating if shown, and product link. Click Next until there are no more pages, waiting a few seconds between pages. Save it as products.csv in [folder on the box] and tell me how many products you saved.

Ways to get product data from an online store, compared

MethodBest forHandles many pagesNeeds codeLimits
Export from your own storeYour own productsYes, the whole catalogNoOnly stores you run
Copy and pasteA few productsNoNoSlow and easy to get wrong
Google Sheets IMPORTXMLA few pages with stable HTMLOne formula per pageXPathBreaks when pages load with scripts
ChatGPT or Claude with Simular BoxWhole categories, pagination, sign-in pagesYesNoFollow each site's terms

Before you scrape a store

  • Read the terms. Many stores limit automated collection. Collect only what you're allowed to use.
  • Look for an official route. Your own store has an export; some marketplaces and brands offer feeds or APIs.
  • Check robots.txt. It tells crawlers which URLs a site wants crawled. It doesn't enforce anything, and respectable crawlers obey it.
  • Go gently. One page at a time, with a pause between pages, at about the pace a person would browse.
  • Skip personal data. Product details are fine; reviewers' names and profiles usually aren't yours to collect.

Method 1: Export the products from your own store

If you run the store, you don't need to scrape it. In Shopify:

  1. From your Shopify admin, go to Products.
  2. Click Export.
  3. Choose which products: the current page, all products, the ones you selected, or the ones matching your search and filters.
  4. Choose CSV file for Excel, Numbers, or another spreadsheet program, or Plain CSV file.
  5. Click Export products.

Shopify downloads the file in your browser or emails it to you, depending on the export. Product images aren't in the CSV, and neither are collections.

Method 2: Copy a few product pages into a sheet

For five or ten products, copying name, price and link into a sheet is quicker than any setup. If the pages are simple HTML, Google Sheets' IMPORTXML can pull an element from each page with an XPath query, for example the product title or price. It works one URL per formula and struggles with pages that build their content with scripts. See How to master IMPORTXML in Google Sheets.

Method 3: Scrape a whole category with Simular Box

Category pages, search results, product cards spread across ten pages, prices that load after the page opens: this is where reading the page like a person does pays off. Simular Box (box by Simular) gives ChatGPT or Claude a cloud computer with Chrome, a terminal and files that stay. Your AI opens the store in box's Chrome, reads every product card, follows pagination and writes the rows to a CSV on the box.

What the agent does

  1. Opens the category or search page in box's Chrome and scrolls so every product loads.
  2. Reads the fields you asked for from each product card.
  3. Clicks Next (or works through your list of URLs), pausing between pages.
  4. Writes one row per product to a CSV in the folder you chose.
  5. Tells you how many products it saved and which pages, if any, it couldn't read.

We tested the flow on a box with a practice bookstore built for scraping: the agent read both pages of one category in Chrome and saved 32 books to a CSV with title, price, stock, rating and link.

Prompts to try

Use box to collect name, price and stock for every product in [category URL], following Next until the last page. Save it as [store]-[date].csv in [folder on the box].
Use box to open each product URL in [list.csv] and add the current price and stock as new columns. Wait a few seconds between pages.
Use box to compare today's products.csv with last week's in [folder on the box] and list new products, removed products and price changes.

Connect, ask, keep

Connect. In ChatGPT, search for box by Simular in Plugins and install it in one click. For Claude and other apps, see the box setup guide.

Ask. Paste a prompt with the store and the fields you want. You can watch box's screen live and take control at any time, for example if the store asks you to sign in or pick a region.

Keep. Every CSV stays on the box, so next week's run can be compared with this one. To bring the files to your own computer, use Copy files.

Try Simular Box

What to collect

  • Price research: name, price, sale price, currency, product link.
  • Catalog tracking: name, SKU if shown, category, date first seen.
  • Stock checks: name, stock status, delivery estimate.
  • Assortment comparison: brand, product type, price band.

Keep the columns to what you'll use. Fewer fields mean faster runs and cleaner files.

Limitations

  • Stores change their layout; a run that worked last month may need new instructions.
  • Some stores block automated visits or forbid scraping in their terms. Follow them.
  • Prices can depend on region, sign-in and cart contents; note what the agent saw.
  • If a store needs a sign-in, take control on the box and sign in yourself; the agent never types passwords or payment details.

More questions

How often can I re-check prices?

As often as the site's terms allow. A weekly or daily run is usually enough for price tracking, and the old CSVs on the box let you compare.

Does robots.txt stop scraping?

No. It tells crawlers what a site wants crawled, but it can't enforce it. Respectable crawlers, and you, should follow it.

Related

Sources: Shopify Help Center, Exporting products; Google Search Central, Introduction to robots.txt; box docs. Checked 30 Nov 2026.

Scrape a Whole Store Category With Simular Box

Connect box to your AI
In ChatGPT, search for box by Simular in Plugins and install it in one click. For Claude and other apps, follow the box setup guide.
Name the store and fields
Paste the category link and the fields you want with the prompt on this page. Your AI follows Next until the last page while you watch.
Keep every run
Each CSV stays on the box, so next week's prices can be compared with this week's.

Stop doing repetitive tasks. Let Sai handle them for you.

Sai is your AI computer use agent — it operates your apps, automates your workflows, and gets work done while you focus on what matters.

Try Sai

FAQS