DEV Community

GuGuData
GuGuData

Posted on

A 股个股信息查询 API 数据接口

A 股个股信息查询 API 数据接口

精准 A 股个股信息,A 股基础信息,实时基础金融信息。

gugudata_api_cover

1. 产品功能

  • 支持所有 A 股 基础信息数据查询;
  • 包含所属行业基础信息;
  • 包含实时基础金融数据信息;
  • 毫秒级查询性能;
  • 数据持续更新与维护;
  • 全接口支持 HTTPS(TLS v1.0 / v1.1 / v1.2 / v1.3);
  • 全面兼容 Apple ATS;
  • 全国多节点 CDN 部署;
  • 接口极速响应,多台服务器构建 API 接口负载均衡;
  • 接口调用状态与状态监控

2. API 文档

接口详情: https://www.gugudata.com/api/details/fundamentalinfo

接口地址: https://api.gugudata.com/stock/cn/fundamentalinfo

返回格式: application/json; charset=utf-8

请求方式: GET

请求协议: HTTPS

请求示例: https://api.gugudata.com/stock/cn/fundamentalinfo?appkey=YOUR_APPKEY&symbol=YOUR_VALUE

数据预览: https://www.gugudata.com/preview/fundamentalinfo

接口测试: https://api.gugudata.com/stock/cn/fundamentalinfo/demo

前置接口

前置接口说明: 查询 A 股股票代码列表数据,支持分页查询

前置接口地址: https://api.gugudata.com/stock/cnsymbols?appkey=YOUR_APPKEY&pageindex=YOUR_VALUE&pagesize=YOUR_VALUE

前置接口参数说明: appkey=YOUR_APPKEY&pageindex=第几页&pagesize=每页返回数量,最大 50 条

前置接口返回格式: application/json; charset=utf-8

前置接口返回说明: 包含股票编码、股票名称、股票中文名称

前置接口请求方式: GET

前置接口请求协议: HTTPS

3. 请求参数

参数名 参数类型 是否必须 默认值 备注
appkey string YOUR_APPKEY 付费后获取的 APPKEY
symbol string YOUR_VALUE 支持传递单支 A 股股票代码进行查询,格式为: 600031。具体值参见 A 股股票代码参数枚举页面

4. 返回参数

参数名 参数类型 备注
DataStatus.StatusCode int 接口返回状态码
DataStatus.StatusDescription string 接口返回状态说明
DataStatus.ResponseDateTime string 接口数据返回时间
DataStatus.DataTotalCount int 此条件下的总数据量,一般用于分页计算
Data.Symbol string A 股股票代码
Data.StockName string 股票名称
Data.ListingTime string 股票上市时间
Data.Industry string 所属行业
Data.GeneralCapital string 总股本
Data.TotalValue string 总市值
Data.CirculationStock string 流通股
Data.CirculationMarketValue string 流通市值

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay