Product Categorization API             [ A2Z Web ![A2Z Web logo](https://sharpapi.com/storage/22130/conversions/a2z-logo-96-transparent-full_size.jpg) ](/)  Open main menu

  API Catalog

 [ E-commerce  ](/en/catalog/ai/e-commerce)APIs to streamline every aspect of e-commerce, from product details to customer engagement.

 [ Content &amp; Marketing Automation  ](/en/catalog/ai/content-marketing-automation)Automation tools for efficient content creation, audience engagement, moderation and marketing workflows.

 [ HR Tech  ](/en/catalog/ai/hr-tech)APIs designed to simplify recruitment, resume parsing, skill-matching, and candidate evaluation.

 [ Travel, Tourism &amp; Hospitality  ](/en/catalog/ai/travel-tourism-hospitality)Tools to enhance travel and hospitality services, from customer insights to product organization.

 [ SEO  ](/en/catalog/ai/seo)Solutions to automate your SEO essentials, including tags and metadata management.

 [ Accounting &amp; Finance  ](/en/catalog/ai/accounting-finance)AI endpoints for invoice processing, receipt parsing, and financial document analysis.

 [ Utility APIs  ](/en/catalog/utility)Robust databases and tools for enhancing applications with Travel &amp; HR industry-specific data.

 [ Pricing ](/en/pricing) [ Sign up → ](https://sharpapi.com/ref/sharpapi_tchzrx3s)

 [ A2Z Web ![A2Z Web logo](https://sharpapi.com/storage/22130/conversions/a2z-logo-96-transparent-full_size.jpg) ](/)  Close menu

  API Catalog    [ E-commerce ](/en/catalog/ai/e-commerce) [ Content &amp; Marketing Automation ](/en/catalog/ai/content-marketing-automation) [ HR Tech ](/en/catalog/ai/hr-tech) [ Travel, Tourism &amp; Hospitality ](/en/catalog/ai/travel-tourism-hospitality) [ SEO ](/en/catalog/ai/seo) [ Accounting &amp; Finance ](/en/catalog/ai/accounting-finance) [ Utility APIs ](/en/catalog/utility)

 [ Pricing ](/en/pricing) [ Sign up → ](https://sharpapi.com/ref/sharpapi_tchzrx3s)

 1. [    Home ](https://workflows.a2zweb.co/en)
2. [APIs Catalog](https://workflows.a2zweb.co/en/catalog)
3. [E-commerce](https://workflows.a2zweb.co/en/catalog/ai/e-commerce)
4. [Product Categorization](https://workflows.a2zweb.co/en/catalog/ai/e-commerce/product-categorization)

  [ E-commerce ](https://workflows.a2zweb.co/en/catalog/ai/e-commerce)

  AI-powered API

 Product Categorization
========================

 Generates suitable categories for a product, along with their relevance scores.
---------------------------------------------------------------------------------

By providing the product name and its parameters, this API returns related categories and their weights as float values ranging from 1.0 to 10.0, where 10 represents the highest relevance.

This API is highly useful for developers building e-commerce platforms, product catalogue management systems, or bulk product processing tools. It automates the categorization of products, ensuring accuracy and consistency. Use cases include populating product catalogue data, enhancing product search algorithms, and improving inventory management systems.

You can set your preferred writing style by providing a `voice_tone` parameter. It can be adjectives like `funny` or `joyous`, or even the name of a famous writer.

Within an additional optional parameter `context`, you can provide a list of other categories that will be taken into consideration during the mapping process (for example your current e-commerce categories).

You can limit the output with the `max_quantity` parameter.

Only the `content` parameter is required.

### AI jobs involve two key steps:

1. **Submitting the AI job:** Initiating the process by sending the job request.
2. **Monitoring and receiving results:** Continuously checking the job status and obtaining the final output upon successful completion.

---

### Related SDKs/Libraries

- Laravel

     [ E-Commerce Product Categorization for Laravel   ](https://github.com/sharpapi/laravel-ecommerce-product-categories)
- Node.js

     [ Product Categorization for Node.js   ](https://www.npmjs.com/package/@sharpapi/sharpapi-node-product-categories)
- PHP

     [ Product Categorization for PHP 8 - AI-Powered E-commerce Classification   ](https://github.com/sharpapi/php-ecommerce-product-categorization)

---

 ![Product Categorization](https://sharpapi.com/storage/243/conversions/E-commerce---Product-Categorization-%28AI%29-full_size.jpg) [     Check API Details Documentation   Check API Details Documentation ](https://documenter.getpostman.com/view/31106842/2s9Ye8faUp#864d0662-6834-493c-8b4d-9e444c9feb8f)

 [ ![SharpAPI SOC 2 Type II](/build/assets/resources/images/a2zweb-soc2-Cb6pM2no.png) ](https://trust.a2zweb.co/) SharpAPI is now SOC 2 Type II compliant. You can check details at our [ Trust Center Portal. ](https://trust.a2zweb.co/)

 Your data is your data. Learn how we protect it and comply with global privacy standards in our [ Data Handling and Compliance policy ](https://sharpapi.com/data-handling-and-compliance).

Step 1. Submit the AI Job request
---------------------------------

AttributeTypeMandatoryDescriptioncontentStringYesProduct name and its parameters to generate the categories.languageStringNoSpecify the language of the output, defaults to `English`.max\_quantityNumberNoMaximum number of product categories to generate.voice\_toneStringNoPreferred writing style parameter. It can be adjectives like `funny `or `joyous`, or even the name of a `famous writer`.contextStringNoThe list of other categories that will be taken into consideration during the mapping process (for example your current e-commerce categories)---

**REQUEST EXAMPLE:**

```
{
    "content": "Razer Blade 16 Gaming Laptop: NVIDIA GeForce RTX 4090-13th Gen Intel test 24-Core i9 HX CPU - 16\" Dual Mode Mini LED (4K UHD+ 120Hz & FHD+ 240Hz) - 32GB RAM - 2TB SSD - Compact GaN Charger - Windows 11",
    "language": "English",
    "max_quantity":100,
    "voice_tone": "neutral",
    "context":"Razer Laptops,Razer Gear"
}

```

---

**RESPONSE EXAMPLE:**

```
{
  "status_url": "https://sharpapi.com/api/v1/content/translate/job/status/5de4887a-0dfd-49b6-8edb-9280e468c210",
  "job_id": "5de4887a-0dfd-49b6-8edb-9280e468c210"
}

```

---

Step 2. Monitor &amp; Fetch AI Job Results
------------------------------------------

**Endpoint:** `GET - v1/ecommerce/product_categories/job/status/:uuid`

An endpoint is used to check on the progress of the requested API job.

**RESULT EXAMPLE:**

```
{
  "data": {
    "type": "api_job_result",
    "id": "6d3fec8c-34f8-4071-a5ba-af14910b4d77",
    "attributes": {
      "status": "success",
      "type": "ecommerce_product_categories",
      "result": [
        {
          "name": "Gaming Laptops",
          "weight": 10
        },
        {
          "name": "Razer Laptops",
          "weight": 10
        },
        {
          "name": "High-Performance Laptops",
          "weight": 9.5
        },
        {
          "name": "Laptops",
          "weight": 9
        },
        {
          "name": "Razer Gear",
          "weight": 8.5
        },
        {
          "name": "Electronics",
          "weight": 8
        },
        {
          "name": "Computers & Accessories",
          "weight": 7.5
        },
        {
          "name": "PC Gaming",
          "weight": 7
        },
        {
          "name": "Portable Computers",
          "weight": 6.5
        },
        {
          "name": "Tech Gadgets",
          "weight": 6
        }
      ]
    }
  }
}

```

- Related Keywords:
- [ Categorization ](https://workflows.a2zweb.co/en/tag/categorization)
- [ E-commerce ](https://workflows.a2zweb.co/en/tag/e-commerce)

###  Other E-commerce APIs

- [

     Custom Thank You E-mail Generator ](https://workflows.a2zweb.co/en/catalog/ai/e-commerce/custom-thank-you-e-mail-generator)
- [

     Product Intro Generator ](https://workflows.a2zweb.co/en/catalog/ai/e-commerce/product-intro-generator)
- [

     Product Review Sentiment Checker ](https://workflows.a2zweb.co/en/catalog/ai/e-commerce/product-review-sentiment-checker)
- [

     Product Description Generator ](https://workflows.a2zweb.co/en/catalog/ai/e-commerce/product-description-generator)

   [ ![SOC 2 Type II](/build/assets/resources/images/a2zweb-soc2-Cb6pM2no.png) ](https://trust.a2zweb.co/)We're SOC 2 Type II certified!

 Simply put, your data is in safe hands, and you can count on us to stay secure. Check the details at our [Trust Portal](https://trust.a2zweb.co/).

 © 2026 A2Z Web · Powered by [ ![SharpAPI logo](/build/assets/resources/images/logo200-C65na0V3.png) SharpAPI ](https://sharpapi.com/)
