Costco Product & Price Scraper avatar

Costco Product & Price Scraper

Pricing

from $1.97 / 1,000 products

Go to Apify Store
Costco Product & Price Scraper

Costco Product & Price Scraper

Scrape Costco.com products by keyword, category URL, product URL or item number: online and warehouse prices, Instant Savings amount with start and end dates, availability, delivery options, ratings and images.

Pricing

from $1.97 / 1,000 products

Rating

0.0

(0)

Developer

Automation Lab

Automation Lab

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

8 days ago

Last modified

Categories

Features

Limited permissions

Share

Scrape Costco.com products by keyword, category URL, product URL or item number. Each product comes back as one clean record with the current online price, list price, Instant Savings amount with start and end dates, warehouse price, price per unit, online and warehouse availability, delivery options, rating, review count, images and category path.

Built for daily and weekly Costco price tracking and Instant Savings monitoring: resellers, deal sites, CPG brands and analysts get every savings offer with the date it ends, not just a price.

What does Costco Product & Price Scraper do?

  • 🔍 Search Costco.com by keyword, like a shopper typing in the search box ("paper towels", "olive oil", "laptops").
  • 🗂️ Scrape whole Costco categories from a category URL, such as https://www.costco.com/laptops.html.
  • 🔢 Look up item numbers and product URLs directly. No browser is needed for this mode, so it is the fastest way to track a fixed list of products every day.
  • 💲 Prices: current online price, list price before savings, the nearest warehouse's in-store price, and price per unit (per roll, capsule, oz and so on).
  • 🏷️ Instant Savings: total savings amount, each offer's text ("$10 OFF"), full terms, start date, end date and per-member limit.
  • 📦 Availability and delivery: online and warehouse stock status, delivery options (Shipping, 2-Day Delivery, Same-Day Delivery, Warehouse Pickup) and shipping speeds.
  • ⭐ Ratings, images, brand, category path, member-only flag and product specifications.

Who is it for?

Resellers and arbitrage sellers

Find Costco products with the deepest Instant Savings and know exactly when each deal ends.

Deal and coupon sites

Publish Costco deals with accurate savings amounts and end dates, refreshed every day.

CPG brands and manufacturers

Monitor your products and competitors on Costco.com: price, savings events, stock and rating.

Pricing and market analysts

Build Costco price history by item number, compare online and in-warehouse prices, and track price per unit across pack sizes.

Why use this Costco scraper?

  • One Actor for every input: keywords, category URLs, product URLs and item numbers in the same run.
  • Dated savings: other Costco scrapers return a price or a discount; this one also returns when each Instant Savings offer starts and ends.
  • Online and warehouse prices: Costco often charges less in the warehouse than online. Both are returned.
  • Clean price per unit, derived from the pack size so you can compare a 12-pack with a 30-pack.
  • No Costco account or cookies needed.

Quick start

  1. Enter one or more Search keywords, paste Costco.com URLs, or list Item numbers.
  2. Set Maximum products per search.
  3. Click Start and download the results as JSON, CSV, Excel or HTML.

Input

FieldDescription
searchQueriesKeywords to search on Costco.com. Each returns up to maxItems products.
startUrlsCostco.com category pages, search result pages or product pages.
itemNumbersCostco item numbers (the "Item 1452518" number on the product page).
maxItemsMost products per keyword or category URL (default 50). Item numbers and product URLs are not limited by this.
includeSavingsDetailsAdd Instant Savings dates, member limits, shipping methods and specifications (default on).
includeOutOfStockInclude products Costco hides because they are sold out (default off).

Example input

Search two keywords and one category:

{
"searchQueries": ["paper towels", "laptops"],
"startUrls": [{ "url": "https://www.costco.com/televisions.html" }],
"maxItems": 100
}

Track a fixed list of products every day:

{
"itemNumbers": ["1452518", "512599", "2001199"]
}

Supported Costco URLs

