GET
/
api
/
v1
/
product
/
categorization
curl --request GET \
  --url https://categorization.dev/api/v1/product/categorization \
  --header 'x-api-key: <x-api-key>'
{
    "product_taxonomy": [
        {
            "value": "Apparel & Accessories > Shoes",
            "confidence": 0.95
        }
    ]
}
x-api-key
string
required

This parameter specifies the private key you’ll need for Categorization.dev access.

Parameters

query
string
required

A website url with http:// or https:// protocol or a product title.

classification
string
default:
"product_taxonomy"
required

The classification parameter specifies the type of categorization to be used. It can be either product_taxonomy or product_taxonomy_custom_xxxx, contact us for custom classification.

Supported classifications

  • product_taxonomy: A hierarchical taxonomy that categorizes websites into a set of categories and subcategories : with 5677 categories
{
    "product_taxonomy": [
        {
            "value": "Apparel & Accessories > Shoes",
            "confidence": 0.95
        }
    ]
}