Skip to content
iTick
  1. 文檔
  2. REST API
  3. 基礎數據
  4. 產品清單

產品清單

覆蓋A股、美股、港股等全球主流市場股票、全球外匯、指數、期貨、基金以及加密貨幣的即時、歷史數據。

GET/symbol/list

請求參數

typeenum必填

產品類別 stock | forex | indices | crypto | future | fund

regionenum必填

市場代碼 股票包括(HK、SZ、SH、US、SG、JP、TW、IN、TH、DE、MX、MY、TR、ES、NL、GB、ID、VN),外匯(GB),指數(GB),數字幣(BA), 期貨(US、HK、CN)、基金(US)等

codestring

產品代碼

回應參數

codenumber

回應代碼

msgstring

回應描述

dataarray(object)▶回應結果
cstring

產品代碼

nstring

產品名稱

tstring

類型 如 stock | forex | indices | crypto | future | fund

estring

交易所

程式碼範例

import requests

url = "https://api.itick.org/symbol/list?type=stock&region=hk&code=700"

headers = {
"accept": "application/json"
"token": "Your Token"
}

response = requests.get(url, headers=headers)

print(response.text)

查詢 URL

GEThttps://api.itick.org/symbol/list?type=stock&region=hk&code=700

,執行查詢

回應結果

{
  "code": 0,
  "msg": "ok",
  "data": [
    {
      "c": "700",
      "n": "騰訊控股",
      "t": "stock",
      "e": "HKEX",
      "s": null,
      "l": "tencent"
    }
  ]
}