logoPandorLabs
Shopping

Costco Products

Costco products across every category — names, prices, descriptions and images.

costco-productscostcoshoppingmarketplaceproductswarehouse

11,121 rows in the dataset · last run Oct 10, 2026

Download the dataset

Get every row this scraper has collected as one CSV or JSONL file. If the data is older than maxAgeHours, the scraper is re-run with its configured settings first. The key needs the datasets:export scope.

DOWNLOAD_ID=$(curl -s -X POST "https://api.pandorlabs.com/v1/datasets/costco-products/downloads" \  -H "Authorization: Bearer $PANDORLABS_KEY" \  -H "Content-Type: application/json" \  -d '{"maxAgeHours":24,"format":"csv"}' | jq -r '.id')while true; do  STATUS=$(curl -s "https://api.pandorlabs.com/v1/downloads/$DOWNLOAD_ID" \    -H "Authorization: Bearer $PANDORLABS_KEY" | jq -r '.status')  [ "$STATUS" != "refreshing" ] && break  sleep 5donecurl -s "https://api.pandorlabs.com/v1/downloads/$DOWNLOAD_ID/file" \  -H "Authorization: Bearer $PANDORLABS_KEY" \  -o dataset.csv

At its current 11,121 rows, this download costs 112 credits when the data is fresh enough, or 224 credits when it has to be refreshed first.

The rate is 1 credit per 100 rows cached and 2 credits live, charged on the rows in the dataset when the download becomes ready. A failed refresh is not charged. The file stays downloadable for 24 hours. See pricing.

Start a run

To choose the targets yourself, send the parameters below as input. The call returns 202 with the run; the key needs the scrapers:run scope and the account a positive credit balance.

curl -X POST "https://api.pandorlabs.com/v1/scrapers/costco-products/runs" \  -H "Authorization: Bearer $PANDORLABS_KEY" \  -H "Content-Type: application/json" \  -d '{    "input": {      "mode": "categories",      "categoryUrls": [        "/laptops.html",        "/cooktops.html"      ],      "maxCategories": 250,      "maxProductsPerCategory": 2000    }  }'

A run is billed at the live rate once it finishes: 2 credits per 100 rows it collected. A run that collects nothing costs nothing.

Parameters

Every parameter is optional. Anything you leave out uses the default shown here; an unknown name or an invalid value is rejected with a 400 that lists each problem.

Targeting

  • mode

    enum

    Enumeration mode

    Categories pages each megamenu leaf and takes the taxonomy from Costco’s own breadcrumb. Catalog asks the search app for everything at once — the complete shippable catalogue in ~61 requests — and names the taxonomy from the megamenu instead.

    Default
    categories
    Allowed values
    categories
    catalog
  • categoryUrls

    string[]

    Category paths

    Leave empty to discover every leaf category from Costco’s megamenu. Full costco.com URLs are accepted and reduced to their path.

    Default
    none
    Example
    /laptops.html, /cooktops.html
  • maxCategories

    number

    Max categories (discovery only)

    The megamenu yields ~995 leaf entries, 847 of them distinct. Ignored when category paths are given explicitly, and in catalog mode.

    Default
    250
    Range
    1 to 2000
  • maxProductsPerCategory

    number

    Max products per category

    Paging stops at this many, or when the category runs out. The deepest category measured holds 1,978 products and pages to the last one, so the default clears it.

    Default
    2000
    Range
    1 to 20000
  • maxProducts

    number

    Max products per run

    Across every category together. The whole shippable catalogue is ~12,100 products, so the default does not bite on a full run. Hitting it ends the run with a truncation warning.

    Default
    25000
    Range
    1 to 200000
  • shipItOnly

    boolean

    Shippable items only

    Applies the storefront’s ShipIt eligibility filter. Turning it off also returns warehouse-only and grocery-delivery items, which have no shippable price.

    Default
    true

