REST API 基础数据 产品清单 支持主流市场股票(美国、香港、中国、新加坡、日本等)、全球外汇、指数以及加密货币的实时、历史数据。

产品清单

GET
/symbol/list

请求参数

typeenum必填
股票
产品类别 stock | forex | indices | crypto | future | fund
regionstring必填
所属区域 股票包括(HK、SZ、SH、US、SG),外汇(GB),指数(GB),数字币(ba)
codestring
产品代码

响应参数

codenumber
响应code
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

GET
https://api.itick.org/symbol/list?type=stock&region=hk&code=700
iTick, 即可运行查询
运行查询

响应结果

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