URLExampleResult
Category pagehttps://www.costco.com/laptops.htmlProducts in the category
Search pagehttps://www.costco.com/s?keyword=olive+oilProducts matching the keyword
Product pagehttps://www.costco.com/p/-/kirkland-signature-paper-towels/100234271That one product
Old product pagehttps://www.costco.com/.product.100737171.htmlThat one product

Only costco.com (US) is supported. Costco.ca and Costco Business Center are not.

Output

One record per product. Example (shortened):

{
"itemNumber": "2044491",
"productId": "4201005956",
"title": "HP OmniBook 3 16\" Touchscreen Laptop - Intel Core Ultra 7 - 16GB Memory - 1TB SSD",
"brand": "HP",
"url": "https://www.costco.com/p/-/hp-omnibook-3-16-touchscreen-laptop/4201005956",
"price": 699.99,
"listPrice": 1199.99,
"currency": "USD",
"instantSavings": 500,
"instantSavingsText": "$355 OFF",
"instantSavingsStartDate": "2026-11-01T07:00:00Z",
"instantSavingsEndDate": "2026-12-01T07:59:00Z",
"savingsOffers": [
{ "amount": 355, "text": "$355 OFF", "details": "$355 savings is valid 11/1/26 through 11/30/26. While supplies last. Limit 2 per member.", "startDate": "2026-11-01T07:00:00Z", "endDate": "2026-12-01T07:59:00Z", "limitPerMember": 2 },
{ "amount": 145, "text": "$145 OFF", "details": "$145 manufacturer's savings is valid 11/1/26 through 11/30/26. While supplies last. Limit 2 per member.", "startDate": "2026-11-01T07:00:00Z", "endDate": "2026-12-01T07:59:00Z", "limitPerMember": 2 }
],
"pricePerUnit": null,
"warehousePrice": null,
"memberOnly": false,
"onlineAvailability": "In stock",
"deliveryOptions": ["Shipping"],
"shippingMethods": ["Standard", "Express 1 to 2 Business Days"],
"rating": 3,
"reviewCount": 3,
"imageUrl": "https://gdx-assets.costco.com/adobe/assets/urn:aaid:aem:6ad980ed-6d9b-423d-b091-3bddc4e96588/as/4201005956-847__1.avif",
"categoryPath": ["Computers", "Laptops", "Windows Laptops"],
"sourceType": "search",
"position": 1,
"scrapedAt": "2026-11-17T07:29:16.931Z"
}

Data fields

FieldDescription
itemNumber, productIdCostco item number (the priced variant) and product ID from the URL
title, brand, urlProduct name, brand and Costco.com link
price, listPrice, priceMaxOnline price after savings, before savings, and highest variant price
instantSavings, instantSavingsTextTotal savings amount and first savings label
instantSavingsStartDate, instantSavingsEndDateWhen the first savings offer starts and ends
savingsOffersEvery offer with amount, text, terms, dates and member limit
promotionTextsAll promotion labels, including "Buy more, save more" offers
pricePerUnit, unitCount, unitNamePrice per unit derived from the pack count or size
warehousePrice, warehouseIdIn-warehouse price at the nearest warehouse, when it differs
memberOnly, priceInCartOnlyMember-only product; price shown only in cart
onlineAvailability, warehouseAvailabilityStock status online and in the warehouse
deliveryOptions, shippingMethodsHow the product can be delivered and shipping speeds
rating, reviewCountAverage stars and number of ratings
imageUrl, images, categoryPath, attributesImages, category path and specifications
source, sourceType, position, scrapedAtWhere the record came from, its rank and timestamp

Search and category results include stock status and warehouse prices. Item number lookups return price, savings, rating and specifications but not stock status.

How much does it cost to scrape Costco?

The Actor uses pay-per-event pricing: a small fee per run plus a fee per product saved. You pay only for products delivered.

EventPrice
Run start$0.03
Product (Free and Starter plans)$0.0024678
Product (Scale plan)$0.002221
Product (Business plan and above)$0.0019742

Example: 100 products on the Free plan cost about $0.03 + 100 × $0.0024678 = $0.28. 1,000 products cost about $2.50. The start fee covers the browser session and residential proxy every run needs. Set Maximum charge per run to cap any run.

