• 171
  • 375
  • 30

基金查询

第三方提供 支持HTTPS

涵盖基金名称、交易代码、分级情况、所属类别、保本情况、上市信息、相关机构、投资描述等信息

  • 按实际订单计费

¥ *** 价格详情请联系客服

  • API文档
  • 错误码参照
  • 示例代码
  • 联系我们
立即调用
接口地址:http://japi.juhe.cn/fundApi/holdings.from
返回格式:json
请求方式:get post
请求示例:http://japi.juhe.cn/fundApi/holdings.from?key=您申请的appKey&ticker=000001,000003&beginDate=20150101&endDate=20150502
接口备注:获取基金定期披露的持仓明细,包含所持有的股票、债券、基金的持仓明细数据。收录了2005年以来的历史数据,数据更新频率为季度。获取方式支持:1)输入一个或多个secID/ticker,并输入beginDate和endDate,可以查询到指定基金,一段时间的基金持仓;2)输入reportDate,不输入其他参数,可以查询到输入日期的全部基金持仓数据。

请求参数说明:

名称 必填 类型 说明
  key string 您申请的appKey
  secID 多选一 string 证券内部编码(可多值输入,以","分割)
  ticker 多选一 string 输入一个或多个基金代码,用","分隔,如"000001"、"000001,000003"(可多值输入)
  reportDate 多选一 string 输入一个报告日期,如20141231,不输入其他请求参数,可获取这个报告期全部基金资产配置,输入格式“YYYYMMDD”
  beginDate string 起始日期,输入格式“YYYYMMDD”
  endDate string 截止日期,输入格式“YYYYMMDD”
  secType string 报告期内基金投资组合中持有证券类型,可输入一种或多种证券类型,用","分隔,默认为e。(可多值输入)
  field string 可选参数,用,分隔,默认为空,返回全部字段,不选即为默认值。返回字段见下方
 

返回参数说明:

名称 类型 说明
  error_code int 返回码
  reason String 返回原因
  result String 返回实体内容
  holdingSecID string 持有证券内部编码
  reportDate date 报告日期
  secID string 证券ID
  ticker string 基金代码
  SecShortName string 基金中文简称
  holdingsecType string 持有证券类型
  holdingTicker string 持有证券交易代码
  holdingExchangeCd string 交易所代码
  holdingsecShortName string 持有证券中文简称
  marketValue double 市值(元)
  ratioInNa double 占净资产比例(%)
  publishDate date 发布日期
  currencyCd string 币种
 

JSON返回示例:

{
    "error_code": 0,
    "reason": "Success",
    "result": {
        "data": [
            {
                "secID": "000001.OFCN",
                "ticker": "000001",
                "SecShortName": "华夏成长混合",
                "reportDate": "2015-03-31",
                "holdingsecType": "E",
                "holdingSecID": "002009.XSHE",
                "holdingTicker": "002009",
                "holdingExchangeCd": "XSHE",
                "holdingsecShortName": "天奇股份",
                "marketValue": 159390000,
                "ratioInNa": 1.74,
                "publishDate": "2015-04-21",
                "currencyCd": "CNY"
            },
            {
                "secID": "000001.OFCN",
                "ticker": "000001",
                "SecShortName": "华夏成长混合",
                "reportDate": "2015-03-31",
                "holdingsecType": "E",
                "holdingSecID": "002051.XSHE",
                "holdingTicker": "002051",
                "holdingExchangeCd": "XSHE",
                "holdingsecShortName": "中工国际",
                "marketValue": 164330336,
                "ratioInNa": 1.79,
                "publishDate": "2015-04-21",
                "currencyCd": "CNY"
            },
            {
                "secID": "000001.OFCN",
                "ticker": "000001",
                "SecShortName": "华夏成长混合",
                "reportDate": "2015-03-31",
                "holdingsecType": "E",
                "holdingSecID": "002279.XSHE",
                "holdingTicker": "002279",
                "holdingExchangeCd": "XSHE",
                "holdingsecShortName": "久其软件",
                "marketValue": 375940640,
                "ratioInNa": 4.09,
                "publishDate": "2015-04-21",
                "currencyCd": "CNY"
            },
            {
                "secID": "000001.OFCN",
                "ticker": "000001",
                "SecShortName": "华夏成长混合",
                "reportDate": "2015-03-31",
                "holdingsecType": "E",
                "holdingSecID": "002326.XSHE",
                "holdingTicker": "002326",
                "holdingExchangeCd": "XSHE",
                "holdingsecShortName": "永太科技",
                "marketValue": 207647056,
                "ratioInNa": 2.26,
                "publishDate": "2015-04-21",
                "currencyCd": "CNY"
            },
            {
                "secID": "000003.OFCN",
                "ticker": "000003",
                "SecShortName": "中海可转换债券-A",
                "reportDate": "2015-03-31",
                "holdingsecType": "E",
                "holdingSecID": "002381.XSHE",
                "holdingTicker": "002381",
                "holdingExchangeCd": "XSHE",
                "holdingsecShortName": "双箭股份",
                "marketValue": 1077000,
                "ratioInNa": 1.22,
                "publishDate": "2015-04-22",
                "currencyCd": "CNY"
            },
            {
                "secID": "000001.OFCN",
                "ticker": "000001",
                "SecShortName": "华夏成长混合",
                "reportDate": "2015-03-31",
                "holdingsecType": "B",
                "holdingSecID": "018001.XSHG",
                "holdingTicker": "018001",
                "holdingExchangeCd": "XSHG",
                "holdingsecShortName": "国开1301",
                "marketValue": 317564000,
                "ratioInNa": 3.46,
                "publishDate": "2015-04-21",
                "currencyCd": "CNY"
            },
            {
                "secID": "000001.OFCN",
                "ticker": "000001",
                "SecShortName": "华夏成长混合",
                "reportDate": "2015-03-31",
                "holdingsecType": "B",
                "holdingSecID": "068007.XIBE",
                "holdingTicker": "068007",
                "holdingExchangeCd": "XIBE",
                "holdingsecShortName": "06首都机场债",
                "marketValue": 161312000,
                "ratioInNa": 1.76,
                "publishDate": "2015-04-21",
                "currencyCd": "CNY"
            },
            {
                "secID": "000003.OFCN",
                "ticker": "000003",
                "SecShortName": "中海可转换债券-A",
                "reportDate": "2015-03-31",
                "holdingsecType": "B",
                "holdingSecID": "110012.XSHG",
                "holdingTicker": "110012",
                "holdingExchangeCd": "XSHG",
                "holdingsecShortName": "海运转债",
                "marketValue": 8148304.5,
                "ratioInNa": 9.25,
                "publishDate": "2015-04-22",
                "currencyCd": "CNY"
            },
            {
                "secID": "000001.OFCN",
                "ticker": "000001",
                "SecShortName": "华夏成长混合",
                "reportDate": "2015-03-31",
                "holdingsecType": "B",
                "holdingSecID": "110023.XSHG",
                "holdingTicker": "110023",
                "holdingExchangeCd": "XSHG",
                "holdingsecShortName": "民生转债",
                "marketValue": 2676765,
                "ratioInNa": 0.03,
                "publishDate": "2015-04-21",
                "currencyCd": "CNY"
            },
            {
                "secID": "000003.OFCN",
                "ticker": "000003",
                "SecShortName": "中海可转换债券-A",
                "reportDate": "2015-03-31",
                "holdingsecType": "B",
                "holdingSecID": "110023.XSHG",
                "holdingTicker": "110023",
                "holdingExchangeCd": "XSHG",
                "holdingsecShortName": "民生转债",
                "marketValue": 24859597,
                "ratioInNa": 28.21,
                "publishDate": "2015-04-22",
                "currencyCd": "CNY"
            },
            {
                "secID": "000001.OFCN",
                "ticker": "000001",
                "SecShortName": "华夏成长混合",
                "reportDate": "2015-03-31",
                "holdingsecType": "B",
                "holdingSecID": "110236.XIBE",
                "holdingTicker": "110236",
                "holdingExchangeCd": "XIBE",
                "holdingsecShortName": "11国开36",
                "marketValue": 128609000,
                "ratioInNa": 1.4,
                "publishDate": "2015-04-21",
                "currencyCd": "CNY"
            },
            {
                "secID": "000003.OFCN",
                "ticker": "000003",
                "SecShortName": "中海可转换债券-A",
                "reportDate": "2015-03-31",
                "holdingsecType": "B",
                "holdingSecID": "113007.XSHG",
                "holdingTicker": "113007",
                "holdingExchangeCd": "XSHG",
                "holdingsecShortName": "吉视转债",
                "marketValue": 4045561,
                "ratioInNa": 4.59,
                "publishDate": "2015-04-22",
                "currencyCd": "CNY"
            },
            {
                "secID": "000003.OFCN",
                "ticker": "000003",
                "SecShortName": "中海可转换债券-A",
                "reportDate": "2015-03-31",
                "holdingsecType": "B",
                "holdingSecID": "113008.XSHG",
                "holdingTicker": "113008",
                "holdingExchangeCd": "XSHG",
                "holdingsecShortName": "电气转债",
                "marketValue": 10585162,
                "ratioInNa": 12.01,
                "publishDate": "2015-04-22",
                "currencyCd": "CNY"
            },
            {
                "secID": "000001.OFCN",
                "ticker": "000001",
                "SecShortName": "华夏成长混合",
                "reportDate": "2015-03-31",
                "holdingsecType": "B",
                "holdingSecID": "122149.XSHG",
                "holdingTicker": "122149",
                "holdingExchangeCd": "XSHG",
                "holdingsecShortName": "12石化01",
                "marketValue": 150285000,
                "ratioInNa": 1.64,
                "publishDate": "2015-04-21",
                "currencyCd": "CNY"
            },
            {
                "secID": "000003.OFCN",
                "ticker": "000003",
                "SecShortName": "中海可转换债券-A",
                "reportDate": "2015-03-31",
                "holdingsecType": "B",
                "holdingSecID": "125089.XSHE",
                "holdingTicker": "125089",
                "holdingExchangeCd": "XSHE",
                "holdingsecShortName": "深机转债",
                "marketValue": 5743140,
                "ratioInNa": 6.52,
                "publishDate": "2015-04-22",
                "currencyCd": "CNY"
            },
            {
                "secID": "000001.OFCN",
                "ticker": "000001",
                "SecShortName": "华夏成长混合",
                "reportDate": "2015-03-31",
                "holdingsecType": "B",
                "holdingSecID": "126018.XSHG",
                "holdingTicker": "126018",
                "holdingExchangeCd": "XSHG",
                "holdingsecShortName": "08江铜债",
                "marketValue": 183661216,
                "ratioInNa": 2,
                "publishDate": "2015-04-21",
                "currencyCd": "CNY"
            },
            {
                "secID": "000003.OFCN",
                "ticker": "000003",
                "SecShortName": "中海可转换债券-A",
                "reportDate": "2015-03-31",
                "holdingsecType": "B",
                "holdingSecID": "126729.XSHE",
                "holdingTicker": "126729",
                "holdingExchangeCd": "XSHE",
                "holdingsecShortName": "燕京转债",
                "marketValue": 4980960,
                "ratioInNa": 5.65,
                "publishDate": "2015-04-22",
                "currencyCd": "CNY"
            },
            {
                "secID": "000003.OFCN",
                "ticker": "000003",
                "SecShortName": "中海可转换债券-A",
                "reportDate": "2015-03-31",
                "holdingsecType": "B",
                "holdingSecID": "128005.XSHE",
                "holdingTicker": "128005",
                "holdingExchangeCd": "XSHE",
                "holdingsecShortName": "齐翔转债",
                "marketValue": 149.39,
                "ratioInNa": 0,
                "publishDate": "2015-04-22",
                "currencyCd": "CNY"
            },
            {
                "secID": "000003.OFCN",
                "ticker": "000003",
                "SecShortName": "中海可转换债券-A",
                "reportDate": "2015-03-31",
                "holdingsecType": "B",
                "holdingSecID": "128007.XSHE",
                "holdingTicker": "128007",
                "holdingExchangeCd": "XSHE",
                "holdingsecShortName": "通鼎转债",
                "marketValue": 1290537.6,
                "ratioInNa": 1.46,
                "publishDate": "2015-04-22",
                "currencyCd": "CNY"
            },
            {
                "secID": "000003.OFCN",
                "ticker": "000003",
                "SecShortName": "中海可转换债券-A",
                "reportDate": "2015-03-31",
                "holdingsecType": "B",
                "holdingSecID": "128008.XSHE",
                "holdingTicker": "128008",
                "holdingExchangeCd": "XSHE",
                "holdingsecShortName": "齐峰转债",
                "marketValue": 1289880,
                "ratioInNa": 1.46,
                "publishDate": "2015-04-22",
                "currencyCd": "CNY"
            },
            {
                "secID": "000003.OFCN",
                "ticker": "000003",
                "SecShortName": "中海可转换债券-A",
                "reportDate": "2015-03-31",
                "holdingsecType": "E",
                "holdingSecID": "300020.XSHE",
                "holdingTicker": "300020",
                "holdingExchangeCd": "XSHE",
                "holdingsecShortName": "银江股份",
                "marketValue": 1332000,
                "ratioInNa": 1.51,
                "publishDate": "2015-04-22",
                "currencyCd": "CNY"
            },
            {
                "secID": "000001.OFCN",
                "ticker": "000001",
                "SecShortName": "华夏成长混合",
                "reportDate": "2015-03-31",
                "holdingsecType": "E",
                "holdingSecID": "300115.XSHE",
                "holdingTicker": "300115",
                "holdingExchangeCd": "XSHE",
                "holdingsecShortName": "长盈精密",
                "marketValue": 158776928,
                "ratioInNa": 1.73,
                "publishDate": "2015-04-21",
                "currencyCd": "CNY"
            },
            {
                "secID": "000001.OFCN",
                "ticker": "000001",
                "SecShortName": "华夏成长混合",
                "reportDate": "2015-03-31",
                "holdingsecType": "E",
                "holdingSecID": "300248.XSHE",
                "holdingTicker": "300248",
                "holdingExchangeCd": "XSHE",
                "holdingsecShortName": "新开普",
                "marketValue": 384324192,
                "ratioInNa": 4.18,
                "publishDate": "2015-04-21",
                "currencyCd": "CNY"
            },
            {
                "secID": "000003.OFCN",
                "ticker": "000003",
                "SecShortName": "中海可转换债券-A",
                "reportDate": "2015-03-31",
                "holdingsecType": "E",
                "holdingSecID": "300262.XSHE",
                "holdingTicker": "300262",
                "holdingExchangeCd": "XSHE",
                "holdingsecShortName": "巴安水务",
                "marketValue": 3054593.5,
                "ratioInNa": 3.47,
                "publishDate": "2015-04-22",
                "currencyCd": "CNY"
            },
            {
                "secID": "000003.OFCN",
                "ticker": "000003",
                "SecShortName": "中海可转换债券-A",
                "reportDate": "2015-03-31",
                "holdingsecType": "E",
                "holdingSecID": "600240.XSHG",
                "holdingTicker": "600240",
                "holdingExchangeCd": "XSHG",
                "holdingsecShortName": "华业资本",
                "marketValue": 7632800,
                "ratioInNa": 8.66,
                "publishDate": "2015-04-22",
                "currencyCd": "CNY"
            },
            {
                "secID": "000003.OFCN",
                "ticker": "000003",
                "SecShortName": "中海可转换债券-A",
                "reportDate": "2015-03-31",
                "holdingsecType": "E",
                "holdingSecID": "600366.XSHG",
                "holdingTicker": "600366",
                "holdingExchangeCd": "XSHG",
                "holdingsecShortName": "宁波韵升",
                "marketValue": 4167000,
                "ratioInNa": 4.73,
                "publishDate": "2015-04-22",
                "currencyCd": "CNY"
            },
            {
                "secID": "000001.OFCN",
                "ticker": "000001",
                "SecShortName": "华夏成长混合",
                "reportDate": "2015-03-31",
                "holdingsecType": "E",
                "holdingSecID": "600446.XSHG",
                "holdingTicker": "600446",
                "holdingExchangeCd": "XSHG",
                "holdingsecShortName": "金证股份",
                "marketValue": 194865744,
                "ratioInNa": 2.12,
                "publishDate": "2015-04-21",
                "currencyCd": "CNY"
            },
            {
                "secID": "000001.OFCN",
                "ticker": "000001",
                "SecShortName": "华夏成长混合",
                "reportDate": "2015-03-31",
                "holdingsecType": "E",
                "holdingSecID": "600535.XSHG",
                "holdingTicker": "600535",
                "holdingExchangeCd": "XSHG",
                "holdingsecShortName": "天士力",
                "marketValue": 168770000,
                "ratioInNa": 1.84,
                "publishDate": "2015-04-21",
                "currencyCd": "CNY"
            },
            {
                "secID": "000001.OFCN",
                "ticker": "000001",
                "SecShortName": "华夏成长混合",
                "reportDate": "2015-03-31",
                "holdingsecType": "E",
                "holdingSecID": "600887.XSHG",
                "holdingTicker": "600887",
                "holdingExchangeCd": "XSHG",
                "holdingsecShortName": "伊利股份",
                "marketValue": 164762976,
                "ratioInNa": 1.79,
                "publishDate": "2015-04-21",
                "currencyCd": "CNY"
            },
            {
                "secID": "000001.OFCN",
                "ticker": "000001",
                "SecShortName": "华夏成长混合",
                "reportDate": "2015-03-31",
                "holdingsecType": "E",
                "holdingSecID": "601166.XSHG",
                "holdingTicker": "601166",
                "holdingExchangeCd": "XSHG",
                "holdingsecShortName": "兴业银行",
                "marketValue": 257039376,
                "ratioInNa": 2.8,
                "publishDate": "2015-04-21",
                "currencyCd": "CNY"
            },
            {
                "secID": "000003.OFCN",
                "ticker": "000003",
                "SecShortName": "中海可转换债券-A",
                "reportDate": "2015-03-31",
                "holdingsecType": "B",
                "holdingSecID": "990907.XSHG",
                "holdingTicker": "110029",
                "holdingExchangeCd": "XSHG",
                "holdingsecShortName": "浙能转债",
                "marketValue": 22859960,
                "ratioInNa": 25.94,
                "publishDate": "2015-04-22",
                "currencyCd": "CNY"
            }
        ]
    }
}