Advanced

  • pageSize

    number

    Products per request

    Verified 2026-09-03: 200 is honoured exactly, 201 already falls back to 24. Clamped for that reason.

    Default
    200
    Range
    1 to 200
  • requestDelayMs

    number

    Delay between requests (ms)

    Costco throttles by resetting the connection rather than returning a status code, so a run that suddenly reports fetch errors is usually going too fast.

    Default
    750
    Range
    0 to 60000
  • userLocation

    string

    User state

    Together with the postal code, decides regional pricing and availability.

    Default
    NJ
  • userPostal

    string

    User postal code

    Default
    07094
  • locations

    string[]

    Inventory nodes (Solr `loc`)

    Which fulfilment nodes are joined onto each product. Trimming this changes which products come back and at what price — leave it alone unless you are deliberately re-targeting the run.

    Default
    ["729-bd","306-wh","1260-3pl","1321-wm","1477-3pl","283-wm","561-wm","725-wm","731-wm","758-wm","759-wm","847_0-cor","847_0-cwt","847_0-edi","847_0-ehs","847_0-membership","847_0-mpt","847_0-spc","847_0-wm","847_1-cwt","847_1-edi","847_d-fis","847_lg_n1a-edi","847_lux_us81-edi","847_NA-cor","847_NA-pharmacy","847_NA-wm","847_ss_u360-edi","847_wp_r428-edi","951-wm","952-wm","9847-wcs"]
  • warehouse

    string

    Reporting warehouse (`whloc`)

    Default
    306-wh
  • apiKey

    string

    Search API key

    The key costco.com ships to every browser. Set only if Costco rotates it; the environment variable is the better place for that.

    Default
    none
    Example
    defaults to COSTCO_SEARCH_API_KEY, then the storefront’s public key
Input as JSON Schema

The same schema the API validates against. Use it as a tool input schema or to generate a typed client.

inputSchema
{  "type": "object",  "additionalProperties": false,  "properties": {    "mode": {      "type": "string",      "enum": [        "categories",        "catalog"      ],      "title": "Enumeration mode",      "description": "Categories pages each megamenu leaf and takes the taxonomy from Costco’s own breadcrumb. Catalog asks the search app for everything at once — the complete shippable catalogue in ~61 requests — and names the taxonomy from the megamenu instead.",      "default": "categories"    },    "categoryUrls": {      "type": "array",      "items": {        "type": "string"      },      "maxItems": 1000,      "title": "Category paths",      "description": "Leave empty to discover every leaf category from Costco’s megamenu. Full costco.com URLs are accepted and reduced to their path.",      "default": [],      "examples": [        "/laptops.html, /cooktops.html"      ]    },    "maxCategories": {      "type": "number",      "minimum": 1,      "maximum": 2000,      "title": "Max categories (discovery only)",      "description": "The megamenu yields ~995 leaf entries, 847 of them distinct. Ignored when category paths are given explicitly, and in catalog mode.",      "default": 250    },    "maxProductsPerCategory": {      "type": "number",      "minimum": 1,      "maximum": 20000,      "title": "Max products per category",      "description": "Paging stops at this many, or when the category runs out. The deepest category measured holds 1,978 products and pages to the last one, so the default clears it.",      "default": 2000    },    "maxProducts": {      "type": "number",      "minimum": 1,      "maximum": 200000,      "title": "Max products per run",      "description": "Across every category together. The whole shippable catalogue is ~12,100 products, so the default does not bite on a full run. Hitting it ends the run with a truncation warning.",      "default": 25000    },    "shipItOnly": {      "type": "boolean",      "title": "Shippable items only",      "description": "Applies the storefront’s ShipIt eligibility filter. Turning it off also returns warehouse-only and grocery-delivery items, which have no shippable price.",      "default": true    },    "pageSize": {      "type": "number",      "minimum": 1,      "maximum": 200,      "title": "Products per request",      "description": "Verified 2026-09-03: 200 is honoured exactly, 201 already falls back to 24. Clamped for that reason.",      "default": 200    },    "requestDelayMs": {      "type": "number",      "minimum": 0,      "maximum": 60000,      "title": "Delay between requests (ms)",      "description": "Costco throttles by resetting the connection rather than returning a status code, so a run that suddenly reports fetch errors is usually going too fast.",      "default": 750    },    "userLocation": {      "type": "string",      "maxLength": 2000,      "title": "User state",      "description": "Together with the postal code, decides regional pricing and availability.",      "default": "NJ"    },    "userPostal": {      "type": "string",      "maxLength": 2000,      "title": "User postal code",      "default": "07094"    },    "locations": {      "type": "array",      "items": {        "type": "string"      },      "maxItems": 1000,      "title": "Inventory nodes (Solr `loc`)",      "description": "Which fulfilment nodes are joined onto each product. Trimming this changes which products come back and at what price — leave it alone unless you are deliberately re-targeting the run.",      "default": [        "729-bd",        "306-wh",        "1260-3pl",        "1321-wm",        "1477-3pl",        "283-wm",        "561-wm",        "725-wm",        "731-wm",        "758-wm",        "759-wm",        "847_0-cor",        "847_0-cwt",        "847_0-edi",        "847_0-ehs",        "847_0-membership",        "847_0-mpt",        "847_0-spc",        "847_0-wm",        "847_1-cwt",        "847_1-edi",        "847_d-fis",        "847_lg_n1a-edi",        "847_lux_us81-edi",        "847_NA-cor",        "847_NA-pharmacy",        "847_NA-wm",        "847_ss_u360-edi",        "847_wp_r428-edi",        "951-wm",        "952-wm",        "9847-wcs"      ]    },    "warehouse": {      "type": "string",      "maxLength": 2000,      "title": "Reporting warehouse (`whloc`)",      "default": "306-wh"    },    "apiKey": {      "type": "string",      "maxLength": 2000,      "title": "Search API key",      "description": "The key costco.com ships to every browser. Set only if Costco rotates it; the environment variable is the better place for that.",      "examples": [        "defaults to COSTCO_SEARCH_API_KEY, then the storefront’s public key"      ]    }  }}