Scheduling price tracking

Use Apify Schedules to run the same input every day or week, then compare price, instantSavings and instantSavingsEndDate between runs. The item number mode is the fastest and cheapest for a fixed product list.

Integrations

Send results to Google Sheets, Zapier, Make, Slack, webhooks, Amazon S3 or any database through Apify integrations, or read the dataset through the Apify API.

API usage with cURL

curl -X POST "https://api.apify.com/v2/acts/automation-lab~costco-product-price-scraper/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"searchQueries": ["olive oil"], "maxItems": 20}'

API usage with JavaScript

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const run = await client.actor('automation-lab/costco-product-price-scraper').call({
searchQueries: ['olive oil'],
maxItems: 20,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.filter((item) => item.instantSavings));

API usage with Python

from apify_client import ApifyClient
client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("automation-lab/costco-product-price-scraper").call(
run_input={"itemNumbers": ["1452518", "512599"]}
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item["title"], item["price"], item["instantSavingsEndDate"])

Use with Apify MCP and AI agents

Claude Code

$claude mcp add --transport http apify https://mcp.apify.com?tools=automation-lab/costco-product-price-scraper

Claude Desktop, Cursor, and VS Code setup

Use this mcpServers JSON in Claude Desktop or Cursor. VS Code users can add the same HTTP MCP server through the MCP configuration panel.

{
"mcpServers": {
"apify": {
"type": "http",
"url": "https://mcp.apify.com?tools=automation-lab/costco-product-price-scraper"
}
}
}

Example prompts:

  • "Find Costco laptops with Instant Savings and tell me when each deal ends."
  • "Get the current Costco price for item numbers 1452518 and 512599."
  • "Compare price per roll for Costco paper towels."

Performance and limits

  • A search or category run starts one browser session, then fetches up to 96 products per request. 100 products usually take under a minute.
  • Item number runs need no browser and return 20 products per request.
  • Costco caps very deep result pages; split a broad search into narrower keywords or categories for complete coverage.

Tips for best results

  • Use item numbers for daily tracking of a known product list: faster and cheaper than search.
  • Use specific keywords ("kirkland olive oil") to keep results relevant.
  • Keep Add Instant Savings dates on when you need savings end dates.

Troubleshooting

Why did a keyword return a category?

Costco sends some keywords (like "tv") straight to a category page. The Actor follows that redirect and returns the category's products.

Why are some item numbers missing?

Costco no longer lists them. The run log names every item number Costco did not return.

Why is the price per unit empty?

It is only filled when the pack count or size is clear from the product's quantity or title.

Why do two runs of the same keyword return different counts?

Costco shows each US region its own assortment, and hides products that are out of stock there. Each run uses one US shopper location (logged as the session's state and ZIP code), so counts can differ between runs. For a fixed product list, use item numbers: they always return Costco's national online price.

Why is the warehouse price empty?

The product is online-only, or the warehouse price equals the online price data Costco returns.

This Actor collects publicly available product and price information from Costco.com without logging in. Use the data in line with Costco's terms and applicable laws, and do not use it to overload the website. You are responsible for how you use the data.

Data handling and diagnostics

Results are stored only in your Apify datasets, key-value stores and run logs, which follow your account's retention settings. No AI model is used. When a run fails, sanitized diagnostics (exception, Actor/build/run IDs and the input with secret fields and URL queries removed) are sent to our private GlitchTip error tracker and kept for 30 days so we can fix the problem. Deleting Apify storage does not delete those reports.

FAQ

Does it require a Costco membership or account?

No. It reads the public Costco.com catalog.

Does it use a proxy or browser?

Yes. It uses Apify residential proxies, and a browser for search and category pages. Both are included in the price.

Can I scrape Costco.ca?

Not yet. Only costco.com (US) is supported.

Can I export to CSV or Excel?

Yes. Download the dataset as CSV, Excel, JSON, XML or HTML.

Can I run it on a schedule?

Yes, with Apify Schedules, daily or weekly.

Support

Found a bug or need a field? Open an issue on the Actor's Issues tab and we will help.