Skip to content

Latest commit

 

History

History
137 lines (108 loc) · 6.18 KB

File metadata and controls

137 lines (108 loc) · 6.18 KB

English | 中文

GET Product information query

GET /static_info

Please refer to the complete URL in API Address Description

Interface description

Currently only supports stock information query

Request Frequency

Plan Individual request Request multiple HTTP interfaces
Free Once every 10 seconds, only 1 request can be made 1、One request per second.
2、/batch-kline needs 10-second intervals.
3、Total of 10 requests per minute (every 6 seconds).
4、Max 14400 daily requests; excess resets at midnight.
Basic Only 1 request per second 1、One request per second.
2、/batch-kline: 1 request every 3 seconds.
3、Total of 60 requests per minute (1 request per second).
4、Max 86400 daily requests; excess resets at midnight.
Premium Up to 10 requests per second 1、Combined interfaces: 10 requests/second.
2、/batch-kline: 1 request/2 seconds.
3、Total: 600 requests/minute (10/second).
4、Daily limit: 864,000 requests; reset daily at midnight if exceeded.
Professional Up to 20 requests per second 1、Combined interfaces: 20 requests/second.
2、/batch-kline: 1 request/second interval.
3、Total: 1200 requests/minute (20/second).
4、Daily limit: 1,728,000 requests; reset daily at midnight if exceeded.
All HK Stocks Up to 20 requests per second 1、Combined interfaces: 20 requests/second.
2、/batch-kline: 1 request/second interval.
3、Total: 1200 requests/minute (20/second).
4、Daily limit: 1,728,000 requests; reset daily at midnight if exceeded.
All CN Stocks Up to 20 requests per second 1、Combined interfaces: 20 requests/second.
2、/batch-kline: 1 request/second interval.
3、Total: 1200 requests/minute (20/second).
4、Daily limit: 1,728,000 requests; reset daily at midnight if exceeded.

Interface Address

  • Base Path: /quote-stock-b-api/static_info
  • Full URL: https://quote.alltick.io/quote-stock-b-api/static_info

Request Example

When sending a query request, it must include the method name and token information.
An example of a request is as follows:
https://quote.alltick.io/quote-stock-b-api/static_info?token=您的token&query=queryData

Request Parameters

Name Position Type Required Description
token query string No
query query string No See explanation for query request parameters

Query Request Parameters

Encode the following JSON into URL format and assign it to the query query string in the URL.

{
  "trace": "edd5df80-df7f-4acf-8f67-68fd2f096426",
  "data": {
    "symbol_list": [
      {
        "code": "857.HK"
      },
      {
        "code": "UNH.US"
      }
    ]
  }
}

Query Request Parameters

Name Type Required Description
trace string Yes
data object Yes
» symbol_list [object] Yes
» » code string No Code

Response Example

OK

{
  "ret": 200,
  "msg": "ok",
  "trace": "edd5df80-df7f-4acf-8f67-68fd2f096426",
  "data": {
    "static_info_list": [
      {
        "board": "HKEquity",
        "bps": "101.7577888985738336",
        "circulating_shares": "9267359712",
        "currency": "HKD",
        "dividend_yield": "3.4558141358352833",
        "eps": "13.7190213011686429",
        "eps_ttm": "18.0567016900844671",
        "exchange": "SEHK",
        "hk_shares": "9267359712",
        "lot_size": "100",
        "name_cn": "腾讯控股",
        "name_en": "TENCENT",
        "name_hk": "騰訊控股",
        "symbol": "700.HK",
        "total_shares": "9267359712"
      }
    ]
  }
}

Response Result

Status Code Status Meaning Description Data Model
200 OK OK Inline

Response Data Structure

Status Code 200

Name Type Required Constraints Chinese Name Description
» ret integer true Return code
» msg string true Message corresponding to the return code
» trace string true Request trace
» data object true
»» static_info_list [object] true
»»» board string false The sector to which the stock belongs
»»» bps string false Net assets per share
»»» circulating_shares string false circulating capital
»»» currency string false Transaction currency
»»» dividend_yield string false dividends
»»» eps string false earnings per share
»»» eps_ttm string false earnings per share (TTM)
»»» exchange string false The exchange to which the product belongs
»»» hk_shares string false Hong Kong stocks share capital (Hong Kong stocks only)
»»» lot_size string false Number of shares per lot
»»» name_cn string false Product name in simplified Chinese
»»» name_en string false English product name
»»» name_hk string false Product name in traditional Chinese
»»» symbol string false Product code
»»» total_shares string false total share capital