Download OpenAPI specification:Download
Product Classifier is an API that helps merchants find a category in the Google Product Taxonomy based on a product description.
The API uses AI-powered classification to analyze product descriptions and match them with the most appropriate categories from Google's or Shopify's product taxonomies.
Classifies a product based on its description using AI-powered analysis and vector search through product taxonomies.
The API returns the most relevant category match along with category metadata such as ID, path, and tags.
product required | string <= 2048 characters The product description to classify |
taxonomy | string Enum: "Google" "Shopify" The product taxonomy to use for classification. If not specified, uses the project's default taxonomy setting. |
{- "product": "blue cotton t-shirt for men"
}
{- "success": true,
- "categoryFound": true,
- "categoryId": "1604",
- "categoryPath": "Apparel & Accessories > Clothing > Shirts & Tops",
- "categoryLine": "Apparel & Accessories > Clothing > Shirts & Tops > Shirts",
- "categoryTags": [
- "apparel",
- "clothing",
- "shirts",
- "tops"
]
}