服务级错误码参照(error_code):

  错误码 说明
  217101 网络请求无返回
  217102 可选参数必须传入一个
  217103 系统返回相应的数据状态,如No Data Returned,Illegal Request Parameter等

系统级错误码参照:

  错误码 说明 旧版本(resultcode)
  10001 错误的请求KEY 101
  10002 该KEY无请求权限 102
  10003 KEY过期 103
  10004 错误的OPENID 104
  10005 应用未审核超时,请提交认证 105
  10007 未知的请求源 107
  10008 被禁止的IP 108
  10009 被禁止的KEY 109
  10011 当前IP请求超过限制 111
  10012 请求超过次数限制 112
  10013 测试KEY超过请求限制 113
  10014 系统内部异常(调用充值类业务时,请务必联系客服或通过订单查询接口检测订单,避免造成损失) 114
  10020 接口维护 120
  10021 接口停用 121

错误码格式说明(示例:200201):

  2 002 01
  服务级错误(1为系统级错误) 服务模块代码(即数据ID) 具体错误代码

完整教学代码示例:

  语言 标题 提供者 时间

常见问题:

  内容 详细
  常见问题: http://www.juhe.cn/qa/index/1540281106

联系我们

  内容 详细
  接口测试: API测试工具
  技术支持: info@juhe.cn
  联系电话: 400-8827-715
  在线客服QQ: 800076065

猜你喜欢

现在注册,百款接口免费测试

免费注册