---
title: Generate Product Categories API
slug: generate-product-categories
url: https://apyhub.com/sharpapi/service/generate-product-categories
provider: SharpAPI
categories: [Artificial Intelligence, E-commerce Quick Tools, Smart Generation]
tags: [product-categorization, catalog-management, taxonomy, e-commerce, classification]
auth: api_key
---

# Generate Product Categories API

Generate category suggestions from product content and poll for results. Returns ranked category names with weights for catalog and SKU classification.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `/sharpapi/api/v1/ecommerce/product_categories` | What it does Submits a job to generate product categories from the provided product content and opt… | 50 |
| GET | `/sharpapi/api/v1/ecommerce/product_categories/job/status/:job_id` | What it does Checks the status of an asynchronous product-category generation job using its job ID.… | 1 |

## About

## What it does
Product Category Generator takes a product name and supporting parameters, then returns a job you can poll until category suggestions are ready. Send the `content` field with the product name and its parameters, and optionally include `context` for other categories to consider, `language`, `voice_tone`, and `max_quantity`.

Use it when you need to organise a catalog, map new SKUs into a taxonomy, or draft category suggestions for onboarding workflows. The initial response includes a `job_id` and a `status_url`, so you can track the asynchronous request without blocking your app.

When the job completes, the status endpoint returns the current `status` as `running`, `queued`, `failed`, or `success`. On success, the result is an array of category objects with `name` and `weight`, which lets you rank or filter the suggested categories in your own system.

Product Category Generator is a fit for e-commerce tooling, content classification, and catalog operations where you need machine-generated category candidates from product input.

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/sharpapi/service/generate-product-categories
