Skip to main content
POST
/
products
/
search
Search products
curl --request POST \
  --url https://api.sandbox.henrylabs.ai/v0/products/search \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "query": "Nike Air Max",
  "limit": 20,
  "color": "Red",
  "gender": "Men",
  "manufacturer": "Nike",
  "lowerThanPrice": 100,
  "greaterThanPrice": 100,
  "size": "10",
  "region": "US"
}'
{
  "success": true,
  "status": "<string>",
  "message": "<string>",
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "description": "<string>",
      "price": 123,
      "originalPrice": "<string>",
      "currency": "<string>",
      "imageUrl": "<string>",
      "productLink": "<string>",
      "source": "<string>"
    }
  ]
}

Authorizations

x-api-key
string
header
required

Body

application/json
query
string
required

Search query

Minimum length: 1
Example:

"Nike Air Max"

limit
integer
default:20

Limit the number of results

Required range: 1 <= x <= 100
Example:

20

color
string

Color

Example:

"Red"

gender
string

Gender

Example:

"Men"

manufacturer
string

Manufacturer

Example:

"Nike"

lowerThanPrice
number

Lower than price

Required range: x > 0
Example:

100

greaterThanPrice
number

Greater than price

Required range: x > 0
Example:

100

size
string

Size

Example:

"10"

region
string

Region

Example:

"US"

Response

Products found successfully

success
boolean
required
status
string
required
message
string
required
data
object[]
required