当前位置:网站首页>API data interface for announcement of Hong Kong listed companies

API data interface for announcement of Hong Kong listed companies

2022-06-24 14:23:00 DevOpenClub

Announcement of Hong Kong listed companies API Data interface

Contains the original announcement file ,10 Annual announcement data , Detailed announcement data .

1. Product function

  • Support all Hong Kong stock announcements ;
  • contain 10 Annual full announcement data ;
  • Return the original file information of the announcement ;
  • The announcement file can be downloaded directly ;
  • High query efficiency , Millions of data are returned in milliseconds ;
  • 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/stockhkbulletin

Address of the interface : https://api.gugudata.com/stock/hk/bulletin

Returns the format : application/json; charset=utf-8

Request mode : GET

Request protocol : HTTPS

Request example : https://api.gugudata.com/stock/hk/bulletin?appkey=YOUR_APPKEY&symbol=YOUR_VALUE&pageindex=1&pagesize=10

Data preview :https://www.gugudata.com/preview/stockhkbulletin

The interface test :https://api.gugudata.com/stock/hk/bulletin/demo

3. Request parameters

Parameter name Parameter type Whether must The default value is remarks
appkeystring yes YOUR_APPKEY Paid for APPKEY
symbolstring yes YOUR_VALUE Hong Kong stock code , Please refer to Hong Kong stock code parameter enumeration page . Support to query multiple stocks at one time , Separated by commas , The parameter format is :00004,00012
pageindexint yes 1 Paging parameters , from 1 Start , The default is 1
pagesizeint yes 10 Paging parameters , Number of returns per page , Maximum 50 strip , The default is 10

4. Returns the parameter

Parameter name Parameter type remarks
DataStatus.StatusCodeint Interface return status code
DataStatus.StatusDescriptionstring Interface return status description
DataStatus.ResponseDateTimestring Interface data return time
DataStatus.DataTotalCountint The total amount of data under this condition , Generally used for paging calculation
Data.Symbolstring Hong Kong stock code
Data.StockNamestring The name of the stock
Data.Titlestring Announcement title
Data.ShortTextstring Announcement introduction
Data.LongTextstring Announcement details
Data.FileSizestring Announcement file size
Data.FileTypestring Type of announcement document
Data.FileLinkstring Announcement file link
Data.BulletinDateTimestring Announcement 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
503APPKEY Permission overrun / Order due Please check your APPKEY Whether or not the permission is expired
504APPKEY 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 .

 Development language request sample code

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 .

image.png

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

原网站

版权声明
本文为[DevOpenClub]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/175/202206241214584814.html