Costco API

Costco API for Product Search, Product Details, Warehouse Prices, Reviews and Warehouse Locator

Scrappa's Costco API returns structured JSON from costco.com and costco.ca. Search products with brand, rating, price and category filters, open any product for descriptions, specifications, images, prices and member-only flags, compare prices across warehouses, read reviews with sort and rating filter, find warehouses with hours, services and gas prices, and autocomplete searches. US and Canada in one API.

500 free credits
No card needed
From $0.20 / 1k
Pay as you go
Structured JSON
Ready for apps
API key access
Test in minutes
8
Endpoints
2
Countries (US, CA)
$0.20
Per 1k requests

Try it now

Make one request. Inspect structured JSON.

Use the first endpoint in this API family with a Scrappa API key. Every account includes 500 free monthly credits, so you can validate the response shape before buying credits.

Request preview
Request
curl -X GET "https://scrappa.co/api/costco/search?query=laptop&min_rating=4&sort=price_asc" \
  -H "Accept: application/json" \
  -H "X-API-KEY: YOUR_API_KEY"
JSON response
{
  "success": true,
  "data": {
    "query": "laptop",
    "country": "us",
    "page": 1,
    "per_page": 24,
    "total_results": 39,
    "has_next_page": true,
    "items": [
      {
        "position": 1,
        "id": "4201023303",
        "title": "HP OmniBook 3 14\" Next Gen AI Laptop",
        "brand": "HP",
        "price": { "currency": "USD", "warehouse": 799.99, "delivery_min": 799.99, "delivery_max": 799.99, "original": 799.99 },
        "member_only": false,
        "rating": { "average": 5, "count": 2 }
      }
    ]
  },
  "meta": { "endpoint_family": "search", "billable": true, "credits": 1, "filtered_out": 0 }
}

What you can build

Structured data for real applications. Here are some ideas.

Price Monitoring

Track warehouse and online prices in USD and CAD, and compare the price of one item across warehouses.

Catalog and Assortment Research

Page through filtered searches by brand, rating, price range and category, with facets for every query.

Review Analysis

Read reviews by newest, helpful or rating, filter by stars and language, and read the rating distribution.

Store Locator

Find warehouses by coordinates or postal code with hours, holidays, services and US gas prices.

Search Suggestions

Autocomplete queries in English and Canadian French to see what shoppers look for.

Costco scraper API

Costco API for product search, warehouse prices and reviews

The Costco API is built for price monitoring, assortment research and store tools. Each search item carries the warehouse price, the delivery price, the original price, availability, the member-only flag, rating and images.

One search route for costco.com and costco.ca.

Filters are always honoured: items that break a filter are never returned.

Pagination returns the real page; a page past the end is an empty list, never repeated data.

Prices differ per warehouse: pass a warehouse number to see its price and stock.

A valid empty result is a free 200; failed requests are never billed.

Choose the right Costco API endpoint

Use Product Search to find product ids

Search by keyword, add filters and sort, then take the id of each item.

Open Costco Search API docs

Use Product Details for the full record

Pass a product id to get descriptions, specifications, all item numbers and prices.

Open Costco Product API docs

Use Reviews to read what buyers say

Pass the product id, sort by newest or helpful, and filter by stars.

Open Costco Reviews API docs

Available endpoints

Everything you need in one API.

Scrappa vs ScrapingBee / ScraperAPI

See how Scrappa compares to ScrapingBee / ScraperAPI.

Costco product data as JSON
Scrappa
ScrapingBee / ScraperAPI
Build your own parser
US and Canada in one route
Scrappa
ScrapingBee / ScraperAPI
Separate scrapers
Filters guaranteed on every item
Scrappa
ScrapingBee / ScraperAPI
Not available
Price per 1k requests
Scrappa
From $0.20
ScrapingBee / ScraperAPI
Varies by plan
Unified API key
Scrappa
Yes (80+ APIs)
ScrapingBee / ScraperAPI
Scraping only
Free tier
Scrappa
500 credits/month
ScrapingBee / ScraperAPI
Trial credits only

Key features

Search, product, warehouse price, review, locator and autocomplete routes as JSON
Costco US and Canada in one API with USD and CAD prices
Warehouse price, delivery price, original price, promotions and member-only flag
Reviews with sort, star filter, language filter and rating distribution
No browser, no login: public data served through a single Scrappa API key

Frequently asked questions

No. Scrappa is an independent service and is not affiliated with or endorsed by Costco. The API returns structured JSON from public product, review and warehouse data.

Costco prices and stock depend on the warehouse. Pass the warehouse parameter to read the price of one warehouse, or use the warehouse price route to compare several.

No. Only successful responses with data are billed, at 1 credit per request. Failed requests and empty results are free.

No. The API returns the public price and a flag that shows when an item needs a Costco membership. Gas prices are available for US warehouses only.

Start using the Costco API

Sign up and get 500 free credits. No credit card required.