# Generated by ShowAPI OpenAPI generator
# source: market/941
# generated-at: 2026-06-28T12:21:08.418Z
openapi: 3.0.3
info:
  title: 关键词抽取
  description: 采用先进的词频算法，能够高效地从文本中提炼出关键词，广泛应用于新闻摘要、评论分析、网站SEO优化和内部搜索引擎关键字提取等多种场景，提升内容管理和信息检索的效率。
  termsOfService: https://www.showapi.com/helpcenter/view#/4019/2
  version: 1.0.0
servers:
  - url: https://route.showapi.com
paths:
  /941-1:
    x-pointCode: 1
    x-mode: mapping
    x-read-timeout: 5
    x-connect-timeout: 5
    post:
      summary: 文本关键词抽取
      description: 提交一段文本,分析文本中的词条
      responses:
        "200":
          description: 成功响应
          content:
            application/json:
              schema:
                allOf:
                  - $ref: "#/components/schemas/ShowapiResEnvelope"
                  - type: object
                    properties:
                      showapi_res_body:
                        type: object
                        properties:
                          list:
                            type: string
                            description: 所有的关键词数组。
                          ret_code:
                            type: string
                            description: 0为成功，其他失败
                        description: 业务返回体
      operationId: 941_1_POST
      parameters: []
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                text:
                  type: string
                  description: 输入的文字。
                num:
                  type: string
                  description: 需要多少个关键词，默认10.
              required:
                - text
components:
  securitySchemes:
    AppKeyAuth:
      type: apiKey
      in: query
      name: appKey
      description: 从 ShowAPI 控制台获取的 appKey，管理地址：https://www.showapi.com/console#/myApp
  schemas:
    ShowapiResEnvelope:
      type: object
      description: ShowAPI 统一返回包裹（业务数据位于 showapi_res_body）
      properties:
        showapi_res_code:
          type: integer
          description: API 返回的状态码
        showapi_res_error:
          type: string
          description: API 返回的错误信息
        showapi_res_id:
          type: string
          description: API 请求的唯一标识
        showapi_fee_num:
          type: integer
          description: API 调用计费次数
security:
  - AppKeyAuth: []
externalDocs:
  url: https://www.showapi.com/apiGateway/view/941?tab=book
x-apiCode: "941"
x-is-own: false
x-is-op: true
