curl --request POST \
--url https://api.henrylabs.ai/v0/products/image-search \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"url": "https://static.nike.com/a/images/t_web_pdp_535_v2/f_auto,u_9ddf04c7-2a9a-4d76-add1-d15af8f0263d,c_scale,fl_relative,w_1.0,h_1.0,fl_layer_apply/2dd3e503-dc3c-4ebc-b1ef-4782b16e0bff/NIKE+DOWNSHIFTER+13.png",
"country": "<string>",
"limit": 20,
"enrichTopK": 10
}
'{
"success": true,
"status": "<string>",
"message": "<string>",
"data": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"price": 123,
"currency": "<string>",
"imageUrl": "<string>",
"source": "<string>",
"link": "<string>",
"originalPrice": "<string>",
"enrichRequestId": "<string>"
}
]
}Search for products using an image URL. Returns visually similar products and matches.
curl --request POST \
--url https://api.henrylabs.ai/v0/products/image-search \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"url": "https://static.nike.com/a/images/t_web_pdp_535_v2/f_auto,u_9ddf04c7-2a9a-4d76-add1-d15af8f0263d,c_scale,fl_relative,w_1.0,h_1.0,fl_layer_apply/2dd3e503-dc3c-4ebc-b1ef-4782b16e0bff/NIKE+DOWNSHIFTER+13.png",
"country": "<string>",
"limit": 20,
"enrichTopK": 10
}
'{
"success": true,
"status": "<string>",
"message": "<string>",
"data": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"price": 123,
"currency": "<string>",
"imageUrl": "<string>",
"source": "<string>",
"link": "<string>",
"originalPrice": "<string>",
"enrichRequestId": "<string>"
}
]
}URL of the image to search
"https://static.nike.com/a/images/t_web_pdp_535_v2/f_auto,u_9ddf04c7-2a9a-4d76-add1-d15af8f0263d,c_scale,fl_relative,w_1.0,h_1.0,fl_layer_apply/2dd3e503-dc3c-4ebc-b1ef-4782b16e0bff/NIKE+DOWNSHIFTER+13.png"
Country code (e.g., us, jp, de)
Limit the number of results
1 <= x <= 100Experimental: Auto-enrich top K results. Returns enrichRequestId for each product to poll for enriched data.
1 <= x <= 20Was this page helpful?