curl --request POST \
--url https://api.scrapeunblocker.com/marketplace/costco-product \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/marketplace/costco-product"
headers = {"x-scrapeunblocker-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-scrapeunblocker-key': '<api-key>'}};
fetch('https://api.scrapeunblocker.com/marketplace/costco-product', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Scrape a Costco product
Returns one Costco product (costco.com, or costco.ca with domain=ca) as JSON: productId, itemNumber, title, brand, url, price, discount, currency, rating, reviewCount, memberOnly, onlineOnly, buyable, inWarehouse, shipIt, description, details, features, marketingStatement, promotionalStatement, shipping, manufacturer, manufacturerPartNumber, upc, minQuantity, maxQuantity, categoryPath, specifications, images, options (e.g. every color and size) and variants (item number, option values, UPC). product takes a product id, an item number or a product link.
curl --request POST \
--url https://api.scrapeunblocker.com/marketplace/costco-product \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/marketplace/costco-product"
headers = {"x-scrapeunblocker-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-scrapeunblocker-key': '<api-key>'}};
fetch('https://api.scrapeunblocker.com/marketplace/costco-product', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Your ScrapeUnblocker API key. Apply on every request.
Query Parameters
A Costco product id ('100361434'), item number ('17767') or product link (https://www.costco.com/p/-/kirkland-signature-colombian-coffee-dark-roast-3-lbs/100361434).
Costco storefront: com, ca ('com' is costco.com, 'ca' is costco.ca). Defaults to the link's storefront, else 'com'.
Proxy country the request is sent from (ISO-2, e.g. 'US'). Leave blank to let the API pick.
Response
JSON with a product object.

