股票实时行情API 股票信息API接口 公司基本面 股票基本信息 证券交易所行情 免费股票API接口 REST API 提供稳定可靠的股票信息API接口,覆盖A股、美股、港股等多个市场。免费及付费接口支持获取实时行情、历史数据、分时K线、财务数据、公司基本面等。快速集成,免费试用。

请选择API KEY

股票信息

GET
/stock/info

请求参数

typestring必填
市场类型
regionenum必填
港股
市场代码,支持HK(港股)、SH(上证)、SZ(深证)、US(美股)、SG(新加坡)、JP(日本)、TW(中国台湾)、IN(印度)、TH(泰国)、DE(德国)、MX(墨西哥)、MY(马来西亚)、TR(土耳其)、ES(西班牙)、NL(荷兰)、GB(英国)等
codestring必填
产品代码

响应参数

codenumber
响应code
msgstring
响应描述
dataobject
响应结果
cstring
股票代码
nstring
股票名称
tstring
类型
estring
交易所
sstring
所属板块
istring
所属行业
rstring
区域/国家代码
bdstring
公司简介
wustring
公司网站URL
mcbstring
总市值
tsostring
总股本
petstring
市盈率
fccstring
货币代码

代码示例

import requests

url = "https://api.itick.org/stock/info?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/stock/info?type=stock&region=HK&code=700

响应结果

{
  "code": 0,
  "msg": "ok",
  "data": {
    "c": "AAPL",
    "n": "Apple Inc.",
    "t": "stock",
    "e": "NASDAQ",
    "s": "Electronic Technology",
    "i": "Telecommunications Equipment",
    "r": "USD",
    "bd": "Apple, Inc. engages in the design, manufacture, and sale of smartphones, personal computers, tablets, wearables and accessories, and other varieties of related services. It operates through the following geographical segments: Americas, Europe, Greater China, Japan, and Rest of Asia Pacific. The Americas segment includes North and South America. The Europe segment consists of European countries, as well as India, the Middle East, and Africa. The Greater China segment comprises China, Hong Kong, and Taiwan. The Rest of Asia Pacific segment includes Australia and Asian countries. Its products and services include iPhone, Mac, iPad, AirPods, Apple TV, Apple Watch, Beats products, AppleCare, iCloud, digital content stores, streaming, and licensing services. The company was founded by Steven Paul Jobs, Ronald Gerald Wayne, and Stephen G. Wozniak in April 1976 and is headquartered in Cupertino, CA.",
    "wu": "http://www.apple.com",
    "mcb": 3436885784335,
    "tso": 14840389413,
    "pet": 35.3865799154784,
    "fcc": "USD"
  }
}
  1. 批量K线查询指数市场

    批量获取全球主要股票指数的完整K线数据,覆盖沪深300、上证指数、深证成指、标普500、纳斯达克、恒生等核心指数的历史与实时OHLC价格序列。提供标准化的时间戳、开盘价、最高价、最低价、收盘价及成交量数据,支持从分钟线到月线的多时间周期。

  2. 股票市场股票IPO

    提供专业的股票IPO信息API接口,覆盖A股、美股、港股等全球多个市场数据。实时获取新股申购代码、发行价格、中签率、上市日期、募资金额及招股说明书关键信息,助力您的打新策略与市场研究。