当前位置:网站首页>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
边栏推荐
- Set static IP for raspberry pie
- [untitled]
- Opencv environment, and open a local PC camera.
- [swift] learning notes (I) -- familiar with basic data types, coding styles, tuples, propositions
- Shell programming basics
- 1200.Minimum Absolute Difference
- [safe office and productivity application] Shanghai daoning provides you with onlyoffice download, trial and tutorial
- Matlab Error (Matrix dimensions must agree)
- Flutter3.0了,小程序不止于移动应用跨端运行
- 我的勇敢对线之路--详细阐述,浏览器输入URL发生了什么
猜你喜欢
体会设计细节
Not All Points Are Equal Learning Highly Efficient Point-based Detectors for 3D LiDAR Point
源代码保密的意义和措施
HMS core machine learning service creates a new "sound" state of simultaneous interpreting translation, and AI makes international exchanges smoother
Huawei and Xiaomi "copy each other"
Under the tide of "going from virtual to real", Baidu AI Cloud is born from real
19. (ArcGIS API for JS) ArcGIS API for JS line acquisition (sketchviewmodel)
Jericho is in non Bluetooth mode. Do not jump back to Bluetooth mode when connecting the mobile phone [chapter]
1200.Minimum Absolute Difference
19.(arcgis api for js篇)arcgis api for js线采集(SketchViewModel)
随机推荐
Lab1 configuration script
VHDL实现单周期CPU设计
VHDL implementation of arbitrary size matrix addition operation
[safe office and productivity application] Shanghai daoning provides you with onlyoffice download, trial and tutorial
[dream database] add the task of automatically collecting statistical information
Flink task exit process and failover mechanism
About Confidence Intervals
Matlab Error (Matrix dimensions must agree)
Enumeration general interface & enumeration usage specification
【colmap】已知相机位姿情况下进行三维重建
CMB's written test - quantitative relationship
密码学系列之:在线证书状态协议OCSP详解
装饰设计企业网站管理系统源码(含手机版源码)
QT 项目 表格新建列名称设置 需求练习(找数组消失的数字、最大值)
Room rate system - login optimization
About Tolerance Intervals
Open3d mesh filtering
VHDL implementation of arbitrary size matrix multiplication
PIP download only, not install
2022.6.28