批量获取基金基础数据
正式环境
正式环境
GET
/fund
请求示例:/fund?code=000001&startDate=2020-09-01
请求参数
Query 参数
code
string
必需
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.autostock.cn/v1/fund?code='
返回响应
🟢200成功
application/json
Body
club.doctorxiong.api.common.CommonResponse<java.util.List<club.doctorxiong.api.common.dto.FundDTO>>
code
integer
可选
参考
HttpResponse.Code
message
string
返回消息
traceId
string
链路ID
data
array[object (FundDTO) {27}]
可选
code
string
基金代码
name
string
基金名称
type
string
基金类型
netWorth
number
单位净值
expectWorth
number
净值估算
totalWorth
number
累计净值
expectGrowth
string
净值估算增长率
dayGrowth
string
日增长
lastWeekGrowth
string
周增长
lastMonthGrowth
string
一月增长
lastThreeMonthsGrowth
string
三月增长
lastSixMonthsGrowth
string
六月增长
lastYearGrowth
string
年增长
buyMin
string
起购价格
buySourceRate
string
买入费率
buyRate
string
折扣买入费率
manager
string
基金经理
fundScale
string
当前基金规模
netWorthDate
string
可选
expectWorthDate
string
净值估算更新日期
millionCopiesIncome
number
可选
millionCopiesIncomeDate
string
可选
sevenDaysYearIncome
number
可选
fundType
string
基金类型
thisYearGrowth
string
年增长
requestFail
integer
可选
默认值:
0
resolveFail
integer
可选
默认值:
0
meta
object (Object)
可选
示例
{
"code": 0,
"message": "",
"traceId": "",
"data": [
{
"code": "",
"name": "",
"type": "",
"netWorth": 0,
"expectWorth": 0,
"totalWorth": 0,
"expectGrowth": "",
"dayGrowth": "",
"lastWeekGrowth": "",
"lastMonthGrowth": "",
"lastThreeMonthsGrowth": "",
"lastSixMonthsGrowth": "",
"lastYearGrowth": "",
"buyMin": "",
"buySourceRate": "",
"buyRate": "",
"manager": "",
"fundScale": "",
"netWorthDate": "",
"expectWorthDate": "",
"millionCopiesIncome": 0,
"millionCopiesIncomeDate": "",
"sevenDaysYearIncome": 0,
"fundType": "",
"thisYearGrowth": "",
"requestFail": 0,
"resolveFail": 0
}
],
"meta": {}
}
修改于 2024-02-04 10:02:39