财查查

财查查 · Ações GPT

tamp相关的api接口

提供tamp的各种接口,包括取数、产品分析、对比、筛选、组合研究等

  • POST /api/v1.0/14300001获取财富早餐资讯

    基于日期,获取财富早餐资讯

  • POST /api/v1.0/14300002获取收盘点评

    基于日期,获取收盘点评

  • POST /api/v1.0/14300003获取操盘必读

    基于日期,获取操盘必读

  • POST /api/v1.0/14300004获取午盘视点

    基于日期,获取午盘视点

  • GET /api/v1.0/14441013单支股票资产负债表数据查询,支持A股、港股、美股

    单支股票资产负债表数据查询,支持A股、港股、美股。美股最多支持最近5期季报数据

  • GET /api/v1.0/14441014单支股票利润表数据查询,支持A股、港股、美股

    单支股票利润表数据查询,支持A股、港股、美股。美股最多支持最近5期季报数据

  • GET /api/v1.0/14441015单支股票现金流量表数据查询,支持A股、港股、美股

    单支股票现金流量表数据查询,支持A股、港股、美股。美股最多支持最近5期季报数据

  • POST /api/v1.0/14300011A股的股票筛选工具

    A股的股票筛选工具(基于指数范围、行业、热点、基本面指标、基金重仓搜索A股)

  • POST /api/v1.0/14441009股票行情量价搜索

    搜索A股、港股的行情量价信息

  • POST /api/v1.0/14280037获取A股指数估值数据

    Sends data for a specific request.

  • POST /api/v1.0/14441021股票核心数据查询

    查询指定股票在指定日期范围内的核心数据,(所属行业,每股营业收入,每股经营活动产生的现金流量净额,经营现金流/每股盈利,每股企业自由现金流量,净资产收益率,总资产报酬率,投入资本回报率,销售净利率,销售毛利率,息税前利润/营业总收入,流动比率,经营活动产生现金流量净额/负债合计,利息保障倍数,现金流动负债比,营业收入同比增长,净利润同比增长,归属母公司股东的净利润同比增长,总资产同比增长,营业周期,存货周转率,应收帐款周转率,应付帐款周转率,销售商品提供劳务收到的现金/营业收入,经营活动产生的现金流量净额/营业收入,资产负债率,流动资产/总资产,非流动资产/总资产,固定资产比率等)

