# Generated by ShowAPI OpenAPI generator
# source: market/1468
# generated-at: 2026-06-25T17:46:39.497Z
openapi: 3.0.3
info:
  title: 药品信息查询
  description: 为医药企业、健康管理平台及开发者提供标准化药品数据服务，覆盖中/西药、OTC、处方药等近10万种药品信息，支持通过药品名称、批准文号、成分等关键字段毫秒级检索，输出包括有效期、成分明细、生产企业、药准字号、适应症、禁忌症、说明书原文等30+核心字段，助力快速构建药品数据应用。
  termsOfService: https://www.showapi.com/helpcenter/view#/4019/2
  version: 1.0.0
servers:
  - url: https://route.showapi.com
paths:
  /1468-4:
    x-pointCode: 4
    x-mode: mapping
    x-read-timeout: 15
    x-connect-timeout: 15
    post:
      summary: 药名查询药品信息
      description: 易源数据药品信息查询API是中国大陆地区提供药品数据服务的API之一，它能够根据药品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
                            description: 接口调用是否成功,0为成功,其他为失败
                          msg:
                            type: string
                            description: 提示信息
                          drugList:
                            type: array
                            items:
                              type: object
                              properties:
                                tymc:
                                  type: string
                                  description: 通用名称
                                spmc:
                                  type: string
                                  description: 商品名称
                                xz:
                                  type: string
                                  description: 性状
                                zycf:
                                  type: string
                                  description: 主要成份
                                syz:
                                  type: string
                                  description: 适应症
                                gg:
                                  type: string
                                  description: 规格
                                blfy:
                                  type: string
                                  description: 不良反应
                                yfyl:
                                  type: string
                                  description: 用法用量
                                jj:
                                  type: string
                                  description: 禁忌
                                zysx:
                                  type: string
                                  description: 注意事项
                                yfjbrqfnyy:
                                  type: string
                                  description: 孕妇及哺乳期妇女用药
                                etyy:
                                  type: string
                                  description: 儿童用药
                                lryy:
                                  type: string
                                  description: 老人用药
                                ywxhzy:
                                  type: string
                                  description: 药物相互作用
                                yldl:
                                  type: string
                                  description: 药理毒理
                                yddlx:
                                  type: string
                                  description: 药代动力学
                                zc:
                                  type: string
                                  description: 贮藏
                                yxq:
                                  type: string
                                  description: 有效期
                                zxbz:
                                  type: string
                                  description: 执行标准
                                pzwh:
                                  type: string
                                  description: 批准文号
                                manu:
                                  type: string
                                  description: 生产企业
                                jx:
                                  type: string
                                  description: 剂型
                                drugName:
                                  type: string
                                  description: 药品名称
                                drugId:
                                  type: string
                                  description: 药品Id
                                type:
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      type1:
                                        type: string
                                        description: 药品大分类
                                      type2:
                                        type: string
                                        description: 药品小分类
                                      type2Code:
                                        type: string
                                        description: 药品小分类Id
                                  description: 药品分类集合
                                ywdl:
                                  type: string
                                  description: 药物毒理
                                wyy:
                                  type: string
                                  description: 是否外用药
                                fl:
                                  type: string
                                  description: 药品分类,如中成药
                                pp:
                                  type: string
                                  description: 药物品牌
                                ywgl:
                                  type: string
                                  description: 药物过量
                                yfyy:
                                  type: string
                                  description: 孕妇用药
                            description: 药品信息集合
                        description: 业务返回体
      operationId: 1468_4_POST
      parameters: []
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                searchKey:
                  type: string
                  description: 查询的关键字
                page:
                  type: string
                  description: 当前页码
                maxResult:
                  type: string
                  description: 当前页最大返回值
  /1468-3:
    x-pointCode: 3
    x-mode: mapping
    x-read-timeout: 30
    x-connect-timeout: 30
    post:
      summary: 药品详细信息
      description: 易源数据药品信息查询API是中国大陆地区提供药品数据服务的API之一，它能够根据药品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
                            description: 接口调用是否成功,0为成功,其他为失败
                          msg:
                            type: string
                            description: 提示信息
                          drugList:
                            type: array
                            items:
                              type: object
                              properties:
                                tymc:
                                  type: string
                                  description: 通用名称
                                spmc:
                                  type: string
                                  description: 商品名称
                                xz:
                                  type: string
                                  description: 性状
                                zycf:
                                  type: string
                                  description: 主要成份
                                syz:
                                  type: string
                                  description: 适应症
                                gg:
                                  type: string
                                  description: 规格
                                blfy:
                                  type: string
                                  description: 不良反应
                                yfyl:
                                  type: string
                                  description: 用法用量
                                jj:
                                  type: string
                                  description: 禁忌
                                zysx:
                                  type: string
                                  description: 注意事项
                                yfjbrqfnyy:
                                  type: string
                                  description: 孕妇及哺乳期妇女用药
                                etyy:
                                  type: string
                                  description: 儿童用药
                                lryy:
                                  type: string
                                  description: 老人用药
                                ywxhzy:
                                  type: string
                                  description: 药物相互作用
                                yldl:
                                  type: string
                                  description: 药理毒理
                                yddlx:
                                  type: string
                                  description: 药代动力学
                                zc:
                                  type: string
                                  description: 贮藏
                                yxq:
                                  type: string
                                  description: 有效期
                                zxbz:
                                  type: string
                                  description: 执行标准
                                pzwh:
                                  type: string
                                  description: 批准文号
                                manu:
                                  type: string
                                  description: 生产企业
                                jx:
                                  type: string
                                  description: 剂型
                                drugName:
                                  type: string
                                  description: 药品名称
                                drugId:
                                  type: string
                                  description: 药品Id
                                type:
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      type1:
                                        type: string
                                        description: 药品大分类
                                      type2:
                                        type: string
                                        description: 药品小分类
                                      type2Code:
                                        type: string
                                        description: 药品小分类Id
                                  description: 药品分类集合
                                ywdl:
                                  type: string
                                  description: 药物毒理
                                wyy:
                                  type: string
                                  description: 是否外用药
                                fl:
                                  type: string
                                  description: 药品分类,如中成药
                                pp:
                                  type: string
                                  description: 药物品牌
                                ywgl:
                                  type: string
                                  description: 药物过量
                                yfyy:
                                  type: string
                                  description: 孕妇用药
                            description: 药品信息集合
                        description: 业务返回体
      operationId: 1468_3_POST
      parameters: []
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                classifyId:
                  type: string
                  description: 药品分类Id，搜索类型为1和2时必传
                searchType:
                  type: string
                  description: searchType搜索关键字的类型:1、药品名称 2、药企名称 3、药准字号 4、药品Id
                searchKey:
                  type: string
                  description: 查询的关键字
                page:
                  type: string
                  description: 当前页码
                maxResult:
                  type: string
                  description: 当前页最大返回值
              required:
                - searchType
                - searchKey
  /1468-2:
    x-pointCode: 2
    x-mode: mapping
    x-read-timeout: 10
    x-connect-timeout: 10
    post:
      summary: 药品信息
      description: 易源数据药品信息查询API是中国大陆地区提供药品数据服务的API之一，它能够为开发者提供药品的信息。
      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为成功,其他为失败
                          msg:
                            type: string
                            description: 提示信息
                          drugId:
                            type: string
                            description: 药品Id
                          drugName:
                            type: string
                            description: 药品名称
                          manu:
                            type: string
                            description: 药企信息
                          pzwh:
                            type: string
                            description: "药准字号 "
                          classifyId:
                            type: string
                            description: 请填写参数描述
                        description: 业务返回体
      operationId: 1468_2_POST
      parameters: []
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                classifyId:
                  type: string
                  description: 药品分类Id
                page:
                  type: string
                  description: 当前页
              required:
                - classifyId
  /1468-1:
    x-pointCode: 1
    x-mode: mapping
    x-read-timeout: 10
    x-connect-timeout: 10
    post:
      summary: 药品分类
      description: 易源数据药品信息查询API是中国大陆地区提供药品数据服务的API之一，它能够为开发者提供药品的分类信息。
      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为成功,其他为失败
                          msg:
                            type: string
                            description: 提示信息
                          class:
                            type: string
                            description: 药品大分类
                          classify:
                            type: string
                            description: 药品小分类（小分类可能会重复，请注意大分类！）
                          classifyId:
                            type: string
                            description: 药品小分类Id
                        description: 业务返回体
      operationId: 1468_1_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/1468?tab=book
x-apiCode: "1468"
x-is-own: false
x-is-op: true
