# Generated by ShowAPI OpenAPI generator
# source: market/2219
# generated-at: 2026-06-26T06:44:10.227Z
openapi: 3.0.3
info:
  title: 生肖运势
  description: 可获取运势、了解吉凶的数据。如每日及每月运势，包括桃花运、事业运势、财运等数据，以及12生肖的注意事情、如何开运的方法、转运的小窍门等。为用户提供个性化的运势指导和实用建议，适用于内容创作、生活服务类应用。
  termsOfService: https://www.showapi.com/helpcenter/view#/4019/2
  version: 1.0.0
servers:
  - url: https://route.showapi.com
paths:
  /2219-1:
    x-pointCode: 1
    x-mode: mapping
    x-read-timeout: 15
    x-connect-timeout: 15
    post:
      summary: 生肖运势查询
      description: 查询每日运势以及每月桃花运、事业运势、财运等等以及12生肖的注意事情、如何开运的方法,以及转运的小窍门等等。
      responses:
        "200":
          description: 成功响应
          content:
            application/json:
              schema:
                allOf:
                  - $ref: "#/components/schemas/ShowapiResEnvelope"
                  - type: object
                    properties:
                      showapi_res_body:
                        type: object
                        properties:
                          ret_code:
                            type: number
                            description: 接口调用是否成功,0为成功,其他为失败
                          remark:
                            type: string
                            description: 提示信息
                          shenxiao:
                            type: string
                            description: 生肖
                          tomorrow:
                            type: object
                            properties:
                              love_txt:
                                type: string
                                description: 爱情运势
                              time:
                                type: string
                                description: 日期
                              money_txt:
                                type: string
                                description: 财运运势
                              career_txt:
                                type: string
                                description: 事业运势
                              money_star:
                                type: number
                                description: 财运指数，最高5
                              career_star:
                                type: number
                                description: 事业指数，最高5
                              love_star:
                                type: number
                                description: 爱情指数，最高5
                            description: 明日运势
                          month:
                            type: object
                            properties:
                              love_txt:
                                type: string
                                description: 爱情运势
                              advice_txt:
                                type: string
                                description: 建议忠告
                              time:
                                type: string
                                description: 时间
                              money_txt:
                                type: string
                                description: 财运运势
                              career_txt:
                                type: string
                                description: 事业运势
                              total_txt:
                                type: string
                                description: 整体运势
                              summary_txt:
                                type: string
                                description: 总运
                              health_txt:
                                type: string
                                description: 健康运势
                            description: 本月运势
                          day:
                            type: object
                            properties:
                              love_txt:
                                type: string
                                description: 爱情运势
                              time:
                                type: string
                                description: 时间
                              money_txt:
                                type: string
                                description: 财运运势
                              lucky_noble:
                                type: string
                                description: 事业贵人
                              career_txt:
                                type: string
                                description: 事业运势
                              lucky_jewelry:
                                type: string
                                description: 开运饰物
                              money_star:
                                type: number
                                description: 财运指数，最高5
                              lucky_color:
                                type: string
                                description: 幸运颜色
                              lucky_num:
                                type: string
                                description: 幸运位数
                              career_star:
                                type: number
                                description: 事业指数
                              love_star:
                                type: number
                                description: 爱情指数
                              lucky_direction:
                                type: string
                                description: 开运方向
                            description: 今日运势
                          sx:
                            type: string
                            description: 属相
                        description: 业务返回体
      operationId: 2219_1_POST
      parameters:
        - name: sx
          in: query
          description: |-
            十二生肖
            shu
            niu
            hu
            tu
            long
            she
            ma
            yang
            hou
            ji
            gou
            zhu
          required: true
          schema:
            type: string
        - name: needTomorrow
          in: query
          description: 1为需要（默认不需要）
          required: false
          schema:
            type: string
        - name: needMonth
          in: query
          description: 1为需要（默认不需要）
          required: false
          schema:
            type: string
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/2219?tab=book
x-apiCode: "2219"
x-is-own: true
x-is-op: true
