1. 基金接口
小熊同学
  • 股票
    • 分时信息
      GET
    • 股票基础信息
      GET
    • 日k
      GET
    • 周k
      GET
    • 月k
      GET
    • 股票排行
      POST
    • 大盘数据
      GET
    • 板块数据
      GET
    • 所有股票
      GET
    • 所有指数
      GET
    • 可转债列表(分页)
      POST
    • 可转债列表(全部)
      GET
  • 基金接口
    • 获取基金详情
      GET
    • 批量获取基金详情
      GET
    • 批量获取基金基础数据
      GET
    • 获取基金排行
      POST
    • 获取所有基金
      GET
    • 热门基金
      GET
    • 基金持仓数据
      GET
  1. 基金接口

获取基金排行

正式环境
https://api.autostock.cn/v1
正式环境
https://api.autostock.cn/v1
POST
/fund/rank

请求参数

Body 参数application/json

示例
{
    "fundType": [
        "string"
    ],
    "sort": "string",
    "cp": [
        "string"
    ],
    "creatTimeLimit": 0,
    "fundScale": 0,
    "asc": "string",
    "pageIndex": 0,
    "pageSize": 0
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location 'https://api.autostock.cn/v1/fund/rank' \
--header 'Content-Type: application/json' \
--data '{
    "fundType": [
        "string"
    ],
    "sort": "string",
    "cp": [
        "string"
    ],
    "creatTimeLimit": 0,
    "fundScale": 0,
    "asc": "string",
    "pageIndex": 0,
    "pageSize": 0
}'

返回响应

🟢200成功
application/json
Bodyapplication/json

示例
{
  "code": 0,
  "message": "",
  "traceId": "",
  "data": {
    "rank": [
      {
        "code": "",
        "name": "",
        "type": "",
        "netWorth": 0.0,
        "expectWorth": 0.0,
        "totalWorth": 0.0,
        "expectGrowth": "",
        "dayGrowth": "",
        "lastWeekGrowth": "",
        "lastMonthGrowth": "",
        "lastThreeMonthsGrowth": "",
        "lastSixMonthsGrowth": "",
        "lastYearGrowth": "",
        "buyMin": "",
        "buySourceRate": "",
        "buyRate": "",
        "manager": "",
        "fundScale": "",
        "netWorthDate": "",
        "expectWorthDate": "",
        "millionCopiesIncome": 0.0,
        "millionCopiesIncomeDate": "",
        "sevenDaysYearIncome": 0.0,
        "fundType": "",
        "thisYearGrowth": "",
        "requestFail": 0,
        "resolveFail": 0
      }
    ],
    "pageIndex": 0,
    "pageSize": 0,
    "totalRecord": 0,
    "requestFail": 0,
    "resolveFail": 0
  },
  "meta": {}
}
修改于 2024-02-04 10:02:39
上一页
批量获取基金基础数据
下一页
获取所有基金
Built with