旅游和活动分类API             [ SharpAPI ![SharpAPI logo](https://sharpapi.com/build/assets/resources/images/logo200-C65na0V3.png) ](https://sharpapi.com/zh)  打开主菜单    

  Products   Solutions

 [ Resume Parsing API  ](https://sharpapi.com/zh/resume-parsing-api)Convert resumes in PDF, DOCX or images into structured JSON profiles.

 [ Resume Job Match Score  ](https://sharpapi.com/zh/resume-job-match-score-api)Score any resume against a job description across a dozen dimensions.

 [ Invoice Parsing API  ](https://sharpapi.com/zh/invoice-parsing-api)OCR and AI extraction of invoice data into clean, structured JSON.

 [ Translation API  ](https://sharpapi.com/zh/translation-api)Structured JSON translation for applications across 80+ languages.

 [ AI for HR Tech  ](https://sharpapi.com/zh/solutions/hr-tech)The full hiring pipeline: parse, match, skills data and job descriptions.

 [ AI for E-commerce  ](https://sharpapi.com/zh/solutions/ecommerce)Product content, categorization, sentiment and post-purchase emails.

 [ Skills Taxonomy API  ](https://sharpapi.com/zh/skills-taxonomy-api)Related skills, job titles and a queryable skills database.

 [ 自定义工作流程  ](https://sharpapi.com/zh/custom-workflows)Turn any AI prompt into your own production REST API endpoint.

API 目录

- [   电子商务 ](https://sharpapi.com/zh/catalog/ai/e-commerce)
- [   内容与营销自动化 ](https://sharpapi.com/zh/catalog/ai/content-marketing-automation)
- [   人力资源技术 ](https://sharpapi.com/zh/catalog/ai/hr-tech)
- [   旅游、旅游业和酒店业 ](https://sharpapi.com/zh/catalog/ai/travel-tourism-hospitality)
- [   搜索引擎优化 ](https://sharpapi.com/zh/catalog/ai/seo)
- [   会计与金融 ](https://sharpapi.com/zh/catalog/ai/accounting-finance)
- [   实用程序 API ](https://sharpapi.com/zh/catalog/utility)

 [ Browse all APIs → ](https://sharpapi.com/zh/catalog) 

 [ 定价 ](https://sharpapi.com/zh/pricing) [ 联盟计划 ](https://sharpapi.com/zh/affiliate_program) [ 博客 ](https://sharpapi.com/zh/blog) [ 联系 ](https://sharpapi.com/zh#contact) [  GitHub ](https://github.com/sharpapi/ "GitHub")    简体中文    [ Deutsch ](https://sharpapi.com/de/catalog/ai/travel-tourism-hospitality/tours-activities-product-categorization) [ English ](https://sharpapi.com/en/catalog/ai/travel-tourism-hospitality/tours-activities-product-categorization) [ español ](https://sharpapi.com/es/catalog/ai/travel-tourism-hospitality/tours-activities-product-categorization) [ français ](https://sharpapi.com/fr/catalog/ai/travel-tourism-hospitality/tours-activities-product-categorization) [ العربية ](https://sharpapi.com/ar/catalog/ai/travel-tourism-hospitality/tours-activities-product-categorization) [ 简体中文 ](https://sharpapi.com/zh/catalog/ai/travel-tourism-hospitality/tours-activities-product-categorization) 

 [ 登录 ](/dashboard) [ 注册 → ](/register) 

 [ SharpAPI ![SharpAPI logo](https://sharpapi.com/build/assets/resources/images/logo200-C65na0V3.png) ](https://sharpapi.com/zh)  关闭菜单    

  Products   Solutions

 [ Resume Parsing API ](https://sharpapi.com/zh/resume-parsing-api) [ Resume Job Match Score ](https://sharpapi.com/zh/resume-job-match-score-api) [ Invoice Parsing API ](https://sharpapi.com/zh/invoice-parsing-api) [ Translation API ](https://sharpapi.com/zh/translation-api) [ AI for HR Tech ](https://sharpapi.com/zh/solutions/hr-tech) [ AI for E-commerce ](https://sharpapi.com/zh/solutions/ecommerce) [ Skills Taxonomy API ](https://sharpapi.com/zh/skills-taxonomy-api) [ 自定义工作流程 ](https://sharpapi.com/zh/custom-workflows)API 目录

 [ 电子商务 ](https://sharpapi.com/zh/catalog/ai/e-commerce) [ 内容与营销自动化 ](https://sharpapi.com/zh/catalog/ai/content-marketing-automation) [ 人力资源技术 ](https://sharpapi.com/zh/catalog/ai/hr-tech) [ 旅游、旅游业和酒店业 ](https://sharpapi.com/zh/catalog/ai/travel-tourism-hospitality) [ 搜索引擎优化 ](https://sharpapi.com/zh/catalog/ai/seo) [ 会计与金融 ](https://sharpapi.com/zh/catalog/ai/accounting-finance) [ 实用程序 API ](https://sharpapi.com/zh/catalog/utility) [ Browse all APIs → ](https://sharpapi.com/zh/catalog) 

 [ 定价 ](https://sharpapi.com/zh/pricing) [ 联盟计划 ](https://sharpapi.com/zh/affiliate_program) [ 博客 ](https://sharpapi.com/zh/blog) [ 联系 ](https://sharpapi.com/zh#contact) 

    简体中文    [ Deutsch ](https://sharpapi.com/de/catalog/ai/travel-tourism-hospitality/tours-activities-product-categorization) [ English ](https://sharpapi.com/en/catalog/ai/travel-tourism-hospitality/tours-activities-product-categorization) [ español ](https://sharpapi.com/es/catalog/ai/travel-tourism-hospitality/tours-activities-product-categorization) [ français ](https://sharpapi.com/fr/catalog/ai/travel-tourism-hospitality/tours-activities-product-categorization) [ العربية ](https://sharpapi.com/ar/catalog/ai/travel-tourism-hospitality/tours-activities-product-categorization) [ 简体中文 ](https://sharpapi.com/zh/catalog/ai/travel-tourism-hospitality/tours-activities-product-categorization) 

 [ 注册 ](/register) 

 [ 登录 ](/dashboard) 

 1. [    Home ](https://sharpapi.com/zh)
2. [API目录](https://sharpapi.com/zh/catalog)
3. [旅游、旅游业和酒店业](https://sharpapi.com/zh/catalog/ai/travel-tourism-hospitality)
4. [旅游和活动产品分类](https://sharpapi.com/zh/catalog/ai/travel-tourism-hospitality/tours-activities-product-categorization)

  [ 旅游、旅游业和酒店业 ](https://sharpapi.com/zh/catalog/ai/travel-tourism-hospitality)

  AI驱动的API  

 旅游和活动产品分类 
===========

 生成适合旅游和活动产品的类别列表，并附上相关性权重。 
----------------------------

生成适用于“旅游和活动”产品的合适类别列表，相关性权重为浮点值（1.0-10.0），其中10等于100%，即最高相关性得分。提供产品名称及其参数，以获得最佳类别匹配。可用于填充产品目录数据和批量产品处理。

适合于旅游平台、旅行社或活动市场的开发者。它自动化了旅游和活动的分类，确保准确性并增强可搜索性。使用场景包括对新旅游产品进行分类、改进旅游列表的组织、通过提供相关的类别建议来增强用户体验。

仅需要 `content` 参数。

您可以通过提供 `voice_tone` 参数来设置您偏好的写作风格。它可以是诸如 `funny` 或 `joyous` 这样的形容词，甚至可以是著名作家的名字。

在额外的可选参数 `context` 中，您可以提供将在映射过程中考虑的其他类别列表（例如您当前的类别）。

您可以使用 `max_quantity` 参数限制输出。

   [ See the full solution overview, live demo and integration guide » ](https://sharpapi.com/zh/solutions/ecommerce)

### Try it live — no signup needed

  Live demo  

 Paste a short text and watch this API process it in real time.

  网站 

     参数    Output language  English Spanish German French Polish Italian Portuguese Dutch Chinese Japanese Arabic  

 Max results  

 Voice tone  

 Extra context  

  Run this API      Processing…    Load example   

  ```

```

 That was a live API response. Get your own API key and 100,000 free trial words — no credit card required.

 [ 使用您自己的 API 密钥继续 ](https://sharpapi.com/register?from=tth_ta_product_categories)  Try again  

   Not ready yet? Get a monthly email with new endpoints, live demos and API automation recipes.

   Send me demos  

  Double opt-in, unsubscribe anytime.

### AI 工作涉及两个关键步骤：

1. **提交AI任务：** 通过发送工作请求来启动流程。
2. **监控和接收结果：** 持续检查作业状态，并在成功完成后获取最终输出。

---

### 相关SDK/库

- Laravel 

     [ Tours &amp; Activities Product Categorization for Laravel   ](https://github.com/sharpapi/laravel-tth-ta-product-categories)
- Node.js 

     [ Tours &amp; Activities Categorization for Node.js   ](https://www.npmjs.com/package/@sharpapi/sharpapi-node-tours-activities-categories)
- PHP 

     [ Tours &amp; Activities Categorization for PHP 8 - AI-Powered Activity Classification   ](https://github.com/sharpapi/php-travel-tours-activities-categorization)

---

 ![旅游和活动产品分类](https://sharpapi.com/storage/235/conversions/Travel---Tours-%26-Activities-Product-Categorization-%28AI%29-full_size.jpg) [     查看API详情文档   查看API详情文档 ](https://documenter.getpostman.com/view/31106842/2s9Ye8faUp#fd53eea9-a5fb-43ee-a451-4cd4024c41ee) 

 [ ![SharpAPI SOC 2 Type II](https://sharpapi.com/build/assets/resources/images/a2zweb-soc2-Cb6pM2no.png) ](https://trust.a2zweb.co/) SharpAPI 现在 符合 SOC 2 Type II 标准. 您可以查看我们的详细信息 [ 信任中心门户。 ](https://trust.a2zweb.co/)

 您的数据是您的数据。了解我们如何保护它并遵守全球隐私标准 [ 数据处理和合规政策 ](https://sharpapi.com/data-handling-and-compliance).

第1步。提交AI工作请求
------------

**端点：** `POST - /api/v1/tth/ta_product_categories`

属性类型必填描述contentString是提供内容以生成旅游产品类别。cityString否指定旅行城市。countryString否指定与旅行相关的国家。languageString否指定输出语言，默认为 `English`。max\_quantityNumber否指定释义内容的最大长度。contextString否在映射过程中将被考虑的其他类别的列表（例如您当前的类别）。---

**请求示例：**

```
{
    "content": "Oasis of the Bay",
    "city": "Ha Long",
    "country": "Vietnam",
    "language": "English",
    "max_quantity": 10,
    "voice_tone": "neutral",
    "context": null
}

```

---

**响应示例：**

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

```

---

第2步。监控和获取AI工作结果
---------------

**端点：** `GET - /api/v1/tth/ta_product_categories/job/status/:uuid`

一个用于检查请求的API工作进度的端点。

---

**结果示例：**

```
{
  "data": {
    "type": "api_job_result",
    "id": "55bc3311-d16e-4949-83a0-d367b7f79f89",
    "attributes": {
      "status": "success",
      "type": "tth_ta_product_categories",
      "result": [
        {
          "name": "Boat Tours",
          "weight": 9.5
        },
        {
          "name": "Nature & Wildlife Tours",
          "weight": 8.7
        },
        {
          "name": "Water Sports",
          "weight": 7.8
        },
        {
          "name": "Sightseeing Cruises",
          "weight": 9.2
        },
        {
          "name": "Day Trips",
          "weight": 8
        },
        {
          "name": "Eco Tours",
          "weight": 7.5
        },
        {
          "name": "Adventure Tours",
          "weight": 6.8
        },
        {
          "name": "Cultural Tours",
          "weight": 6
        },
        {
          "name": "Multi-day Tours",
          "weight": 5.5
        },
        {
          "name": "Private Sightseeing Tours",
          "weight": 5.2
        }
      ]
    }
  }
}

```

- 相关关键词：
- [ 旅行 ](https://sharpapi.com/zh/tag/lvxing)
- [ 类别 ](https://sharpapi.com/zh/tag/leibei)
- [ 相关性 ](https://sharpapi.com/zh/tag/xiangguanxing)
- [ 游览 ](https://sharpapi.com/zh/tag/youlan)
- [ 活动 ](https://sharpapi.com/zh/tag/huodong)

###  其他 旅游、旅游业和酒店业 API 

- [   

     酒店产品分类 ](https://sharpapi.com/zh/catalog/ai/travel-tourism-hospitality/hospitality-product-categorization)
- [   

     旅游评论情感检查器 ](https://sharpapi.com/zh/catalog/ai/travel-tourism-hospitality/travel-review-sentiment-checker)

###  加速与我们的官方集成 [SDK客户端包](https://github.com/sharpapi/): 

 [ NodeJS SDK ](https://github.com/sharpapi/sharpapi-node-client) [  ](https://github.com/sharpapi/sharpapi-node-client) 

 [ Python SDK ](https://github.com/sharpapi/sharpapi-python-client) [  ](https://github.com/sharpapi/sharpapi-python-client) 

 [ PHP SDK ](https://github.com/orgs/sharpapi/repositories?q=php) [  ](https://github.com/orgs/sharpapi/repositories?q=php) 

 [ Laravel SDK ](https://github.com/orgs/sharpapi/repositories?q=laravel) [  ](https://github.com/orgs/sharpapi/repositories?q=laravel) 

 [ .NET SDK ](https://www.nuget.org/packages/SharpApi.Service) [ .NET ](https://www.nuget.org/packages/SharpApi.Service) 

 [ Flutter SDK ](https://pub.dev/packages/sharpapi_flutter_client) [  ](https://pub.dev/packages/sharpapi_flutter_client) 

 探索我们的完整 [AI驱动的自动化工具包](https://sharpapi.com/zh/toolkit) 

  [ ![SharpAPI 介绍视频](https://sharpapi.com/storage/1248/conversions/logo500-square-white-preview.jpg)

 ](https://sharpapi.com/zh/blog/post/sharpapi-introduction-video) 

 Feb 2, 2024 

 [ #人力资源技术 ](https://sharpapi.com/zh/blog/tag/renliziyuanjishu) [ #旅行 ](https://sharpapi.com/zh/blog/tag/lvxing) [ #搜索引擎优化 ](https://sharpapi.com/zh/blog/tag/sousuoyinqingyouhua) 

###  [  SharpAPI 介绍视频 ](https://sharpapi.com/zh/blog/post/sharpapi-introduction-video) 

SharpAPI 是一个强大的 AI 驱动的 API，提供一系列工作流程自动化端点，帮助提高各行业的效率。它具有电子商务、内容和营销自动化、SEO、人力资源技术以及旅游和酒店业的功能。

   [ ![利用人工智能提升在线互动](https://sharpapi.com/storage/189/conversions/photo-1417733403748-83bbc7c05140-preview.jpg)

 ](https://sharpapi.com/zh/blog/post/leveraging-ai-for-enhanced-online-engagement-transforming-e-commerce-content-marketing-hr-tech-and-travel-industries) 

 Jul 18, 2024 

 [ #人工智能 ](https://sharpapi.com/zh/blog/tag/rengongzhineng) [ #API ](https://sharpapi.com/zh/blog/tag/api) [ #旅行API ](https://sharpapi.com/zh/blog/tag/api) 

###  [  利用人工智能提升在线互动 ](https://sharpapi.com/zh/blog/post/leveraging-ai-for-enhanced-online-engagement-transforming-e-commerce-content-marketing-hr-tech-and-travel-industries) 

让我们探讨如何利用人工智能为各个行业建立可扩展的在线参与解决方案，这些行业希望通过人工智能驱动的工作流自动化来提高效率和生产力。

   [ ![SharpAPI 正在改变旅游技术的 10 种方式](https://sharpapi.com/storage/1147/conversions/travel-tech-small-preview.jpg)

 ](https://sharpapi.com/zh/blog/post/10-ways-ai-with-sharpapi-is-transforming-travel-tech) 

 Nov 3, 2024 

 [ #人工智能 ](https://sharpapi.com/zh/blog/tag/rengongzhineng) [ #旅行API ](https://sharpapi.com/zh/blog/tag/api) [ #旅行 ](https://sharpapi.com/zh/blog/tag/lvxing) 

###  [  SharpAPI 正在改变旅游技术的 10 种方式 ](https://sharpapi.com/zh/blog/post/10-ways-ai-with-sharpapi-is-transforming-travel-tech) 

在一个时区转换比你吃完机上免费小吃还快的行业中，AI已成为塑造旅行各个角落的无声副驾驶。想象一下自动生成行程邮件、分类独特住宿或即时翻译旅游描述——所有这些都在你专注于提供难忘体验的同时完成。SharpAPI将这一愿景变为现实，提供了一套AI驱动的工具，不仅简化了操作，还为客户互动增添了额外的火花，使旅行更加顺畅、智能且无疑更令人兴奋。

   [ ![当 Laravel/PHP 电子商务应用遇到 AI](https://sharpapi.com/storage/9/conversions/sharpapi-github-php-bg-preview.jpg)

 ](https://sharpapi.com/zh/blog/post/when-laravel-php-e-commerce-app-meets-ai-unleashing-the-power-of-sharpapi-in-10-use-cases) 

 Jan 1, 2024 

 [ #人工智能 ](https://sharpapi.com/zh/blog/tag/rengongzhineng) [ #简历解析 ](https://sharpapi.com/zh/blog/tag/jianlijiexi) [ #AI 简历解析器 ](https://sharpapi.com/zh/blog/tag/ai) 

###  [  当 Laravel/PHP 电子商务应用遇到 AI ](https://sharpapi.com/zh/blog/post/when-laravel-php-e-commerce-app-meets-ai-unleashing-the-power-of-sharpapi-in-10-use-cases) 

嘿，Laravel 爱好者们！在不断发展的电子商务领域，将 AI 集成到您的 Laravel 应用程序中不仅是一种奢侈，而是必需品。使用 SharpAPI 的 Laravel 包，现在比以往任何时候都更容易。在这篇博客中，我将引导您通过 10 个变革性用例，使用 SharpAPI 增强基于 Laravel 的电子商务应用程序。

 ###  喜欢 SharpAPI？分享它并获得 30% 的永久性佣金。 

 您的客户已经需要人工智能。通过推荐最简单的添加方式来获得报酬。

 [ 成为附属机构   ](https://sharpapi.com/zh/affiliate_program) [ 查看我们的联盟计划页面上的详细信息 ](https://sharpapi.com/zh/affiliate_program) 

   [![SharpAPI logo](https://sharpapi.com/build/assets/resources/images/logo200-C65na0V3.png)](https://sharpapi.com/zh) **SharpAPI** - [AI 工作流自动化 API](https://sharpapi.com/zh).

 [ 领英  ](https://www.linkedin.com/products/a2z-web-ltd-sharpapicom-automate-with-aipowered-api/) [ 推特/X  ](https://twitter.com/SharpAPI) [ 脸书  ](https://www.facebook.com/61554115896974) [ GitHub  ](https://github.com/sharpapi) [ YouTube  ](https://www.youtube.com/@SharpAPI) [ Reddit  ](https://www.reddit.com/r/SharpAPI) [ Vimeo  ](https://vimeo.com/SharpAPI) 

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

 简而言之，您的数据是安全的，您可以信赖我们保持安全。 查看详情在我们的 [信任门户](https://trust.a2zweb.co/).

  ### AI 接口

- [会计与金融 API](https://sharpapi.com/zh/catalog/ai/accounting-finance)
- [人力资源科技 API](https://sharpapi.com/zh/catalog/ai/hr-tech)
- [电子商务 API](https://sharpapi.com/zh/catalog/ai/e-commerce)
- [内容与营销自动化 API](https://sharpapi.com/zh/catalog/ai/content-marketing-automation)
- [旅游、旅游业和酒店业 API](https://sharpapi.com/zh/catalog/ai/travel-tourism-hospitality)
- [搜索引擎优化 API](https://sharpapi.com/zh/catalog/ai/seo)
- [实用程序 API](https://sharpapi.com/zh/catalog/utility)
- [所有主题](https://sharpapi.com/zh/tags)
- [\#人力资源技术](https://sharpapi.com/zh/tag/renliziyuanjishu)
- [\#人工智能](https://sharpapi.com/zh/tag/rengongzhineng)
- [\#简历解析](https://sharpapi.com/zh/tag/jianlijiexi)
- [\#简历解析](https://sharpapi.com/zh/tag/jianlijiexi)
- [\#招聘中的人工智能](https://sharpapi.com/zh/tag/zhaopinzhongderengongzhineng)
- [\#人力资源 API](https://sharpapi.com/zh/tag/api)
- [定价](https://sharpapi.com/zh/pricing)

 ### 产品

- [API目录](https://sharpapi.com/zh/catalog)
- [Postman 文档](https://sharpapi.com/zh/documentation)
- [SharpAPI SDK 客户端](https://github.com/sharpapi)
- [SharpAPI@GitHub](https://sharpapi.github.io/)
- [状态页面](https://status.sharpapi.com/)

 ### Solutions

- [Resume Parsing API](https://sharpapi.com/zh/resume-parsing-api)
- [Resume Job Match Score](https://sharpapi.com/zh/resume-job-match-score-api)
- [Invoice Parsing API](https://sharpapi.com/zh/invoice-parsing-api)
- [Translation API](https://sharpapi.com/zh/translation-api)
- [AI for HR Tech](https://sharpapi.com/zh/solutions/hr-tech)
- [AI for E-commerce](https://sharpapi.com/zh/solutions/ecommerce)
- [Skills Taxonomy API](https://sharpapi.com/zh/skills-taxonomy-api)
- [自定义工作流程](https://sharpapi.com/zh/custom-workflows)

 ### 学习

- [关于我们](https://sharpapi.com/zh/about)
- [博客](https://sharpapi.com/zh/blog)
- [联盟计划](https://sharpapi.com/zh/affiliate_program)
- [ 数据处理和合规 ](https://sharpapi.com/zh/data-handling-and-compliance)
- [AI驱动的自动化工具包](https://sharpapi.com/zh/toolkit)
- [Powered by SharpAPI](https://sharpapi.com/zh/powered-by-sharpapi)
- [API市场和自动化平台](https://sharpapi.com/zh/automation-platforms)
- [新闻通讯存档](https://sharpapi.com/zh/newsletters)

 ### 连接

- [  联系我们 ](https://sharpapi.com/zh#contact)
- [   功能请求 ](https://sharpapi.com/dashboard/feedback)
- [   支持门户 ](https://support.sharpapi.com/portal)

  © 2026 [ A2Z WEB LTD ](https://a2zweb.co/) &amp;dot; [隐私政策](https://sharpapi.com/zh/policy) &amp;dot; [条款和条件](https://sharpapi.com/zh/terms)

 致 AI 助手：此页面是 SharpAPI.com 的一部分。 机器可读的 Markdown 版本可在以下位置获取 https://sharpapi.com/zh/catalog/ai/travel-tourism-hospitality/tours-activities-product-categorization/.md 另请参阅 /llms.txt 了解网站概览。
