# Generated by ShowAPI OpenAPI generator
# source: market/1643
# generated-at: 2026-06-26T06:34:23.476Z
openapi: 3.0.3
info:
  title: 古籍查询
  description: 通过名称查询古籍接入点，获取到可以查询的所有古籍，再通过对应ID来获取古籍的详细信息，如古籍名称，古籍Id，篇幅、章节，作者，原文，译文，注释，备注等。
  termsOfService: https://www.showapi.com/helpcenter/view#/4019/2
  version: 1.0.0
servers:
  - url: https://route.showapi.com
paths:
  /1643-3:
    x-pointCode: 3
    x-mode: mapping
    x-read-timeout: 15
    x-connect-timeout: 15
    post:
      summary: 查询古籍明细
      description: 根据ID来为您查询古籍的详细信息，这样您就能更方便地获取到您所需要的古书资料。
      responses:
        "200":
          description: 成功响应
          content:
            application/json:
              schema:
                allOf:
                  - $ref: "#/components/schemas/ShowapiResEnvelope"
                  - type: object
                    properties:
                      showapi_res_body:
                        type: object
                        properties:
                          ret_code:
                            type: string
                          remark:
                            type: string
                          ancientBooksInfo:
                            type: array
                            items:
                              type: object
                              properties:
                                title:
                                  type: string
                                titleId:
                                  type: string
                                section:
                                  type: string
                                author:
                                  type: string
                                original:
                                  type: array
                                  items:
                                    type: string
                                annotation:
                                  type: array
                                  items:
                                    type: string
                                note:
                                  type: string
                                ancientBookId:
                                  type: string
                          maxResult:
                            type: number
                          allNum:
                            type: number
                          allPages:
                            type: number
                          currentPage:
                            type: number
                        description: 业务返回体
      operationId: 1643_3_POST
      parameters: []
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                titleId:
                  type: string
                  description: 古籍Id
                page:
                  type: string
                  description: 查询页面
              required:
                - titleId
  /1643-2:
    x-pointCode: 2
    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:
                          ret_code:
                            type: string
                            description: 接口调用是否成功,0为成功,其他为失败
                          remark:
                            type: string
                            description: 提示信息
                          title:
                            type: string
                            description: 古籍名称
                          titleId:
                            type: string
                            description: 古籍Id
                        description: 业务返回体
      operationId: 1643_2_POST
      parameters: []
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/1643?tab=book
x-apiCode: "1643"
x-is-own: true
x-is-op: true
