ParseForge Scrapers

Costco Product Scraper

parseforge/costco-scraper

E-commerceAutomationDeveloper tools

Scrape product data from Costco.com by search, category, or direct URL. Returns name, price, rating, reviews count, and stock status.

Run this scraper See the API call
Total users
111
Monthly active
10
Total runs
2.4K
Bookmarked
2
Rating
5.0 (2)
Last modified
12 days ago

Overview

ParseForge

Costco Product Scraper

Scrape Costco product data from any category, search query, or direct URL, up to a million items per run. Every product comes with its name, price, price per unit, rating, reviews count, and stock status. No login or API key. Export to CSV, JSON, Excel, or XML.

Costco.com does not offer a public API for product data, making it hard to track pricing, inventory, or product details at scale. This scraper reads product listings from search results, category pages, and individual product URLs directly, returning each item in a consistent schema. It handles pagination automatically and respects site limits.

Who uses it What they scrape Costco for
Price comparison analysts Monitor Costco pricing across categories for competitive intelligence.
Inventory researchers Track product availability and stock changes over time.
E-commerce marketers Gather product data for market research or content creation.
Data scientists Build datasets of Costco products for analysis or machine learning.

What it does

This Actor collects product data from Costco.com by search query, category filter, or direct product/category URLs, and returns each product as a flat row with name, price, price per unit, rating, reviews count, and stock status.

  • ๐Ÿ” Search by keyword: Enter a product name or keyword to find matching items.
  • ๐Ÿ“‚ Category filter: Narrow results to a specific department like electronics or appliances.
  • ๐Ÿ”— Direct URLs: Provide product or category page URLs for targeted scraping.
  • ๐Ÿ“Š Pagination handled automatically: The scraper follows next-page links until the max item limit is reached.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

What you can do with Costco data

๐Ÿ“ˆ Track pricing trends.

A retailer runs weekly scrapes of Costco electronics to adjust their own pricing strategy.

๐Ÿ“ฆ Monitor product availability.

A supply chain analyst scrapes Costco appliance categories daily to detect stockouts and restocks.

๐Ÿ” Research product assortments.

A market researcher collects all Costco furniture listings to analyze category breadth and pricing.

๐Ÿ“Š Build training datasets.

A data scientist scrapes thousands of Costco products to train a product classification model.

Why choose this scraper

What you get
No login needed Scrape Costco.com without creating an account or using an API key.
Structured output Each product row includes name, price, price per unit, rating, reviews count, and stock status.
Flexible input Use search keywords, category filters, or direct URLs to target exactly what you need.
Scalable Collect up to 1 million products per run with automatic pagination.

How it compares

This actor competes with other Costco scrapers on Apify, offering a balance of features and ease of use.

Feature ParseForge CostCo Reviews Scraper CostCo Fast Product Scraper
Product name Yes Not listed Yes
Price Yes Not listed Yes
Price per unit Yes Not listed Yes
Rating Yes Not listed Yes
Reviews count Yes Not listed Yes
Stock status Yes Not listed Yes
Product reviews Not listed Yes Not listed

Configure the run

Drive the Actor from search queries, category filters, or direct URLs, alone or together, and filters run as each product is read so only matches reach your dataset. The Input tab lists every parameter.

A first run with the defaults:

{
  "maxItems": 10,
  "searchQuery": "smart watch"
}

A larger pull:

{
  "maxItems": 200,
  "searchQuery": "smart watch"
}

Pricing

Pay-per-result: $0.05 per result collected. You pay only for the results written to your dataset.

Results collected Approximate cost
100 results $5.00
1,000 results $50.00
10,000 results $500.00

New Apify accounts start with $5 in free credit.

Free users

Free-plan runs return up to 10 results as a preview. Upgrade your Apify plan to collect up to 1,000,000 results per run.

Run it

  1. Create a free Apify account with $5 in credit.
  2. Open the Costco Product Scraper.
  3. Set your inputs and any filters, then click Start.
  4. Export the results as CSV, Excel, JSON, or XML from the Dataset tab.

Run it programmatically through the Apify API (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.

Use with AI agents (MCP)

Give an AI agent live access to Costco through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/costco-scraper"

Then prompt it in plain language to run the scraper and read back the results.

Troubleshooting

Why am I getting no results?

Check that your search query or category filter is spelled correctly. Also ensure you are not mixing direct URLs with search filters, as they are mutually exclusive.

The scraper stopped early before reaching my max items.

Costco.com may limit the number of pages or results available for a given search. Try using a broader search query or category filter.

I see duplicate products in the output.

Some products may appear in multiple categories or search results. The scraper does not deduplicate by default. You can remove duplicates in post-processing using the product URL or name.

The scraper is slow or timing out.

Reduce the maxItems setting or narrow your search query to fewer results. The scraper respects site rate limits to avoid being blocked.

FAQ

Question Answer
Do I need a Costco account to use this scraper? No, the scraper accesses public product pages on Costco.com without any login.
Can I scrape product reviews with this actor? No, this scraper focuses on product data like name, price, and stock. For reviews, use the CostCo Reviews Scraper.
What is the difference between search query and category filter? Search query finds products by keyword across all categories. Category filter narrows results to a specific department like electronics.
Can I use both direct URLs and search filters in one run? No, they are mutually exclusive. Choose one input method per run.
How many products can I scrape per run? You can set a maximum from 1 to 1,000,000 products. The scraper stops when it reaches that limit.
Does the scraper handle pagination? Yes, it automatically follows next-page links on search and category pages.
What data fields are returned? The output includes product name, price, price per unit, currency, rating, reviews count, stock status, and more. The full field list appears after a run.
Can I schedule regular runs? Yes, you can schedule the actor to run daily, weekly, or at custom intervals via the Apify platform.

Related actors

Browse the full ParseForge collection for more scrapers.

๐Ÿ†˜ Need help? Email parseforge@protonmail.com with your run ID, your input, and what you expected.

โš ๏ธ Disclaimer. This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by Costco Wholesale Corporation. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.

Input

FieldTypeWhat it doesDefault
maxItems integer How many products to collect per run. 10
startUrls array Direct Costco product or category page URLs to scrape. Use this OR search filters below, not both. not set
searchQuery string Search term to find products on Costco.com. Use this OR startUrls above, not both. smart watch
category string Optional category filter (e.g., 'electronics', 'appliances', 'furniture') not set

Pricing

from $2.90 per 1,000 results

Charged forWhat it isPrice each
Actor Start Charged when the Actor starts running. Number of events charged depends on Actor memory (one event per GB, minimum one event). $0.02 to $0.05
result Single result in the default dataset. $0.0029 to $0.0099

Tiered: the lower figure is the price on a higher Apify plan. Billing and the free credit live on Apify.

API

One POST returns the dataset directly. Same shape for every scraper in the library, so swapping the slug is the only change.

POST ยท run and get results
curl -X POST "https://api.apify.com/v2/acts/parseforge~costco-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "helloWorld": 123
  }'

Examples

Input that runs as-is.

input.json
{
  "helloWorld": 123
}

Reviews

Rated 5.0 out of 5 across 2 reviews. Read them on Apify.

Issues

We build and maintain this scraper, so a problem with it comes to us. Report it on the Apify listing and the thread stays attached to the scraper where the next person can find it: open an issue.

Broken and urgent, or you would rather not post in public? Write to parseforge@protonmail.com and it reaches the people who wrote it.

Related scrapers

Run Costco Product Scraper on Apify All scrapers