当前位置:网站首页>API data interface of A-share index component data
API data interface of A-share index component data
2022-07-07 03:36:00 【DevOpenClub】
Total data of stock index components , Support index list acquisition , Return all index component data .
[ Failed to transfer the external chain picture , The origin station may have anti-theft chain mechanism , It is suggested to save the pictures and upload them directly (img-S99BIAZg-1656946122467)(https://static.gugudata.com/api_cover_stock_cn_index_contains.png)]
1. Product function
- Support all index data queries ;
- Return all the basic information of the included stocks according to the index code ;
- Including the collection time data ;
- Millisecond query performance ;
- Data is constantly updated and maintained ;
- Full interface support HTTPS(TLS v1.0 / v1.1 / v1.2 / v1.3);
- Full compatibility Apple ATS;
- National multi node CDN Deploy ;
- The interface is extremely responsive , Build multiple servers API Interface load balancing ;
- Interface call status and status monitoring
2. API file
Interface details :https://www.gugudata.com/api/details/stockcnindexcontains
Address of the interface : https://api.gugudata.com/stock/cn/index/contains
Returns the format : application/json; charset=utf-8
Request mode : GET
Request protocol : HTTPS
Request example : https://api.gugudata.com/stock/cn/index/contains?appkey=YOUR_APPKEY&symbol=YOUR_VALUE
Data preview :https://www.gugudata.com/preview/stockcnindexcontains
The interface test :https://api.gugudata.com/stock/cn/index/contains/demo
3. Request parameters
Parameter name | Parameter type | Whether must | The default value is | remarks |
---|---|---|---|---|
appkey | string | yes | YOUR_APPKEY | Paid for APPKEY |
symbol | string | yes | YOUR_VALUE | Pass the index code obtained above , Such as : 000001. It can be through the front interface or see A Stock index code parameter enumeration page |
4. Returns the parameter
Parameter name | Parameter type | remarks |
---|---|---|
DataStatus.StatusCode | int | Interface return status code |
DataStatus.StatusDescription | string | Interface return status description |
DataStatus.ResponseDateTime | string | Interface data return time |
DataStatus.DataTotalCount | int | The total amount of data under this condition , Generally used for paging calculation |
Data.Symbol | string | Stock code |
Data.StockName | double | The name of the stock |
Data.FeaturedDateTime | double | Included in index time |
5. Interface HTTP Respond to the standard status code
Status code | State code interpretation | remarks |
---|---|---|
200 | Normal interface response | See below for business status code Interface custom status code |
403 | Request frequency overrun | CDN Layers pass through IP Request frequency intelligent judgment , General high frequency requests will not trigger this status code |
6. Interface response status code
Status code | State code interpretation | remarks |
---|---|---|
100 | Normal return | By judging this status code, it can be asserted that the interface returns normally |
-1 | request was aborted | Request processing request failed |
501 | Parameter error | Please check the number of parameters you pass and whether the parameter types match |
502 | Request frequency Limited | It is generally recommended that requests per second should not exceed 100 Time |
503 | APPKEY Permission overrun / Order due | Please check your APPKEY Whether or not the permission is expired |
504 | APPKEY error | Please check the delivery APPKEY Whether it is the value obtained by the developer center |
505 | The number of requests exceeded the interface limit | Please check whether there is a limit on the number of requests for the corresponding interface and the remaining number of requests for your current interface |
900 | Interface internal response error | Interface availability is 99.999%, If you can get this status code, please contact us by email |
7. Development language request sample code
The example code contains the development language :C#, Go, Java, jQuery, Node.js, Objective-C, PHP, Python, Ruby, Swift etc. , Other languages RESTful API The request can be realized .
8. common problem Q&A
Q: Is there a cache for data requests ?
A: All data is returned directly , Some periodic data is cached during the update cycle .
Q: How to ensure that when requested key The security of ?
A: General advice will be helpful to us API The request is placed in the back-end service of your application , All front-end requests of your application should point to your own back-end service , Such an architecture is also more pure and easy to maintain .
Q: Which development languages can the interface be used in ?
A: It can be used in all development languages that can make network requests , For your project to build data quickly .
Q: Can the performance of the interface be guaranteed ?
A: The interface background architecture is consistent with the commercial project architecture we provide to the enterprise , You can access the test interface to view the performance and information returned by the interface .
Goo Goo data , Professional data provider , Provide professional and comprehensive data interface 、 Business data analysis , Make data your raw material .
Gugu data is based on the 100 billion level data storage and performance optimization we have provided for enterprise customers in the past seven years 、 Relevant massive basic data support , Part of the general data of compliance 、 General functions are abstracted into product level data API, Greatly meet the user's needs for basic data in the process of product development , At the same time, it reduces the storage, operation and maintenance cost of massive data , And the technical threshold and human development cost of complex functions .
In addition to our open classified data and functional interfaces , There is also a huge amount of data being sorted out 、 cleaning 、 Integrate 、 In the building , Later, more data and cloud function interfaces will be opened API For user's use .
Open data interface at present API
- [ Barcode tool ] General two dimensional code generation
- [ Barcode tool ] Wi-Fi Two dimensional code generation in wireless network
- [ Barcode tool ] Generation of general bar code
- [ Image recognition ] Universal OCR
- [ Image recognition ] HTML turn PDF
- [ Image recognition ] HTML turn Word
- [ Area / coordinate ] Basic information of national universities
- [ Area / coordinate ] Inverse coding of geographical coordinates
- [ Area / coordinate ] IP Address location
- [ Area / coordinate ] Information of streets and districts of provinces and cities in China
- [ Area / coordinate ] Transformation of geographical coordinate system
- [ Metadata / Dictionaries ] Provincial entrance examination scores over the years
- [ Metadata / Dictionaries ] College entrance examination scores over the years
- [ Metadata / Dictionaries ] Over the years, college entrance examination major admission score line
- [ Journalism / information ] Software development technology blog headlines
- [ Journalism / information ] Get the body of any link article
- [ Journalism / information ] The official account of the public
- [ Journalism / information ] Get any link body image
- [ Journalism / information ] Access to official account cover
- [ Journalism / information ] A complete collection of humorous jokes
- [ SMS / voice ] Mobile home location query
- [ written words / Text ] Chinese text segmentation
- [ written words / Text ] Standardization of Chinese and English typesetting
- [ written words / Text ] Million Chinese couplet data
- [ written words / Text ] International Standard Book Number ISBN
- [ written words / Text ] Simplified Chinese and traditional Chinese
- [ written words / Text ] A complete collection of Tang and Song Poetry
- [ written words / Text ] Intelligent extraction of keyword Abstract
- [ The weather / Air quality ] National weather forecast information
- [ The weather / Air quality ] National real-time air quality index
- [ Website Tools ] Get any site title and icon
- [ Stock market ] Real time market data of US stocks
- [ Stock market ] Historical market data of US stocks
- [ Stock market ] US stock time-sharing trading data
- [ Stock market ] Basic financial data of US stocks over the years
- [ Stock market ] Real time market data of Hong Kong stocks
- [ Stock market ] Historical market data of Hong Kong stocks
- [ Stock market ] Time sharing trading data of Hong Kong stocks
- [ Stock market ] Announcement of Hong Kong listed companies
- [ Stock market ] Three major financial statements of Hong Kong stocks over the years
- [ Stock market ] A Stock real-time market data
- [ Stock market ] A Stock historical market data
- [ Stock market ] A Time share trading data
- [ Stock market ] A Three major financial statements over the years
- [ Stock market ] China stock index data
- [ Stock market ] A Stock information query
- [ Stock market ] A Financial indicators over the years
- [ Stock market ] A Stock index component data
- [ Stock market ] A Historical data of stock index
- [ Stock market ] A Pre stock market data
- [ Stock market ] A Stock transaction data
- [ Stock market ] Real time market data of options
- [ Stock market ] Historical market data of Kechuang board
- [ Stock market ] Real time market data of US stock powder sheet
- [ Stock market ] Classified real-time market data of US stocks
- [ Stock market ] Real time data of public raised open-end funds
- [ Stock market ] Historical data of public open-end funds
- [ Stock market ] Real time data of exchange traded funds
- [ Stock market ] Historical data of exchange traded funds
- [ sports / match ] Olympic Games data over the years
边栏推荐
- Not All Points Are Equal Learning Highly Efficient Point-based Detectors for 3D LiDAR Point
- Room rate system - login optimization
- [leetcode] 700 and 701 (search and insert of binary search tree)
- leetcode
- About Tolerance Intervals
- 【colmap】已知相机位姿情况下进行三维重建
- Huawei and Xiaomi "copy each other"
- Calculation of time and space complexity (notes of runners)
- 【安全攻防】序列化与反序列,你了解多少?
- HMS core machine learning service creates a new "sound" state of simultaneous interpreting translation, and AI makes international exchanges smoother
猜你喜欢
Can the applet run in its own app and realize live broadcast and connection?
体会设计细节
How to replace the backbone of the model
1200.Minimum Absolute Difference
Restcloud ETL Community Edition June featured Q & A
input_ delay
Not All Points Are Equal Learning Highly Efficient Point-based Detectors for 3D LiDAR Point
About Confidence Intervals
20. (ArcGIS API for JS) ArcGIS API for JS surface collection (sketchviewmodel)
Flink task exit process and failover mechanism
随机推荐
VHDL implementation of single cycle CPU design
SSL证书部署
Flutter3.0了,小程序不止于移动应用跨端运行
[colmap] 3D reconstruction with known camera pose
21. (article ArcGIS API for JS) ArcGIS API for JS rectangular acquisition (sketchviewmodel)
Optimization of application startup speed
Not All Points Are Equal Learning Highly Efficient Point-based Detectors for 3D LiDAR Point
海思万能平台搭建:颜色空间转换YUV2RGB
HDU ACM 4578 Transformation-> Segment tree - interval change
VHDL实现任意大小矩阵乘法运算
卡尔曼滤波-1
Enumeration general interface & enumeration usage specification
Vernacular high concurrency (2)
装饰设计企业网站管理系统源码(含手机版源码)
哈夫曼树基本概念
[Dameng database] after backup and recovery, two SQL statements should be executed
图形化工具打包YOLOv5,生成可执行文件EXE
Tencent cloud native database tdsql-c was selected into the cloud native product catalog of the Academy of communications and communications
19. (ArcGIS API for JS) ArcGIS API for JS line acquisition (sketchviewmodel)
VHDL implementation of arbitrary size matrix addition operation