Esquema API original
{
  "openapi": "3.1.0",
  "info": {
    "title": "tamp相关的api接口",
    "description": "提供tamp的各种接口,包括取数、产品分析、对比、筛选、组合研究等",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://new-tamp-ai-dev.thinkive.com"
    }
  ],
  "paths": {
    "/api/v1.0/14300001": {
      "post": {
        "summary": "获取财富早餐资讯",
        "description": "基于日期,获取财富早餐资讯",
        "operationId": "url_wealth_breakfast_api",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "endDate": {
                    "type": "string",
                    "format": "date",
                    "description": "The end date for the operation, formatted as YYYYMMDD.",
                    "example": "20231130"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "result": {
                      "type": "string",
                      "description": "Result of the operation."
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request due to invalid input parameters."
          }
        }
      }
    },
    "/api/v1.0/14300002": {
      "post": {
        "summary": "获取收盘点评",
        "description": "基于日期,获取收盘点评",
        "operationId": "url_close_post_api",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "endDate": {
                    "type": "string",
                    "format": "date",
                    "description": "The end date for the operation, formatted as YYYYMMDD.",
                    "example": "20231130"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "result": {
                      "type": "string",
                      "description": "Result of the operation."
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request due to invalid input parameters."
          }
        }
      }
    },
    "/api/v1.0/14300003": {
      "post": {
        "summary": "获取操盘必读",
        "description": "基于日期,获取操盘必读",
        "operationId": "url_trading_info_api",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "endDate": {
                    "type": "string",
                    "format": "date",
                    "description": "The end date for the operation, formatted as YYYYMMDD.",
                    "example": "20231130"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "result": {
                      "type": "string",
                      "description": "Result of the operation."
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request due to invalid input parameters."
          }
        }
      }
    },
    "/api/v1.0/14300004": {
      "post": {
        "summary": "获取午盘视点",
        "description": "基于日期,获取午盘视点",
        "operationId": "url_midday_post_api",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "endDate": {
                    "type": "string",
                    "format": "date",
                    "description": "The end date for the operation, formatted as YYYYMMDD.",
                    "example": "20231130"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "result": {
                      "type": "string",
                      "description": "Result of the operation."
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request due to invalid input parameters."
          }
        }
      }
    },
    "/api/v1.0/14441013": {
      "get": {
        "summary": "单支股票资产负债表数据查询,支持A股、港股、美股",
        "description": "单支股票资产负债表数据查询,支持A股、港股、美股。美股最多支持最近5期季报数据",
        "operationId": "getStockBalance",
        "parameters": [
          {
            "name": "stock_code",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "股票代码,注意香港股票代码用00700,而不是0700.HK",
            "example": "000001"
          },
          {
            "name": "market_type",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "市场类型,中国股市为\"A\",香港股市为\"HK\",美国股市为\"US\"",
            "example": "A"
          },
          {
            "name": "start_date",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "开始日期",
            "example": "2020-06-30"
          },
          {
            "name": "end_date",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "结束日期",
            "example": "2020-06-30"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response with stock balance sheet information."
          }
        }
      }
    },
    "/api/v1.0/14441014": {
      "get": {
        "summary": "单支股票利润表数据查询,支持A股、港股、美股",
        "description": "单支股票利润表数据查询,支持A股、港股、美股。美股最多支持最近5期季报数据",
        "operationId": "getStockProfit",
        "parameters": [
          {
            "name": "stock_code",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "股票代码,注意香港股票代码用00700,而不是0700.HK",
            "example": "000001"
          },
          {
            "name": "market_type",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "市场类型,中国股市为\"A\",香港股市为\"HK\",美国股市为\"US\"",
            "example": "A"
          },
          {
            "name": "start_date",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "开始日期",
            "example": "2020-06-30"
          },
          {
            "name": "end_date",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "结束日期",
            "example": "2020-06-30"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response with stock profit sheet information."
          }
        }
      }
    },
    "/api/v1.0/14441015": {
      "get": {
        "summary": "单支股票现金流量表数据查询,支持A股、港股、美股",
        "description": "单支股票现金流量表数据查询,支持A股、港股、美股。美股最多支持最近5期季报数据",
        "operationId": "getStockCashFlow",
        "parameters": [
          {
            "name": "stock_code",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "股票代码,注意香港股票代码用00700,而不是0700.HK",
            "example": "000001"
          },
          {
            "name": "market_type",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "市场类型,中国股市为\"A\",香港股市为\"HK\",美国股市为\"US\"",
            "example": "A"
          },
          {
            "name": "start_date",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "开始日期",
            "example": "2020-06-30"
          },
          {
            "name": "end_date",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "结束日期",
            "example": "2020-06-30"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response with stock cash flow sheet information."
          }
        }
      }
    },
    "/api/v1.0/14300011": {
      "post": {
        "summary": "A股的股票筛选工具",
        "description": "A股的股票筛选工具(基于指数范围、行业、热点、基本面指标、基金重仓搜索A股)",
        "operationId": "Stocks_selection",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "customer_date_list": {
                    "type": "array",
                    "description": "搜索股票的日期,默认为今日,如'2023-11-10'",
                    "items": {
                      "type": "string",
                      "format": "date"
                    },
                    "example": [
                      "2023-11-10"
                    ]
                  },
                  "use_info": {
                    "type": "boolean",
                    "description": "判断是否需要用热点资讯搜索股票",
                    "example": false
                  },
                  "industry": {
                    "type": "array",
                    "description": "请输入申万一级行业代码,如'801120'代表食品饮料",
                    "items": {
                      "type": "string"
                    },
                    "example": [
                      "801120"
                    ]
                  },
                  "fundamentals": {
                    "type": "array",
                    "description": "请输入基本面指标,如\"total_mktval\"代表总市值,\"PE\"代表市盈率",
                    "items": {
                      "type": "object",
                      "properties": {
                        "indicator": {
                          "type": "string",
                          "example": "total_mktval"
                        },
                        "filter_value": {
                          "type": "array",
                          "items": {
                            "type": "number"
                          },
                          "example": [
                            100000000000,
                            null
                          ]
                        }
                      }
                    }
                  },
                  "heavy_holdings": {
                    "type": "object",
                    "description": "这里指的是基金重仓,可以输入基金代码,搜索重仓股票",
                    "properties": {
                      "target_type": {
                        "type": "string",
                        "example": "fund"
                      },
                      "target_code": {
                        "type": "string",
                        "example": "110022"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1.0/14441009": {
      "post": {
        "summary": "股票行情量价搜索",
        "description": "搜索A股、港股的行情量价信息",
        "operationId": "QueryStockQuoteData",
        "requestBody": {
          "description": "Input data for stock quote data retrieval",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "stock_code": {
                    "type": "string",
                    "example": "000001"
                  },
                  "start_date": {
                    "type": "string",
                    "format": "date",
                    "example": "2020-01-01"
                  },
                  "end_date": {
                    "type": "string",
                    "format": "date",
                    "example": "2023-10-10"
                  }
                },
                "required": [
                  "stock_code",
                  "start_date",
                  "end_date"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response with stock data",
            "content": {}
          }
        }
      }
    },
    "/api/v1.0/14280037": {
      "post": {
        "summary": "获取A股指数估值数据",
        "description": "Sends data for a specific request.",
        "operationId": "QueryIndexValuationData",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "begin_date": {
                    "type": "string",
                    "format": "date",
                    "example": "2020-01-01"
                  },
                  "end_date": {
                    "type": "string",
                    "format": "date",
                    "example": "2020-05-01"
                  },
                  "index_code": {
                    "type": "string",
                    "example": "000300"
                  },
                  "indicator": {
                    "type": "string",
                    "example": "1"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response"
          },
          "400": {
            "description": "Bad request"
          }
        }
      }
    },
    "/api/v1.0/14441021": {
      "post": {
        "summary": "股票核心数据查询",
        "description": "查询指定股票在指定日期范围内的核心数据,(所属行业,每股营业收入,每股经营活动产生的现金流量净额,经营现金流/每股盈利,每股企业自由现金流量,净资产收益率,总资产报酬率,投入资本回报率,销售净利率,销售毛利率,息税前利润/营业总收入,流动比率,经营活动产生现金流量净额/负债合计,利息保障倍数,现金流动负债比,营业收入同比增长,净利润同比增长,归属母公司股东的净利润同比增长,总资产同比增长,营业周期,存货周转率,应收帐款周转率,应付帐款周转率,销售商品提供劳务收到的现金/营业收入,经营活动产生的现金流量净额/营业收入,资产负债率,流动资产/总资产,非流动资产/总资产,固定资产比率等)",
        "operationId": "getStockCoreFinancialData",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "stockcode": {
                    "type": "string",
                    "example": "000001",
                    "description": "所查询的股票编码"
                  },
                  "start_date": {
                    "type": "string",
                    "format": "date",
                    "example": "2020-06-30",
                    "description": "开始日期,如:2020-06-30"
                  },
                  "end_date": {
                    "type": "string",
                    "format": "date",
                    "example": "2021-12-31",
                    "description": "截止日期,如:2021-12-31"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "成功响应,返回指定股票在指定日期范围内的核心数据。"
          },
          "400": {
            "description": "请求格式错误,返回错误信息。"
          }
        }
      }
    }
  }
}