Product Search
/api/costco/search
Search products with filters, sort and pagination
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.
Try it now
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.
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"
{
"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 }
}
Structured data for real applications. Here are some ideas.
Track warehouse and online prices in USD and CAD, and compare the price of one item across warehouses.
Page through filtered searches by brand, rating, price range and category, with facets for every query.
Read reviews by newest, helpful or rating, filter by stars and language, and read the rating distribution.
Find warehouses by coordinates or postal code with hours, holidays, services and US gas prices.
Autocomplete queries in English and Canadian French to see what shoppers look for.
Costco scraper API
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.
Search by keyword, add filters and sort, then take the id of each item.
Open Costco Search API docsPass a product id to get descriptions, specifications, all item numbers and prices.
Open Costco Product API docsPass the product id, sort by newest or helpful, and filter by stars.
Open Costco Reviews API docsEverything you need in one API.
/api/costco/search
Search products with filters, sort and pagination
/api/costco/autocomplete
Autocomplete search queries
/api/costco/product
Get descriptions, specifications, images and prices
/api/costco/product-price
Compare the price of an item across warehouses
/api/costco/reviews
Read reviews with sort, rating filter and pagination
/api/costco/reviews-summary
Get the average rating and rating distribution
/api/costco/warehouses
Find warehouses near a point or postal code
/api/costco/warehouse
Get hours, services and US gas prices of a warehouse
See how Scrappa compares to ScrapingBee / ScraperAPI.
| Feature | Scrappa | ScrapingBee / ScraperAPI |
|---|---|---|
| Costco product data as JSON | Build your own parser | |
| US and Canada in one route | Separate scrapers | |
| Filters guaranteed on every item | Not available | |
| Price per 1k requests | From $0.20 | Varies by plan |
| Unified API key | Yes (80+ APIs) | Scraping only |
| Free tier | 500 credits/month | Trial credits only |
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.