curl --request GET \
--url https://api.henrylabs.ai/v0/products/details \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"productId": "1234567890"
}'
{
"success": true,
"status": "<string>",
"message": "<string>",
"data": {
"product_results": {
"title": "<string>",
"brand": "<string>",
"reviews": 123,
"rating": 123,
"stores": [
{
"name": "<string>",
"link": "<string>",
"price": "<string>",
"shipping": "<string>",
"total": "<string>"
}
],
"user_reviews": [
{
"title": "<string>",
"text": "<string>",
"user_name": "<string>",
"source": "<string>",
"rating": 123
}
],
"variants": [
{
"title": "<string>",
"items": [
{
"name": "<string>",
"selected": true,
"available": true
}
]
}
]
},
"related_searches": [
{
"query": "<string>",
"image": "<string>",
"link": "<string>"
}
]
}
}
Retrieve detailed product information by its unique ID.
curl --request GET \
--url https://api.henrylabs.ai/v0/products/details \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"productId": "1234567890"
}'
{
"success": true,
"status": "<string>",
"message": "<string>",
"data": {
"product_results": {
"title": "<string>",
"brand": "<string>",
"reviews": 123,
"rating": 123,
"stores": [
{
"name": "<string>",
"link": "<string>",
"price": "<string>",
"shipping": "<string>",
"total": "<string>"
}
],
"user_reviews": [
{
"title": "<string>",
"text": "<string>",
"user_name": "<string>",
"source": "<string>",
"rating": 123
}
],
"variants": [
{
"title": "<string>",
"items": [
{
"name": "<string>",
"selected": true,
"available": true
}
]
}
]
},
"related_searches": [
{
"query": "<string>",
"image": "<string>",
"link": "<string>"
}
]
}
}
Product details retrieved successfully
The response is of type object
.