Run, poll, read rows

The run is asynchronous. Poll it until it reaches a terminal status and its billing is paid, then page through its rows. Until then the rows endpoint answers 409 (still queued or running) or 402 (payment required).

RUN_ID=$(curl -s -X POST "https://api.pandorlabs.com/v1/scrapers/costco-products/runs" \  -H "Authorization: Bearer $PANDORLABS_KEY" \  -H "Content-Type: application/json" \  -d '{    "input": {      "mode": "categories",      "categoryUrls": [        "/laptops.html",        "/cooktops.html"      ],      "maxCategories": 250,      "maxProductsPerCategory": 2000    }  }' | jq -r '.id')while true; do  RUN=$(curl -s "https://api.pandorlabs.com/v1/runs/$RUN_ID" \    -H "Authorization: Bearer $PANDORLABS_KEY")  STATUS=$(echo "$RUN" | jq -r '.status')  BILLING=$(echo "$RUN" | jq -r '.billing.status')  case "$STATUS" in queued|running) ;; *) [ "$BILLING" != "pending" ] && break ;; esac  sleep 5doneecho "$RUN" | jq '{status, rowCount, billing}'curl -s "https://api.pandorlabs.com/v1/runs/$RUN_ID/rows?page=1&limit=100" \  -H "Authorization: Bearer $PANDORLABS_KEY"

See the API reference for pagination, cancelling and listing runs.

Output fields

Rows have no fixed schema; these are the fields observed in the rows collected so far. Coverage is the share of rows where the field is present.

FieldTypeCoverage
availabilitystring100%
badgesarray100%
brandstring87%
buyableboolean100%
categorystring100%
categoryPathsarray100%
colorsarray100%
createdAtdate100%
currencystring100%
deliveryStatusstring100%
descriptionstring100%
discountedPricenumber9%
fsaEligibleboolean100%
fulfillmentarray100%
fulfillmentLocationstring95%
groupIdstring100%
hasVariantsboolean100%
imagesarray100%
inStockboolean100%
itemNumberstring100%
listedAtdate97%
marketplacestring100%
materialsarray100%
maxQtynumber100%
memberOnlyboolean100%
merchandisingKeywordsarray100%
minQtynumber100%
modelNumberstring37%
namestring100%
pricenumber100%
priceInCartOnlyboolean100%
priceMaxnumber100%
priceMinnumber100%
pricePerUnitnumber100%
promotionstring26%
promotionsarray100%
ratingnumber91%
reviewCountnumber100%
specsobject100%
stockStatusstring95%
subCategorystring100%
subSubCategorystring89%
upcsarray100%
updatedAtdate100%
warehousePricenumber23%
warehouseStockStatusstring17%
created_atdate100%
updated_atdate100%
_idstring100%

© 2026 PandorLabs LLC. All rights reserved.