Skip to main content
POST
/
api
/
costco
/
products
/costco/products
curl --request POST \
  --url https://api.anysite.io/api/costco/products \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "product": "<string>",
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "@type": "@costco_product",
    "url": "<string>",
    "title": "<string>",
    "brand": "<string>",
    "model": "<string>",
    "price": 123,
    "delivered_price": 123,
    "discount_amount": 123,
    "currency": "<string>",
    "is_on_sale": true,
    "warehouse_number": "<string>",
    "image": "<string>",
    "rating": 123,
    "rating_count": 123,
    "description": "<string>",
    "features": [],
    "specifications": [],
    "badges": [],
    "category": "<string>",
    "is_membership_required": true,
    "is_buyable": true,
    "program_types": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
product
string
required

Costco item number or a product page URL containing it

Minimum string length: 1
Examples:

"100682823"

"https://www.costco.com/dishwasher.product.100682823.html"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
@type
string
default:@costco_product
url
string | null
title
string | null
brand
string | null
model
string | null
price
number | null
delivered_price
number | null
discount_amount
number | null
currency
string | null
is_on_sale
boolean | null
warehouse_number
string | null
image
string | null
rating
number | null
rating_count
integer | null
description
string | null
features
string[]
specifications
CostcoProductSpecification · object[]
badges
string[]
category
string | null
is_membership_required
boolean | null
is_buyable
boolean | null
program_types
string[]