Costco Scraper - $1.20 / 1000 Products avatar

Costco Scraper - $1.20 / 1000 Products

Pricing

from $1.20 / 1,000 results

Go to Apify Store
Costco Scraper - $1.20 / 1000 Products

Costco Scraper - $1.20 / 1000 Products

Scrape Costco US and Canada: search results or product pages with price, promotions, member-only and online-only flags, rating, availability, specifications, images and every variant's item number. $1.20 per 1000 products.

Pricing

from $1.20 / 1,000 results

Rating

0.0

(0)

Developer

Scrapeunblocker

Scrapeunblocker

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

19 days ago

Last modified

Categories

Features

Limited permissions

Share

Costco Scraper

Scrape Costco (costco.com in the US and costco.ca in Canada) as clean JSON. Get search results as a member sees them, or product pages in full. Every search result comes with the Costco product id and item number, title, brand, price (with the was-price and the promotion text such as "$5 OFF"), member-only, online-only and warehouse-only flags, rating and review count, image, link and availability for a delivery location. Product pages add the description, features, specifications, every image, the options (colors, sizes) and every variant with its item number and UPC.

Features

  • US and Canada - costco.com prices in USD or costco.ca prices in CAD.
  • Search mode - up to 240 products per search term, in Costco's order or sorted by price, rating, newest or brand, from any page. A keyword Costco sends to a category or brand page (e.g. tv, samsung) returns that listing.
  • Product mode - one product per input (products: product id, item number or product link) with specifications and variants.
  • Availability - each search result says whether it is in stock for the delivery location Costco uses (named in the LISTINGS record).
  • Many inputs per run - search terms or products in parallel.

Use cases

  • Price and promotion tracking - this week's instant savings and price drops by keyword or category.
  • Assortment monitoring - what Costco carries for a brand, online-only vs warehouse-only.
  • Product catalogues - specifications, images, UPCs and item numbers for every variant.
  • US vs Canada comparison - the same search on costco.com and costco.ca.

Input

FieldTypeDefaultDescription
modestringsearchsearch or product.
domainstringcomcom (costco.com, USD) or ca (costco.ca, CAD). A product link picks its own storefront.
queriesarraypaper towelsSearch terms (search mode).
productsarray-Product ids, item numbers or product links (product mode).
sortstringrelevancerelevance, price_low, price_high, rating, newest, brand.
maxResultsinteger24Products per search term (1-240).
pageinteger1Results page to start from (24 products per page).
includeOutOfStockbooleanfalseAlso return out-of-stock products (Costco hides them).
concurrencyinteger2Inputs processed at the same time (1-5).

Example input

{
"mode": "search",
"domain": "com",
"queries": ["kirkland signature coffee", "olive oil"],
"sort": "price_low",
"maxResults": 48
}

Output

One dataset item per product, with the input it came from. A search item:

{
"mode": "search",
"input": "kirkland signature coffee",
"domain": "com",
"position": 1,
"productId": "100401327",
"itemNumber": "1217294",
"title": "Kirkland Signature Organic Ethiopia Whole Bean Coffee, 2 lbs",
"brand": "Kirkland Signature",
"url": "https://www.costco.com/p/-/kirkland-signature-organic-ethiopia-whole-bean-coffee-2-lbs/100401327",
"image": "https://gdx-assets.costco.com/adobe/assets/urn:aaid:aem:16132a61-a1d8-4792-a339-038fe800dd53/as/bq8pnhw946j79pbn9n9kcg4n__1217294-847__1.avif",
"price": 49.99,
"priceMax": null,
"wasPrice": null,
"currency": "USD",
"promotions": [],
"marketingStatement": null,
"rating": 4.49,
"reviewCount": 1944,
"memberOnly": false,
"onlineOnly": false,
"warehouseOnly": false,
"badges": [],
"availability": "in_stock",
"inWarehouse": true,
"shipIt": true,
"buyableOnline": true,
"priceShownInCartOnly": false,
"model": null,
"features": [],
"category": "Whole Bean Coffee",
"categoryPath": [
"Grocery & Household Essentials",
"Coffee",
"Whole Bean Coffee"
],
"variantCount": 1
}

A product-mode item has the search fields plus the product page's details (lists shortened):

{
"description": "Kirkland Signature Colombian Coffee, Dark Roast, 3 lbs, Columbian Coffee, Dark Roast, Fine Grind, Supremo Bean, Total Net Weight 3lb,",
"details": "3 lb. Can Colombian Coffee Dark Roast Fine Grind",
"features": [
"Columbian Coffee",
"Dark Roast",
"Fine Grind",
"Supremo Bean",
"Total Net Weight 3lb"
],
"shipping": "$3.00",
"manufacturer": "MASSIMO ZANETTI BEVERAGE",
"categoryPath": [
"Grocery & Household Essentials",
"Coffee",
"Ground Coffee"
],
"specifications": {
"Brand": "Kirkland Signature",
"Caffeine Type": "Caffeinated",
"Dietary Features": "Kosher",
"Form": "Ground",
"Roast": "Dark Roast",
"Package Net Weight": "3 lb"
},
"images": [
"https://gdx-assets.costco.com/adobe/assets/urn:aaid:aem:0900b973-9c82-4620-b41a-1d05021ca1f0/as/100361434-847__1.jpg",
"https://gdx-assets.costco.com/adobe/assets/urn:aaid:aem:235a8a11-31f1-4f1f-b2a5-9415b3ae17b4/as/100361434-847__2.jpg"
],
"options": {},
"variants": [
{
"itemNumber": "17767",
"options": {},
"upc": "096619177677",
"buyable": true,
"published": true
}
]
}

Per search term, the LISTINGS record in the key-value store keeps totalResults, the deliveryLocation availability is for, and redirectedTo when Costco sent the search to a category or brand page.

Pricing

$1.20 per 1000 products (pay per result). A search term or product that returns nothing (no match, an unknown product) is listed in the ERRORS record of the key-value store and is not charged.

Notes

  • Prices are Costco's online prices; some items show their price only in the cart on costco.com (priceShownInCartOnly), and the price returned is the one Costco's catalog holds.
  • availability is computed by Costco for a delivery location; product pages carry no stock figure, so product mode leaves it out.
  • A keyword that Costco sends to a separate site (e.g. tires, which goes to Costco Tire Center) returns no products and is not charged.

Powered by ScrapeUnblocker.