---
title: Generate Hospitality Product Categories API
slug: generate-hospitality-product-categories
url: https://apyverse.com/sharpapi/service/generate-hospitality-product-categories
provider: SharpAPI
categories: [Smart Generation, Travel]
tags: [hospitality, travel-categories, content-classification, category-generation, job-api]
auth: api_key
---

# Generate Hospitality Product Categories API

Generate ranked hospitality product categories from content. Submit a job, then poll for an array of category names with relevance weights.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `/sharpapi/api/v1/tth/hospitality_product_categories` | What it does Submits a job to generate hospitality product categories from the provided content, wi… | 50 |
| GET | `/sharpapi/api/v1/tth/hospitality_product_categories/job/status/:job_id` | What it does Checks the status of a previously submitted hospitality product category generation jo… | 1 |

## About

## What it does
Hospitality Category Generator turns a piece of content into a ranked list of hospitality product categories. Send `content`, and you can also provide `city`, `country`, `language`, `voice_tone`, `context`, and `max_quantity` to shape the output. The job is submitted asynchronously, so you get back a `job_id` and a `status_url` to check when the result is ready.

Use it when you need to classify travel or hospitality content into categories for search, routing, content organization, or product grouping. The output comes back as an array of objects with `name` and `weight`, so you can sort, filter, or map the categories into your own workflow.

Because the service is job-based, it fits batch pipelines and higher-latency enrichment tasks better than synchronous lookups. You submit the content once, poll the status endpoint, and read the final category list from the job result when the status becomes `success`.

Hospitality Category Generator is a good fit for travel platforms, booking tools, and content systems that need structured category suggestions from unstructured text without hand-labeling every item.

## Usage

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