Skip to main content
POST
/
api
/
costco
/
products
/
search
/costco/products/search
curl --request POST \
  --url https://api.anysite.io/api/costco/products/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "keyword": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "@type": "@costco_search_product",
    "url": "<string>",
    "title": "<string>",
    "brand": "<string>",
    "model": "<string>",
    "price": 123,
    "list_price": 123,
    "currency": "<string>",
    "is_on_sale": true,
    "image": "<string>",
    "rating": 123,
    "rating_count": 123,
    "categories": [],
    "category": "<string>",
    "alias": "<string>",
    "features": [],
    "badges": [],
    "promotion": "<string>",
    "program_types": [],
    "is_buyable": true,
    "is_member_only": true
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
keyword
string
required

Search keyword

Minimum string length: 1
Examples:

"coffee"

"laptop"

count
integer
required

Max number of results

Required range: x >= 1
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_search_product
url
string | null
title
string | null
brand
string | null
model
string | null
price
number | null
list_price
number | null
currency
string | null
is_on_sale
boolean | null
image
string | null
rating
number | null
rating_count
integer | null
categories
string[]
category
string | null
alias
string | null
features
string[]
badges
string[]
promotion
string | null
program_types
string[]
is_buyable
boolean | null
is_member_only
boolean | null