Skip to main content
GET
/
products
/
details
JavaScript
import HenrySDK from '@henrylabs/sdk';

const client = new HenrySDK({
  apiKey: process.env['HENRY_SDK_API_KEY'], // This is the default and can be omitted
});

const response = await client.products.retrieveDetails({ productId: '1234567890' });

console.log(response.data);
{
  "success": true,
  "status": "<string>",
  "message": "<string>",
  "data": {
    "productResults": {
      "thumbnails": [
        "<string>"
      ],
      "title": "<string>",
      "brand": "<string>",
      "reviews": 123,
      "rating": 123,
      "criticRatings": [
        {
          "link": "<string>",
          "name": "<string>",
          "rating": 123
        }
      ],
      "stores": [
        {
          "name": "<string>",
          "link": "<string>",
          "detailsAndOffers": [
            "<string>"
          ],
          "logo": "<string>",
          "title": "<string>",
          "rating": 123,
          "reviews": 123,
          "paymentMethods": "<string>",
          "tag": "<string>",
          "coupon": "<string>",
          "discount": "<string>",
          "price": "<string>",
          "extractedPrice": 123,
          "originalPrice": "<string>",
          "extractedOriginalPrice": 123,
          "monthlyPaymentDuration": 123,
          "downPayment": "<string>",
          "estimatedTax": "<string>",
          "extractedEstimatedTax": 123,
          "shipping": "<string>",
          "shippingExtracted": 123,
          "total": "<string>",
          "extractedTotal": 123
        }
      ],
      "ratings": [
        {
          "stars": 123,
          "amount": 123
        }
      ],
      "reviewsImages": [
        "<string>"
      ],
      "userReviews": [
        {
          "title": "<string>",
          "text": "<string>",
          "userName": "<string>",
          "source": "<string>",
          "rating": 123,
          "date": "<string>",
          "icon": "<string>",
          "images": [
            "<string>"
          ],
          "incentivized": true
        }
      ],
      "videos": [
        {
          "title": "<string>",
          "link": "<string>",
          "source": "<string>",
          "channel": "<string>",
          "duration": "<string>",
          "thumbnail": "<string>",
          "preview": "<string>"
        }
      ],
      "discussionsAndForums": [
        {
          "title": "<string>",
          "link": "<string>",
          "source": "<string>",
          "icon": "<string>",
          "date": "<string>",
          "comments": 123,
          "items": [
            {
              "snippet": "<string>",
              "link": "<string>",
              "topAnswer": true,
              "votes": 123
            }
          ]
        }
      ],
      "moreOptions": [
        {
          "title": "<string>",
          "thumbnail": "<string>",
          "price": "<string>",
          "extractedPrice": 123,
          "originalPrice": "<string>",
          "extractedOriginalPrice": 123,
          "reviews": 123,
          "rating": 123,
          "id": "<string>"
        }
      ],
      "variants": [
        {
          "title": "<string>",
          "items": [
            {
              "name": "<string>",
              "selected": true,
              "available": true,
              "id": "<string>"
            }
          ]
        }
      ],
      "priceRange": "<string>",
      "aboutTheProduct": {
        "title": "<string>",
        "features": [
          {
            "title": "<string>",
            "value": "<string>"
          }
        ],
        "link": "<string>",
        "displayedLink": "<string>",
        "icon": "<string>",
        "description": "<string>"
      },
      "topInsights": {
        "title": "<string>",
        "subtitle": "<string>",
        "items": [
          {
            "keyPoint": "<string>",
            "snippet": "<string>",
            "pros": [
              "<string>"
            ],
            "cons": [
              "<string>"
            ],
            "timestamp": "<string>",
            "thumbnail": "<string>",
            "icon": "<string>",
            "link": "<string>",
            "user": "<string>",
            "date": "<string>",
            "source": "<string>",
            "title": "<string>"
          }
        ]
      }
    },
    "relatedSearches": [
      {
        "query": "<string>",
        "image": "<string>"
      }
    ]
  }
}

Authorizations

x-api-key
string
header
required

Query Parameters

productId
string
required

Product ID

Minimum string length: 1
Example:

"1234567890"

Response

Product details retrieved successfully

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