Retail analysts
Price snapshots
Scrape Costco prices and ratings for a keyword set, then compare visible offers against other retailers or internal catalog targets.
Limited Time — Lifetime Access for just $99. Lock in before prices rise.
The Costco product listing scraper turns Costco Wholesale keyword search results into a structured CSV export. It opens a Costco search URL such as milk, waits for live product cards, loops through available result pages, and captures product name, price, detail page, image URL, rating, review count, and best rating from a local desktop app workflow.
CSV file
8
Next loop
13
Free
What it does
This template is built for Costco listing pages, not individual product detail pages. The Navigate block starts from a Costco search URL, the workflow waits for the page to finish loading, and a condition checks whether the browser received an Access Denied response. If the live page is available, UScraper waits for product-card elements and sends them to Structured Export.
The bundled workflow also includes a fallback path used during template validation. When Costco blocks the automated session, it injects sample Costco rows from the Octoparse preview so the CSV structure, headers, and extraction logic can still be verified. For live use, edit the Navigate URL and run from a Costco-accessible browser, IP, and session.
Scrape Costco product listings
Collect product cards from keyword result pages for categories like groceries, protein shakes, appliances, or high-volume searches such as Costco vacuum products.
Export Costco products to CSV
Keep names, prices, links, images, ratings, review counts, and the original keyword in spreadsheet-ready columns.
Follow result pagination
The workflow checks for an enabled Next control, clicks it, waits for refresh, and repeats until no next page remains.
Keep the run local
The automation runs in your desktop browser context and writes a normal CSV file to the folder you choose.
Who uses it
Retail analysts
Price snapshots
Scrape Costco prices and ratings for a keyword set, then compare visible offers against other retailers or internal catalog targets.
Ecommerce operators
Assortment research
Export Costco products for category discovery, brand checks, product naming research, and quick spreadsheet review before deeper enrichment.
Market researchers
Review signals
Collect rating and review count fields beside product names so popular listings can be prioritized for manual inspection.
How to use
Download and import
Download the free JSON template from this page and import it into UScraper.
Edit the keyword URL
Open the Navigate block and replace the sample https://www.costco.com/CatalogSearch?dept=All&keyword=milk URL with your own Costco keyword search.
Run a small test
Start with one keyword, confirm that Costco returns product cards in your browser session, and review the first exported rows.
Confirm the export folder
Check the Structured Export save location and keep the default file name, costco-product-listing-scraper.csv, or rename it for your batch.
Loop and open the CSV
Let the Next pagination loop finish, then open the CSV for filtering, deduplication, and analysis.
At a high level, the graph is simple to audit: Navigate to a search results page, wait for page load, branch around Access Denied, wait for product rows, export structured fields, check for an enabled Next button, click it, wait again, and continue until pagination ends. If your first live run exports only fallback rows, change the browser session or network path before scaling.
Output preview
costco-product-listing-scraper.csvColumn
keyword
Search keyword from the current Costco URL or fallback row.
Column
name
Visible Costco product title from the listing card.
Column
price
Displayed product price when available.
Column
detail_page
Absolute Costco product detail URL.
Column
image
Primary listing image URL.
Column
rating
Rating value parsed from visible review markup.
Column
review_count
Visible number of customer reviews.
Column
best_rating
Rating scale maximum, usually 5.
Sample rows
2 of many
| keyword | name | price | detail_page | image | rating | review_count | best_rating |
|---|---|---|---|---|---|---|---|
| milk | Muscle Milk Genuine Protein Shake Chocolate, 11 fl oz, 18-pack | $31.99 | 4.7155 | 239 | 5 | ||
| milk | Orgain 30g Milk Protein Shake, Chocolate Fudge, 11 fl oz, 18-pack | $36.99 | 3.6132 | 424 | 5 |
Costco product pages may be public, but automated collection can still be governed by Costco's terms, robots directives, copyright, database rights, privacy law, and regional rules. Use modest volumes, avoid account-only or restricted data, do not bypass access controls, and get legal review before using Costco product data commercially.
Before you scale
Checks for reliable Costco exports
Use an accessible browser session
Costco returned Access Denied during automated validation, so expect some sessions or networks to need manual adjustment before live scraping works.
Keep pacing conservative
Avoid heavy parallel runs. Add longer waits if pages slow down, rows disappear, or Costco begins returning challenge or access pages.
Watch for empty fields
Product-card selectors, price markup, review labels, and pagination controls can change. If exported fields go blank, inspect the page and refresh the workflow.
Review Costco rules
Review Costco's robots.txt and terms and conditions before collecting, republishing, or reselling product data.
Install the UScraper local desktop app, import the free Costco JSON template, and use it when you need a repeatable way to export Costco products into a clean CSV.
Download and use this template instantly
UScraper templates are open source. Improve this workflow or contribute a new one to help the community grow.
Contribute on GitHubBrowse more templates in the library
All TemplatesHere are some of our most common questions. Can't find what you're looking for?
View All FAQsDownload UScraper and build your first web scraper in under 10 minutes. No subscriptions, no code, no limits.
Available on Windows 10+ and macOS 12+ · Need help? [email protected]