Costco Scraper - Products, Prices, Reviews & Warehouses avatar

Costco Scraper - Products, Prices, Reviews & Warehouses

Pricing

from $2.20 / 1,000 results

Go to Apify Store
Costco Scraper - Products, Prices, Reviews & Warehouses

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

kane liu

Maintained by Community

Actor stats

1

Bookmarked

12

Total users

3

Monthly active users

3 days ago

Last modified

Features

Limited permissions

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 sites FR, ES, SE) and optional regional locale (fr-CA, secondary English catalog labels).
  • Track price drops, .97 clearance signals, and stock changes across scheduled runs with incrementalMode.
  • 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 with categoryUrl or categorySlug, or choose a topic.
  • Product details: use productUrl or itemId.
  • Reviews: choose productReviews; each review is a separately billed row, not an automatic addition to a product row.
  • Locations and categories: choose warehouseLocations or categoryTree.
  • Optional enrichment: enrichDetails is 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

FieldDescriptionExample
rowTypeEntity typeproduct
itemIdCostco item number4000376434
skuAdditional product identifier, when suppliednull
titleProduct namePaper towels, 12 rolls
urlProduct linkhttps://www.costco.com/p/-/ninja-crispi-portable-air-fryer/4000376434
upcBarcode number, when suppliednull
priceDisplayed price, not a checkout quote119.99
warehousePrice / deliveryPriceWarehouse and delivery prices, when shown separatelynull
promotions / instantSavingsActive offers and member instant savings, when shownnull
priceEndsIn97true when the displayed price ends in .97 (clearance signal)null
englishNameSecondary English product title on non-English markets, when suppliednull
changeType / previousValueIncremental diff status (new, changed, unchanged, expired) and prior values when incrementalMode is activenull
currencyCurrency associated with the priceUSD
brandBrand shown for the productNinja
ratingAverage product rating4.7
reviewCountNumber of ratings or reviews shown125
availabilityAvailability information when suppliedInStock
imagesProduct image links, when available[]
features / specsFeature bullets and specifications, mostly on product detailsnull
pdpAdditional details on enriched listing rows{"brand":"Ninja"}
browseCountrySelected marketUS
sourceSurfaceType of page supplying the rowkeywordSearch
scrapedAtCollection timestamp2026-10-24T00:00:00Z

Review rows

FieldDescriptionExample
rowTypeEntity typereview
reviewIdReview identifierexample-review-1
itemIdReviewed item's number, when supplied10024438
titleReview headingUseful size
textReview content when provided under this fieldFits the shelf well.
ratingIndividual review score4
authorPublic reviewer display nameJane Doe
submissionTimeReview publication timestamp2026-10-20T12:00:00Z
helpfulVotes / unhelpfulVotesVote counts3 / 0
isRecommended / isVerifiedPurchaserRecommendation and verified-buyer flagstrue / false
photosAttached photo links[]
averageRating / totalReviewCountProduct rating summary4.6 / 125
ratingDistributionStar counts{"5":90,"4":20}

Warehouse rows

FieldDescriptionExample
rowTypeEntity typewarehouse
warehouseNumberWarehouse number1
nameWarehouse nameExample warehouse
urlWarehouse linkhttps://www.costco.com/warehouse-locations
addressStreet address100 Example Ave
city / state / zipLocality, region, and postal codeSeattle / WA / 98101
phonePublic phone number(555) 555-0100
geoCoordinates{"lat":47.6,"lng":-122.3}
hours / servicesOpening hours and available services["Gas Station","Pharmacy"]
distanceDistance from searched postal code2.4
gasPricesFuel prices on US gas-station warehouses{"regular":3.89}

Category rows

FieldDescriptionExample
rowTypeEntity typecategory
nameCategory nameGrocery & Household
slugCategory path identifiergrocery-household
urlCategory linkhttps://www.costco.com/grocery-household.html
depthCategory level, when available1
parentIdParent category identifier, when suppliednull
pathCategory hierarchy, when supplied["grocery-household"]

How to scrape Costco

  1. Open Costco Scraper in Apify Console.
  2. Choose browseCountry and fill one target, such as keyword.
  3. Set maxResults to 3 for a small first run.
  4. Click Start and wait for completion.
  5. 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.

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

FieldWhat to enterDefault
modeauto or one of the seven modes aboveauto
browseCountryUS, CA, MX, UK (GB), AU, JP, KR, TW, IS, NZ (plus FR, ES, SE for warehouse locations)US
localeOptional locale such as fr-CA or secondary English (en-MX, en-JP, en-KR, en-TW, en-IS)Market default
keywordOne search phraseNone; form sample paper towels
queryOlder name for keywordEmpty
productUrlProduct link matching the marketEmpty
itemIdProduct item number or codeEmpty
slugOptional product-name path for an item numberEmpty
categoryUrlCategory link matching the marketEmpty
categorySlugCategory path or code without the domainEmpty
topicOne of the four specialty topicsEmpty
maxResultsRow limit, from 1 to 50070; form sample 3
zipPostal code for location contextEmpty
warehouseWarehouse identifier for location contextEmpty
deptDepartment filter for supported keyword searchesEmpty
sortrelevance, priceAsc, priceDesc, newest, rating, oldest, highestRated, lowestRated, or mostHelpfulSite order
ratingsOptional star filter (1–5, e.g. [1, 2]) for productReviewsAll stars
dateFrom / dateToOptional YYYY-MM-DD review window for productReviewsEmpty
incrementalModeoff, emitChanged, or newOnly across scheduled runsoff
stateKeyOptional custom snapshot key for incrementalModeDerived from target
emitUnchanged / emitExpiredInclude unchanged or disappeared items when incrementalMode is activefalse
currencyOptional currency setting; not currency conversionBy market
pageStarting page, from 1 to 2001
maxPagesPage cap per part of up to 70 rows, from 1 to 50No explicit cap
enrichDetailsAdd available details to listing rowsfalse
enrichLimitListings to enrich per part, from 0 to 505
cursornextCursor from an earlier run's RUN_SUMMARY, to continue itEmpty

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_SUMMARY and, on failure, ERROR_SUMMARY provide 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 browseCountry with 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 planStart fee at 256 MBPrice per rowPrice 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
  • maxResults applies 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 (maxTotalChargeUsd in 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.003 per 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 maxResults between 5 and 20 on exploratory tool calls to keep responses compact, and read RUN_SUMMARY and INPUT_REPORT from the default key-value store to inspect normalized inputs and delivered row counts. When a run ends SUCCEEDED with partial: true and a nextCursor, start a new run with the same input and that cursor to get the rest.

Apify API

from apify_client import ApifyClient
client = 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

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.

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, SE cover warehouseLocations only).
  • 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.

More e-commerce and marketplace scrapers from the same publisher:

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.