财经新闻

了解身边的经济大事

  • 接口文档

查询
接口地址:http://apis.juhe.cn/fapigx/caijing/query
请求方式:get/post
返回类型:json
接口描述:综合财经新闻资讯
接口调试: API测试工具

请求Header:

名称
  Content-Type application/x-www-form-urlencoded

请求参数说明:

名称 必填 类型 说明
  key string 在个人中心->我的数据,接口名称上方查看
  num int 返回数量
  page int 翻页
  rand int 是否随机获取
  word stirng 检索关键词

返回参数说明:

名称 类型 说明
  error_code int 状态码
  reason string 状态提示
  result json 返回结果

JSON返回示例:JSON在线格式化工具 >

      {
    "reason": "success",
    "result": {
        "curpage": 1,/*当前页*/
        "allnum": 5,/*结果数*/
        "newslist": [
            {
                "id": "abf8d2f078a534dc0273970ac7aba0f4",/*新闻唯一ID*/
                "ctime": "2022-08-13 08:00",/*发布时间*/
                "title": "“瘦身”进行中,东方、华融纷纷挂牌转让旗下地方AMC股权",/*文章标题*/
                "description": "",/*文章描述*/
                "source": "澎湃财经",/*文章来源*/
                "picUrl": "https://imagecloud.thepaper.cn/thepaper/image/210/631/847.png",/*封面图片*/
                "url": "https://www.thepaper.cn/newsDetail_forward_19433098"/*文章地址*/
            },
            {
                "id": "7d8a04f4818233de5dfff40bb693442a",
                "ctime": "2022-08-13 08:00",
                "title": "7月CPI出炉:22省份涨幅高于上月,8地物价涨幅收窄",
                "description": "",
                "source": "澎湃财经",
                "picUrl": "https://imagecloud.thepaper.cn/thepaper/image/210/731/15.jpeg",
                "url": "https://www.thepaper.cn/newsDetail_forward_19441413"
            },
            {
                "id": "ff152a9a98cc3be78b1488c1f9b6f372",
                "ctime": "2022-08-13 08:00",
                "title": "共享单车频涨价:要用户心甘情愿埋单,提高服务质量是根本",
                "description": "",
                "source": "澎湃财经",
                "picUrl": "https://imagecloud.thepaper.cn/thepaper/image/210/731/28.jpeg",
                "url": "https://www.thepaper.cn/newsDetail_forward_19441414"
            },
            {
                "id": "994f90e5f1c49085bcc6828252203a44",
                "ctime": "2022-08-13 08:00",
                "title": "美股高开高走纳指涨2.09%,标普500指数连续4周上涨",
                "description": "",
                "source": "澎湃财经",
                "picUrl": "https://imagecloud.thepaper.cn/thepaper/image/210/731/235.jpg",
                "url": "https://www.thepaper.cn/newsDetail_forward_19441443"
            },
            {
                "id": "da3cf63cb74565055c5084775dbce721",
                "ctime": "2022-08-13 08:00",
                "title": "经济日报金观平:平台经济要适应常态化监管",
                "description": "",
                "source": "澎湃财经",
                "picUrl": "https://imagecloud.thepaper.cn/thepaper/image/210/731/1.jpg",
                "url": "https://www.thepaper.cn/newsDetail_forward_19441410"
            }
        ]
    },
    "error_code": 0
}

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

  错误码 说明
  274300 网络超时,请稍后重试
  274301 参数错误
  274302 查询错误

系统级错误码参照:

  错误码 说明 旧版本(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) 具体错误代码
财经新闻
1098
申请次数
743
ID
10
收藏次数

推荐API

API资讯

数 据 驱 动 未 来
Data Drives The Future
0512-88869195
数 据 驱 动 未 来
Data Drives The Future