Skip to main content
POST
/
products
/
enrich
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.enrich.createRequest({ url: 'https://example.com' });

console.log(response.createdAt);
{
  "success": true,
  "status": "pending",
  "requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "message": "<string>",
  "createdAt": "<string>"
}

Authorizations

x-api-key
string
header
required

Headers

x-user-id
string

Optional end-user identifier for tracking purposes

Query Parameters

skipCache
boolean

If true, bypasses the cache and forces a fresh scrape

Body

application/json
url
string<uri>
required

Response

Request accepted and processing started

success
boolean
required
status
enum<string>
required
Available options:
pending,
processing
requestId
string<uuid>
required
message
string
required
createdAt
string
required