Costco Scraper - Products, Prices, Reviews & Warehouses
Pricing
from $2.20 / 1,000 results
Costco Scraper - Products, Prices, Reviews & Warehouses
Extract Costco products, prices, ratings, reviews, categories, and warehouse locations across eight markets by search, category, or URL. Export structured JSON, CSV, or Excel for retail price monitoring, APIs, and AI agents via MCP.
Pricing
from $2.20 / 1,000 results
Rating
0.0
(0)
Developer
kane liu
Maintained by CommunityActor stats
1
Bookmarked
12
Total users
3
Monthly active users
3 days ago
Last modified
Categories
Features
Share
Extract Costco products, prices, reviews, categories, and warehouse locations across 13 Costco markets as rows you can export.
- Search products or browse categories and Hot Buys.
- Get product identifiers, prices, promotions, ratings, availability, and images when shown.
- Collect reviews, category entries, or warehouse addresses as separate row types.
- Choose from 13 Costco markets (
US,CA,MX,UK/GB,AU,JP,KR,TW,IS,NZ, plus warehouse-locator sitesFR,ES,SE) and optional regionallocale(fr-CA, secondary English catalog labels). - Track price drops,
.97clearance signals, and stock changes across scheduled runs withincrementalMode. - Pay only for rows delivered: $3.00 per 1,000 rows on the Free plan, plus a start fee.
What does Costco Scraper do?
Costco Scraper collects publicly available shopping and warehouse data from costco.com, costco.ca, costco.com.mx, costco.co.uk, costco.com.au, costco.co.jp, costco.co.kr, costco.com.tw, costco.is, costco.co.nz, costco.fr, costco.es, and costco.se. Use one target per run for price tracking, assortment research, review analysis, or location lookup.
- Product listings: search with
keyword, browse withcategoryUrlorcategorySlug, or choose atopic. - Product details: use
productUrloritemId. - Reviews: choose
productReviews; each review is a separately billed row, not an automatic addition to a product row. - Locations and categories: choose
warehouseLocationsorcategoryTree. - Optional enrichment:
enrichDetailsis off by default. It adds available product details to existing listing rows, rather than creating extra rows.
This is an unofficial tool, not affiliated with Costco. It does not place orders or access private member accounts.
What data can you extract from Costco?
Fields depend on the selected mode and what Costco provides. Missing values may be absent or null. rowType distinguishes products, reviews, warehouses, and categories.
Product rows
| Field | Description | Example |
|---|---|---|
rowType | Entity type | product |
itemId | Costco item number | 4000376434 |
sku | Additional product identifier, when supplied | null |
title | Product name | Paper towels, 12 rolls |
url | Product link | https://www.costco.com/p/-/ninja-crispi-portable-air-fryer/4000376434 |
upc | Barcode number, when supplied | null |
price | Displayed price, not a checkout quote | 119.99 |
warehousePrice / deliveryPrice | Warehouse and delivery prices, when shown separately | null |
promotions / instantSavings | Active offers and member instant savings, when shown | null |
priceEndsIn97 | true when the displayed price ends in .97 (clearance signal) | null |
englishName | Secondary English product title on non-English markets, when supplied | null |
changeType / previousValue | Incremental diff status (new, changed, unchanged, expired) and prior values when incrementalMode is active | null |
currency | Currency associated with the price | USD |
brand | Brand shown for the product | Ninja |
rating | Average product rating | 4.7 |
reviewCount | Number of ratings or reviews shown | 125 |
availability | Availability information when supplied | InStock |
images | Product image links, when available | [] |
features / specs | Feature bullets and specifications, mostly on product details | null |
pdp | Additional details on enriched listing rows | {"brand":"Ninja"} |
browseCountry | Selected market | US |
sourceSurface | Type of page supplying the row | keywordSearch |
scrapedAt | Collection timestamp | 2026-10-24T00:00:00Z |
Review rows
| Field | Description | Example |
|---|---|---|
rowType | Entity type | review |
reviewId | Review identifier | example-review-1 |
itemId | Reviewed item's number, when supplied | 10024438 |
title | Review heading | Useful size |
text | Review content when provided under this field | Fits the shelf well. |
rating | Individual review score | 4 |
author | Public reviewer display name | Jane Doe |
submissionTime | Review publication timestamp | 2026-10-20T12:00:00Z |
helpfulVotes / unhelpfulVotes | Vote counts | 3 / 0 |
isRecommended / isVerifiedPurchaser | Recommendation and verified-buyer flags | true / false |
photos | Attached photo links | [] |
averageRating / totalReviewCount | Product rating summary | 4.6 / 125 |
ratingDistribution | Star counts | {"5":90,"4":20} |
Warehouse rows
| Field | Description | Example |
|---|---|---|
rowType | Entity type | warehouse |
warehouseNumber | Warehouse number | 1 |
name | Warehouse name | Example warehouse |
url | Warehouse link | https://www.costco.com/warehouse-locations |
address | Street address | 100 Example Ave |
city / state / zip | Locality, region, and postal code | Seattle / WA / 98101 |
phone | Public phone number | (555) 555-0100 |
geo | Coordinates | {"lat":47.6,"lng":-122.3} |
hours / services | Opening hours and available services | ["Gas Station","Pharmacy"] |
distance | Distance from searched postal code | 2.4 |
gasPrices | Fuel prices on US gas-station warehouses | {"regular":3.89} |
Category rows
| Field | Description | Example |
|---|---|---|
rowType | Entity type | category |
name | Category name | Grocery & Household |
slug | Category path identifier | grocery-household |
url | Category link | https://www.costco.com/grocery-household.html |
depth | Category level, when available | 1 |
parentId | Parent category identifier, when supplied | null |
path | Category hierarchy, when supplied | ["grocery-household"] |
How to scrape Costco
- Open Costco Scraper in Apify Console.
- Choose
browseCountryand fill one target, such askeyword. - Set
maxResultsto3for a small first run. - Click Start and wait for completion.
- Open the dataset and download your rows or read them through the API.
Empty input starts the form's example: paper towels in CA (Canada), limited to 3 rows. This is a billed example, not a free preview. With mode set to auto, filling one target selects its matching mode. warehouseLocations and categoryTree runs need no target and do not become examples. A productDetail, productReviews, categoryBrowse, or specialtyBrowse run without its target, or an unknown mode, stops with INVALID_INPUT: before any row is collected.
Keyword search
Fill keyword, such as paper towels. Set browseCountry for the desired market; use words appropriate to that market.
Category browse
Fill categoryUrl or categorySlug. Full links must match browseCountry. A US example is grocery-household.
Specialty browse
Set topic to hotBuys, whatsNew, warehouseOnly, or grocery. Topic availability varies by market.
Product detail
Fill productUrl or itemId. This selects productDetail automatically and returns details for one product, not a list of unrelated products.
Product reviews
Select mode: productReviews explicitly, then fill productUrl or itemId. Without this mode, a product target selects product details instead.
Warehouse locations
Select mode: warehouseLocations. Add zip to request a postal-code search where supported. Results are warehouse entries, not product-level stock guarantees.
Category tree
Select mode: categoryTree to get category entries. The returned list is not a guarantee of an exhaustive or fully current catalog.
What to fill in
| Field | What to enter | Default |
|---|---|---|
mode | auto or one of the seven modes above | auto |
browseCountry | US, CA, MX, UK (GB), AU, JP, KR, TW, IS, NZ (plus FR, ES, SE for warehouse locations) | US |
locale | Optional locale such as fr-CA or secondary English (en-MX, en-JP, en-KR, en-TW, en-IS) | Market default |
keyword | One search phrase | None; form sample paper towels |
query | Older name for keyword | Empty |
productUrl | Product link matching the market | Empty |
itemId | Product item number or code | Empty |
slug | Optional product-name path for an item number | Empty |
categoryUrl | Category link matching the market | Empty |
categorySlug | Category path or code without the domain | Empty |
topic | One of the four specialty topics | Empty |
maxResults | Row limit, from 1 to 500 | 70; form sample 3 |
zip | Postal code for location context | Empty |
warehouse | Warehouse identifier for location context | Empty |
dept | Department filter for supported keyword searches | Empty |
sort | relevance, priceAsc, priceDesc, newest, rating, oldest, highestRated, lowestRated, or mostHelpful | Site order |
ratings | Optional star filter (1–5, e.g. [1, 2]) for productReviews | All stars |
dateFrom / dateTo | Optional YYYY-MM-DD review window for productReviews | Empty |
incrementalMode | off, emitChanged, or newOnly across scheduled runs | off |
stateKey | Optional custom snapshot key for incrementalMode | Derived from target |
emitUnchanged / emitExpired | Include unchanged or disappeared items when incrementalMode is active | false |
currency | Optional currency setting; not currency conversion | By market |
page | Starting page, from 1 to 200 | 1 |
maxPages | Page cap per part of up to 70 rows, from 1 to 50 | No explicit cap |
enrichDetails | Add available details to listing rows | false |
enrichLimit | Listings to enrich per part, from 0 to 50 | 5 |
cursor | nextCursor from an earlier run's RUN_SUMMARY, to continue it | Empty |
Keyword search:
{"keyword": "paper towels","browseCountry": "US","maxResults": 3}
Category browse:
{"categorySlug": "grocery-household","maxResults": 3}
Specialty browse:
{"topic": "hotBuys","maxResults": 3}
Product detail:
{"productUrl": "https://www.costco.com/p/-/ninja-crispi-portable-air-fryer/4000376434","maxResults": 1}
Product reviews:
{"mode": "productReviews","itemId": "10024438","maxResults": 3}
Warehouse locations:
{"mode": "warehouseLocations","zip": "98101","maxResults": 3}
Category tree:
{"mode": "categoryTree","maxResults": 3}
maxItems and limit are accepted aliases for maxResults. Unknown fields alone do not fail input validation: close misspellings are corrected where possible; other unknown fields are ignored with a note.
When targets conflict, precedence is productUrl, categoryUrl, itemId, categorySlug, topic, then keyword or query. Targets belonging to another mode are ignored, not collected as additional inputs. Use separate runs for separate targets.
The INPUT_REPORT record in the default key-value store records input interpretation, corrections, ignored fields, and example use. Invalid targets or market links stop before row collection with INVALID_INPUT: and a field-specific explanation. No rows are charged for input-validation failures; the start fee still applies.
Output example
Illustrative product row; prices and availability are not current offers:
{"rowType": "product","itemId": "4000376434","sku": null,"title": "Ninja Crispi 5-in-1 Portable Glass Air Fry Cooking System","url": "https://www.costco.com/p/-/ninja-crispi-portable-air-fryer/4000376434","price": 119.99,"currency": "USD","rating": 4.7,"browseCountry": "US","sourceSurface": "keywordSearch"}
Export the dataset as JSON, CSV, Excel, XML, RSS, or an HTML table. Keep identifiers as text when importing into a spreadsheet.
Why use this Costco scraper?
- Pay for delivered rows. Product, review, category, and warehouse rows use the same per-row price.
- Keep delivered data. A run that reaches its timeout delivers the rows collected so far and gives you a cursor to continue.
- Understand failures. Input errors explain what to fix;
RUN_SUMMARYand, on failure,ERROR_SUMMARYprovide run information. - Keep missing data honest. Unavailable fields stay empty rather than becoming invented prices or contact details.
- Compare markets deliberately. Select a market per run and keep
browseCountrywith your exports. - No proxy setup. You do not need to set up proxies.
How much does it cost to scrape Costco?
The Actor uses pay-per-event pricing. At the default 256 MB memory, the start fee is $0.005: one start event per GB, with a minimum of one event. Platform usage is included in these prices.
| Apify plan | Start fee at 256 MB | Price per row | Price per 1,000 rows |
|---|---|---|---|
| Free | $0.005 | $0.003 | $3.00 |
| Starter | $0.005 | $0.003 | $3.00 |
| Scale | $0.005 | $0.0026 | $2.60 |
| Business | $0.005 | $0.0022 | $2.20 |
| Platinum | $0.005 | $0.002 | $2.00 |
| Diamond | $0.005 | $0.0016 | $1.60 |
maxResultsapplies to the single input in a run, defaults to 70, and accepts up to 500. Searches, category listings, specialty listings, and reviews can continue in parts of up to 70 rows.- Category trees and warehouse lists return at most 70 rows. Availability and page limits may reduce the result count.
- Free Apify plan users are limited to 200 rows per run and 10 runs of this Actor.
- Maximum cost per run (
maxTotalChargeUsdin the API) limits the whole run. A budget too small for one row can leave an empty dataset after the start fee. - The Apify Free plan includes $5.00 in monthly usage credit (about 1,666 rows at
$0.003per row).
Example: one search delivering 5 rows on the Free plan at 256 MB costs 5 × $0.003 + $0.005 = $0.020. Requesting 5 rows does not guarantee 5 matches; row charges follow delivery.
What happens when the run timeout is too short
When a run hits its timeout early, it delivers every row collected so far and ends SUCCEEDED with partial: true and partialReason: "run_timeout" in RUN_SUMMARY. You pay only for delivered rows.
To continue, run again with the same input and set cursor to RUN_SUMMARY.nextCursor. Previously delivered rows are not repeated or recharged; each cursor is valid once for 6 hours. Use Abort gracefully (POST /v2/actor-runs/{runId}/abort?gracefully=true) to preserve partial rows and receive a cursor; a plain abort stops immediately and delivers nothing. Synchronous calls (run-sync, run-sync-get-dataset-items) return the rows delivered before timeout.
Use with AI agents and the API
Apify MCP server
Add this remote tool in a compatible client such as Claude, ChatGPT, Cursor, or VS Code:
https://mcp.apify.com?tools=lentic_clockss/costco-scraper
Sign in through Apify OAuth, or send Authorization: Bearer <YOUR_APIFY_TOKEN>. The tool returns run and dataset IDs; the agent can read rows with get-dataset-items. Clients without remote support can use npx @apify/actors-mcp-server --tools lentic_clockss/costco-scraper with APIFY_TOKEN set locally.
Example prompt: "Search Costco US for paper towels, return at most 3 products, and show titles, prices, and links."
- Agent execution note: Set
maxResultsbetween5and20on exploratory tool calls to keep responses compact, and readRUN_SUMMARYandINPUT_REPORTfrom the default key-value store to inspect normalized inputs and delivered row counts. When a run endsSUCCEEDEDwithpartial: trueand anextCursor, start a new run with the same input and thatcursorto get the rest.
Apify API
from apify_client import ApifyClientclient = ApifyClient("<YOUR_APIFY_TOKEN>")run = client.actor("lentic_clockss/costco-scraper").call(run_input={"keyword": "paper towels", "maxResults": 3})for row in client.dataset(run["defaultDatasetId"]).iterate_items():print(row)
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });const run = await client.actor('lentic_clockss/costco-scraper').call({keyword: 'paper towels', maxResults: 3});const { items: rows } = await client.dataset(run.defaultDatasetId).listItems();console.log(rows);
For asynchronous HTTP access, send the input as JSON to POST https://api.apify.com/v2/acts/lentic_clockss~costco-scraper/runs with your bearer token. After completion, read GET https://api.apify.com/v2/datasets/<datasetId>/items?format=json.
Integrations
Use Apify Schedules for recurring runs. Connect results through the Integrations tab to Google Sheets, Make, Zapier, n8n, Slack, Airtable, or your own webhook.
FAQ
Is it legal to scrape Costco?
Public availability does not remove your legal obligations. Check applicable terms and data-protection law; processing reviewer names or personal data requires a lawful basis.
Why did my run end as ABORTED?
Timeout runs end SUCCEEDED with partial rows. ABORTED means the run was manually aborted; use Abort gracefully to retain collected rows and a continuation cursor.
How many results can I get?
Set maxResults up to 500 per input (Free plan: 200 rows per run; warehouse and category-tree modes: up to 70). Source availability, page caps, and cost limits can reduce delivery.
Why are some fields empty?
Not every page or market exposes prices, ratings, images, phones, or stock counts. Empty fields are never replaced with invented values.
Why do itemId and sku differ?
itemId identifies the product link code; sku is a detail/variant identifier when supplied. Keep both when present.
Can I send several keywords or links together?
No. Each run processes one target; start separate runs for separate keywords, links, categories, or markets.
Are Same Day, Pharmacy, and China covered?
No. Same Day, Business Delivery, Pharmacy, Travel, Photo, and China are outside scope. France, Spain, and Sweden expose warehouse locations only without an online product catalog.
Why did a successful run return no rows?
A verified zero-match search or an incrementalMode: emitChanged run with no changes finishes SUCCEEDED with 0 rows. Check RUN_SUMMARY and INCREMENTAL_SUMMARY.
Why do leadAbsences reasons look different from earlier runs?
Since November 2026 leadAbsences uses English status codes (not_on_list_page, not_verified, not_collected, Not on source: <evidence>).
Limitations
- Market selection does not guarantee identical mode, topic, department, or sort coverage across countries (
FR,ES,SEcoverwarehouseLocationsonly). - Prices and availability reflect guest public data, not member-only deltas, checkout quotes, or guaranteed store stock.
- Reviews and detail enrichment are best-effort; enriched listing fields appear under
pdp. - Category trees reflect exposed navigation/facets, not a full-catalog export.
- One target is processed per run; plain aborts stop immediately without delivering rows.
Related scrapers
More e-commerce and marketplace scrapers from the same publisher:
- Walmart Scraper
- Temu Scraper
- Allegro Scraper
- Shopee Scraper
- Amazon Scraper
- Rakuten Scraper
- Stealth Web Scraper
- Email Validator
Browse all of our scrapers at apify.com/lentic_clockss.
Support
Report a problem or request a field through the Issues tab of this Actor's page. Include the run ID and the input you used.